Claude Code workflow kit

Agents MD

Drop-in AGENTS.md that makes every coding agent behave like a senior engineer instead of an eager intern. Kills sycophancy, stops drive-by refactors, forces verification loops. Synthesizes Karpathy's four principles and Boris Cherny's Claude Code workflow. Works with Claude Code, Codex, Gemini CLI, Cursor, and the open standard.

729 stars 83 forksWorkflow kits Source

Install

From source
git clone https://github.com/FerroxLabs/agents-md.git

From the README

One file. Every coding agent starts behaving like a senior engineer.

Drop it into any repo. Claude Code, Codex, Cursor, Gemini CLI, Aider, Windsurf, Copilot, and Devin all read it on their own. No plugins. No config. No setup rituals.

It just works.

This is the tool and the core operating discipline we run on every project at Ferrox Labs. One file, every agent, every repo.

Install

The easy way — hand it to your agent

Open Claude Code, Codex, Cursor, or any coding agent in your project root. Paste this:
Install https://github.com/FerroxLabs/agents-md into this project.
1. Fetch https://raw.githubusercontent.com/FerroxLabs/agents-md/main/AGENTS.md and save it as ./AGENTS.md at the project root. If AGENTS.md already exists, stop and show me the diff before overwriting.
2. Symlink CLAUDE.md and GEMINI.md to AGENTS.md so Claude Code and Gemini CLI read the same file. Use the right command for my OS (ln -s on macOS/Linux, New-Item -ItemType SymbolicLink on Windows). If symlinks fail, fall back to copying the file. If CLAUDE.md or GEMINI.md already exist with content, do not overwrite — prepend @AGENTS.md as the first line and leave the rest intact.
3. Open the new AGENTS.md, find section 10 (Project context), and fill in only what you can verify by reading this codebase: stack, build/test/lint commands from package.json, pyproject.toml, Cargo.toml, or Makefile, and source/test directory layout. Leave anything you can't confirm as TODO.
4. Do not touch section 11 — it stays empty by design.
5. When done, tell me to restart this session so the file loads.

Restart the session. You're done.

The manual way

Codex, Cursor, Aider, Windsurf, Copilot, Devin, Amp, opencode, and RooCode read AGENTS.md on their own. Nothing else to do.

Claude Code and Gemini CLI look for their…
Read the full README on GitHub

Details

License
MIT
Last updated
31 May 2026

FAQ

What is Agents MD?

Drop-in AGENTS.md that makes every coding agent behave like a senior engineer instead of an eager intern. Kills sycophancy, stops drive-by refactors, forces verification loops. Synthesizes Karpathy's four principles and Boris Cherny's Claude Code workflow. Works with Claude Code, Codex, Gemini CLI, Cursor, and the open standard. It is a workflow kit for Claude Code, from FerroxLabs/agents-md on GitHub.

How do I install Agents MD?

Clone FerroxLabs/agents-md from GitHub and follow the setup steps in its README.

Is Agents MD popular?

FerroxLabs/agents-md has 729 GitHub stars and 83 forks. It was last updated on 31 May 2026.

More workflow kits

Browse the most popular Claude Code mods, all workflow kits, or the skills and MCP server directories.