tune
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…
Skill by Necmttn
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/necmttn-tune
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/tune
What's inside
- Skill name
tune- Description
- 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. Reads the raw session log through a bundled ledger script, with ax as the second source and the ledger. Triggers when the user says "environment retro", "env retro", "what should I change in my setup after this session", "retro this session's tooling", or invokes /ax:tune. Use /ax:retro to triage the proposals it files.
- License
- AGPL-3.0
- Instructions
- 54 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (3)
- PROPOSALS.md
- SKILL.md
- turns.py · scripts/
SKILL.md (first lines)
# ax:tune - what to change in the rig after one session The user has asked to **tune** the rig. You read what one session actually did, name the changes to the agent's **environment** (hooks, checks, steering files, tools, access) that would make the next run cheaper or safer, and file every candidate in ax so it is triageable later. The session log is the primary source; ax is the ledger. ## Steps 1. Call the Skill tool with `writing-for-agents` for the writing style. 2. **Locate the session.** Default is the current one: the id is `$CLAUDE_CODE_SESSION_ID` and the log is `~/.claude/projects/<cwd-slug>/<id>.jsonl`. If the user names another session, take its key. Done when you hold a path that exists. 3. **Make it reviewable in ax, scoped.** Run `ax ingest here` in the background (the bare `ax ingest` walks every transcript on the machine). Watch its RSS; stop it at 4 GB and record that as a Tool economy finding against ax itself. Continue on the raw log while it runs. 4. **Build the ledger.** Run `python3 -I scripts/turns.py <log>` (add `--full` to see each command). It prints one line per tool call with `ERR`, `DENY`, `RETRY`, `AGENT`, `BIG` flags and a summary of calls, flags and tokens. When ax has the session, add `ax sessions show session:<id> --turns --json` for timings. Done when every flagged line has a cause you can state. 5. **Hunt candidates** in these categories, each with evidence from the ledger (turn, tool calls spent, bytes or tokens wasted) and a fix that names a file. - **Navigation**: the agent took long to find a file or fact. _Fix_: a pointer in auto-memory or the repo's `CLAUDE.md`, never a paragraph. - **Automated checks**: a mistake a linter, type check, test or filesystem check would have caught. Read the repo's own check command first (`package.json` scripts, CI workflow); an existing check that is unwired or broken is the finding. A repo with no pre-commit hook and no CI check is itself a finding. - **Coding standards**: classify the violation first. A **mechanical** one (banned API, import shape, file-location rule, a command shape) gets a deterministic check: a lint rule, a pre-commit hook, a PreToolUse hook that **rewrites and allows** rather than denies. Reserve prose rules for **judgement calls** no check can substitute for, and give them to the reviewer agent, which has the least context pressure. - **Global AGENTS.md / CLAUDE.md**: always-loaded lines that did not bear on this session. Candidates for a pointer and a doc, or deletion. - **Tool economy**: expensive calls. A `BIG` result, an alias or pager writing ANSI to a pipe, a denial that forced a verbatim resend, a search over the wrong tree. _Fix_: a rewrite hook, a tty guard, a scoped command. - **No-ops**: steering lines the model already obeys by default. Delete the sentence, not words from it. - **Information access**: a fact the agent needed and could not reach (a session id, a dev-server log, a third-party dashboard). _Fix_: an env var, a tee, read-only access. Done when each candidate has category, evidence, fix, and the file the fix lands in. 6. **Present** the candidates to the user in order of severity: cost in this session first, then likelihood of recurrence. One paragraph each. End with which ones are mechanical (a check) and which need judgement (a rule). 7. **File in ax.** Read [`PROPOSALS.md`](PROPOSALS.md) for the payload shapes. Then: ```bash ax retro brief --session=session:<id> # writes .ax/tasks/retro/<id>.md ax retro emit --session=session:<id> --source=manual --from-file=<json> ``` The JSON holds `tried`, `worked`, `failed`, `next`, and one `proposals[]` entry per candidate, shaped by its form. Set the brief's frontmatter `status: completed`. Done when `ax improve list` shows the new proposals. 8. **Apply only when asked.** If the user says fix them, apply in severity order, one commit per repo, and re-run the ledger on the next session to confirm the flag class is gone. ## Reference ### Implementation vs review Work goes through two stages. The implementation agent explores, writes and debugs under the most context pressure. The review agent receives a diff and has the least. Standards belong to the reviewer; the implementer gets checks and pointers. ### Files - `CLAUDE.md` / `AGENTS.md`: loaded every turn in that repo. Navigation pointers only. - `CODING_STANDARDS.md`: read at review time. Judgement rules. - `~/.claude/hooks/*.sh`: PreToolUse guards. Prefer `permissionDecision: allow` with `updatedInput` over `deny`. - `~/.claude/projects/<slug>/memory/`: auto-memory. Pointers and machine-local facts. - Skills: docs whose description is a context pointer, or user-invoked commands.
From Necmttn/ax, AGPL-3.0.
More from Necmttn/ax
- 0.779score
dojo
Necmttn
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…
SkillAFreshness: A★ 122Claude Code +9 - 0.779score
ax-repo
Necmttn
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.
SkillAFreshness: A★ 122Claude Code +9 - 0.779score
efficient-dispatch
Necmttn
Model-routing orchestration for any expensive frontier model (Fable, Opus, GPT-5.x) - the main model keeps judgment and Q&A review, mechanical subagent…
SkillAFreshness: A★ 122Claude Code +9 - 0.779score
ax-extract-workflow
Necmttn
Reconstruct the workflow behind a past artifact - "what made X work" / "extract workflow from <date|sha>" / "how did we ship Y".
SkillAFreshness: A★ 122Claude Code +9 - 0.779score
release-announcement
Necmttn
Draft or revise ax release announcements and website changelog pages.
SkillAFreshness: A★ 122Claude Code +9 - 0.779score
retro
Necmttn
Guided experiment-loop retrospective over the ax agent-experience graph.
SkillAFreshness: A★ 122Claude Code +9 - 0.779score
retro-meta
Necmttn
Deep retro of retros - investigation pass that surfaces improvements across older retros and the current ax setup.
SkillAFreshness: A★ 122Claude Code +9 - 0.779score
setup
Necmttn
Install + verify ax (the agent experience layer).
SkillAFreshness: A★ 122Claude Code +9 - 0.779score
ship-checklist
Necmttn
Definition-of-done checklist for shipping a new write, signal, table, edge, or query to the ax graph.
SkillAFreshness: A★ 122Claude Code +9 - 0.779score
ax-add-ingest-stage
Necmttn
Use when adding a new ingest stage or a new SurrealDB table to the ax graph.
SkillAFreshness: A★ 122Claude Code +9 - 0.775score
ax-narrate
Necmttn
Write the agent-generated narration of the current session - the reviewable story of what changed, including what never reaches a PR (user corrections…
SkillAFreshness: A★ 122Claude Code +9
Signals
- Stars
- 122
- Forks
- 15
- Open issues
- 39
- Last commit (this folder)
- Oct 7, 2026 (21 days ago)
- Last release
- Oct 2, 2026 (26 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- AGPL-3.0
- Repository
- github.com/Necmttn/ax
- Website
- ax.necmttn.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Necmttn
- 0.779score
dojo
Necmttn
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…
SkillAFreshness: A★ 122Claude Code +9 - 0.779score
ax-repo
Necmttn
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.
SkillAFreshness: A★ 122Claude Code +9 - 0.779score
efficient-dispatch
Necmttn
Model-routing orchestration for any expensive frontier model (Fable, Opus, GPT-5.x) - the main model keeps judgment and Q&A review, mechanical subagent…
SkillAFreshness: A★ 122Claude Code +9 - 0.779score
ax-extract-workflow
Necmttn
Reconstruct the workflow behind a past artifact - "what made X work" / "extract workflow from <date|sha>" / "how did we ship Y".
SkillAFreshness: A★ 122Claude Code +9 - 0.779score
release-announcement
Necmttn
Draft or revise ax release announcements and website changelog pages.
SkillAFreshness: A★ 122Claude Code +9 - 0.779score
retro
Necmttn
Guided experiment-loop retrospective over the ax agent-experience graph.
SkillAFreshness: A★ 122Claude Code +9
Cite this page
tune skill. Agent Mart. https://agentmart.dev/skills/necmttn-tune (last updated 2026-10-24)