create-claude-md

create-claude-md is a skill for Claude Code from atman-33/workhub. It costs 47 tokens per session (916 once invoked), scanned A, original, MIT.

A project guide file generator for CLAUDE.md, a Markdown file that tells Claude Code about a project's tools, rules, and working conventions. It examines the project before creating or refining the file.

In plain words
What is it for?
Use it to create or update CLAUDE.md after checking the project's build system, tests, linting, formatting, documentation, and contribution conventions.
Why use it?
It reduces the effort of documenting how a project should be worked on and helps keep general instructions separate from rules for specific file types or automated actions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions Claude Code.

Part of the authoring plugin — 5 skills shipped together

Good fit Use it to create or update CLAUDE.md after checking the project's build system, tests, linting, formatting, documentation, and contribution conventions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/atman-33/workhub/create-claude-md
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 atman-33/workhub --skill create-claude-md
Clone the repo
git clone --depth 1 https://github.com/atman-33/workhub

Made for: Claude Code.

Or install authoring, the plugin that ships this one along with the rest of its 5 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 create-claude-md

README.md
[![agentmods](https://agentmods.dev/badge/skills/atman-33/workhub/create-claude-md.svg)](https://agentmods.dev/skills/atman-33/workhub/create-claude-md)
Your own site
<a href="https://agentmods.dev/skills/atman-33/workhub/create-claude-md"><img src="https://agentmods.dev/badge/skills/atman-33/workhub/create-claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 916 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.00047 $0.00916
Opus 5 $0.00023 $0.00458
Sonnet 5 $0.00009 $0.00183
Haiku 4.5 $0.00005 $0.00092

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

Security

Grade A, and why

create-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 7d 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.

plugins/authoring/skills/create-claude-md/SKILL.md · 105 lines

How it starts

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

Analyze the current project and write an effective CLAUDE.md — either creating one from scratch or refining an existing one — following official Claude Code guidelines and the principle that shorter is better.

Steps

  1. Check for existing CLAUDE.md at the project root. If one exists, read it first.

  2. Inspect project files to detect build system, test runner, lint/format setup, and conventions:

    • package.json, pyproject.toml, Cargo.toml, Makefile, *.sln, go.mod
    • .eslintrc*, .prettierrc*, biome.json, ruff.toml
    • README.md, docs/ directory, .github/ for PR/branch conventions
    • git log --oneline -10 to detect commit message conventions
    • git remote -v to identify the repository
  3. Apply the placement decision for each rule you find:

    • Project-wide rules → CLAUDE.md
    • Domain-specific or file-type-specific rules (e.g., "React component rules", "SQL migration rules") → .claude/rules/<domain>.md with paths: frontmatter
    • Automated/enforcement behaviors (auto-format on save, lint fixing) → do NOT put in CLAUDE.md; note them as candidates for settings.json PostToolUse hooks
  4. Apply the include/exclude filter before writing each line:

    ✅ Include:

    • Bash commands Claude cannot guess (build, test, deploy, migrate, seed)
    • Code style rules that differ from language/framework defaults
    • Testing instructions and preferred test runners
    • Branch naming, PR conventions, commit message format
    • Required env vars or non-obvious setup steps
    • Common gotchas or non-obvious behaviors
    • Critical invariants (wrap in <important> tags)

    ❌ Exclude:

    • Anything Claude can infer by reading the code
    • Standard language conventions Claude already knows
    • Detailed API documentation (link to docs instead)
    • File-by-file descriptions of the codebase
    • Self-evident practices like "write clean code"
    • Automated behaviors (formatting, linting) — suggest settings.json hooks instead
  5. Write CLAUDE.md to the project root using this structure (omit empty sections):

    # <Project Name>
    <1-2 sentence description of what the project is>
    
    # Commands
    - install: <cmd>
    - dev: <cmd>
    - test: <cmd>
    - lint: <cmd>
    - build: <cmd>
    
    # Code Style
    <only rules that differ from defaults>
    
    # Workflow
    <branch naming, PR conventions, non-obvious steps>
    
    <important>
    <critical rules that must not be forgotten>
    </important>
    

    Keep the total file under 50 lines where possible. Never exceed 200 lines.

  6. Create .claude/rules/<domain>.md stubs for any domain-specific rules identified. Each stub must include paths: frontmatter:

    ---
    paths:
      - "src/components/**"
    ---
    # <Domain> Rules
    
    # TODO: add rules here
    
  7. Report what was written, what was excluded and why, any .claude/rules/ stubs created, and any behaviors suggested for settings.json.

Read the full file on GitHub · 105 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. 7d ago First seen · 105 lines · 47 tokens per session scan A 0bc8d2ae2179

Subscribe to this mod's changes

create-claude-md is a skill published in the GitHub repository atman-33/workhub (2 stars, last pushed 2d ago), licensed MIT. It adds 47 tokens to every session and 916 once invoked, about $0.0002 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

gonavi-cli

Operate databases through the GoNavi headless CLI — the gonavi executable shipped in verified GitHub Release archives. Covers listing/adding/importing saved connections, running SQL queries against saved connections or ad-hoc connection files, exporting result sets to csv/json/md/html/xlsx, batch-executing SQL files…

Syngnat/GoNavi · 144 tokens

xiaohongshu-image-creator

An image-making assistant for Xiaohongshu, a Chinese social platform for lifestyle, product, and educational posts. It creates vertical covers and supporting images matched to the post’s topic, audience, and visual style.

huangrichao2020/pretty-skills · 121 tokens

design

Create a doc-as-code design package from a PRD or SPEC. Conditionally generates C4 diagrams (Context/Container/Component), sequence diagrams, ER diagram + Data Dictionary, OpenAPI 3.0, AsyncAPI 3.0, ADRs, domain glossary, state diagrams, and deployment view as Mermaid-rendered Markdown files. Use when PM mentions…

cryndoc/polisade-orchestrator · 162 tokens

shipyard-handoff

Captures session context into .shipyard/HANDOFF.md so the next session can resume without losing progress.

lgbarn/shipyard · 27 tokens

curator-practice

Operating philosophy for autonomous memex curator tending — orientation protocol, signal triage, bounded work units, initiative thresholds, logging conventions. Trigger on cron-launched runs with no user prompt, "use your judgment", "tend without instructions", "do a pass on the vault", "I'll be away — do what needs…

linxule/memex-plugin · 153 tokens

trellis-spec-bootstrap

Bootstrap project-specific Trellis coding specs with a platform-neutral single-agent workflow. Use when creating or refreshing .trellis/spec guidelines, analyzing a codebase with GitNexus, ABCoder, or source inspection, decomposing package/layer spec work, and writing real codebase-backed spec docs without placeholder…

fy-agent/fyagent · 67 tokens