Centralized, versioned configuration for AI-assisted development workflows. Single source of truth for agentic tools (Claude Code, Antigravity, Codex CLI, Gemini CLI).
Install with a single command:
curl -sL https://raw.githubusercontent.com/MatiasComercio/agentic-config/main/install.sh | bash
# Preview mode (no changes):
curl -sL https://raw.githubusercontent.com/MatiasComercio/agentic-config/main/install.sh | bash -s -- --dry-runThen in any project:
claude
/agentic setupThat's it! All /agentic commands are now available globally.
After installation, use these commands in any project:
cd ~/projects/my-project
# Natural language
"Setup agentic-config in this project"
# Or slash commands
/agentic setup # Setup new project
/agentic migrate # Migrate existing installation
/agentic update # Update to latest version
/agentic status # Show all installations# Setup new project
~/.agents/agentic-config/scripts/setup-config.sh ~/projects/my-project
# Migrate existing manual installation
~/.agents/agentic-config/scripts/migrate-existing.sh ~/projects/my-project
# Update to latest version
~/.agents/agentic-config/scripts/update-config.sh ~/projects/my-projectOverride default install path (~/.agents/agentic-config):
AGENTIC_CONFIG_DIR=~/custom/path curl -sL https://raw.githubusercontent.com/MatiasComercio/agentic-config/main/install.sh | bashAvailable commands after install:
/agentic- Router for all actions/agentic-setup- Direct setup command/agentic-migrate- Direct migrate command/agentic-update- Direct update command/agentic-status- Direct status command
Symlinked (instant updates from central repo):
agents/- Core workflow definitions (RESEARCH, PLAN, IMPLEMENT, etc.).agent/workflows/spec.md- Antigravity workflow integration.claude/commands/spec.md- Claude Code command integration.claude/hooks/pretooluse/dry-run-guard.py- Dry-run mode enforcement hook.gemini/commands/spec.toml- Gemini CLI command integration.codex/prompts/spec.md- Codex CLI prompt (uses proper codex command file)
Copied (project-customizable):
.agent/config.yml- Antigravity configuration (permissions, directories)AGENTS.md- Project-specific guidelines and conventions
Local symlinks:
CLAUDE.mdβAGENTS.mdGEMINI.mdβAGENTS.md
| Type | Package Manager | Type Checker | Linter |
|---|---|---|---|
| typescript | pnpm | tsc | eslint |
| ts-bun | bun | tsc | eslint |
| python-poetry | poetry | pyright | ruff |
| python-uv | uv | pyright | ruff |
| python-pip | pip | mypy | pylint |
| rust | cargo | cargo check | clippy |
| generic | custom | custom | custom |
Project type is auto-detected (via lockfiles/config files) or can be specified with --type flag.
Why symlinks for workflows?
- Universal across projects
- Instant updates when central repo changes
- Zero duplication
- Version-controlled improvements benefit all projects
Why copies for configs?
- Project-specific customization needed
- Different tooling per language
- Security settings may vary
- Custom instructions per project
~/.agents/agentic-config/
βββ core/ # Universal files (symlinked)
β βββ agents/
β β βββ spec-command.md
β β βββ spec/ # RESEARCH, PLAN, IMPLEMENT, etc.
β βββ commands/ # AI tool integrations
β βββ claude/
β βββ gemini/
βββ templates/ # Project-specific configs (copied)
β βββ typescript/
β βββ python-poetry/
β βββ python-uv/
β βββ python-pip/
β βββ rust/
β βββ generic/
βββ scripts/ # Management tools
β βββ setup-config.sh
β βββ migrate-existing.sh
β βββ update-config.sh
β βββ install-global.sh # User-level installation
β βββ lib/ # Utilities
βββ docs/ # Documentation
cd ~/projects/my-new-app
~/.agents/agentic-config/scripts/setup-config.sh .
# With explicit type
~/.agents/agentic-config/scripts/setup-config.sh --type python-poetry .
# Dry run to preview
~/.agents/agentic-config/scripts/setup-config.sh --dry-run .For projects with manual agentic configuration:
cd ~/projects/existing-app
~/.agents/agentic-config/scripts/migrate-existing.sh .Creates backup, preserves customizations, converts to centralized pattern.
cd ~/projects/my-app
~/.agents/agentic-config/scripts/update-config.sh .
# Force update templates without prompting
~/.agents/agentic-config/scripts/update-config.sh --force .All commands and skills are installed by default:
Commands:
/init- Initialize/repair symlinks after clone (bootstrap command)/adr- Architecture Decision Records with auto-numbering/orc- Orchestrate multi-agent tasks/spawn- Spawn subagents with specific models/squash- Squash commits intelligently/pull_request- Create GitHub PRs with comprehensive descriptions/gh_pr_review- Review GitHub PRs with multi-agent orchestration
Skills:
agent-orchestrator-manager- Multi-agent delegation workflowssingle-file-uv-scripter- Self-contained Python scripts with UVcommand-writer- Create custom slash commandsskill-writer- Author Claude Code skillsgit-find-fork- Find true merge-base/fork-point
New in v1.1.1:
- Auto-creates
.gitignorewith sensible defaults - Auto-runs
git initif not inside any git repository (including parent repos) - Cleans up orphaned symlinks on update
The /init command repairs symlinks in the agentic-config repository itself after cloning.
When to use:
- After cloning agentic-config manually (not via install.sh)
- If symlinks are broken or missing
- After pulling changes that add new commands/skills
What it does:
.claude/commands/*.md β ../../core/commands/claude/*.md (relative symlinks)
.claude/skills/* β ../../core/skills/* (relative symlinks)
.claude/agents/*.md β ../../core/agents/*.md (relative symlinks)
.claude/hooks/pretooluse/dry-run-guard.py β ../../../core/hooks/pretooluse/dry-run-guard.py (relative symlinks)
.claude/settings.json β hook registration (created/merged)
Usage:
cd ~/.agents/agentic-config
/initNote: For global install (global commands), use the curl install pattern instead.
Note: /init is a real file (not a symlink) so it's available even when other symlinks are broken.
Symlinked files (automatic updates):
agents/,.claude/commands/,.gemini/commands/,.codex/prompts/,.agent/workflows/- Update instantly when central repo changes
- No customization possible - use them as-is
Copied files (customizable):
AGENTS.md- Project-specific guidelines (customize freely).agent/config.yml- Rarely needs changes (use template defaults when possible)
New in v1.1.1: Separation of template from project customizations
AGENTS.md- Template with standard guidelines (receives updates)PROJECT_AGENTS.md- Project-specific overrides (never touched by updates)
How it works:
# AGENTS.md (template)
## Core Principles
- Verify over assume
- Failures first
- DO NOT OVERCOMPLICATE
## Project-Specific Instructions
READ @PROJECT_AGENTS.md for project-specific instructions - CRITICAL COMPLIANCEPROJECT_AGENTS.md (your customizations):
# Project-Specific Guidelines
## API Structure
- REST endpoints in src/api/
- GraphQL resolvers in src/graphql/
- Authentication via JWT in middleware/
## Testing Strategy
- Unit tests colocated with implementation
- Integration tests in tests/integration/
- E2E tests use PlaywrightMigration:
- Run
update-config.sh --forceto auto-migrate existing customizations - Content below "CUSTOMIZE BELOW THIS LINE" moves to PROJECT_AGENTS.md
- AGENTS.md replaced with latest template
Benefits:
- Clean updates without merge conflicts
- Explicit separation of concerns
- PROJECT_AGENTS.md always takes precedence
Rarely needs changes (same structure works for most projects). If you do customize:
When updates available:
update-config.sh ~/projects/my-app
# Shows: π .agent/config.yml has updates
# Suggests: diff current-file template-fileThree options:
- Review + manual merge - View diff, selectively apply changes
- Force update -
update-config.sh --force(overwrites customizations) - Keep current - Ignore update (miss template improvements)
Initial setup:
~/.agents/agentic-config/scripts/setup-config.sh ~/projects/my-app
cd ~/projects/my-app
# Edit AGENTS.md below "CUSTOMIZE BELOW THIS LINE"
# Add project architecture, conventions, specific rulesOn central repo updates:
# 1. Symlinked files auto-update - nothing to do β
# 2. Check copied files for template improvements
~/.agents/agentic-config/scripts/update-config.sh ~/projects/my-app
# 3. Review diffs shown, decide on manual merge or --force
# 4. Test: run /spec on small task to verifyBest practices:
- Keep
.agent/config.ymlcustomizations minimal (prefer defaults) - Put all project-specific content below the marker in
AGENTS.md - Never edit symlinked files (changes lost on next update)
- Test workflows after updates
Disable auto-check (manual updates only):
jq '.auto_check = false' .agentic-config.json > tmp && mv tmp .agentic-config.jsonNatural language interface for all agentic-config operations using specialized Claude Code agents.
| Command | Description | Usage |
|---|---|---|
/agentic setup [path] |
Setup new project | Auto-detect type, guide installation |
/agentic migrate [path] |
Migrate manual installation | Preserve customizations, create backup |
/agentic update [path] |
Update to latest version | Show diffs, guide merge |
/agentic status |
Query all installations | Health dashboard, version tracking |
/agentic validate [path] |
Diagnose issues | Check integrity, offer auto-fix |
/agentic customize |
Customization guide | Safe zones, examples, validation |
Path default: Current directory if not specified
Agents respond to conversational requests:
- "Setup agentic-config in this project" β setup agent
- "Update to latest version" β update agent
- "Show all my installations" β status agent
- "Validate this installation" β validate agent
- "Help me customize AGENTS.md" β customize agent
cd ~/projects/new-app
# Natural language request
"Setup agentic-config for this TypeScript project"
# Agent interaction:
# - Detects TypeScript via package.json
# - Explains what will be installed
# - Asks: "Proceed with setup? [Y/n/dry-run]"
# - Executes installation
# - Guides customization
# - Validates setup- Interactive: Asks questions, explains before executing
- Safe: Dry-run mode, creates backups, validates after changes
- Intelligent: Auto-detects project type, identifies customizations
- Helpful: Shows diffs, guides merges, provides rollback instructions
See Agent Guide for detailed documentation.
Each installation creates .agentic-config.json:
{
"version": "1.0.0",
"installed_at": "2025-11-24T10:30:00Z",
"project_type": "typescript",
"auto_check": true
}Central registry at ~/.agents/agentic-config/.installations.json tracks all installations.
Opt-in per project:
auto_check: true- Notifies on version mismatch (default)auto_check: false- Manual updates only
Update strategy:
- Symlinked files: automatic (next use)
- Copied files: manual review via
update-config.sh
Structured development workflow with AI assistance:
# Stage 1: Research
/spec RESEARCH specs/2025/11/001-feature.md
# Stage 2: Plan
/spec PLAN specs/2025/11/001-feature.md
# Stage 3: Implement
/spec IMPLEMENT specs/2025/11/001-feature.mdAvailable stages:
RESEARCH- Analyze codebase, record findingsPLAN- Design changes, create diffsIMPLEMENT- Apply changes, run validationREVIEW- Code review workflowVALIDATE- Integrity checksFIX- Bug fix workflowAMEND- Amendment workflow
See core/agents/spec/*.md for stage definitions.
In agentic-config repo itself:
cd ~/.agents/agentic-config
/init # Regenerates all symlinksIn other projects:
cd ~/projects/my-app
# Verify symlinks
ls -la agents
ls -la .claude/commands/
# Re-run setup with --force
~/.agents/agentic-config/scripts/setup-config.sh --force .# Check current version
cat ~/projects/my-app/.agentic-config.json
# Update to latest
~/.agents/agentic-config/scripts/update-config.sh ~/projects/my-app# View diff between current and template
diff ~/projects/my-app/AGENTS.md \
~/.agents/agentic-config/templates/typescript/AGENTS.md.template
# Manually merge or force update
~/.agents/agentic-config/scripts/update-config.sh --force ~/projects/my-app- Create directory:
templates/new-language/ - Add
.agent/config.yml.template - Add
AGENTS.md.template - Update
detect-project-type.shdetection logic - Test with
setup-config.sh --type new-language
Edit files in core/agents/spec/*.md. All projects using symlinks get updates automatically.
# Update VERSION file
echo "1.1.0" > ~/.agents/agentic-config/VERSION
# Document in CHANGELOG.md
# Push to remote
# Projects will detect update on next check- Test changes in isolated project first
- Update CHANGELOG.md
- Bump VERSION (semver)
- Commit and push
- Notify installations via update script
Private - Internal use only