Skip to content

agentcfg toggle

Enable or disable an item for one or more targets

Toggle the disabled state of an item. Without –on or –off, the direction is inferred: if the item is disabled on all specified targets it is enabled; otherwise it is disabled. When targets have mixed state, use -t or –on/–off.

agentcfg toggle <item> [flags]
-h, --help help for toggle
--off disable the item
--on enable the item
-t, --target string target name (default: all)
--config string path to config file (default ~/.agentcfg/config.json)
  • agentcfg - Sync skills, hooks, and context files across AI agent configs