Skip to content

CLI commands

Agents Pack CLI 0.3.0. Invoke the binary as agents-pack.

agents-pack <command> [options]
agents-pack --version
agents-pack --help

Run agents-pack <command> --help for command-specific help. Content-changing commands support --dry-run (print the plan without writing) and, where noted, --yes (apply without interactive confirmation).

For workflows and day-to-day usage, see Initialize, Manage MCP servers, Install and remove components, Create user components, Fork and customize, Update, pin, and rollback, and Eject and uninstall.

Print the CLI version and exit.

agents-pack --version

Print general help: usage, the command list, and a pointer to per-command help.

agents-pack --help
Command Summary
init Initialize Agents Pack in global or repository scope.
status Inspect the current Agents Pack installation.
list List installed and available components.
install Install a component from the current pack.
remove Remove an optional component.
create Create a canonical user-owned skill or subagent.
fork Copy an official component into user ownership.
sync Render user-owned components for selected agents.
update Preview or apply a content-pack update.
pin Keep the currently installed pack version.
unpin Allow forward content-pack updates again.
rollback Restore an older pack version from the local cache.
eject Remove managed Agents Pack content safely.
mcp Manage user-level remote MCP servers across coding agents.

Initialize Agents Pack in global or repository scope.

agents-pack init --scope <repository|global> --agents <list> --components <choice> [--pack <path>] [--yes] [--dry-run]
Option Description
--scope <scope> Install in repository or global scope.
--agents <list> Comma-separated claude, codex, cursor selection, or all.
--components <choice> recommended, all, or comma-separated component IDs.
--pack <path> Use a local content-pack directory instead of the official pack.
--yes Apply without an interactive confirmation.
--dry-run Print the plan without writing.
  • Interactive use may omit --scope, --agents, and --components. Non-interactive use must provide them together with --yes (or use --dry-run only).
  • --agents all is shorthand for --agents claude,codex,cursor.
  • Recommended interactive setup offers an additional optional-category picker. Custom selects categories or individual components, including skills, subagents, and instructions.
  • Passing --components explicitly skips those menus.
  • Required components are always included when you pass explicit IDs.
  • --pack records a local installation source; that installation never silently switches to the public registry.
  • Global scope does not support Cursor. See Platforms and agents.
  • Only one active scope is supported at a time. See Repository vs global.
agents-pack init \
--scope repository \
--agents claude,codex,cursor \
--components recommended \
--dry-run
agents-pack init \
--scope repository \
--agents all \
--components recommended \
--yes

Inspect the current Agents Pack installation.

agents-pack status

Status is always read-only, including when recovery is required. It accepts no options.

Typical report contents:

  • repository or global scope
  • pack ID and version
  • official or local source
  • pin state
  • selected agents
  • official and user-owned component names
  • managed outputs as clean, missing, modified, or malformed
  • warnings such as unsynchronized user-owned source

If a previous mutation was interrupted, status reports that recovery is required but does not modify anything. Rerun the interrupted mutating command to recover safely.


List installed and available components.

agents-pack list [--installed|--available] [--kind <kind>]
Option Description
--installed Show only selected components.
--available Show only unselected components.
--kind <kind> Filter by instruction, skill, or subagent.

--installed and --available cannot be combined. User-owned components appear in installed listings with a user-owned label.

agents-pack list
agents-pack list --installed
agents-pack list --available
agents-pack list --kind skill
agents-pack list --available --kind subagent

Install a component from the current pack.

agents-pack install <component-id> [--yes] [--dry-run]
Option Description
--yes Apply without an interactive confirmation.
--dry-run Print the plan without writing.

Accepts exactly one official component ID. Uses the exact installed pack from the local cache; does not contact the registry. Repeating an install that is already satisfied is a safe no-op.

agents-pack install ap-frontend-design --dry-run
agents-pack install ap-frontend-design --yes

See Install and remove components.


Remove an optional component.

agents-pack remove <component-id> [--yes] [--dry-run]
Option Description
--yes Apply without an interactive confirmation.
--dry-run Print the plan without writing.

Accepts exactly one official component ID. Required components cannot be removed. Uses the exact installed pack from the local cache. Repeating a remove that is already satisfied is a safe no-op.

agents-pack remove ap-frontend-design --dry-run
agents-pack remove ap-frontend-design --yes

Create a canonical user-owned skill or subagent.

agents-pack create skill <name> --description <text> [--yes] [--dry-run]
agents-pack create subagent <name> --description <text> [--write] [--yes] [--dry-run]

The canonical source is created under .agents-pack/user (repository) or ~/.agents-pack/user (global). Edit that source, then run sync to regenerate provider copies.

Option Description
--description <text> Explain what the component does and when to use it.
--write Give a subagent workspace-write access; default is read-only. Valid only for subagents.
--yes Apply without an interactive confirmation.
--dry-run Print the plan without writing.
  • Names cannot use the reserved ap- prefix.
  • Interactive use can prompt for a missing description. Non-interactive use requires --description.
  • New subagents are read-only unless you pass --write.
agents-pack create skill deploy-app \
--description "Deploy this application safely. Use for staging or production deployment." \
--yes
agents-pack create subagent release-checker \
--description "Review release correctness and operational risk. Use before deployment." \
--yes
agents-pack create subagent api-implementer \
--description "Implement approved API changes. Use after an API plan is accepted." \
--write \
--yes

See Create user components and File layout.


Copy an official component into user ownership.

agents-pack fork <official-component> --name <user-name> [--yes] [--dry-run]

