agent-coding-setup CLAUDE.md

A project template for Claude Code, an AI coding assistant. It includes project instructions, separate helper agents for tasks such as testing and review, a work process, and a place for project specifications and task lists.

In plain words
What is it for?
Use it when setting up a new coding project with Claude Code, documenting its conventions, organising helper agents, running the work process, and storing project plans.
Why use it?
An AI coding assistant needs project-specific rules and a repeatable way to move from a plan to tested, reviewed code. The template provides that starting structure, which must then be adapted to the real project.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/michaelcjoseph/agent-coding-setup/claude-md
Clone the repo
git clone --depth 1 https://github.com/michaelcjoseph/agent-coding-setup
Per session 978 This file is loaded in full into every session.
When invoked 978 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00978 $0.00978
Opus 5 $0.00489 $0.00489
Sonnet 5 $0.00196 $0.00196
Haiku 4.5 $0.00098 $0.00098

Measured 2d ago against content hash c1c7aeef1e3a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agent-coding-setup CLAUDE.md 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 2d 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.

CLAUDE.md · 60 lines

How it starts

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

CLAUDE.md

This repository is a template for dropping a consistent Claude Code setup into any new coding project — a set of review/test/docs agents, a /work skill that drives tasks through plan → implement → test → review → simplify, and a docs/projects/ scaffold for specs and task lists.

When this template is copied into a real project, replace this file with a project-specific CLAUDE.md. The agents and the /work skill read CLAUDE.md to pick up project conventions, so the more specific the real CLAUDE.md is, the better the agents behave.

Using This Template

  1. Copy the contents of this repo into the new project root (preserving .claude/ and docs/).
  2. Replace this CLAUDE.md with one that documents the real project — see "What to put in the project's CLAUDE.md" below.
  3. Replace the README.md with the project's own.
  4. Add real projects under docs/projects/NN-name/ using docs/projects/templates/ as the starting point.
  5. Delete this file's "Using This Template" and "What to put in the project's CLAUDE.md" sections once the project has its own content.

What to put in the project's CLAUDE.md

The agents and /work skill expect the real CLAUDE.md to cover:

  • Project overview — one paragraph on what the project does.
  • Architecture — major subsystems, how they fit together, entry points.
  • Project structure — directory tree of the main source folder with short comments. docs-sync updates this automatically.
  • Language / stack — language, runtime, build system, test framework.
  • Key conventions — import style, config access, logging, centralized wrappers (the project's equivalents of "all HTTP calls go through src/http.ts"). The code-reviewer and architecture-reviewer enforce these.
  • Running — how to run, test, and build. docs-sync keeps this synced with the project manifest.
  • Environment variables — list with short descriptions.
  • Agents — table of agents in .claude/agents/ and what they do. docs-sync keeps this synced.
  • Skills — table of skills in .claude/skills/ and what they do.
  • Threat model / security notes — public vs private repo, sensitive assets, trust boundaries. The security-auditor reads this.

Read the full file on GitHub · 60 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. 2d ago First seen · 60 lines · 978 tokens per session scan A c1c7aeef1e3a

Subscribe to this mod's changes

agent-coding-setup CLAUDE.md is an instructions file published in the GitHub repository michaelcjoseph/agent-coding-setup (2 stars, last pushed 4mo ago), licensed MIT. It adds 978 tokens to every session, about $0.0049 per session on Opus 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-08-31.

Related

Other instructions, from other repositories

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,345 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

next.js AGENTS.md

Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens