Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>Concord: AI Agent InstructionsNew to Visual Studio Code? Get it now.
Concord: AI Agent Instructions

Concord: AI Agent Instructions

David Aguilar

| (0) | Free
One source of truth for your AI agent instructions: generates CLAUDE.md, AGENTS.md, Claude, Copilot and Cursor rules, and warns when they no longer match your code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Concord

One source of truth for your AI agent instructions.

Projects now carry CLAUDE.md, AGENTS.md, .claude/rules/, .cursorrules, copilot-instructions.md… They get duplicated, contradict each other and go stale: the file says "run npm run test:e2e" or "we use Jest" long after the script was renamed and the project moved to Vitest, and the agent dutifully follows the old instruction.

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 does

1. Generates every format from .agents/rules/

Write one Markdown file per topic. Optional frontmatter scopes a rule to some files or tools:

---
applies: ["src/api/**"]        # optional: only for these files
targets: [claude, agents]      # optional: defaults to the workspace setting
---
# API

- Validate every request body with zod.
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 against package.json scripts and Makefile targets. Understands cd in code blocks, -w/--filter/--workspace and monorepos.
  • Package manager: says pnpm but the repo has a package-lock.json.
  • Paths: src/config.ts that 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.json says ^19.
  • @imports in CLAUDE.md that point nowhere, and @imports in shared rules that only Claude understands.
  • Globs in applies: or paths: 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.md that doesn't import AGENTS.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

  1. Open a project and click the Concord icon in the activity bar.
  2. Import existing instructions, or Create rules folder to start from scratch.
  3. 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

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft