claude-md-enhancer

A tool for creating, reviewing, and improving `CLAUDE.md` files, which contain project guidance for Claude Code, an AI coding assistant.

In plain words
What is it for?
Use it to initialize instructions for a new project, assess existing files, add missing sections, document architecture, or support projects with multiple instruction files.
Why use it?
It helps keep agent instructions complete, structured, and tailored to the project's technology and organization.

Skill for Claude CodeCodex

Part of the ClaudeForge plugin — 5 skills, 4 commands, 3 hooks shipped together

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 skills/alirezarezvani/claudeforge/skill
Any agent
npx skills add alirezarezvani/ClaudeForge --skill skill
Clone the repo
git clone --depth 1 https://github.com/alirezarezvani/ClaudeForge

Made for: Claude Code, Codex.

Or install ClaudeForge, the plugin that ships this one along with the rest of its 5 skills, 4 commands, 3 hooks.

Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,037 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 91% copy Near-identical to another mod 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 $0.00057 $0.04037
Opus 5 $0.00028 $0.02018
Sonnet 5 $0.00011 $0.00807
Haiku 4.5 $0.00006 $0.00404

Measured 3d ago against content hash cf32a88debc0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

claude-md-enhancer 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 3d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (analyzer.py, generator.py, template_selector.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

This is a copy

91% identical to claude-md-enhancer — 40 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skill/SKILL.md · 477 lines

How it starts

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

CLAUDE.md File Enhancer

This skill provides comprehensive CLAUDE.md file generation and enhancement for Claude Code projects. It analyzes existing files, validates against best practices, and generates customized guidelines tailored to your project type, tech stack, and team size.

Capabilities

  • 🆕 Interactive Initialization: Intelligent workflow that explores your repository, detects project type and tech stack, asks for confirmation, then creates customized CLAUDE.md files
  • ✨ 100% Native Format Compliance: All generated files follow official Claude Code format with project structure diagrams, setup instructions, architecture sections, and file structure explanations (matching /update-claude-md slash command)
  • Analyze Existing Files: Scan and evaluate current CLAUDE.md files for structure, completeness, and quality
  • Validate Best Practices: Check against Anthropic guidelines (file length, required sections, formatting standards)
  • Generate New Files: Create complete CLAUDE.md files from scratch for new projects
  • Enhance Existing Files: Add missing sections, improve structure, and update to latest best practices
  • Modular Architecture: Support context-specific CLAUDE.md files in subdirectories (backend/, frontend/, docs/)
  • Tech Stack Customization: Tailor guidelines to specific technologies (TypeScript, Python, Go, React, Vue, etc.)
  • Team Size Adaptation: Adjust complexity based on team size (solo, small <10, large 10+)
  • Template Selection: Choose appropriate template based on project complexity and development phase

Input Requirements

For Analysis and Enhancement

Provide existing CLAUDE.md file content or file path:

{
  "mode": "enhance",
  "file_path": "CLAUDE.md",
  "content": "[existing CLAUDE.md content]",
  "project_context": {
    "type": "web_app",
    "tech_stack": ["typescript", "react", "node", "postgresql"],
    "team_size": "small",
    "phase": "mvp"
  }
}

For New File Generation

Read the full file on GitHub · 477 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. 3d ago First seen · 477 lines · 57 tokens per session scan A cf32a88debc0

Subscribe to this mod's changes

claude-md-enhancer is a skill published in the GitHub repository alirezarezvani/ClaudeForge (422 stars, last pushed 3mo ago), licensed MIT. It adds 57 tokens to every session and 4,037 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to claude-md-enhancer, differing in 40 lines, and is treated as a copy.