concord-mcp: Instructions file for Claude Code

CLAUDE.md

concord-mcp CLAUDE.md is an instructions file for Claude Code from Get-Concord-AI/concord-mcp. It costs 1,465 tokens per session, scanned A, original, MIT.

Engineering instructions for Concord MCP, a local server and command-line tool that helps multiple coding agents share tasks, work status, handoffs, and review information.

In plain words
What is it for?
Registering agents, claiming and updating tasks, sharing context, handing work to another agent, and preparing review packets.
Why use it?
They define how agents coordinate work and which coding rules are enforced before changes can be accepted.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions Claude Code; mentions Codex.

This is Get-Concord-AI/concord-mcp's own configuration. It tells Claude Code how to work on concord-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything concord-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Get-Concord-AI/concord-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Get-Concord-AI/concord-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/Get-Concord-AI/concord-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for concord-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/get-concord-ai/concord-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/get-concord-ai/concord-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/get-concord-ai/concord-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/get-concord-ai/concord-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for concord-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/get-concord-ai/concord-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/get-concord-ai/concord-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,465 This file is loaded in full into every session.
When invoked 1,465 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.01465 $0.01465
Opus 5 $0.00732 $0.00732
Sonnet 5 $0.00293 $0.00293
Haiku 4.5 $0.00146 $0.00146

Measured 10d ago against content hash 08753b697c72, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

concord-mcp 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 10d 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 · 130 lines

How it starts

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

Concord MCP — Engineering Guide

This file governs how code is written in this repository. It applies to human contributors and to coding agents (Claude Code, Codex, Cursor, etc.). Read it before making changes.

What this project is

concord-mcp is a local MCP server plus a concord CLI that gives coding agents shared work-state: agents register their presence, claim work, share typed task context, leave handoffs, and generate review packets before opening PRs. SQLite is the source of truth; human-readable markdown artifacts are rendered from it for PR visibility.

The surface is intentionally six MCP tools: register_agent, get_work_state, claim_work, update_task, get_task_context, and handoff. Review packets are produced by handoff with ready_for_review set, not a separate tool. register_agent was added with explicit product pull for agent presence (who is here and what they are working on); liveness is derived from last_seen in domain/presence.ts, not stored. Do not add more tools without explicit product pull.

Coding rules (non-negotiable)

These are enforced in CI. A PR that violates them will not go green.

  1. PRs stay under 600 LOC (added + removed, excluding pnpm-lock.yaml). Enforced by the pr-size-check CI job. If a change grows past this, split it.
  2. No file over 1000 lines. Enforced by ESLint max-lines. Aim far lower — most files should be under ~300 lines. Extract modules early.
  3. Strict types. Never any. strict + noUncheckedIndexedAccess + exactOptionalPropertyTypes in tsconfig; strictTypeChecked in ESLint (no-explicit-any, all no-unsafe-*, no-non-null-assertion).
  4. unknown only at boundaries. unknown is allowed only as the immediate input to a Zod .parse() / .safeParse() that narrows it. Never store, return, or pass around unknown.
  5. Never typecast. as assertions are forbidden (consistent-type-assertions: never); only as const is allowed. Narrow types with Zod parsing, type guards, or control flow — not casts.
  6. Clear naming. camelCase values/functions, PascalCase types, UPPER_CASE module constants. kebab-case filenames. Enforced by naming-convention.
  7. Modular, layered structure (see below). Dependencies point one way: tools / clidomain / artifactsdbconfig. Lower layers never import higher ones.
  8. Check before writing. Search for an existing type, schema, repository, or helper before adding a new one. Reuse over duplication.

Read the full file on GitHub · 130 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. 10d ago First seen · 130 lines · 1,465 tokens per session scan A 08753b697c72

Subscribe to this mod's changes

concord-mcp CLAUDE.md is an instructions file published in the GitHub repository Get-Concord-AI/concord-mcp (325 stars, last pushed 4d ago), licensed MIT. It adds 1,465 tokens to every session, about $0.0073 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-30.

Related

Other instructions, from other repositories

next.js AGENTS.md

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

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,153 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

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 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

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,469 tokens