/marketplace-dev:agent-add <description-or-url> [--plugin <dir>] [--name <name>] [--type review|team] [--model sonnet|opus|haiku|fable|inherit] [--effort low|medium|high|xhigh|max] [--memory user|project|local] [--isolation worktree] [--color <color>] [--max-turns <int>] [--background true|false] [--skills <name1,name2,...>] [--context diff-only|full-file|project-structure] [--lang <exts>] [--dry]from marketplace-dev
Creates a new Claude Code agent file (review or team type) following the official sub-agent schema. Supports URL-based coding standards, token budgets, and optional flags for model, effort, memory, and isolation.
Ships in marketplace-dev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Role: implementation.
Capture the agent name/spec or URL from $ARGUMENTS.
Invoke the agent-create skill with the arguments.
agent-create Step 15 appends a keep row to docs/model-effort-decisions.md
when the target repo has that file. Do not skip it. In a repo without the
file, nothing happens.
Output the created file path, and the decision-log row when one was added.
Apply the guidelines defined in skills/agent-create/SKILL.md to the current task. Read the skill file and follow its steps exactly.
If $ARGUMENTS starts with http:// or https://, fetch the URL with
WebFetch first and extract the relevant guidance, then use that content as
the agent description.
Pass these flags through to the skill as context:
--plugin <dir> → target plugin directory (resolved by agent-create Step 0)--name <name> → set agent name (skips name prompt)--type review|team → set agent type (skips type prompt)--model sonnet|opus|haiku|fable|inherit|<full model ID> → sets the agent's model (invalid values rejected against agent-contract.json)--effort low|medium|high|xhigh|max → sets the agent's reasoning effort (invalid values rejected against agent-contract.json)--memory user|project|local / --isolation worktree / --color <color> / --max-turns <int> / --background true|false / --skills <name1,name2,...> → optional native fields, no forced defaults--context diff-only|full-file|project-structure → sets Context needs: field--lang <exts> → adds language scope declaration to the body--dry → show generated content without writing to disk or updating registryApply this skill to: $ARGUMENTS
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
agent-creation, sub-agent-schema, review-agent, team-agent, token-budget
10 skills in this plugin
/add-pluginInstall a Claude Code plugin and register it in settings.json so the full team can replicate the install. Use this whenever adding a new plugin to the project — it keeps settings.json in sync with what is actually installed./agent-createCreate new Claude Code sub-agent files following the official schema and token-efficiency budgets. Handles both review agents (JSON output, read-only tools, ≤ 40-line body) and team agents (prose output, action tools, ≤ 75-line body). Use when the user says "add an agent", "create a reviewer for X", "new team agent for Y", or when /agent-add is invoked. Validates against /plugin-audit before writing. Updates the agent registry and plugin CLAUDE.md after success, and the repo's model/effort decision log when it has one./npx claudepluginhub bdfinst/agentic-dev-team --plugin marketplace-devOther plugins' skills for the same job