gen-claude

gen-claude is a skill for Claude Code from sgaunet/claude-plugins. It costs 19 tokens per session (6,133 once invoked), scanned A, original, MIT.

A tool that creates or improves a CLAUDE.md file with instructions specific to a codebase. CLAUDE.md is a project guidance file that tells a coding assistant about the repository's conventions and useful commands.

In plain words
What is it for?
Use it to document project rules, detect formatter and linter settings, and organize extra guidance in a codebase.
Why use it?
It gives the assistant project context that would otherwise need to be explained repeatedly. It can also preserve existing custom guidance while organizing the file.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the software-engineering plugin — 18 skills, 7 agents shipped together

Good fit Use it to document project rules, detect formatter and linter settings, and organize extra guidance in a codebase.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add sgaunet/claude-plugins
Claude Code
/plugin install software-engineering

Made for: Claude Code.

Or install software-engineering, the plugin that ships this one along with the rest of its 18 skills, 7 agents.

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 gen-claude

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sgaunet/claude-plugins/gen-claude"><img src="https://agentmods.dev/badge/skills/sgaunet/claude-plugins/gen-claude.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,133 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.00019 $0.06133
Opus 5.5 $0.00008 $0.02453
Sonnet 5.5 $0.00004 $0.01227
Haiku 4.5 $0.00002 $0.00613

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

Security

Grade A, and why

gen-claude 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 22d 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/software-engineering/skills/gen-claude/SKILL.md · 633 lines

How it starts

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

Generate CLAUDE.md

Automatically generate or enhance a project-specific CLAUDE.md file following 2025-2026 best practices. This skill performs deep codebase analysis to create comprehensive project documentation that stays within the 2500 token limit.

Why This Skill Exists

Problem: Projects often lack CLAUDE.md files or have poorly structured ones, forcing Claude to operate without project-specific context.

Solution: Automated generation that:

  • Analyzes codebase comprehensively
  • Auto-detects linter/formatter configs (avoids duplication)
  • Creates docs/ folder for progressive disclosure
  • Merges/enhances existing CLAUDE.md (preserves customizations)
  • Optimizes for 2500 token limit

Content Generation Rules

CRITICAL: When generating any content (CLAUDE.md, docs/, commit messages, descriptions, or any other output):

  • NEVER add Claude Code attribution or co-authorship
  • NEVER include phrases like "Generated by Claude", "Created with Claude Code", or similar
  • NEVER add "Co-Authored-By: Claude" in commit messages or documentation
  • All generated content should appear as if written by a human developer
  • Focus on technical accuracy and project-specific details, not tool attribution

Process (5 Phases)

Phase 1: Parallel Discovery (4 Sonnet Agents)

Launch 4 independent agents concurrently to analyze different aspects of the project:

Agent #1: Project Structure Analyzer

Task(subagent_type: "Explore", model: "sonnet", prompt: "
Analyze project structure and return JSON:
{
  languages: [list of detected languages from file extensions],
  frameworks: [frameworks/libraries detected from imports/configs],
  buildTool: string (npm/go/cargo/maven/gradle/make/task/etc),
  buildCommands: {build: '', test: '', lint: '', run: ''},
  structure: {
    source: path,
    tests: path,
    docs: path,
    config: path
  }
}

Detection strategy:
- Languages: Glob for *.go, *.js, *.py, *.rs, *.java, *.rb, *.php
- Build tools: Look for package.json, go.mod, Cargo.toml, requirements.txt, pom.xml, build.gradle, Makefile, Taskfile.yml
- Extract commands from: npm scripts, Makefile targets, Taskfile tasks, go.mod for go commands
- Map directory structure: src/, test/, docs/, internal/, cmd/, pkg/
")

Read the full file on GitHub · 633 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. 22d ago First seen · 633 lines · 19 tokens per session scan A a3add8ce5702

Subscribe to this mod's changes

gen-claude is a skill published in the GitHub repository sgaunet/claude-plugins (16 stars, last pushed 8d ago), licensed MIT. It adds 19 tokens to every session and 6,133 once invoked, about $0.0001 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-09-25.

Related

Other skills, from other repositories

metrics-dashboard

Define and design a product metrics dashboard with key metrics, data sources, visualization types, and alert thresholds. Use when creating a metrics dashboard, defining KPIs, setting up product analytics, or building a data monitoring plan.

phuryn/pm-skills · 47 tokens

brainstorm-okrs

Brainstorm team-level OKRs aligned with company objectives — qualitative objectives with measurable key results. Use when setting quarterly OKRs, aligning team goals with company strategy, drafting objectives, or learning how to write effective OKRs.

phuryn/pm-skills · 49 tokens

interview-script

Create a structured customer interview script with JTBD probing questions, warm-up, core exploration, and wrap-up sections. Follows The Mom Test principles — no leading questions, no pitching, focus on past behavior. Use when preparing for user interviews, creating interview guides, or planning discovery research.

phuryn/pm-skills · 62 tokens

ab-test-analysis

Analyze A/B test results with statistical significance, sample size validation, confidence intervals, and ship/extend/stop recommendations. Use when evaluating experiment results, checking if a test reached significance, interpreting split test data, or deciding whether to ship a variant.

phuryn/pm-skills · 54 tokens

dummy-dataset

Generate realistic dummy datasets for testing with customizable columns, constraints, and output formats (CSV, JSON, SQL, Python script). Use when creating test data, building mock datasets, or generating sample data for development and demos.

phuryn/pm-skills · 48 tokens

outcome-roadmap

Transform an output-focused roadmap into an outcome-focused one that communicates strategic intent. Rewrites initiatives as outcome statements reflecting user and business impacts. Use when shifting to outcome roadmaps, making a roadmap more strategic, or rewriting feature lists as outcomes.

phuryn/pm-skills · 53 tokens