|
| 1 | +# AgentSync Configuration |
| 2 | +# This file defines how AI agent configurations are synchronized via symbolic links. |
| 3 | +# Configuration reference: https://dallay.github.io/agentsync/reference/configuration |
| 4 | +# |
| 5 | +# Source directory (relative to this config file) |
| 6 | +source_dir = "." |
| 7 | + |
| 8 | +# Optional: compress AGENTS.md and point symlinks to the compressed file |
| 9 | +# compress_agents_md = false |
| 10 | + |
| 11 | +# Gitignore management |
| 12 | +[gitignore] |
| 13 | +enabled = true |
| 14 | +marker = "AI Agent Symlinks" |
| 15 | +# Additional entries can be added here: |
| 16 | +# entries = ["custom-file.md"] |
| 17 | + |
| 18 | +# ----------------------------------------------------------------------------- |
| 19 | +# Agent Configurations |
| 20 | +# ----------------------------------------------------------------------------- |
| 21 | + |
| 22 | +# Claude Code |
| 23 | +[agents.claude] |
| 24 | +enabled = true |
| 25 | +description = "Claude Code - Anthropic's AI coding assistant" |
| 26 | + |
| 27 | +[agents.claude.targets.instructions] |
| 28 | +source = "AGENTS.md" |
| 29 | +destination = "CLAUDE.md" |
| 30 | +type = "symlink" |
| 31 | + |
| 32 | +[agents.claude.targets.skills] |
| 33 | +source = "skills" |
| 34 | +destination = ".claude/skills" |
| 35 | +type = "symlink" |
| 36 | +pattern = "*" |
| 37 | + |
| 38 | +[agents.claude.targets.commands] |
| 39 | +source = "command" |
| 40 | +destination = ".claude/commands" |
| 41 | +type = "symlink" |
| 42 | +pattern = "*.md" |
| 43 | + |
| 44 | +# GitHub Copilot |
| 45 | +[agents.copilot] |
| 46 | +enabled = true |
| 47 | +description = "GitHub Copilot - VS Code and GitHub integrated AI" |
| 48 | + |
| 49 | +[agents.copilot.targets.instructions] |
| 50 | +source = "AGENTS.md" |
| 51 | +destination = ".github/copilot-instructions.md" |
| 52 | +type = "symlink" |
| 53 | + |
| 54 | +[agents.copilot.targets.agents] |
| 55 | +source = "command" |
| 56 | +destination = ".github/agents" |
| 57 | +type = "symlink" |
| 58 | +pattern = "*.md" |
| 59 | + |
| 60 | +# OpenAI Codex CLI |
| 61 | +[agents.codex] |
| 62 | +enabled = true |
| 63 | +description = "OpenAI Codex CLI - OpenAI's AI coding agent" |
| 64 | + |
| 65 | +[agents.codex.targets.instructions] |
| 66 | +source = "AGENTS.md" |
| 67 | +destination = ".codex/instructions.md" |
| 68 | +type = "symlink" |
| 69 | + |
| 70 | +[agents.codex.targets.skills] |
| 71 | +source = "skills" |
| 72 | +destination = ".codex/skills" |
| 73 | +type = "symlink" |
| 74 | +pattern = "*" |
| 75 | + |
| 76 | +[agents.codex.targets.commands] |
| 77 | +source = "command" |
| 78 | +destination = ".codex/commands" |
| 79 | +type = "symlink" |
| 80 | +pattern = "*.md" |
| 81 | + |
| 82 | +# Google Gemini |
| 83 | +[agents.gemini] |
| 84 | +enabled = true |
| 85 | +description = "Google Gemini - AI coding assistant" |
| 86 | + |
| 87 | +[agents.gemini.targets.instructions] |
| 88 | +source = "AGENTS.md" |
| 89 | +destination = "GEMINI.md" |
| 90 | +type = "symlink" |
| 91 | + |
| 92 | +[agents.gemini.targets.skills] |
| 93 | +source = "skills" |
| 94 | +destination = ".gemini/skills" |
| 95 | +type = "symlink" |
| 96 | +pattern = "*" |
| 97 | + |
| 98 | +[agents.gemini.targets.commands] |
| 99 | +source = "command" |
| 100 | +destination = ".gemini/commands" |
| 101 | +type = "symlink" |
| 102 | +pattern = "*.md" |
| 103 | + |
| 104 | +# OpenCode AI - Terminal-based AI coding assistant |
| 105 | +[agents.opencode] |
| 106 | +enabled = true |
| 107 | +description = "OpenCode - Open source AI coding agent" |
| 108 | + |
| 109 | +[agents.opencode.targets.skills] |
| 110 | +source = "skills" |
| 111 | +destination = ".opencode/skill" |
| 112 | +type = "symlink" |
| 113 | +pattern = "*" |
| 114 | + |
| 115 | +[agents.opencode.targets.commands] |
| 116 | +source = "command" |
| 117 | +destination = ".opencode/command" |
| 118 | +type = "symlink" |
| 119 | +pattern = "*.md" |
| 120 | + |
| 121 | +# Root AGENTS.md |
| 122 | +[agents.root] |
| 123 | +enabled = true |
| 124 | +description = "Root AGENTS.md for tools that look for it in repo root (e.g., Jules)" |
| 125 | + |
| 126 | +[agents.root.targets.agents] |
| 127 | +source = "AGENTS.md" |
| 128 | +destination = "AGENTS.md" |
| 129 | +type = "symlink" |
| 130 | + |
| 131 | +# ----------------------------------------------------------------------------- |
| 132 | +# Model Context Protocol (MCP) Configuration |
| 133 | +# ----------------------------------------------------------------------------- |
| 134 | +[mcp] |
| 135 | +enabled = true |
| 136 | +# Strategy for existing files: "merge" (default) or "overwrite" |
| 137 | +# "merge" preserves existing servers but overwrites conflicts with TOML config |
| 138 | +merge_strategy = "merge" |
| 139 | + |
| 140 | +# Define servers once |
| 141 | +[mcp_servers.filesystem] |
| 142 | +command = "npx" |
| 143 | +args = ["-y", "@modelcontextprotocol/server-filesystem", "."] |
0 commit comments