Agent skill

Dojo

by Necmttn in Necmttn/ax

Surplus-quota training loop over the ax graph - the agent burns the remaining 5h/7d plan-quota window on self-improvement: locking pending verdicts, filling briefs, backtesting routing classes…

AGPL-3.0Auto-check passedBusiness, Finance & HR

Install Dojo

skills CLI
$ npx skills add Necmttn/ax --skill dojo -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Necmttn/ax dojo --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Necmttn/ax.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/dojo .claude/skills/dojo && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dojo
GitHub stars
116
Token cost
~1.7k tokens
SKILL.md length
868 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Surplus-quota training loop over the ax graph - the agent burns the remaining 5h/7d plan-quota window on self-improvement: locking pending verdicts, filling briefs, backtesting routing classes…

  • Works in 3 steps: Run ax dojo agenda --json. If it fails… → If budget.has_surplus is false: report… → On Claude Code: enter loop mode now -…
  • The user says /dojo
  • SKILL.md covers Entry, The lap, Playbooks by kind and Exit - the morning report, plus 1 more section
  • Calls git

What it does

Dojo is an agent skill from Necmttn/ax. Surplus-quota training loop over the ax graph - the agent burns the remaining 5h/7d plan-quota window on self-improvement: locking pending verdicts, filling briefs, backtesting routing classes, minting proposals, running worktree experiments, and drafting upstream issue reports. Triggers when the user says "/dojo", "enter the dojo", "dojo time", "train overnight", "burn my surplus quota", "dream mode" (legacy name), or invokes /loop /dojo. Requires ax (axctl) on PATH. ax uses embedded DuckDB; no database daemon…

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Business, Finance & HR, covering Deep learning, Trading and backtesting and Proposals and quotes. It works with DuckDB. The repository describes itself as: the agent experience layer · observability + memory for AI coding agents (Claude Code + Codex) · local-first, typed, yours. The licence is AGPL-3.0.

When your agent uses it

  • The user says /dojo
  • Train overnight
  • Burn my surplus quota
  • Dream mode (legacy name)

Example prompts

  • “enter the dojo”
  • “dojo time”
  • “train overnight”
  • “/dojo”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Run ax dojo agenda --json. If it fails with a connection error, tell the user
  2. If budget.has_surplus is false: report the envelope and STOP unless the
  3. On Claude Code: enter loop mode now - invoke the /loop skill with

What it can do on your machine

Read from SKILL.md and the folder at commit fca259c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dojo loads about 1.7k tokens when it runs. Until then it costs about 153 tokens; SKILL.md has 868 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~153
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Necmttn/ax at commit fca259c, republished under its AGPL-3.0 licence (© Necmttn). 868 words, ~1,719 tokens.

Download SKILL.mdSave it as .claude/skills/dojo/SKILL.md (or your agent's skills folder).
name
dojo
description
Surplus-quota training loop over the ax graph - the agent burns the remaining 5h/7d plan-quota window on self-improvement: locking pending verdicts, filling briefs, backtesting routing classes, minting proposals, running worktree experiments, and drafting upstream issue reports. Triggers when the user says "/dojo", "enter the dojo", "dojo time", "train overnight", "burn my surplus quota", "dream mode" (legacy name), or invokes /loop /dojo. Requires ax (axctl) on PATH. ax uses embedded DuckDB; no database daemon is required. Do NOT auto-trigger on unrelated work or when the user merely mentions quotas.

ax:dojo - overnight training loop

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).

Entry

  1. Run ax dojo agenda --json. If it fails with a connection error, tell the user to run ax doctor and STOP.
  2. If budget.has_surplus is false: report the envelope and STOP unless the user re-invokes with --force (then pass --force on every lap).
  3. On Claude Code: enter loop mode now - invoke the /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.

