ConcordOne source of truth for your AI agent instructions. Projects now carry Concord keeps your instructions in one folder, generates the file each tool reads, and checks them against your code every time you save. What it does1. Generates every format from
|
| Target | What Concord writes |
|---|---|
agents |
AGENTS.md at the root, plus a nested AGENTS.md for directory-scoped rules (read by Codex, Copilot, Cursor, Gemini CLI, Zed and many more). |
claude |
.claude/rules/concord/*.md, with paths: frontmatter for scoped rules, so Claude Code loads them only when it touches matching files. With agents too, CLAUDE.md imports AGENTS.md with @AGENTS.md, because Claude Code ignores AGENTS.md when a CLAUDE.md exists. |
copilot |
.github/copilot-instructions.md and .github/instructions/concord-*.instructions.md with applyTo. |
cursor |
.cursor/rules/concord-*.mdc with globs or alwaysApply (Cursor / Grok Build). |
Nothing is loaded twice. Copilot and Cursor already read AGENTS.md (root and nested), so when agents is enabled Concord only writes their own files for rules that target them specifically. Without agents, every rule is written in each tool's native format.
Generated files carry a marker and a content hash. If someone edits one by hand, Concord warns you and never overwrites it without asking.
2. Shows what each agent sees
The What agents see for this file panel lists, for the file in the active editor, the rules each agent receives and through which generated file. You can see at a glance that a rule doesn't reach Cursor, or that a path rule doesn't match.
3. Validates instructions against the real project, without AI
On every save, for all instruction files (including Cursor, Copilot, Gemini, Windsurf and Cline files), with quick fixes:
- Commands:
npm run x,pnpm x,yarn workspace a x,bun run x,make x, checked againstpackage.jsonscripts and Makefile targets. Understandscdin code blocks,-w/--filter/--workspaceand monorepos. - Package manager: says
pnpmbut the repo has apackage-lock.json. - Paths:
src/config.tsthat no longer exists. If there's exactly one file with that name, it suggests where it moved. - Libraries: mentions Jest, Redux or Prisma when the project only has Vitest, Zustand or Drizzle. Negations like "we migrated from Redux" or "never use Jest" are understood.
- Versions: "React 18" when
package.jsonsays^19. @importsinCLAUDE.mdthat point nowhere, and@importsin shared rules that only Claude understands.- Globs in
applies:orpaths:that match no file, so the rule would never load. - Duplicates across files.
- Sync: generated files that are out of date or were edited by hand, or a
CLAUDE.mdthat doesn't importAGENTS.md.
Silence a line with <!-- concord-ignore --> (or concord-ignore-next-line, concord-ignore-file).
4. Reviews them with AI, on demand
Concord: Review instructions with AI finds what a linter can't. Each finding comes as a diagnostic with a one-click fix:
- contradictions between rules ("always use
fetch" vs "use axios"); - descriptions of the project that are visibly outdated;
- important gaps (a migration tool with no instruction on migrations);
- ambiguous rules.
It uses your model, so the extension has no server and costs its author nothing:
- GitHub Copilot through VS Code's Language Model API (included in your subscription, the free plan works too), or
- your Anthropic API key, stored encrypted in VS Code's secret storage. Pick Claude Opus 5.5, Sonnet 5.5 or Haiku 5.5. A review costs from under $0.01 (Haiku) to about $0.10–0.20 (Opus).
Only instruction files and a summary of the project (scripts, dependency names, folder tree) are sent, never your source code.
5. Imports what you already have
Concord: Import existing instructions splits your current CLAUDE.md, AGENTS.md, nested files, .claude/rules, Copilot instructions and Cursor rules into rules, one per ## section:
- sections repeated across files are merged;
- sections with the same title but different text are flagged for review;
- the originals are moved to
.agents/backup/.
6. Runs in CI
The same checks are available as a CLI, concord-agents. It reads the editor's settings from .vscode/settings.json and shows problems as annotations on pull requests:
- run: npx concord-agents check
Getting started
- Open a project and click the Concord icon in the activity bar.
- Import existing instructions, or Create rules folder to start from scratch.
- Edit the rules in
.agents/rules/and save. Concord regenerates the files and shows problems in the editor and the Problems panel.
Settings
| Setting | Default | |
|---|---|---|
concord.targets |
["claude", "agents"] |
Which files to generate: claude, agents, copilot, cursor. |
concord.sourceDir |
.agents/rules |
Folder with the source rules. |
concord.exclude |
[] |
Globs of instruction files to ignore (fixtures, examples). |
concord.generateOnSave |
true |
Regenerate when a rule is saved. |
concord.ai.provider |
auto |
auto uses your Anthropic key if saved, otherwise Copilot. |
concord.ai.model |
claude-opus-5-5 |
Claude model when using your key. |
The interface is available in English and Spanish.
Development
npm install
npm test # unit tests (core and CLI)
npm run test:e2e # launches a real VS Code with the extension on a fixture project
npm run package # builds concord-<version>.vsix
The core (src/core) has no VS Code dependency, so it's fully unit-tested and shared by the extension (src/vscode) and the CLI (src/cli, published from cli/).
License
MIT