Agent skill

Setup

by Necmttn in Necmttn/ax

Install + verify ax (the agent experience layer). An agent skill from Necmttn/ax.

AGPL-3.0Auto-check passed

Install Setup

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

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

GitHub CLI
$ gh skill install Necmttn/ax setup --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/setup .claude/skills/setup && 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
setup
GitHub stars
116
Token cost
~2k tokens
SKILL.md length
766 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Install + verify ax (the agent experience layer). An agent skill from Necmttn/ax.

  • Works in 3 steps: Read the skill (its SKILL.md / what it… → Fill the YAML frontmatter at the top of… → Apply + check
  • The user says install ax
  • SKILL.md covers When to fire, Install, Verify and Label skills ax can't classify…, plus 4 more sections
  • Calls npx and curl

What it does

Setup is an agent skill from Necmttn/ax. 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).

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

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 install ax
  • First-time ax setup
  • Any setup question about the ax CLI / skills / daemon

Example prompts

  • “install ax”
  • “set up ax”
  • “ax not found”
  • “/setup”

Requirements

  • Node.js

Workflow steps

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

  1. Read the skill (its SKILL.md / what it does) and the brief's evidence.
  2. Fill the YAML frontmatter at the top of the brief: primary_role: (required,
  3. Apply + check

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:

    • npx
    • curl

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

  • Network

    No URLs in SKILL.md. Its commands use npx and curl, 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

Setup loads about 2k tokens when it runs. Until then it costs about 118 tokens; SKILL.md has 766 words of instructions outside code blocks.

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

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). 766 words, ~1,962 tokens.

Download SKILL.mdSave it as .claude/skills/setup/SKILL.md (or your agent's skills folder).
name
setup
description
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).

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

bash
# 1. Download the installer and inspect it before executing. Review the target
#    paths first; this repository does not publish a checksum for install.sh.
(
    set -eu
    ax_install_dir="$(mktemp -d "${TMPDIR:-/tmp}/ax-install.XXXXXXXX")"
    trap 'rm -f "$ax_install_dir/install.sh"; rmdir "$ax_install_dir"' EXIT
    curl -fsSL https://raw.githubusercontent.com/Necmttn/ax/main/install.sh -o "$ax_install_dir/install.sh"
    less "$ax_install_dir/install.sh"
    read -r -p "Execute this installer? [y/N] " answer
    case "$answer" in
        [yY][eE][sS]|[yY]) bash "$ax_install_dir/install.sh" ;;
        *) echo "Installer not run."; exit 1 ;;
    esac
)

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.

bash
# 2. Review the skill changes and confirm before installing into the selected
#    agent skill directory. Omit -g unless a global install is intentional.
npx skills add Necmttn/ax -a codex

# 3. First ingest - seeds the graph from the user's last 7 days of
#    Claude Code + Codex transcripts.
PATH="$HOME/.local/bin:$PATH" ax ingest --since=7

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

bash
ax --version              # expect axctl v0.1.x
ax doctor --json          # expect ok: true for cache + skills
ax skills taste --limit=5 # rank top skills - proof the graph populated

Specific failure modes:

  • cache check fails / no successful ingest recorded → run ax 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.

bash
ax skills classify        # writes .ax/tasks/classify-<skill>.md per unclassified skill

For each brief written:

  1. Read the skill (its SKILL.md / what it does) and the brief's evidence.
  2. 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.
  3. Apply + check:
bash
ax skills lint            # reads filled briefs → writes plays_role edges
ax skills weighted        # the re-ranked list, now role-weighted

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/hooks for authoring custom TypeScript guards (defineHook from @ax/hooks-sdk); validate with ax hooks backtest before ax 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:

bash
ax cost split --days=7       # main loop vs subagents, by model
ax dispatches --candidates   # dispatches that could run on cheaper models

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.

Show full SKILL.md (226 more words)Show less

What's installed

ComponentWhereOwner
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 driveforks a debounced background ax ingest when the graph is staleautomatic, on any DB-backed command
OTLP receiver (optional, macOS)com.necmttn.ax-otlpd LaunchAgentax install --telemetry
Claude skillsax: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:

