Observed since 21 Oct, 10:03 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Brief your AI coding assistants once, update them all
Brief your AI coding assistants once, update them all.
You're using Claude Projects, GitHub Copilot, and Cursor. You want them all to follow your project's conventions:
But maintaining 3+ instruction files manually is tedious and error-prone.
pip install ai-brief
# One command updates all your AI assistants
brief update "Run pytest before committing any code"
# ✅ .github/copilot-instructions.md updated
# ✅ CLAUDE.md updated
# ✅ AGENTS.md updated
# ✅ .cursorrules updated
# CLI only (recommended for most users)
pip install ai-brief
# CLI + MCP server (for AI assistant integration)
pip install 'ai-brief[mcp]'
# Or install from source
git clone https://github.com/Nas4146/brief.git
cd brief
pip install -e . # CLI only
pip install -e '.[mcp]' # CLI + MCP
Requirements: Python 3.9+
Dependencies: Minimal!
click>=8.0.0 - CLI frameworkpyyaml>=6.0.0 - Config file supportrich>=13.0.0 - Beautiful terminal outputmcp>=0.1.0 - Model Context Protocol supportInstall what you need:
pip install ai-briefpip install 'ai-brief[mcp]'# Check CLI is installed
brief --version
# Output: brief, version 0.1.0
# Check MCP server (if installed with [mcp])
which brief-mcp
# Output: /path/to/brief-mcp (if installed)
# brief-mcp not found (if not installed)
# 1. Navigate to your project
cd your-project
# 2. Initialize brief (discovers existing instruction files)
brief init
# ╭───────────────────╮
# │ Initializing brief│
# │ your-project │
# ╰───────────────────╯
#
# Found 3 instruction files:
# ✓ AGENTS.md
# ✓ CLAUDE.md
# ✓ .github/copilot-instructions.md
# 3. Add an instruction
brief update "Always use async/await for database calls"
# Preview changes with color-coded diffs
# Confirm with y/n
# 4. Validate everything is consistent
brief validate
# ✅ All instruction files are consistent!
# 5. List all instruction files
brief list
# Displays table with files and sizes
Brief includes an optional MCP server that lets AI assistants update their own instruction files.
Note: MCP support is completely optional. The CLI works perfectly without it!
# Install Brief with MCP support
pip install 'ai-brief[mcp]'
Add to Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"brief": {
"command": "brief-mcp"
}
}
}
Don't use AI assistants with Brief? Skip this section! The CLI works independently.
See docs/MCP_SERVER.md for full MCP documentation.
Brief automatically discovers and updates these instruction files:
| File | Tool |
|---|---|
AGENTS.md | Custom agent instructions |
CLAUDE.md | Claude Projects |
.clinerules | Cline (VS Code extension) |
.github/copilot-instructions.md | GitHub Copilot |
.cursorrules | Cursor IDE |
brief initInitialize brief in your project. Discovers existing instruction files and analyzes project structure.
brief init
# Output:
# 🚀 Initializing brief in /Users/you/project
# 📝 Scanning for instruction files...
# ✅ Found 3 instruction file(s):
# • AGENTS.md
# • CLAUDE.md
# • .github/copilot-instructions.md
# 🔍 Analyzing project structure...
# Languages: Python, TypeScript
# Frameworks: FastAPI, React
# ✅ Configuration file ready: .brief.yaml
brief update "instruction"Add a new instruction to all files with context awareness.
brief update "Run tests before committing any code"
# Output:
# 📝 Analyzing project: your-project
# ✨ Updating 3 file(s) with context:
# Languages: Python
# Test framework: pytest
# 📊 Adding instruction: "Run tests before committing any code"
# ✅ AGENTS.md
# ✅ CLAUDE.md
# ✅ .github/copilot-instructions.md
brief validateCheck instruction files for consistency across all agent files.
Two validation modes:
--check-all (default): Verifies that core instructions/guidance exists across all files
--check-latest: Verifies the most recent update was added to all files
brief update to verify changes propagated# Check overall consistency (default)
brief validate
# Check only if latest update is in all files
brief validate --check-latest --no-check-all
# Check both
brief validate --check-latest
# Output with issues:
# 🔍 Validating instructions in: your-project
# 📋 Checking 3 file(s)...
#
# File Status
# ────────────────────────────────────────
# AGENTS.md ✗
# CLAUDE.md ✓
# .github/copilot-instructions.md ✗
#
# ⚠️ Found 2 issue(s):
# • Recent update in 'CLAUDE.md' may be missing from: AGENTS.md
# • 'copilot-instructions.md' may be missing guidance on: testing, error handling
#
# ❌ Found inconsistencies
# Output when consistent:
# ✅ All instruction files are consistent!
brief listList all discovered instruction files.
brief list
# Output:
# 📋 Instruction files in: your-project
# ✅ AGENTS.md (2,456 bytes)
# ✅ CLAUDE.md (1,832 bytes)
# ✅ .github/copilot-instructions.md (3,120 bytes)
# 📊 Total: 3 file(s)
Keep your personal AI assistant instructions consistent across tools without manual copy-paste.
Onboard new developers faster by baking project conventions into AI tools.
Help contributors understand your project's workflow through AI assistants.
your-project/
├── AGENTS.md # Custom instructions
├── CLAUDE.md # Claude instructions
├── .github/
│ └── copilot-instructions.md # Copilot instructions
├── .cursorrules # Cursor instructions
├── .brief.yaml # Brief config (optional)
└── src/
└── ...
Brief works with zero configuration, but you can customize behavior with .brief.yaml:
version: 1
# Instruction files to manage
instruction_files:
- AGENTS.md
- CLAUDE.md
- .github/copilot-instructions.md
- .cursorrules
# Project metadata
project:
languages:
- Python
- TypeScript
frameworks:
- FastAPI
- React
# Enabled behaviors (coming soon)
behaviors:
enabled:
- test_before_commit
- update_docs_after_changes
# Clone the repository
git clone https://github.com/Nas4146/brief.git
cd brief
# Install in development mode with dev dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Run linter
ruff check .
# Format code
black .
init, update, validate, list commandssync command for applying templatesContributions welcome! Please see CONTRIBUTING.md for guidelines.
MIT © 2025
Brief (verb): to give essential information to someone
Perfect for giving your AI assistants the essential context they need, once, and having it propagate everywhere.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 31 Oct 2025 | 8 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 10:03 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:d590fe91a7e700ecd4d21645c8eacafcb5c0df291f5a17f211355b236bc61c8f