From codagent
Initializes Agent Skills in a project by checking prerequisites and verifying the validator configuration. Use when setting up or re-initializing agent-skills.
How this skill is triggered — by the user, by Claude, or both
Slash command
/codagent:initThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Set up Agent Skills in the current project. This skill is idempotent — safe to re-run.
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:plan-tasks — break a change into scoped task files
- /codagent:implement-and-validate — implement a single task and verify with the validator
- /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 reviewsnpx claudepluginhub codagent-ai/agent-skills --plugin codagentScans a project to detect tooling and configures Agent Validator checks and entry points. Handles fresh setup or reconfiguration of existing setups.
Initializes sd0x-dev-flow infrastructure for Codex CLI and other non-Claude agents. Generates AGENTS.md, installs git hooks, and copies runner scripts. Use when setting up a new project or after updating skills.
Creates, updates, or validates SKILL.md agent skills including frontmatter authoring, bundled resource planning, and three-phase discoverability validation.