| name | ai-agent-config |
| description | Manage AI coding skills across platforms (Claude Code, Antigravity, Cursor, Windsurf) using ai-agent-config CLI. Use when the user wants to sync skills to/from GitHub, install to multiple platforms, add custom skill sources, or configure skill management settings. |
AI Agent Config Management
Complete guide for the ai-agent-config CLI tool - universal skill management across AI coding platforms.
Core Commands
GitHub Sync
ai-agent init --repo https://github.com/username/my-skills.git
ai-agent push --message "Added new skills"
ai-agent pull
ai-agent sync --message "Sync latest"
Installation
ai-agent install
ai-agent install --force
ai-agent install --skill backend-patterns
Source Management
ai-agent source add https://github.com/company/skills.git \
--name company-skills \
--branch main
ai-agent source list
ai-agent source enable company-skills
ai-agent source disable company-skills
Configuration
ai-agent config get repository.url
ai-agent config set repository.autoSync true
ai-agent config edit
ai-agent config validate
Platform Info
ai-agent platforms
ai-agent list
Common Workflows
First-Time Setup
User: "Set up ai-agent-config with my GitHub"
Assistant:
ai-agent init --repo https://github.com/yourname/my-ai-skills.git
ai-agent push --message "Initial setup"
Daily Workflow
User: "Update all my skills"
Assistant:
ai-agent pull
Adding Custom Skills
User: "Add skills from my company repo"
Assistant:
ai-agent source add https://github.com/company/ai-skills.git \
--name company-skills \
--branch main
ai-agent update --source company-skills
Team Sharing
User: "Share my skills with team"
Assistant:
ai-agent push --message "Added debugging skills"
ai-agent pull
Architecture
File Locations
- Config:
~/.ai-agent/config.json
- Sync Repo:
~/.ai-agent/sync-repo/ (local clone)
- Cache:
~/.ai-agent-config-cache/ (external sources)
Platform Paths
- Claude Code:
~/.claude/skills/
- Antigravity:
~/.gemini/antigravity/skills/
- Cursor:
~/.cursor/skills/
- Windsurf:
~/.windsurf/skills/
- Codex:
~/.codex/skills/
Configuration
Key config settings:
{
"repository": {
"url": "https://github.com/username/skills.git",
"branch": "main",
"autoSync": true
},
"sources": {
"official": [...],
"custom": [...]
}
}
Examples
Setup for Team
ai-agent init --repo https://github.com/team/shared-skills.git
ai-agent source add https://github.com/company/official-skills.git \
--name company
ai-agent push --message "Team setup complete"
Migration
ai-agent init --repo https://github.com/username/skills.git
ai-agent install --force
ai-agent push --message "Migrated to ai-agent-config"
Troubleshooting
Skills Not Installing
ai-agent install --force
ai-agent platforms
GitHub Sync Conflicts
Auto-sync handles most conflicts automatically. If issues persist:
cd ~/.ai-agent/sync-repo
git status
Config Issues
ai-agent config validate
ai-agent config reset
Tips
- Auto-Sync: Keep enabled to prevent conflicts
- Regular Pulls: Pull frequently for latest skills
- Descriptive Messages: Use
--message for clear commit messages
- Force Reinstall: Use
--force when skills aren't updating