Configuration
Configuration File
agent-sync uses a YAML configuration file located at:
- Linux/macOS:
~/.config/agent-sync/config.yaml - Windows:
%APPDATA%\agent-sync\config.yaml
Structure
# Repository URL (required)
repo_url: https://github.com/username/repo.git
# Enabled agents
agents:
- opencode
- claude-code
- pi.dev
- qwen-code
# Agent-specific configuration
agents_config:
opencode:
enabled: true
skills_method: config
sync:
configs: true
Commands
View Configuration
Edit Configuration
Set Repository
Reset Configuration
Protocol Support
DotAgents Protocol (default)
Always enabled. Skills live in ~/.agents/skills/.
GitAgent Protocol (opt-in)
Environment Variables
| Variable | Description |
|---|---|
AGENT_SYNC_HOME |
Override config directory |
AGENT_SYNC_REPO |
Override repository URL |