setup-craft-skills

setup-craft-skills is a skill for Claude Code from mikestangdevs/craft-skills. It costs 139 tokens per session (2,023 once invoked), scanned A, original, MIT.

A one-time repository setup that records the project's vocabulary, coding conventions, technology choices, and things that must not be changed. Other craft skills can read this shared CONTEXT.md file.

In plain words
What is it for?
Use it before the craft-skills tools for explaining code, naming, deleting, finding seams, making errors visible, small cleanup, comments, or fitting changes into existing code.
Why use it?
It stops related coding skills from repeatedly guessing how a particular codebase works. Their suggestions can then match the team's terminology and established rules.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md.

Part of the craft-skills plugin — 17 skills shipped together

Good fit Use it before the craft-skills tools for explaining code, naming, deleting, finding seams, making errors visible, small cleanup, comments, or fitting changes into existing code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mikestangdevs/craft-skills/setup-craft-skills
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.

Any agent
npx skills add mikestangdevs/craft-skills --skill setup-craft-skills
Clone the repo
git clone --depth 1 https://github.com/mikestangdevs/craft-skills

Made for: Claude Code.

Or install craft-skills, the plugin that ships this one along with the rest of its 17 skills.

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 setup-craft-skills

README.md
[![agentmods](https://agentmods.dev/badge/skills/mikestangdevs/craft-skills/setup-craft-skills/github.svg)](https://agentmods.dev/skills/mikestangdevs/craft-skills/setup-craft-skills)
Your own site
<a href="https://agentmods.dev/skills/mikestangdevs/craft-skills/setup-craft-skills"><img src="https://agentmods.dev/badge/skills/mikestangdevs/craft-skills/setup-craft-skills/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 setup-craft-skills

Your own site · 80×15
<a href="https://agentmods.dev/skills/mikestangdevs/craft-skills/setup-craft-skills"><img src="https://agentmods.dev/badge/skills/mikestangdevs/craft-skills/setup-craft-skills.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 139 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,023 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.00139 $0.02023
Opus 5 $0.00069 $0.01012
Sonnet 5 $0.00028 $0.00405
Haiku 4.5 $0.00014 $0.00202

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

Security

Grade A, and why

setup-craft-skills 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 10d 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.

skills/setup/setup-craft-skills/SKILL.md · 174 lines

How it starts

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

Setup Craft Skills

The failure mode this fixes

The craft skills are generic by default — and generic is the failure: name-things proposing vocabulary your team doesn't use, delete-this not knowing your webhook registry resolves handlers by string, fit-in guessing at conventions the team settled years ago. Without shared context, every skill re-detects (or mis-guesses) these per run. This skill captures the project's vocabulary, conventions, and untouchables once, in a file all the other skills read.

When to Use This Skill

  • First time using the craft-skills plugin in a repository
  • The project's domain vocabulary or conventions have changed and CONTEXT.md is stale

Run this once per repo (recommended, not required) before explain-back, name-things, delete-this, seams, loud-errors, boyscout, why-comments, or fit-in. Those skills read the file this creates if it's present — so their output matches your codebase instead of generic defaults. Skip it and the skills still work; they just fall back to detecting conventions on the fly.

What it creates

A CONTEXT.md at the repo root capturing the shared context the craft skills consume:

  • Domain glossary — the real nouns of the product, so name-things uses your vocabulary
  • Language & stack — so examples and idioms match (TS vs Go vs Python conventions differ)
  • Conventions — testing style, error-handling style, file layout, what "done" means
  • Untouchables — public APIs, plugin surfaces, and dynamically-referenced code that delete-this must never remove

Instructions

1. Detect, don't interrogate

Inspect the repo first — read package.json / go.mod / pyproject.toml, the test setup, a few representative source files, and any existing README/CONTRIBUTING. Infer the stack, test runner, and layout. Only ask the human about things you genuinely cannot detect.

2. Extract the domain glossary

Pull the recurring domain nouns from the code and docs (the entities, not the framework terms). Present the list and let the human correct or canonicalize names. This is what name-things aligns to. For each term capture:

  • What it means — one line, in the team's words.
  • Avoid — the near-synonyms that should not be used for it (this becomes a project-specific ban list for name-things: e.g. "Issue tracker — avoid: backlog, backlog backend").
  • Relationships — how the core entities relate ("an Order has many LineItems"), so explanations and names stay consistent.
  • Flagged ambiguities — any word that was being used for two different things, and the resolution. Recording the resolved split is what stops the codebase from drifting back into two vocabularies.

Read the full file on GitHub · 174 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. 10d ago First seen · 174 lines · 139 tokens per session scan A f37ba64c8d59

Subscribe to this mod's changes

setup-craft-skills is a skill published in the GitHub repository mikestangdevs/craft-skills (4 stars, last pushed 3mo ago), licensed MIT. It adds 139 tokens to every session and 2,023 once invoked, about $0.0007 per session on Opus 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-31.

Related

Other skills, from other repositories

absolute-simplify

Use when the user wants to simplify, clean up, refactor, tidy, or refine code — their staged/unstaged git changes or a target file/path. Reduces complexity, flattens nesting, removes redundancy and dead code, scores each change by value (holding low-value churn), then runs tests to prove nothing broke. Invoke on…

maddhruv/absolute · 178 tokens

plumb-line-audit

Use when auditing a diff or repository against the plumb-line principles — finds laundered uncertainty, boundary leaks, hardcoded priors, overstated maturity, outputs lacking recorded lineage, and baseline drift with no explanation. Read-only: it reports, never auto-fixes.

slopstopper/plumb-line · 0 tokens

plumb-line-bootstrap

Use when setting up a project with the plumb-line discipline — interviews the builder to find their source-truth layer and layering, generates a domain-neutral ruleset, and installs parameterized enforcement (boundary check, test gate, pre-commit gate, branch guard) for the project's language. Ships no default layers…

slopstopper/plumb-line · 73 tokens

plumb-line-remediate

Use when applying findings from a plumb-line audit report — the builder has a report (or pasted findings) and wants the fixes made. Opt-in and separate from the audit, which is read-only and never fixes.

slopstopper/plumb-line · 51 tokens

plumb-line-adopt

Use when a builder wonders what plumb-line would do for their codebase or which part to adopt — or when, mid-task, their work shows a fit signal (adding a mock or fallback near a production path, mixing fixture, cached, or LLM/agent-produced data with real data) and visible uncertainty would help. Inspects the repo…

slopstopper/plumb-line · 0 tokens

plumb-line-method

Use when a builder wants to learn or be reminded of the plumb-line method — the discipline of epistemic honesty enforced by tooling. Teaches the thesis, the nine portable principles, the maturity vocabulary, and the one-line test. Pure knowledge; takes no actions.

slopstopper/plumb-line · 59 tokens