Skip to content

agentcfg target add

Add a sync target

agentcfg target add <name> <path> [flags]
--agent string agent type profile: claude, codex, copilot, gemini, cursor, cline, windsurf, aider, agents, opencode, pi
--alias string group alias (e.g. 'claude' to group multiple Claude targets together)
-h, --help help for add
--strategy string link or copy (default: config default)
--config string path to config file (default ~/.agentcfg/config.json)