/codagent:initfrom codagent
Initializes Agent Skills in a project by checking prerequisites and verifying the validator configuration.
Ships in codagent. 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.
Set up Agent Skills in the current project. This skill is idempotent — safe to re-run.
Announce at start: "Initializing Agent Skills in this project."
Check that the Agent Validator CLI is installed. If missing, tell the user what to install and stop.
agent-validator — run agent-validator --version.
npm install -g agent-validator, then run agent-validator init in your project, then re-run /codagent:init."npm install -g agent-validator@latest, then re-run /codagent:init."Use this shell snippet to compare versions:
version_gte() { [ "$(printf '%s\n' "$2" "$1" | sort -V | head -1)" = "$2" ]; }
Example: version_gte "$installed_version" "0.15" returns true if $installed_version ≥ 0.15.
If the CLI is missing or out of date, stop. The user must resolve it first, then resume /codagent:init.
Validator config (check after CLI passes):
.validator/config.yml must exist. If not found: "Validator config not found. Run agent-validator init in your project first, then re-run /codagent:init." Stop.Print a summary:
Agent Skills initialized successfully.
Available skills:
- /codagent:propose — evaluate an idea and write a proposal
- /codagent:spec — interview-driven requirement discovery
- /codagent:design — brainstorm architecture and write a design doc
- /codagent:test-plan — plan automated and acceptance testing
- /codagent:plan-tasks — break a change into scoped task files
- /codagent:finalize-pr — push PR, wait for CI, fix failures
Invoke /agent-validator:validator-commit skip to commit any scaffolding changes. Checks are skipped because init only writes boilerplate.
/codagent:init.validator/config.yml — only add/update entry points and reviewsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub codagent-ai/agent-skills --plugin codagent26 skills in this plugin
/ask-questionsHow to ask users questions interactively: which tool to use, how to batch questions, and when to ask serially. Follow this skill when asking clarifying questions, requesting confirmation, collecting missing requirements, or pausing for user input. Invoked by other skills rather than directly by the user.
/call-agentCall AgentSafely invokes one Runner-owned child agent with a complete standalone prompt, independently verifies its findings, and reports results without hiding failures or disagreements. Use when a workflow or caller asks to use codagent:call-agent, call the Runner-owned call_agent tool, obtain an independent agent review, or delegate one bounded task to an Agent Runner profile or declared named session./designCreates design artifacts through collaborative brainstorming of approaches, architecture, and trade-offs. Use when the user says "design this", "create a design", "brainstorm approaches", or "write a design doc".
/finalize-prOrchestrates the full post-implementation loop: push PR → wait for CI → fix failures → repeat until CI passes or termination rules trigger a pause. This skill should be used when the user says "ship it", "finalize pr", "push and fix CI", "push pr and wait for CI", or invokes "codagent:finalize-pr".
/fix-prFixes CI failures and review comments on the current branch's pull request by dispatching a fixer subagent, verifying with the validator, and pushing the fix. Use when the user says "fix pr", "fix CI failures", "address review comments", or invokes "codagent:fix-pr".
/handoffSummarizes a specific aspect of the current conversation so another agent can resume. Use when the user says "handoff", "summarize for handoff", "write a handoff", or wants to capture context for another agent session. The user MUST specify what aspect to summarize in their prompt (e.g., "handoff the debugging progress", "handoff the design decisions").
Other plugins' skills for the same job