agent-skills CLAUDE.md

agent-skills CLAUDE.md is an instructions file for Claude Code from mthines/agent-skills. It costs 22,268 tokens per session, scanned C, original, MIT.

Repository instructions for agent skills, which are reusable guidance files that coding agents can load for specific tasks.

In plain words
What is it for?
Use them when creating, editing, testing, or organising skills and agents in that repository.
Why use it?
They define how instructions should be written and organised so an agent can follow them without guessing.

Instructions file for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_DATA} variable. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Install

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.

agentmods
npx agentmods add instructions/mthines/agent-skills/claude-md
Clone the repo
git clone --depth 1 https://github.com/mthines/agent-skills

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 agent-skills CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/mthines/agent-skills/claude-md.svg)](https://agentmods.dev/instructions/mthines/agent-skills/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/mthines/agent-skills/claude-md"><img src="https://agentmods.dev/badge/instructions/mthines/agent-skills/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 22,268 This file is loaded in full into every session.
When invoked 22,268 The same file — it is already loaded in full.
Security scan C 1 finding. Scan, not verified.
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.22268 $0.22268
Opus 5 $0.11134 $0.11134
Sonnet 5 $0.04454 $0.04454
Haiku 4.5 $0.02227 $0.02227

Measured today against content hash 6b59c1fa67da, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade C, and why

agent-skills CLAUDE.md scanned grade C 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 today.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- `pr-reviewer` — unified PR reviewer — handles both own-work (self relation) and cross-review (cross relation) via `REVIEW_RELATION` set at Step 0.5. The pipeline is identical in both relations — same findings, same gat
CLAUDE.md · 334 lines

How it starts

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

Agent Skills

Audience

The skills and agents in this repository are consumed operationally by agentic frameworks (AI coding agents, copilots, and autonomous developer tools). Every piece of guidance must be written so that an agent can act on it without human interpretation.

When writing or editing content, follow these principles:

  • Be prescriptive, not descriptive. Tell the agent what to do, not explain concepts.
  • Make decisions enumerable. Provide numbered decision processes, lookup tables, or explicit criteria.
  • Include code examples for every actionable rule. Show both correct and incorrect patterns.
  • Avoid subjective conditions. State concrete, testable criteria.
  • Keep rules self-contained. Each file must make sense on its own.

Repository Structure

Skills live in skills/<category>/<name>/SKILL.md across 7 categories. Agents live in agents/ since they need their own model and tool configuration.

Type markers (by primary entry point — all three are technically model-invocable via the Skill() tool when disable-model-invocation: false): auto = description aggressively auto-triggers on natural language; / = primary entry is the slash command, description does not auto-trigger; Skill() = primary entry is being called by another skill / workflow.

workflow/ — end-to-end orchestrators

  • autonomous-workflow (auto) — phase-based feature delivery 0–7. Opt-in aw dispatcher detects tier (Micro/Lite/Full) and routes single-pass vs the planner→executor split (Full only). Two-tier self-improvement hoisted to the dispatcher (universal): fast episodic-lessons tier (LoreKit loop::aw-lessons) promotes to the gated diagnose slow tier at seen_count ≥ 3. Loop: rules/self-improvement-loop.md. Plan-quality gates (v3.15): Phase 0 restate-and-diff + missing-information gate (blocking halts even under --no-confirm), Phase 1 Existing Code Survey per planned create (anti-reinvention, confidence rule #10) + AC-{n}/(covers: R{m}) requirement traceability (rule #9), and an executable checks.yaml acceptance artifact (rule #11) the executor's Phase 4 loop gates on mechanically — definitions executor-immutable, check-gaming forbidden, unsatisfiable abort affordance. Artifact lightening (v3.18): checks.yaml is the primary living contract and plan.md a lean handoff document the executor writes drift back into (Phase 3); plan.v{N}.md snapshots are opt-in (aw-create-plan's snapshot arg), not default; the "No AI co-author tags" rule was removed. Research basis: references/planning-quality-research.md. Design intent: workflow/autonomous-workflow/CLAUDE.md
  • aw-create-plan (Skill()) — writes plan.md + checks.yaml; immutable plan.v{N}.md snapshots are opt-in (snapshot arg). aw-create-walkthrough, aw-review-quality-gate (Skill()) — autonomous-workflow companions
  • batch-linear-tickets (/) — batch-analyze Linear tickets by dispatching linear-ticket-investigator (plus holistic-analysis for bug tickets) per ticket, then fan out fixes; requires Linear MCP. Self-improvement: batch-lessons fast tier (read Phase 1 / write Phase 5) for classification + correlation; inherits aw-lessons via the planner/executor fan-out; promotes to diagnose
  • fix-bug (/) — single-bug pipeline phases 0–8. Flags: --analyse-only, --force-holistic. Self-improvement: fix-bug-lessons fast tier (read Phase 0.5 / write Phase 5·7·8) for its diagnostic phases; inherits aw-lessons via aw-executor; promotes to diagnose
  • implement-suggestion (/) — apply reviewer suggestions across PRs; per-comment /critical + /confidence validation. --watch loops the apply on a single PR (wait for new bot/human comments → apply → push, max 5 iterations) — the loop create-pr dispatches post-push. Rule: watch-mode.md. --resolve-all (opt-in, passed by review-loop) adds a worker pass that replies-to-and-resolves the non-fix threads it can honestly close (answers question, records the agent's take on discussion, gives a decline rationale for gated-out changes) so the PR converges to zero open threads — only genuine human-judgment flags stay open (never green-washes a live finding; same invariant as thread-resolution.md). Self-improvement: implement-suggestion-lessons fast tier (read Phase 3 / write Phase 7 + watch re-flag) for its own classification, gate-calibration, and lane-selection decisions; standard-lane inherits aw-lessons via aw-planner; promotes to diagnose. Dual outcome producer: at Phase 7 and per-iteration inside --watch, emits (1) fingerprinted outcome records to the review-outcomes candidate/outcome bus (see agents/shared/rules/review-outcomes.md) — feed outcome-learning.md's promotion decisions; and (2) per-comment relevance signals to the reviewer-comment-relevance LoreKit bucket (tag loop::reviewer-comment-relevance, see agents/shared/rules/comment-relevance-memory.md) — read on every pr-reviewer run to suppress recurring noise and reinforce reliably-resolved patterns, making the pipeline continuously more accurate per repository. CI boundary: never fixes CI. The worker's Phase 6 pre-push gate now runs a full, unscoped fast-check pass over the whole repo before the single push (step 3.5) — per-comment checks are scoped to touched files and cannot see a consumer the edit broke elsewhere — and hard-STOPs with the batch local-only on failure. Under --watch, post-push check state is read only as a stop reason (ci red — <checks>); no ci-auto-fix dispatch, no budget spent. Composing apply-and-get-green is review-loop's job.

Read the full file on GitHub · 334 lines

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. today Changed · +2 lines · +1,754 tokens per session 6b59c1fa67da
  2. yesterday Changed · +2 lines · +4,916 tokens per session scan A → C 8b7f0184c61e
  3. 2d ago Changed · +2 lines · +661 tokens per session 0ad1d5f75e93
  4. 5d ago First seen · 328 lines · 14,937 tokens per session scan A 339807b3bfd4

Subscribe to this mod's changes

agent-skills CLAUDE.md is an instructions file published in the GitHub repository mthines/agent-skills (12 stars, last pushed yesterday), licensed MIT. It adds 22,268 tokens to every session, about $0.1113 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.