/ax:dojofrom ax
Runs a budget-bounded self-improvement loop using the ax graph: locks pending verdicts, fills briefs, backtests routing, mints proposals, and runs worktree experiments. Requires axctl on PATH.
Ships in ax. 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.
You are entering a budget-bounded self-improvement loop. The brain is
ax dojo agenda --json; you are the thin driver. Spec:
docs/superpowers/specs/2026-06-13-ax-dojo-design.md (in the Necmttn/ax repo).
ax dojo agenda --json. If it fails with a connection error, tell the user
to run ax doctor and STOP.budget.has_surplus is false: report the envelope and STOP unless the
user re-invokes with --force (then pass --force on every lap)./loop skill with
/dojo as the recurring prompt (dynamic mode, self-paced). Each wakeup
re-runs this skill from the top; that is expected and correct.
On Codex (no /loop): run as ONE long turn - do not end the turn until a
stop condition below is met.ax dojo agenda --json -> agenda.budget.has_surplus is falsebudget.deadlineitems is emptyitems[0], follow its playbook below, then go to 1.
Completed work self-clears: the item vanishes from the next agenda
because the underlying system recorded it (verdict locked, brief
consumed, proposal created). If the same item survives 2 laps untouched,
skip it and note why in the report.ax improve verdict <id> to see the suggested
verdict + checkpoint evidence; confirm with --set <verdict> only when
the evidence supports it. Distinguish "pattern resolved" from "artifact
never fired" before locking no_longer_needed..ax/tasks/*.md brief, do what it says in
the target files, then run the reconciler it names (ax skills lint /
ax improve lint).ax dispatches --candidates), check
false-positive risk, then ax routing tune --apply=<ids> --days=<window>
or reject with a written rationale in the report.ax improve recommend; accept the grounded ones
(ax improve accept <id>) so briefs exist for the next lap.git worktree add .claude/worktrees/dojo-<slug> -b dojo/<slug>).
Reproduce the churn pattern, attempt the fix/hook/skill, capture evidence.
If it will not finish inside this budget: package it as a goal file
(objective + checkpoint index + gates) under docs/superpowers/goals/ so
the NEXT dojo session resumes it. Output = an improve proposal; merging
the proposal is what activates anything. NEVER merge, never touch main.ax hooks backtest <file> --json → cases caught (benefit side): would-block/
would-warn rates, false-positive count, cases with evidence.ax hooks bench <file> --json → per-fire p50/p95 from real bun spawns,
est fires/day from tool_call history, installed-chain budget vs --budget-ms
default 250 (cost side).
Reject the hook when daily cost (fires/day × p95) or an installed-chain budget
overrun outweighs the benefit shown by backtest. Both ledgers must appear in
the proposal; neither alone is sufficient.ax sessions here --days=30 - note its commit sha from ax sessions near <sha> or git log.ax dojo spar-plan <sha> - captures the baseline (prompt + cost/turns/churn) and writes ~/.ax/dojo/spar/<id>.md; the command prints the exact git worktree add command to run next.~/.ax/dojo/spar/<id>.md; run the printed git worktree add .claude/worktrees/dojo-spar-<id> -b dojo/spar-<id> <parentSha> command to pin the worktree at the parent SHA.ax dojo spar-score <id> - auto-discovers the variant session from the worktree cwd; or pass --variant-session=<id> if there are multiple sessions. Writes the receipt to ~/.ax/dojo/spar/<id>-report.md.ax recall / ax sessions churn, and convert anything real
into a proposal or outbox draft.upstream_draft are handled by this same rule):
run ax dojo draft --title=<title> --kind=bug|improvement to stage it
to ~/.ax/dojo/outbox/<slug>.md (complete issue draft: title, body,
repro, session refs written by the command). NEVER publish from the dojo -
the user reviews and publishes in the morning (ax-repo skill / gh).Run ax dojo report --since=<loop-start-iso> --notes-file=<lap-notes-path> to
write ~/.ax/dojo/reports/<YYYY-MM-DD>.md. The command collects the budget
envelope, per-lap item log (from the lap notes file), proposals created,
verdicts locked, and outbox drafts awaiting review - pass it the ISO timestamp
you recorded when the loop started and the scratch file you appended notes to.
Then tell the user the report path and the top 3 things awaiting their review.
For upstream findings (ax bugs or improvements discovered during training), stage
them with ax dojo draft --title=<title> --kind=bug|improvement before the
report step - never publish directly. The draft lands in
~/.ax/dojo/outbox/<slug>.md; the user reviews and publishes via ax-repo skill /
gh in the morning.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
self-improvement, training-loop, ax-graph, overnight-training
Generated from the plugin's indexed repository (necmttn/ax) — no native marketplace selected
npx claudepluginhub p/necmttn-ax11 skills in this plugin
/ax-extract-workflowReconstruct the workflow behind a past artifact - "what made X work" / "extract workflow from <date|sha>" / "how did we ship Y". Uses ax to find the relevant sessions and narrate the ordered skill arcs that produced the result. Triggers on "what made X work", "how did we build Y", "extract workflow from <date>", "extract workflow from <sha>", "what was the workflow around <topic>", "show me how I shipped <feature>", "reconstruct the recipe for <artifact>". Do NOT fire on generic "show recent activity" - this skill is for reconstructing the workflow behind a specific artifact./ax-repoStar the ax repo, file an issue / bug report, or fork-and-open-a-PR against github.com/Necmttn/ax on the user's behalf, by shelling out to the `gh` CLI. Triggers when the user says "star ax", "star the repo", "I want to support ax", "report this as an ax bug", "file an ax issue", "open an issue on ax", "this looks like an ax bug", "I want to contribute to ax", "fix this in ax", "open a PR against ax", or after an unhandled ax error when the user wants to report it. Acts only on an explicit user request - proactive star prompting is handled deterministically by the CLI (`ax star`), not this skill. Confirms before any account-mutating action (never stars without an explicit yes); falls back to a plain GitHub URL when `gh` is missing or unauthenticated. Do NOT auto-trigger on unrelated GitHub work or other repos.Other plugins' skills for the same job