Skills & onboard
These commands help you wire APIContext workflows into an AI coding agent.
skills install
Install APIContext skills into an agent skills directory. Specify exactly one target.
apimetrics skills install [--claude-skills | --claude-code | --codex | -d dir]
| Flag | Description |
|---|---|
--claude-skills | Install eight operational Claude Code Skills into .claude/skills/<name>/SKILL.md |
--claude-code | Install the setup skills into .claude/commands/ as slash commands and write .claude/agents.md |
--codex | Install into .codex/skills/ |
-d, --dir string | Install into a custom directory path |
# Install the operational Claude Code Skills
apimetrics skills install --claude-skills
# Install as Claude Code slash commands (+ .claude/agents.md)
apimetrics skills install --claude-code
# Install as Codex skills
apimetrics skills install --codex
# Install into a custom directory
apimetrics skills install --dir ./custom
Claude Code Skills
--claude-skills installs these workflows, one directory per skill:
| Skill | Use it to |
|---|---|
apimetrics-project-bootstrap | Set up monitoring for a new service |
apimetrics-weekly-health-review | Produce a reliability report for the last seven days |
apimetrics-failure-investigation | Find the root cause of a failing result or series of results |
apimetrics-incident-triage | Assess blast radius and common cause across many monitors |
apimetrics-monitoring-estate-audit | Review coverage and hygiene across your monitors |
apimetrics-slo-review | Review SLO design and attainment |
apimetrics-config-as-code | Make reviewed bulk edits with a rollback path (see Bulk) |
apimetrics-performance-analytics | Analyze latency percentiles, component timing, and DNS drift |
The project-bootstrap and config-as-code skills change your configuration. They are designed to require explicit intent, a snapshot before the change, and a stated rollback path.
Other agents
The same workflows are described in an AGENTS.md file in the CLI repository, which tools such as OpenAI Codex, Cursor, and Gemini CLI read.
onboard
Print all embedded APIContext skill workflows to stdout. Run it and include the output in your agent's context to onboard it on the correct CLI workflows.
Note: onboard is a top-level command (apimetrics onboard), not a subcommand of skills.
apimetrics onboard
# Pipe the embedded workflows into your agent's context
apimetrics onboard > apimetrics-skills.md
See also
- CLI overview
- Authentication: use a service account for unattended agents
- Global flags