stax: Skill for Claude Code

.claude/skills/stax-dev/SKILL.md

stax-dev is a skill for Claude Code from cesarferreira/stax. It costs 53 tokens per session (1,265 once invoked), scanned A, original, MIT.

A development workflow for the stax Rust command-line tool, using separate agents to plan, implement, and verify code changes. Rust is a programming language, and a command-line tool runs from a terminal.

In plain words
What is it for?
It is for adding commands, fixing bugs, changing behavior, refactoring stax, running the required checks, and preparing commits or draft pull requests.
Why use it?
It organizes feature work and bug fixes into repeatable stages with code review and checks. It also keeps changes isolated in worktrees and requires human control before a draft change is made ready for review.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions AGENTS.md.

This is cesarferreira/stax's own configuration. It tells Claude Code how to work on stax itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything stax configures →

Reuse

Borrowing it

Nothing to install: this file belongs to cesarferreira/stax. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/cesarferreira/stax/main/.claude/skills/stax-dev/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/cesarferreira/stax

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for stax-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/cesarferreira/stax/stax-dev/github.svg)](https://agentmods.dev/skills/cesarferreira/stax/stax-dev)
Your own site
<a href="https://agentmods.dev/skills/cesarferreira/stax/stax-dev"><img src="https://agentmods.dev/badge/skills/cesarferreira/stax/stax-dev/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for stax-dev

Your own site · 80×15
<a href="https://agentmods.dev/skills/cesarferreira/stax/stax-dev"><img src="https://agentmods.dev/badge/skills/cesarferreira/stax/stax-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,265 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.01265
Opus 5.5 $0.00021 $0.00506
Sonnet 5.5 $0.00011 $0.00253
Haiku 4.5 $0.00005 $0.00127

Measured 21d ago against content hash 636774185b49, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

stax-dev scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 21d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/stax-dev/SKILL.md · 88 lines

How it starts

The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.

stax-dev

Run a bounded, evidence-carrying pipeline for one scoped stax change:

context/worktree → plan → implement → review + verify → repair (maximum 2) → optional benchmark → release

The harness may create a task worktree during triage. Only stax-release-manager may commit, push, or submit after the gates. Nothing in this workflow may merge or undraft a PR.

Run Contract

Resolve the project root dynamically with git rev-parse --show-toplevel; never assume a personal path. Create a unique run directory at <project-root>/_workspace/<run_id>/. These files are transient evidence and must not be committed:

context.md
plan.md
implementation-pass-0.md
review-pass-0.md
verification-pass-0.md
implementation-pass-1.md   # only after first repair
review-pass-1.md
verification-pass-1.md
implementation-pass-2.md   # only after second repair
review-pass-2.md
verification-pass-2.md
benchmark.md
release.md

Use pass 0 for initial implementation and passes 1 and 2 for the only permitted repair attempts. Every agent receives the project root, run directory, user request, approved plan, current pass, and paths of all prior artifacts it needs. Persist agent output to the named artifact when the agent cannot write it directly.

0. Context and Worktree Triage

Read AGENTS.md and inspect git status, the current branch/worktree, stax worktree ll, and stax ll. Record the request, project root, current branch, parent, worktree decision, pre-existing changes, and applicable instructions in context.md.

  • Continue in the current checkout only when it is already a dedicated task worktree on the intended stacked branch.
  • If the checkout is shared, trunk, or belongs to unrelated work, create or select a dedicated stax task worktree without moving, deleting, stashing, or overwriting user changes. Re-resolve the project root inside it.
  • Stop for user direction if branch ownership, parentage, or unrelated dirty changes cannot be resolved safely.

Read the full file on GitHub · 88 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 21d ago Changed · -52 lines · -78 tokens per session 636774185b49
  2. 2mo ago First seen · 140 lines · 131 tokens per session scan A 5974931e1d1e

Subscribe to this mod's changes

stax-dev is a skill published in the GitHub repository cesarferreira/stax (133 stars, last pushed 2d ago), licensed MIT. It adds 53 tokens to every session and 1,265 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

stax-dev compared with skills from other repositories

stax-dev next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
stax-devcesarferreira/staxSkill1332d agoMITA53Claude Code
update-v8-versionopeninterpreter/openinterpreterSkill69k3d agoApache-2.0A86Codex
dart-run-static-analysisflutter/agent-pluginsSkill3.2k2d agoBSD-3-ClauseA43Claude Code
agents-sdk-dotnet-debuggingmicrosoft/AgentsSkill1.1kyesterdayMITA136Claude Code
memory-optimizationbenchflow-ai/skillsbenchSkill1.9k2d agoApache-2.0A60Claude Code, Codex
golang-error-handlingsamber/cc-skills-golangSkill3.8k5d agoMITA144Claude Code
triaging-merge-queue-failuresPostHog/posthog-fossSkill728yesterdayMITA180Claude Code, Codex