skillcraft: Instructions file for Claude Code

CLAUDE.md

skillcraft CLAUDE.md is an instructions file for Claude Code from cloudroad-io/skillcraft. It costs 919 tokens per session, scanned A, original, MIT.

A command-line tool for checking and managing instructions used by coding agents, such as AGENTS.md, CLAUDE.md, and editor rule files. It keeps one AGENTS.md source in sync with those other formats.

In plain words
What is it for?
Use it to create a starter configuration, lint instruction files, regenerate managed copies, preview changes, and detect drift in continuous integration.
Why use it?
Agent instructions are often spread across several files and can drift apart. This tool finds errors, detects differences, and helps keep them consistent.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

This is cloudroad-io/skillcraft's own configuration. It tells Claude Code how to work on skillcraft 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 skillcraft configures →

Reuse

Borrowing it

Nothing to install: this file belongs to cloudroad-io/skillcraft. 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/cloudroad-io/skillcraft/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/cloudroad-io/skillcraft

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 skillcraft CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/cloudroad-io/skillcraft/claude-md/github.svg)](https://agentmods.dev/instructions/cloudroad-io/skillcraft/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/cloudroad-io/skillcraft/claude-md"><img src="https://agentmods.dev/badge/instructions/cloudroad-io/skillcraft/claude-md/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 skillcraft CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/cloudroad-io/skillcraft/claude-md"><img src="https://agentmods.dev/badge/instructions/cloudroad-io/skillcraft/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 919 This file is loaded in full into every session.
When invoked 919 The same file — it is already loaded in full.
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.00919 $0.00919
Opus 5.5 $0.00368 $0.00368
Sonnet 5.5 $0.00184 $0.00184
Haiku 4.5 $0.00092 $0.00092

Measured 2mo ago against content hash 367f0c3730aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

skillcraft CLAUDE.md 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 2mo 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.md · 71 lines

How it starts

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

skillcraft

ESLint + Jest for agent-config files. skillcraft lints, syncs and scaffolds the fragmented ecosystem of SKILL.md, CLAUDE.md, AGENTS.md, .cursor/rules, .claude/rules and copilot-instructions. One canonical source, many managed targets, drift detection in CI.

Install

uv tool install skillcraft
# or: pip install skillcraft

Commands

Command Purpose
skillcraft lint [--check] [-f plain|json|github|sarif] Run the rule set over discovered config files; exit 1 on any ERROR.
skillcraft sync [--check] [--diff] [--adopt <file>] Regenerate managed targets from AGENTS.md; detect drift.
skillcraft init [--name <name>] Scaffold a minimal AGENTS.md + .skillcraft.toml.
skillcraft version Print the version.

How it works

  • Canonical source = AGENTS.md (vendor-neutral, schema-less). Richer metadata (name, description, scope, license, …) rides in invisible <!-- skillcraft:meta <json> --> comments — valid markdown to every consumer, machine-readable to skillcraft.
  • IR: ConfigDoc. Every parser emits it, every renderer consumes it. Same-format parse→render is lossless; extra_frontmatter escape hatch guarantees no field is silently dropped.
  • Sync. skillcraft sync renders each target from the canonical doc and writes it with a <!-- skillcraft:managed-source path=AGENTS.md --> marker. skillcraft sync --check exits 1 if any managed target drifted (CI). Unmanaged files are never overwritten; opt in with --adopt.
  • Plugins. Subclass Rule or Converter, decorate with @register_rule / @register_converter, and (for external packages) declare an entry-point in skillcraft.rules / skillcraft.converters. See CONTRIBUTING.md.

Rules

ID Scope Rule
SC101 SKILL name is kebab-case, ≤64 chars
SC102 SKILL in a skills/<name>/ folder, name matches the folder
SC103 SKILL description present, ≤1024 chars
SC104 SKILL body ≈ <5000 tokens (warn past 4000)
SC105 SKILL description ≥40 chars for triggerability (warn)
SC201 CLAUDE @path imports resolve, no cycles, ≤4 hops
SC202 CLAUDE line count <200 (warn), <500 (error)
SC203 CLAUDE @imports resolve inside the repo root (error)
SC204 ALL no skipped heading levels (warn)
SC301 ALL required frontmatter present iff the format requires it
SC302 ALL no merge-conflict markers in the body
SC304 ALL body ends with a trailing newline (warn)
SC401 CURSOR globs well-formed and the rule is reachable (error/warn)
SC402 CURSOR not both alwaysApply: true and globs (warn)

Read the full file on GitHub · 71 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. 2mo ago First seen · 71 lines · 919 tokens per session scan A 367f0c3730aa

Subscribe to this mod's changes

skillcraft CLAUDE.md is an instructions file published in the GitHub repository cloudroad-io/skillcraft (2 stars, last pushed 3mo ago), licensed MIT. It adds 919 tokens to every session, about $0.0037 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-31.