The lap

  1. ax dojo agenda --json -> agenda.
  2. STOP conditions (write the report, then stop):
    • budget.has_surplus is false
    • now >= budget.deadline
    • items is empty
  3. Otherwise: take items[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.

Playbooks by kind

  • verdict_pending - 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.
  • brief_unfilled - open the .ax/tasks/*.md brief, do what it says in the target files, then run the reconciler it names (ax skills lint / ax improve lint).
  • routing_backtest - judgment-flagged routing classes: backtest the pattern against dispatch history (ax dispatches --candidates), check false-positive risk, then ax routing tune --apply=<ids> --days=<window> or reject with a written rationale in the report.
  • proposal_mint - ax improve recommend; accept the grounded ones (ax improve accept <id>) so briefs exist for the next lap.
  • experiment - heavy item. Work ONLY in a fresh worktree (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.
  • New hooks specifically - author via @ax/hooks-sdk, then run BOTH validators and embed their output in the proposal:
    1. ax hooks backtest <file> --json → cases caught (benefit side): would-block/ would-warn rates, false-positive count, cases with evidence.
    2. 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.
  • spar - only present when invoked with --spar and spendable >= 30%. One task, one delta, scored. Concrete flow:
    1. Pick a landed task: ax sessions here --days=30 - note its commit sha from ax sessions near <sha> or git log.
    2. 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.
    3. Read the brief at ~/.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.
    4. Apply exactly ONE delta in the delta section (skill on/off, hook on/off, prompt change, thinking level, or model override) - no compound changes.
    5. Do the task in that worktree; let it finish naturally.
    6. 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.
    7. Append the receipt to the dojo report. Track multi-run campaigns as goal files under docs/superpowers/goals/ so the next session can resume.
  • explore - free investigation, retro-meta style: follow a hunch through ax recall / ax sessions churn, and convert anything real into a proposal or outbox draft.
  • Upstream findings (any lap) - an ax bug or improvement found while training (items of kind 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).
Show full SKILL.md (143 more words)Show less

Exit - the morning report

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.

Hard rails

  • worktrees only; never write on main; never merge anything
  • proposals are the only activation path
  • outbox only; nothing leaves the machine
  • respect the deadline even mid-item: checkpoint, report, stop

© Necmttn, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/dojo of Necmttn/ax.

Open the folder on GitHubat commit fca259c

Compare with similar skills

Dojo next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dojo compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dojo this skillNecmttn/ax116—~1.7kAutomated safety check: PassAGPL-3.0
Mmr Loop Skill9600dev/mmr131—~2.6kAutomated safety check: PassCustom licence
Vectorbt Expertmarketcalls/vectorbt-backtesting-skills208—~3.4kAutomated safety check: NotesNone
Mmr Skill9600dev/mmr131—~18kAutomated safety check: PassCustom licence
Backtestmarketcalls/vectorbt-backtesting-skills208—~1.1kAutomated safety check: NotesNone
Optimizemarketcalls/vectorbt-backtesting-skills208—~758Automated safety check: NotesNone

Similar skills

  • Mmr Loop Skill

    9600dev/mmr

    Autonomous trading loop for the MMR platform. An agent skill from 9600dev/mmr.

    131 GitHub stars~2.6k tokensUpdated 24 days ago
    Business, Finance & HRAuto-check passed
  • Vectorbt Expert

    marketcalls/vectorbt-backtesting-skills

    VectorBT backtesting expert. An agent skill from marketcalls/vectorbt-backtesting-skills.

    208 GitHub stars~3.4k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check: notes
  • Mmr Skill

    9600dev/mmr

    Operate the MMR algorithmic trading platform on Interactive Brokers.

    131 GitHub stars~18k tokensUpdated 24 days ago
    Business, Finance & HRAuto-check passed
  • Backtest

    marketcalls/vectorbt-backtesting-skills

    Quick backtest a strategy on a symbol. An agent skill from marketcalls/vectorbt-backtesting-skills.

    208 GitHub stars~1.1k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check: notes
  • Optimize

    marketcalls/vectorbt-backtesting-skills

    Optimize strategy parameters using VectorBT. An agent skill from marketcalls/vectorbt-backtesting-skills.

    208 GitHub stars~758 tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check: notes
  • Strategy Pivot Designer

    tradermonty/claude-trading-skills

    Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

    3k GitHub starsUsed in 1 repo~856 tokens
    Business, Finance & HRAuto-check passed

More from Necmttn/ax

All 12 skills in this repo
  • Tune

    Necmttn/ax

    Retrospective on one coding session that proposes changes to the agent's environment (hooks, checks, steering files, tool access) and files each as an ax proposal.

    116 GitHub stars~1.3k tokensUpdated 2 days ago
    Auto-check passed
  • Ax Narrate

    Necmttn/ax

    Write the agent-generated narration of the current session - the reviewable story of what changed, including what never reaches a PR (user corrections, abandoned attempts, tool failures).

    116 GitHub stars~1.7k tokensUpdated 2 days ago
    Auto-check passed
  • Ax Repo

    Necmttn/ax

    Star 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.

    116 GitHub stars~1.8k tokensUpdated 2 days ago
    Auto-check passed
  • Draft or revise ax release announcements and website changelog pages.

    116 GitHub stars~1k tokensUpdated 2 days ago
    Auto-check passed
  • Retro

    Necmttn/ax

    Guided experiment-loop retrospective over the ax agent-experience graph.

    116 GitHub stars~3.5k tokensUpdated 2 days ago
    Auto-check passed
  • Retro Meta

    Necmttn/ax

    Deep retro of retros - investigation pass that surfaces improvements across older retros and the current ax setup.

    116 GitHub stars~1.8k tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about Dojo

What does Dojo do?

Surplus-quota training loop over the ax graph - the agent burns the remaining 5h/7d plan-quota window on self-improvement: locking pending verdicts, filling briefs, backtesting routing classes…. Dojo is an agent skill from Necmttn/ax. Surplus-quota training loop over the ax graph - the agent burns the remaining 5h/7d plan-quota window on self-improvement: locking pending verdicts, filling briefs, backtesting routing classes, minting proposals, running worktree experiments, and drafting upstream issue reports.

When should I use Dojo?

Dojo fits situations like: the user says /dojo; train overnight; burn my surplus quota; dream mode (legacy name).

How do I install Dojo in Claude Code?

Run `npx skills add Necmttn/ax --skill dojo -a claude-code`. Or copy the skill folder (skills/dojo in Necmttn/ax) into .claude/skills/dojo in your project. Claude Code loads it when a task matches its description.

How do I install Dojo in Codex?

Run `npx skills add Necmttn/ax --skill dojo -a codex`. Or copy the skill folder (skills/dojo in Necmttn/ax) into .agents/skills/dojo in your project. Codex loads it when a task matches its description.

Can I use Dojo in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Necmttn/ax --skill dojo -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dojo, .gemini/skills/dojo, .github/skills/dojo and .opencode/skills/dojo in your project.

What does Dojo need to run?

Going by SKILL.md and its folder, Dojo needs the command-line tools its instructions call (git).

Does Dojo access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Dojo safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Dojo use?

Dojo is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Dojo use?

About 1.7k tokens (SKILL.md is roughly 6.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dojo?

Skills that share tags, products or a category with Dojo: Mmr Loop Skill (9600dev/mmr, 131 stars), Vectorbt Expert (marketcalls/vectorbt-backtesting-skills, 208 stars), Mmr Skill (9600dev/mmr, 131 stars) and Backtest (marketcalls/vectorbt-backtesting-skills, 208 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dojo?

Necmttn (a GitHub user) maintains it in Necmttn/ax, which has 116 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 7, 2026.

Source: Necmttn/ax on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.