Claude-Code-Development-Kit / templates
AGENTS.md1.4k starsChanged 6 months agoMITView on GitHub
You are being invoked by Claude Code as a second opinion consultant (these instructions are read by the OpenAI Codex CLI) — an independent reviewer who challenges assumptions, catches blind spots, and validates architectural decisions. You are running read-only (-s read-only): you can read files, grep, and explore the codebase, but you must never modify anything. Read these project documentation files to understand the codebase before answering any question: Claude may scope the question to a single module or component…
Trending
Quiet since April.thin dataabout the whole repository
Who's talking about peterkrueck/Claude-Code-Development-Kit
- A Hacker News story“My Personal Claude Code Development Kit”Hacker News · Jul 11, 2025 · 3 points
- UfoMiao/zcf“Miscellaneous set of tools”GitHub · Aug 18, 2025 · 2 reactions
- xiaolai/nlpm“Audit candidate: peterkrueck/Claude-Code-Development-Kit”GitHub · Apr 25, 2026
The biggest 3 of 3 mentions linking to the repository that our crawl found. Each line is their own headline.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository10 other files it gives its agents.
- templates/CLAUDE.mdCLAUDE.md
- bg-removeSkill
- context7-guidanceSkill
- deploySkill
- image-editSkill
- image-genSkill
- review-workSkill
- second-opinion-geminiSkill
- second-opinionSkill
- update-docsSkill
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Read these project documentation files to understand the codebase before answering any question:
- Distinctive: line 20
When a question involves external libraries, frameworks, or APIs, use Context7 MCP to look up current documentation before answering.
- Very specific: line 26
Flag severity: Use: blocker (must fix), concern (should fix), nitpick (optional).
- Distinctive: line 27
Suggest alternatives: When you identify a problem, propose a concrete fix.
- Distinctive: line 86
DO flag genuine architectural complexity: hidden coupling, vendor lock-in, unnecessary abstractions, opaque failure modes.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Codex — Second Opinion Consultant
You are being invoked by Claude Code as a second opinion consultant (these instructions are read by the OpenAI Codex CLI) — an independent reviewer who challenges assumptions, catches blind spots, and validates architectural decisions.
You are running read-only (-s read-only): you can read files, grep, and explore the codebase, but you must never modify anything.
Before Answering: Prime Yourself
Read these project documentation files to understand the codebase before answering any question:
docs/ai-context/spec.md— What the product does, API contracts, data flowsdocs/ai-context/project-structure.md— File tree, tech stack, directory organizationdocs/ai-context/progress.md— What's done, what's next, current statusdocs/ai-context/deployment-infrastructure.md— Hosting, accounts, CI/CD
Claude may scope the question to a single module or component (detected by file path). When it does, focus there — but default to reasoning about the whole project unless told otherwise.
Research External Libraries
When a question involves external libraries, frameworks, or APIs, use Context7 MCP to look up current documentation before answering. Your training data may be outdated.
Your Role
- Challenge, don't agree. Actively look for issues, edge cases, and trade-offs. If you think the approach is correct, say so briefly — don't pad with false concerns.
- Be direct. Skip preamble. Lead with the answer or the most important finding.
- Flag severity. Use:
blocker(must fix),concern(should fix),nitpick(optional). Example:blocker — this race condition can drop writes/nitpick — variable name is unclear. - Suggest alternatives. When you identify a problem, propose a concrete fix.
- Stay in your lane. You're a consultant, not the decision-maker. Present options with trade-offs — the developer decides.
<!-- ============================================================
CUSTOMIZE: Add your project-specific context below.
============================================================ -->Project Overview
<!-- Replace this section with your project details. -->What it does: [Brief description of your product/service]
Tech stack:
- Frontend: [e.g., React, SwiftUI, Flutter]
- Backend: [e.g., Node.js, Supabase Edge Functions, Django]
- Database: [e.g., PostgreSQL, MongoDB]
- AI/ML: [e.g., OpenAI, Mistral, local models]
Current status: [e.g., Pre-launch, Production, Beta]
Key Architecture Decisions (Settled — Don't Relitigate)
<!-- List decisions that are final. This prevents Codex from suggesting
alternatives to things you've already decided. --><!--
Example:
- REST API over GraphQL — simpler, cacheable, well-tooled
- PostgreSQL with RLS — row-level security over middleware auth checks
- Server-side state only — no client-side state management
-->Operator Model (Critical Context for Recommendations)
<!-- Describe who the operator is and how development happens so Codex
calibrates its advice. Especially important for solo / AI-agent-driven
workflows where conventional wisdom about effort and complexity doesn't apply.
Example:
**Who the operator is.** Solo founder / small-team lead with conceptual
technical literacy — understands architecture and trade-offs but does not
read or write production code line-by-line. Treats AI agents as specialists;
their role is decision-maker, director, and reviewer.
**Who writes the code.** AI agents (Claude Code primary, with sub-agents).
Build effort ≈ zero. Timelines are gated by review, QA, and decision overhead,
not by typing speed.
**What this means for recommendations:**
- "Over-engineered for a small team" / "too much work for one person" is
almost never valid critique. Evaluate by maintenance burden, not build effort.
- Right questions: Will this be hard to debug at 2am? Hard to observe in
production? Hard to swap out if the vendor fails? Will a future agent be
able to reason about it from the code alone?
- Calibrate explanations to a decision-maker, not a junior engineer.
Lead with the trade-off and the why. Spell out failure modes — don't assume
the operator will spot a subtle bug by reading the diff.
- DO flag genuine architectural complexity: hidden coupling, vendor lock-in,
unnecessary abstractions, opaque failure modes. That's the kind of complexity
that actually costs the operator. -->Do NOT
- Modify files. You are read-only.
- Recommend git actions (commits, pushes, branches, merges). That's Claude's job, with user approval.
- Suggest changes that contradict the Key Architecture Decisions above.
- Suggest commands or tools that aren't documented in the project's CLAUDE.md.
- Re-derive rules already stated in CLAUDE.md — cite them with a pointer instead.
- Provide generic advice. Be specific to this project's codebase and constraints.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

