Harness Notes

Commands

Updated 2026-10-21

On this page

The command for each task, in each harness. Pick what you are working with, then read across: commands you type in your shell or a script and commands you type inside an open session are listed separately. Commands for renaming sessions are on Thread naming and importing from another harness on Migration.

From your shell

Commands you run in a terminal or script, outside a session.

TaskCodex CLIchecked at 0.162.1Claude Codechecked at 2.1.296Cursor Agentchecked at 2026.10.12-d47ca18
Set up
Add

codex plugin marketplace add <SOURCE>

Add a local path, owner/repo[@ref], HTTPS Git or SSH Git marketplace source.

1 note

--ref; --sparse <PATH> (repeatable, Git only); --json.

claude plugin marketplace add [options] <source>

Add a plugin marketplace from a GitHub repo, URL or local path.

1 note

--claudeai, --sparse, --scope, --json.

agent plugin marketplace add <gitUrl> [--git-ref <ref>]

Register a plugin marketplace from a Git repository.

1 note

Live --help at this version prints the top-level help for nested commands, so this syntax comes from the docs and changelog.

Use
List

codex plugin marketplace list

List the marketplaces Codex is considering and their roots.

1 note

--json.

claude plugin marketplace list [--json]

List configured plugin marketplaces.

agent plugin marketplace list [--format json]

List each marketplace's name, scope and Git URL.

1 note

Live --help at this version prints the top-level help for nested commands, so this syntax comes from the docs and changelog.

Change
Update

codex plugin marketplace upgrade [MARKETPLACE_NAME]

Refresh one or all configured Git marketplace snapshots.

1 note

--json.

claude plugin marketplace update [--json] [name]

Refresh one or all plugin marketplaces.

1 note

--json works only with a name.

agent plugin marketplace update <nameOrUrl>

Re-index a plugin marketplace from its Git repository.

1 note

Live --help at this version prints the top-level help for nested commands, so this syntax comes from the docs and changelog.

Remove
Remove

codex plugin marketplace remove <MARKETPLACE_NAME>

Remove a configured marketplace source by name.

1 note

--json.

claude plugin marketplace remove [--scope <scope>] [--json] <name>

also claude plugin marketplace rm <name>

Remove a configured plugin marketplace.

1 note

Without --scope it removes the marketplace from every scope.

agent plugin marketplace remove <nameOrUrl>

Remove a user-scoped plugin marketplace.

1 note

Live --help at this version prints the top-level help for nested commands, so this syntax comes from the docs and changelog.

Inside a session

Slash commands you type into an open session.

TaskCodex CLIchecked at 0.162.1Claude Codechecked at 2.1.296Cursor Agentchecked at 2026.10.12-d47ca18
Use
Open the manager—

/plugin marketplace (add|list|update|remove)

also /marketplace

Add, list, refresh or remove marketplaces from a session.

—

Notes and sources

Codex CLI
  • The shell CLI installs and removes plugins but has no enable, disable, update or validate command; the /plugins browser can switch plugins on or off.
  • --worktree starts new sessions in a managed Git worktree and works with codex fork given an explicit session; resume, queue, archive, unarchive and delete reject it at run time.
  • MCP protocol capabilities are recorded in mcp.json; these records cover the operator commands.
  • codex-cli-0.162.1 help observation, live observation, checked 2026-10-14
  • Codex developer commands, Documentation, checked 2026-10-15
Claude Code
  • Some plugin authoring and evaluation commands are newer than the public reference, so each command keeps its live help evidence.
  • Plugin installs that run a marketplace-declared command need --accept-command <sha256> without a TTY.
  • Interactive commands are recorded separately from their shell equivalents.
  • 2.1.304 adds /auto-mode-setup across Bedrock, Vertex, Foundry, Claude apps gateway and telemetry-disabled sessions; help output was corrected for several flags, and plugin validate no longer predicts where mod hooks run. Existing command help observations retain their versions.
  • claude plugin can also be written claude plugins.
Cursor Agent
  • Nested --help at this version prints the top-level help, so subcommand syntax for plugin marketplaces and in-session commands comes from the docs and changelog.
  • agent env, agent cloud and agent automations exist behind feature flags and are not recorded.
OpenCode 2.x
  • @opencode/cli 2.x runs one shared background service per user, managed with opencode service. Session sharing is not supported yet.
  • 2.1 restores archiving through client.session.update({ sessionID, archived: true|false }) and archive filtering in client.session.list. These are SDK/HTTP operations, not newly claimed shell subcommands.
  • 2.1 adds editable saved-grant action/resource patterns through client.permission.saved.update / PATCH /api/permission/saved/:id. Action is a tool/action name, not an allow/deny effect.
  • 2.1.1 fixes provider reasoning variant generation after package normalization; other command observations retain their earlier help/source versions.
pi
  • Shell MCP commands always use the built-in MCP and do not load extensions. In-session behaviour is documented, not live-probed.
  • pi-1.2.0 help observation, live observation, checked 2026-10-14
  • pi 1.2.0 documentation, Documentation, checked 2026-10-15