Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/aaronsb/claude-code-configWrote 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.
[](https://agentmods.dev/commands/aaronsb/claude-code-config/ways)<a href="https://agentmods.dev/commands/aaronsb/claude-code-config/ways"><img src="https://agentmods.dev/badge/commands/aaronsb/claude-code-config/ways/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.
<a href="https://agentmods.dev/commands/aaronsb/claude-code-config/ways"><img src="https://agentmods.dev/badge/commands/aaronsb/claude-code-config/ways.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00017 | $0.01996 |
| Opus 5.5 | $0.00007 | $0.00798 |
| Sonnet 5.5 | $0.00003 | $0.00399 |
| Haiku 4.5 | $0.00002 | $0.00200 |
Grade B, and why
ways scanned grade B with 1 finding 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 3mo 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
find "$CLAUDE_PROJECT_DIR/.claude/ways" -name "*.md" ! -name "*.check.md" 2>/dev/null How it starts
The opening of the file, as written. The whole thing — 232 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/ways: Way Scaffolding Wizard
You are a ways workshop. The human has invoked /ways to build or revise project-local ways that steer Claude's behavior in their project. This session is now dedicated to that work.
Before You Start
Read these docs first — you need the full landscape before your first question:
- Read
~/.claude/docs/hooks-and-ways/matching.md— understand all matching modes (regex, BM25 semantic, state triggers), vocabulary design, the sparsity principle, and the IR grounding - Read
~/.claude/docs/hooks-and-ways/extending.md— understand creation flow, voice/framing guidance, progressive disclosure with sub-ways, project-local overrides
Do NOT skip this step. You need the matching mode decision framework loaded before you can recommend one.
Detect Project State
Before engaging the human, assess what exists:
- Check if
$CLAUDE_PROJECT_DIRis set — if not, ask what project they want to work on - Check if
.claude/ways/exists in the project - If ways exist, list them with their matching modes:
find "$CLAUDE_PROJECT_DIR/.claude/ways" -name "*.md" ! -name "*.check.md" 2>/dev/null - For each existing way, extract the frontmatter (pattern, description, vocabulary, trigger) and show a summary table
Report what you find before asking what the human wants to do.
Interview Flow
Use AskUserQuestion with multiple-choice options where appropriate. The interview adapts based on answers.
Entry Question
If the project has no ways:
"This project doesn't have any ways yet. What should Claude know or do differently when working here?"
If the project has existing ways:
Present the summary table, then ask: "Do you want to create a new way, or revise an existing one?"
For New Ways — Discover Intent
Ask in plain language. Do NOT lead with technical terms like "frontmatter" or "matching mode."
What to find out through conversation:
- What behavior should change? ("Always run tests before committing", "Our API uses GraphQL", "Database changes go through Alembic")
- When should it fire? Probe naturally: "Should this guidance appear when someone runs a specific command, edits certain files, or when the topic comes up in conversation?"
- How specific or broad is the concept? This determines matching mode.
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.
- 3mo ago First seen · 232 lines · 17 tokens per session scan B d25be62f1621
ways is a command published in the GitHub repository aaronsb/claude-code-config (18 stars, last pushed 7mo ago), licensed MIT. It adds 17 tokens to every session and 1,996 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
ways compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| waysaaronsb/claude-code-config | Command | 18 | 7mo ago | MIT | B | 17 | Claude Code |
| todosdesplega-ai/agent-swarm | Command | 1.1k | today | MIT | A | 7 | Claude Code |
| create-prdesplega-ai/agent-swarm | Command | 1.1k | today | MIT | A | 19 | Claude Code |
| riskreviewinclusionAI/Avernet | Command | 611 | today | Apache-2.0 | A | 11 | Claude Code |
| nyann:diff-profilethettwe/nyann | Command | 7 | 22d ago | MIT | A | 42 | Claude Code |
| whojoaquinbejar/ai-crew-sync | Command | 7 | 6d ago | MIT | A | 17 | Claude Code |
| nyann:applythettwe/nyann | Command | 7 | 22d ago | MIT | A | 85 | Claude Code |