npm install agentbriefer

Configure how AI coding agents think, code, test, and stop inside your project.

Agentbriefer CLI is a command-line tool for configuring AI coding-agent behavior inside software projects. Instead of repeatedly telling an AI assistant how to work, you configure the rules once. Agentbriefer then generates the instruction files different AI coding tools understand — CLAUDE.md, AGENTS.md, Cursor rules, and Copilot instructions — from a single source of truth.

View on GitHub

the problem

Agentbriefer is not only about telling AI what to write. It's also about teaching it when not to write code, when to reuse existing code, when to ask before a risky change, and when to stop once the requested work is done.

Stays on track

An 11-question Decision Loop catches over-engineering before it happens.

Understands your project

Detects your language, framework, and package manager across 30+ ecosystems.

Builds under your rules

Security, testing, and dependency rules — set once, followed by every agent.

how it works

One config, five commands

You configure the rules once. Agentbriefer keeps every AI coding tool in your project reading the same source of truth.

  1. 01agentbriefer init

    Interactive wizard that detects your stack and writes agentbriefer.yaml.

  2. 02agentbriefer generate

    Renders every configured output format — CLAUDE.md, AGENTS.md, Cursor rules, Copilot instructions.

  3. 03agentbriefer sync

    Re-renders configured outputs but preserves manual edits made outside the managed markers.

  4. 04agentbriefer doctor

    Read-only linter — flags conflicting settings, missing fields, and files that would change.

  5. 05agentbriefer profile

    Save a developer style once, reuse it across every project.

try it

A real terminal. Real output.

This is a scripted demo shell — it doesn't run real code — but every file it shows you is a verbatim, real Agentbriefer output. Type your own commands, or just click one below.

agentbriefer — zsh
Loading terminal…

one source of truth

Every agent format, from one config

CLAUDE.md

Claude Code

Read automatically by Claude Code at the start of every session.

AGENTS.md

AGENTS.md convention

The open, multi-agent convention read by Codex CLI, Cursor, Jules, Amazon Q, and more.

.cursor/rules/agentbriefer.mdc

Cursor rules

Project rules Cursor applies automatically inside the editor.

.github/copilot-instructions.md

GitHub Copilot

Custom instructions GitHub Copilot reads for this repository.

detection

Reads your stack before it asks you anything

30+ languages and ecosystems, detected straight from real manifest files — no guessing, no extra questions for what Agentbriefer can already see.

Configure it once. Every agent follows it.

Two minutes to install, one wizard to configure your project.