by sumit-ai-ml
A CLAUDE.md built on Karpathy's principles and gstack, adding a verification harness and autonomous-loop rules for Claude Code.
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/sumit-ai-ml/claude-md-starterGuides for using ai agents skills like claude-md-starter.
An opinionated Claude Code setup, distributed as a reusable
CLAUDE.md.
This repo is not an application. It is a single file worth copying: CLAUDE.md, a layered set of behavioral rules that make Claude Code plan before it codes, keep changes small, verify against a real definition of "done", and run autonomously only when the work is programmatically checkable. There is no build step and no runtime dependencies. It stands on two excellent open-source projects and adds project-specific harness and autonomy rules on top.
CLAUDE.md lives at the repo root, so Claude Code reads it automatically when you start a session here. It is organized in layers, and each layer has a clear origin:
| Section | What it does | Origin |
|---|---|---|
| 1. Think Before Coding | Surface assumptions, ask, do not silently pick | andrej-karpathy-skills |
| 2. Simplicity First | Minimum code, no speculative abstractions | andrej-karpathy-skills |
| 3. Surgical Changes | Touch only what the task requires | andrej-karpathy-skills |
| 4. Goal-Driven Execution | Turn tasks into verifiable goals | andrej-karpathy-skills |
| 5. Harness | The exact commands that define "done" | this repo (concept: harness engineering) |
| 6. Loops & Autonomy | When and how to run /goal, /loop, /batch |
this repo (concept: Ralph loop) |
| Text | House style for human-readable output | this repo |
| gstack skills | Role-based slash commands (/office-hours, /ship, /review, ...) |
gstack |
Sections 1 to 4 are based on the four principles from andrej-karpathy-skills, themselves derived from Andrej Karpathy's public observations on where LLMs go wrong when coding. The slash commands come from gstack. Sections 5, 6, and Text are original to this repo, though Harness and Loops & Autonomy build on the harness-engineering and Ralph-loop ideas credited below.
Three steps. The first two set it up; the third makes it yours.
Step 1: Install gstack. Open Claude Code and paste install gstack. That gives you the workflow slash commands (/office-hours, /ship, /review, and the rest). For the exact install command, see the gstack repo.
Step 2: Add the CLAUDE.md. Copy the CLAUDE.md from this repo into your project's root folder. Claude Code reads it automatically when you start a session there.
Step 3: Make it yours. Edit two sections in that CLAUDE.md:
Sections 1 to 4 (the Karpathy principles) and Section 6 (Loops & Autonomy) work as-is, with nothing to configure.
/goal <end state>, /loop <interval, or until: condition>, and /batch <one change across many files>. See Section 6 for the rules./office-hours.This project is a remix and would not exist without the work below.
Embedded or required
Concepts behind the custom sections
Please respect the licenses of the embedded or required projects when redistributing.
The custom sections (Harness, Loops & Autonomy, Text, Project) are original to this repo and released under the MIT License. The embedded principles and the referenced gstack commands belong to their respective authors above; check their licenses before relicensing any copied portions.
Built by Sumit Pandey (@sumit-ai-ml).
claude-md-starter is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by sumit-ai-ml. A CLAUDE.md built on Karpathy's principles and gstack, adding a verification harness and autonomous-loop rules for Claude Code. It has 51 GitHub stars.
claude-md-starter's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/sumit-ai-ml/claude-md-starter" and add it to your Claude Code skills directory (see the Installation section above).
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh claude-md-starter against similar tools.
No comments yet. Be the first to share your thoughts!