explaingit

sruthik27/creating-claude-md

Analysis updated 2026-06-24

48Audience · vibe coderComplexity · 1/5LicenseSetup · easy

TLDR

A Claude Code skill that scans your repo and runs a six-question interview to draft a tight CLAUDE.md or AGENTS.md file under 120 lines.

Mindmap

mindmap
  root((creating-claude-md))
    Inputs
      Repo files
      Package manifest
      User answers
    Outputs
      CLAUDE.md
      AGENTS.md
      Short memory file
    Use Cases
      Bootstrap project memory
      Codex onboarding
      Replace stale doc
    Tech Stack
      Claude Code
      SKILL.md
      Markdown
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Generate a first CLAUDE.md for a new repo so Claude Code stops guessing the project layout.

USE CASE 2

Run the six-question interview on a side project and capture the WHY plus the gotchas.

USE CASE 3

Replace a 400-line bloated CLAUDE.md with a focused under-120-line version.

What is it built with?

Claude CodeMarkdownCodex

How does it compare?

sruthik27/creating-claude-mddantiicu/wine-nxdevelp10/rustinterviewquiestions
Stars484848
LanguageCPython
Setup difficultyeasyhardmoderate
Complexity1/55/52/5
Audiencevibe coderdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Clone the repo into ~/.claude/skills, or point another agent at SKILL.md.

MIT lets you use, modify, and ship this skill for any purpose as long as you keep the copyright notice.

In plain English

This repository is an Agent Skill that helps a coding agent generate a short CLAUDE.md or AGENTS.md file for a project from scratch. A CLAUDE.md file is the project memory that tools like Claude Code or Codex read at the start of a session, so the agent knows what the repo is for and which rules to follow. The skill packages the steps needed to produce a good first version. The README says the skill works in two passes. First, the agent does an autonomous scan of the repo, looking at the package manifests, the folder layout, linter configs, git history, existing docs, and any configured MCP servers. Second, it runs a focused six-question interview with the user to collect the things only the user can answer: the WHY of the project, hidden gotchas, what is out of scope, when approval is needed, the testing philosophy, and links to external docs like Confluence pages. The target output is a CLAUDE.md under 80 lines with a hard cap of 120 lines. The README explains the reasoning. If a line would not prevent a specific agent mistake, the skill deletes it. The author argues that bloat in CLAUDE.md causes coding harnesses to give less weight to every instruction in the file, so the line cap is treated as a forcing function for high signal content. The README states this skill is for repos that have no CLAUDE.md, or where the existing file is too far gone to salvage. It is not meant for auditing or incrementally improving a working CLAUDE.md. Installation for Claude Code is a git clone into ~/.claude/skills. For Codex or other agent runtimes, you point the agent at the SKILL.md file. The project is released under MIT.

Copy-paste prompts

Prompt 1
Use the creating-claude-md skill on this repo and run the six-question interview, then write the result to CLAUDE.md.
Prompt 2
Adapt creating-claude-md so the output file is AGENTS.md for a Codex setup instead of CLAUDE.md.
Prompt 3
Run creating-claude-md autonomously without the interview step and produce a draft I can edit.
Prompt 4
Show me which lines the creating-claude-md skill would cut from my existing CLAUDE.md.

Frequently asked questions

What is creating-claude-md?

A Claude Code skill that scans your repo and runs a six-question interview to draft a tight CLAUDE.md or AGENTS.md file under 120 lines.

What license does creating-claude-md use?

MIT lets you use, modify, and ship this skill for any purpose as long as you keep the copyright notice.

How hard is creating-claude-md to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is creating-claude-md for?

Mainly vibe coder.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.