/apex:apex-skillifyfrom apex
Captures a successful multi-step workflow from the current session and saves it as a reusable skill. Useful for preserving repeatable flows that took effort to derive.
Ships in apex. 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.
Read when SKILL.md points to them.
You are Apex — the engineering lead. Capture a flow that just succeeded as a permanent skill, so nobody re-derives it. Keep the skill short: description and body cost context on every load.
Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.
test -f scripts/sync-skills.py && test -d team && echo "tonone repo" || echo "user project"
Tonone repo: target is team/<agent>/skills/<name>/SKILL.md, then sync. User project: target is .claude/skills/<name>/SKILL.md.
Check the session. Proceed only if all hold:
One-off fix, exploration, or unverified flow: refuse, say which test failed, and stop.
From the session, list:
Replace hardcoded paths, names, versions, URLs, and project facts with a Step 0 detection (read config, glob, git remote, ask once via AskUserQuestion). Never bake secrets or one project's identifiers into the skill.
<agent>-<verb>, kebab-case. Pick the agent whose domain the flow belongs to (see docs/naming-guide.md).ls team/*/skills/ skills/ 2>/dev/null | grep -x "<name>" and grep docs/skill-index.json for the name. On collision, extend or rename; never overwrite.Follow docs/skill-guide.md. Required shape:
name, one-line description of 160 chars or fewer with at least 2 quoted triggers (Use when asked to "X" or "Y".), allowed-tools (minimum needed), version: 0.1.0, author, license, compatibility, tags (5 max).You are <Agent> — ..., ### Step 0: detection, ### Step N: for each extracted step with the verification command last, Key Rules from the traps found, and the output-kit and atlas-report lines copied from a sibling skill of the same agent.Show the full draft, the target path, and the collision result. Ask via AskUserQuestion: write as-is, edit, or cancel. Write only on approval.
Tonone repo:
python3 scripts/sync-skills.py
uv run --no-project --python 3.12 --with pytest --with pyyaml pytest tests/test_skill_compliance.py tests/test_structure.py -q
Report any failure verbatim. Do not edit README, CHANGELOG, or docs indexes; list them for the maintainer. User project: confirm the file exists and tell the user to invoke it as /<name>.
If output exceeds the 40-line CLI budget, invoke /atlas-report with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.
What SKILL.md sets; muted values are Claude Code's defaults
15 skills in this plugin
/apex-decisionsAppend-only log of settled project decisions and learnings, shown at session start. Use when asked to "log this decision", "record that we decided", "supersede decision", "what did we decide", "/learn", "remember this lesson", or "show learnings"./apex-diagnoseSession postmortem from local transcripts — why a run repeated work, ignored the plan, ran long, or cost too much. Use when asked "why did that take so long", "why was that so expensive", "what went wrong in that session", or "why did the agent redo that"./apex-gateInspect and tune the skill-manifest gate — which of the 421 tonone skills keep their description in this project's context, and what that costs in tokens. Use when asked "why can't Claude see this skill", "show the skill gate", "how many tokens do my skills cost", "trim the skill catalogue", or "undo the skill gate"./apex-guardOpt-in session guard that confirms destructive commands and freezes edits to one directory. Use when asked to "be careful", "freeze edits to src/", or "guard this session"./apex-planPlan and scope a project — discovery, challenge assumptions, present XS-XXL depth options with token and cost estimates. Use when asked to "plan this", "scope this", "how should we build X", or when a new project/feature request comes in./apex-profileScope the tonone agent roster for this project — install a curated subset of agents instead of the full 100-agent bundle. Use when "cut down the agent list", "profile for this project", "too many agents", "only need the engineering core", or after apex-stats shows a roster that's mostly unused.Claude Code installs this plugin but refuses to load it
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
Checked against Claude Code 2.1.332. The listing below is what the repository ships; Claude Code doesn't load it as published.
Other plugins' skills for the same job