bash
ax skills taste --limit=10      # most-used skills (with clean-run boost)
ax recall "auth middleware"     # cross-session text search
ax insights tools --limit=5     # tool-failure leaderboard
ax project context --json       # grounding for the current repo

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.md in the repo.

© 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/setup of Necmttn/ax.

Open the folder on GitHubat commit fca259c

Compare with similar skills

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

Setup compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Setup this skillNecmttn/ax116—~2kAutomated safety check: PassAGPL-3.0
Finding ExperimentsPostHog/posthog40k—~783Automated safety check: PassCustom licence
ExperimentsArize-ai/phoenix12k—~1.8kAutomated safety check: PassCustom licence
Scroll Experiencesickn33/agentic-awesome-skills47k2 repos~534Automated safety check: PassMIT
Webgl Experiencenexu-io/open-design100k—~903Automated safety check: PassApache-2.0
Creating ExperimentsPostHog/posthog40k—~2.7kAutomated safety check: PassCustom licence

Similar skills

  • Finding Experiments

    PostHog/posthog

    Official

    Resolves a PostHog experiment reference from natural language to a concrete experiment ID by browsing experiment-list (not feature-flag tools), with disambiguation when multiple experiments match.

    40k GitHub stars~783 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Experiments

    Arize-ai/phoenix

    Run, read, and compare dataset-backed experiments to find evidence that a prompt or pipeline is improving.

    12k GitHub stars~1.8k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Scroll Experience

    sickn33/agentic-awesome-skills

    Expert in building immersive scroll-driven experiences - parallax storytelling, scroll animations, interactive narratives, and cinematic web experiences.

    47k GitHub starsUsed in 2 repos~534 tokens
    Writing & ContentAuto-check passed
  • Webgl Experience

    nexu-io/open-design

    A full-screen, real-time WebGL/WebGL2 experience — animated shaders, 3D scenes, generative visuals, particle fields — rendered live on the GPU with a typographic overlay.

    100k GitHub stars~903 tokensUpdated today
    Game DevelopmentAuto-check passed
  • Creating Experiments

    PostHog/posthog

    Official

    Guides agents through experiment creation: reading the project's setup with experiment-setup-context, defining the hypothesis, configuring rollout and bucketing, setting up analytics and running…

    40k GitHub stars~2.7k tokensUpdated today
    Marketing & SEOAuto-check passed
  • Scroll Experience

    davila7/claude-code-templates

    Expert in building immersive scroll-driven experiences - parallax storytelling, scroll animations, interactive narratives, and cinematic web experiences.

    32k GitHub starsUsed in 3 repos~1.5k tokens
    Frontend & DesignAuto-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 yesterday
    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 yesterday
    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 yesterday
    Auto-check passed
  • Draft or revise ax release announcements and website changelog pages.

    116 GitHub stars~1k tokensUpdated yesterday
    Auto-check passed
  • Retro

    Necmttn/ax

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

    116 GitHub stars~3.5k tokensUpdated yesterday
    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 yesterday
    Auto-check passed

Questions about Setup

What does Setup do?

Install + verify ax (the agent experience layer). An agent skill from Necmttn/ax. Setup is an agent skill from Necmttn/ax. Install + verify ax (the agent experience layer).

When should I use Setup?

Setup fits situations like: the user says install ax; first-time ax setup; any setup question about the ax CLI / skills / daemon.

How do I install Setup in Claude Code?

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

How do I install Setup in Codex?

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

Can I use Setup 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 setup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/setup, .gemini/skills/setup, .github/skills/setup and .opencode/skills/setup in your project.

What does Setup need to run?

Going by SKILL.md and its folder, Setup needs the command-line tools its instructions call (npx and curl). Our summary lists: Node.js.

Does Setup access the network?

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

Is Setup 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 Setup use?

Setup 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 Setup use?

About 2k tokens (SKILL.md is roughly 7.8k 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 Setup?

Skills that share tags, products or a category with Setup: Finding Experiments (PostHog/posthog, 40k stars), Experiments (Arize-ai/phoenix, 12k stars), Scroll Experience (sickn33/agentic-awesome-skills, 47k stars) and Webgl Experience (nexu-io/open-design, 100k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Setup?

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.