The new name cannot use the reserved ap- prefix. Only official skills and subagents can be forked. Official instruction components cannot be forked.

Option Description
--name <name> Name for the user-owned copy.
--yes Apply without an interactive confirmation.
--dry-run Print the plan without writing.

Forking copies the exact installed official source, records a separate user-owned component, and renders it for every selected agent. Future official updates do not overwrite your copy. The original official component stays installed unless you remove it separately.

agents-pack fork ap-debug --name my-debug --dry-run
agents-pack fork ap-debug --name my-debug --yes

See Fork and customize.


Render user-owned components for selected agents.

agents-pack sync [--yes] [--dry-run]
Option Description
--yes Apply without an interactive confirmation.
--dry-run Print the plan without writing.

Requires at least one canonical user-owned component. Edit under .agents-pack/user/ or ~/.agents-pack/user/, then sync. Direct edits to generated provider copies are treated as drift and block synchronization.

agents-pack sync --dry-run
agents-pack sync --yes
agents-pack status

Preview or apply a content-pack update. This updates instructions, skills, subagents, and pack release notes — not the CLI executable. To upgrade the CLI, rerun the installer.

agents-pack update --check [--pack <path>]
agents-pack update [--pack <path>] [--add <id,id>] [--yes] [--dry-run]
Option Description
--pack <path> Use a local candidate instead of the official registry.
--check Show versions, release notes, and newly introduced compatible components without writing.
--add <id,id> Add compatible component IDs while updating, preserving existing selections and skipping the picker.
--yes Apply without an interactive confirmation.
--dry-run Print the update plan without writing.
  • --check cannot be combined with --yes, --dry-run, or --add.
  • Official installations use the registry by default. Local installations require --pack.
  • Interactive updates offer new compatible components by category or individually. Existing choices are preserved; nothing optional is preselected.
  • --yes skips the picker and adds no non-required components unless selected with --add. --check and --dry-run never open the picker.
  • --add also accepts previously declined components already in the candidate pack. The update and additions apply together in one transaction.
  • User-owned canonical content is not part of the official update.
  • A pinned installation can still run --check, but applying a different pack version stops until you unpin.
agents-pack update --check
agents-pack update --dry-run
agents-pack update
agents-pack update --add ap-design-studio,ap-design-critic --yes
agents-pack update --check --pack /path/to/new-local-pack
agents-pack update --pack /path/to/new-local-pack --yes

See Update, pin, and rollback.


Keep the currently installed pack version.

agents-pack pin

Accepts no options. Takes effect immediately. Idempotent. Still validates that managed outputs are clean.

A pinned installation can still check for updates, install available components, and remove optional components. Applying a different pack version stops until you unpin.


Allow forward content-pack updates again.

agents-pack unpin

Accepts no options. Takes effect immediately. Idempotent. Still validates that managed outputs are clean.


Restore an older pack version from the local cache.

agents-pack rollback [version] [--yes] [--dry-run]

Without a version, rollback chooses the newest cached version older than the installed version. A successful rollback pins that version.

Option Description
--yes Apply without an interactive confirmation.
--dry-run Print the rollback plan without writing.
  • Rollback only uses previously cached packs with the same pack ID. It never downloads a missing historical version.
  • User-owned canonical content is preserved.
  • Run unpin when you are ready to move forward again.
agents-pack rollback --dry-run
agents-pack rollback --yes
agents-pack rollback 0.24.0 --dry-run
agents-pack rollback 0.24.0 --yes

Remove managed Agents Pack content safely.

agents-pack eject [--yes] [--dry-run]
Option Description
--yes Apply without an interactive confirmation.
--dry-run Print the removal plan without writing.

Eject removes:

  • official generated provider files and managed blocks
  • user-generated provider copies
  • the official installation configuration and lock
  • the user-generated output lock

Eject preserves canonical user-owned source under .agents-pack/user/ or ~/.agents-pack/user/. It refuses to delete modified, missing, or malformed managed content.

Removing the CLI binary is separate; see Eject and uninstall.

agents-pack eject --dry-run
agents-pack eject --yes

Add, inspect, or remove user-level remote MCP servers across Claude Code, Codex, and Cursor. This machine-level workflow is independent of agents-pack init and repository or global content scope.

agents-pack mcp add <name> \
--url <http-or-https-url> \
[--agents <claude,codex,cursor|all>] \
[--yes] \
[--dry-run]
agents-pack mcp status [name]
agents-pack mcp remove <name> [--yes] [--dry-run]
Option Applies to Description
--url <url> add Remote HTTP or HTTPS MCP endpoint.
--agents <list> add Comma-separated provider selection, or all. Defaults to all three providers.
--yes add, remove Apply without interactive confirmation.
--dry-run add, remove Print the cross-provider plan without writing.
  • The first release supports remote HTTP endpoints, including Streamable HTTP. It does not support local stdio servers or deprecated remote SSE configuration.
  • status is always read-only. It reports clean, missing, drifted, unmanaged, malformed, and unavailable provider state.
  • Authentication remains provider-specific and is never stored in the Agents Pack MCP lock.
  • remove acts only on entries previously added by Agents Pack and targets their original provider selection.
  • Unmanaged entries and provider drift block mutation instead of being adopted, overwritten, or deleted.
agents-pack mcp add docs \
--url https://example.com/mcp \
--dry-run
agents-pack mcp add docs \
--url https://example.com/mcp \
--yes
agents-pack mcp status docs
agents-pack mcp remove docs --dry-run
agents-pack mcp remove docs --yes

See Manage MCP servers for the full workflow, including provider-specific authentication.