π Ultra-Simple Setup - One command, choose your IDE, and you're ready to code with AI!
Share one AI configuration across all your AI coding tools - write once, use everywhere
# 1. Install agnostic-ai
curl -fsSL https://raw.githubusercontent.com/betagouv/agnostic-ai/main/install.sh | bash
# 2. Migrate your existing documentation (optional)
.ai/cli migrate # Shows instructions
# 3. Use commands to build features
# In your IDE (Claude Code/Cursor):
/core:feature-create # Scaffold new features with EPCT methodology
/core:command-create # Create custom commands
/core:agent-create # Create specialized agents
# 4. Enable MCP servers (optional - AI superpowers!)
.ai/cli mcp install # Install MCP templates
.ai/cli mcp list # See available servers (GitHub, Notion, Airtable, etc.)
.ai/cli mcp use github # Enable GitHub MCP server
.ai/cli mcp unuse github # Disable when not needed (saves tokens!)That's it! Your AI configuration is ready and version-controlled in .ai/
Modern development teams face a configuration nightmare when using AI assistants:
Different IDEs, Different Configs π€―
- Your team uses Claude Code, Cursor, Windsurf, or other AI tools
- Each tool requires its own configuration format
- You end up duplicating commands, agents, and guidelines across tools
- Changes need to be manually synced everywhere
- No single source of truth = configuration drift
AI CLI provides a single .ai/ folder that works with all AI coding tools, with a modular plugin system to install only what you need.
- β Ultra-fast setup - One question: which IDE?
- β Modular plugins - Install only what you need
- β Write once, use everywhere - One configuration, all IDEs
- β
Git-friendly - Commit only
.ai/, configs are generated - β
Easy updates -
.ai/cli updateto get latest - β Team synchronization - Everyone gets the same setup
- β Works everywhere - Any bash system (macOS, Linux, WSL)
curl -fsSL https://raw.githubusercontent.com/betagouv/agnostic-ai/main/install.sh | bashWhat happens:
-
Creates
.ai/structure- Sets up
AGENTS.md(main configuration) - Creates
context/,commands/,agents/,avatars/folders
- Sets up
-
Installs core plugin automatically
- Essential commands:
/core:migrate,/core:command-create,/core:agent-create, etc. - Essential agents:
explore-codebase,prompt-engineering,fast-coder
- Essential commands:
-
Creates
.ai/config.jsonc(committed to git)- Stores installed plugins
- Shared across the team with JSONC format (supports comments)
-
Asks which IDE(s) you want to configure
- Claude Code
- Cursor
- You can select multiple (e.g., "1 2" for both)
- Creates symlinks for each selected IDE
- Updates
.gitignoreautomatically
your-project/
βββ .ai/ # β
Commit this (source of truth)
β βββ AGENTS.md # Main config file
β βββ config.jsonc # β
Configuration (committed, supports comments)
β βββ cli # Plugin manager CLI
β βββ commands/ # Commands (plugins + custom)
β β βββ core/ # Core plugin
β β βββ git/ # Git plugin
β β βββ github/ # GitHub plugin
β β βββ my-command.md # Custom command at root
β βββ agents/ # Agents (plugins + custom)
β β βββ core/ # Core plugin
β β βββ github/ # GitHub plugin
β β βββ my-agent.md # Custom agent at root
β βββ context/ # Context (plugins + custom)
β β βββ core/ # Core plugin
β β βββ lang-node/ # Lang-node plugin
β β βββ my-context.mdc # Custom context at root
β βββ avatars/ # AI behavior profiles
β βββ my-avatar.md # Custom avatar
β
βββ .claude/ # β Generated (gitignored)
β βββ CLAUDE.md # β .ai/AGENTS.md
β βββ commands/ # β .ai/commands/
β βββ agents/ # β .ai/agents/
β βββ context/ # β .ai/context/
β βββ output-styles/ # β .ai/avatars/
β
βββ .cursor/ # β Generated (gitignored)
βββ rules/ # Directory with symlinks
β βββ main.mdc # β .ai/AGENTS.md
β βββ core/ # β .ai/context/core/
β βββ lang-node/ # β .ai/context/lang-node/
β βββ *.md # β .ai/context/*.md
βββ commands/ # β .ai/commands/
βββ agents/ # β .ai/agents/
# List all available plugins
.ai/cli plugins list
# Output:
# β core (installed)
# github
# code-quality
# git
# image-manipulation
# lang-node
# lang-typescript
# lang-go
# lang-ruby
# lang-vue| Plugin | Description | Contains |
|---|---|---|
| core | Essential commands & agents | /core:migrate, /core:command-create, /core:agent-create, /core:deep-search, fast-coder, explore-codebase |
| github | GitHub workflow automation | /github:code-issue-process, /github:code-pr-create, /github:code-pr-process-comments |
| code-quality | Code analysis & optimization | /code-quality:code-analyse, /code-quality:code-ci, /code-quality:code-clean, /code-quality:code-explain, /code-quality:code-optimize |
| git | Git commit automation | /git:code-commit |
| image-manipulation | Image processing | /image-manipulation:image2md |
| lang-node | Node.js context & tools | Node.js code style, dependencies, performance, testing, /lang-node:code-fix |
| lang-typescript | TypeScript context | TypeScript code style and best practices |
| lang-go | Go context | Go code style and idioms |
| lang-ruby | Ruby context | Ruby code style and conventions |
| lang-vue | Vue.js context | Vue.js patterns and best practices |
# Install a plugin
.ai/cli plugins add lang-node
# Install multiple plugins
.ai/cli plugins add lang-typescript
.ai/cli plugins add github
.ai/cli plugins add code-quality
# Plugins are added to .ai/ and listed in .ai/config.jsonc# Update agnostic-ai and all installed plugins
.ai/cli update
# Checks git status first (must be clean)
# Downloads latest version
# Re-installs your plugins
# Updates IDE configurationcurl -fsSL https://raw.githubusercontent.com/betagouv/agnostic-ai/main/install.sh | bashOr if .ai folder is already installed, use .ai/cli configure
# Run from terminal
.ai/cli migrate
# This will show instructions for your IDE
# Then open your IDE (Claude Code or Cursor) and run:
/core:migrateThis command:
- Finds all documentation in your codebase
- Extracts relevant sections
- Organizes them into
.ai/context/files - Removes extracted content from original files
# See what's available
.ai/cli plugins list
# Install language support
.ai/cli plugins add lang-node
.ai/cli plugins add lang-typescript
# Install GitHub integration
.ai/cli plugins add githubgit add .ai/
git commit -m "feat: add AI configuration"
git pushNote: .ai/config.jsonc is committed and shared across the team!
# Configure IDE symlinks (can run multiple times to add more IDEs)
.ai/cli configure# List available plugins
.ai/cli plugins list
# Install a plugin
.ai/cli plugins add <plugin-name>
# Examples
.ai/cli plugins add lang-node
.ai/cli plugins add github
.ai/cli plugins add code-quality# Update agnostic-ai and installed plugins
.ai/cli update# Install MCP server templates
.ai/cli mcp install
# List available MCP servers
.ai/cli mcp list
# Enable MCP server(s) for your IDE(s)
.ai/cli mcp use <server-name> [server-name...]
# Examples
.ai/cli mcp use github # Enable GitHub integration
.ai/cli mcp use notion airtable # Enable multiple servers
.ai/cli mcp use filesystem sqlite # Local tools
# Disable MCP server(s) - Don't forget to disable unused servers to save tokens!
.ai/cli mcp unuse <server-name> [server-name...]
# Examples
.ai/cli mcp unuse github # Disable GitHub when not working on PRs
.ai/cli mcp unuse notion airtable # Disable multiple serversπ‘ Tip: Only enable MCP servers you're actively using. Each enabled server consumes tokens in every conversation, so disable them when not needed to save costs!
Available MCP Servers (14 pre-configured):
- airtable - Airtable database operations
- context7 - Up-to-date library documentation
- filesystem - File system operations
- github - GitHub API integration
- gmail - Gmail search and drafts
- google-calendar - Calendar management
- google-drive - Drive, Sheets, and Docs access
- make - Make.com scenario integration
- next-devtools - Next.js development tools
- notion - Notion workspace integration
- postgres - PostgreSQL database access
- sqlite - SQLite database access
- stripe - Stripe payment processing
- trello - Trello board management
Setup: Add required API keys to .env.local (gitignored)
# Show help
.ai/cli helpOnce installed, you have access to these commands:
Migrate existing documentation to .ai/context/ files
(Run .ai/cli migrate from terminal first to see instructions)
Create a new slash command
Create a new specialized agent
Optimize and clean up context files
Perform deep research on a topic
Create a new AI personality/output style
Scaffold a new feature with EPCT methodology
# Discover available plugins
.ai/cli plugins list
# Install what you need
.ai/cli plugins add code-quality
# Commands appear instantly in your IDE
/code-quality:code-analyse# Get latest updates
.ai/cli update
# Your installed plugins are automatically updated# Pull changes
git pull
# Configuration is in .ai/config.jsonc - shared across the team
# If new plugins were added, they'll be automatically available
# Configure your IDE locally (each dev chooses their own IDE)
.ai/cli configureNote: IDE configuration is local (gitignored) - each developer can use different IDEs!
| IDE | Status | Configuration |
|---|---|---|
| Claude Code | β Full | .claude/ (symlinks) |
| Cursor | β Full | .cursor/ (symlinks) |
| Others | π Coming | Contribute! |
Speed up your Claude CLI workflow with convenient aliases:
alias cc="claude --dangerously-skip-permissions"
alias ccc="claude --dangerously-skip-permissions -c"Why it's safe: The agnostic-ai configuration includes a PreToolsBash hook that intercepts potentially destructive commands before execution, giving you speed without compromising safety.
π Full setup guide: templates/ides/claude/SHELL-SETUP.md
Want to add support for your favorite IDE or create a plugin?
See templates/ides/CONTRIBUTE.md for IDE integration guide.
For plugins, just create a folder in templates/plugins/ with your plugin name and structure:
templates/plugins/my-plugin/
βββ commands/
β βββ my-command.md
βββ agents/
β βββ my-agent.md
βββ context/
βββ MY-CONTEXT.md
Original Idea & Development
This project was created by:
- Martin Ratinaud - Original concept and lead developer
- Maxime DrΓ©au - Co-creator and architecture
Inspiration
This project was heavily inspired by @Melvynx's excellent aiblueprint. Thank you!
To get the most out of this project and AI-assisted development, we recommend Melvynx's AI Blueprint training to understand how to best work with AI assistants.
MIT
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Mattermost: Beta Gouv AI Channel
Made with β€οΈ for developers who want to share AI configuration across all their AI coding tools