necmttn/ax/setup
Claude Code and agent skill by necmttn/ax
- community
Checking that the SKILL.md file is still in the repository.
Install + verify ax (the agent experience layer). Triggers when the user says "install ax", "set up ax", "ax not found", "ax doctor", "is ax running", "fix ax install", "first-time ax setup", or any setup question about the ax CLI / skills / daemon. Walks the install via the install.sh + skills.sh + first ingest, validates with `ax doctor`, and points the user at ax:retro (experiment loop) and ax:extract-workflow (reconstruct workflow behind shipped artifacts).
Install
npx vskill@latest install necmttn/ax/setupSKILL.md
ax:setup
Install and verify ax - the local agent-experience graph. After this skill the user has the ax CLI on PATH, an ingested local graph (embedded DuckDB, no daemon to run or watch), and the ax skills loaded into Claude Code.
This skill is intentionally narrow: install + verify only. For day-to-day use see ax:retro (experiment loop), ax:extract-workflow (reconstruct the recipe behind a shipped artifact), or run the CLI directly.
When to fire
Trigger phrases:
- "install ax" / "set up ax" / "first-time ax setup"
- "ax not found" / "where is axctl"
- "ax doctor" / "is ax running" / "is ax working"
- "what does ax give me"
Do NOT auto-trigger on unrelated work or when the user is already deep in an ax workflow (ax improve list, ax recall …).
Install
Continue only after the installer completes successfully. A failed download, failed review command, declined approval, or end of input stops installation. Agents inspect the downloaded file and obtain approval before executing that same file. The private directory prevents another local user replacing it.
If any step fails, run ax doctor --json and surface the blocker. If ax itself isn't found after step 1, the user probably has a custom shell rc - tell them to add $HOME/.local/bin to PATH.
Verify
Specific failure modes:
cachecheck fails / no successful ingest recorded → runax ingest.
There is no daemon to start - the graph is a published DuckDB snapshot, rebuilt on demand. A stale graph also self-heals: any DB-backed command forks a debounced background ax ingest on its own (AX_NO_AUTO_INGEST=1 to opt out).
- Zero skill invocations after ingest → user has a different Claude
transcripts path. Set AX_TRANSCRIPTS_DIR and re-ingest.
Label skills ax can't classify (do this for the user)
ax tags skills with roles (e.g. framing, execution, verification) so ax skills weighted ranks by usage × role, not raw count. A skill the user invokes ≥3× with no role is "unclassified" - ax hands each one back to YOU as a task brief to fill. This is the core agent-in-the-loop step; don't skip it.
For each brief written:
- Read the skill (its SKILL.md / what it does) and the brief's evidence.
- Fill the YAML frontmatter at the top of the brief:
primary_role:(required,
one label), plus optional secondary:, confidence: (0–1), rationale:. Run ax roles to see labels already in use; reuse them when they fit.
- Apply + check:
If classify reports "no unclassified skills", the user hasn't used enough yet - say so and revisit after a few days (re-run ax ingest, or let the freshness drive top it up automatically). One-off override without a brief: ax skills tag <skill> <role>.
Also surface the config front door when relevant:
ax skills config- skill lifecycle (live / orphan / out-of-scope / parked).ax hooks config- hooks across claude/cursor/codex/opencode (+ add/remove/edit).ax hooks init- scaffold~/.ax/hooksfor authoring custom TypeScript guards (defineHookfrom@ax/hooks-sdk); validate withax hooks backtestbeforeax hooks install.ax agents config- agent definitions and the skills they scope.
After the first ingest completes, show the user where their model spend goes - this is the fastest "aha" in the product:
If the candidates list is non-empty, point at the routing loop: the efficient-dispatch skill (installed with the others), the route-dispatch hook (ax hooks init scaffolds it; install with ax hooks install ~/.ax/hooks/route-dispatch.ts --providers=claude), and docs/design/cost-routing.md for the full picture.
What's installed
| Component | Where | Owner | |
|---|---|---|---|
ax / axctl CLI | ~/.local/bin/ax (symlink to ~/.local/share/ax/bin/axctl) | install.sh | |
| DuckDB cache | ~/.local/share/ax/ (embedded, no daemon to run or watch) | ax ingest | |
| Freshness drive | forks a debounced background ax ingest when the graph is stale | automatic, on any DB-backed command | |
| OTLP receiver (optional, macOS) | com.necmttn.ax-otlpd LaunchAgent | ax install --telemetry | |
| Claude skills | ax:setup (this one), ax:retro (experiment loop), ax:extract-workflow (recipe reconstruction), ax:release-announcement (release notes from git + session evidence) | npx skills add Necmttn/ax |
After install
To run the experiment loop:
let's do an ax retro
That fires ax:retro which walks the user through proposal triage + verdict review against their recent work.
For ad-hoc queries the CLI is direct:
Common questions
- "What does ax do?" Local typed graph of every Claude Code + Codex
session, skill invocation, edit, and commit. Surfaces what skills you actually use, what context to ground on, and which repeated workflows are worth packaging.
- "Is my data shared?" No. Everything stays in a local embedded DuckDB
cache under ~/.local/share/ax/. No telemetry leaves the box.
- "How do I uninstall?"
``bash ax uninstall --purge ``
What this skill is NOT for
- Experiment-loop workflow → use
ax:retro. - Reconstructing how a shipped artifact was built → use
ax:extract-workflow.
- Drafting release notes or changelog pages → use
ax:release-announcement.
- Day-to-day skill queries → run the CLI directly; no skill mediation
needed.
- Schema / dev work on the ax repo itself → see
docs/development.mdin
the repo.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/setup/SKILL.md
Popularity
- Repository stars
- 113
- Repository forks
- 15
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/necmttn/ax/setup)