agentcfg fork
Fork a Claude plugin into the agentcfg-owned marketplace
Synopsis
Section titled “Synopsis”fork copies a Claude Code plugin’s entire bundle into the agentcfg fork marketplace (~/.agentcfg/forks/), registers it with Claude Code, disables the upstream plugin, and enables the fork. You own the copy and can edit any file in it directly.
Pass –claude-dir (repeatable) to register the fork with more than one Claude Code home (e.g. a second account’s directory); the bundle is still copied only once and shared across all of them. Defaults to ~/.claude when omitted.
Use the list and status subcommands to inspect recorded forks.
agentcfg fork <plugin@marketplace> [flags]Options
Section titled “Options” --claude-dir stringArray Claude Code home directory to fork into (repeatable); defaults to ~/.claude --dry-run print what would be forked without making changes -h, --help help for forkOptions inherited from parent commands
Section titled “Options inherited from parent commands” --config string path to config file (default ~/.agentcfg/config.json)SEE ALSO
Section titled “SEE ALSO”- agentcfg - Sync skills, hooks, and context files across AI agent configs
- agentcfg fork list - List recorded plugin forks
- agentcfg fork status - Check whether upstream plugins have advanced past the forked version