agent-sync supports the following three task types:
type: memory
)Defines context information for AI agents. This serves as the agent’s “memory” and can include general rules, architecture information, coding style, etc.
Default output locations:
Agent | Scope | Default Path | Description |
---|---|---|---|
Claude | User | ~/.claude/CLAUDE.md |
User’s global Claude memory file |
Claude | Project | CLAUDE.md |
Project-specific Claude memory file (in project root) |
Roo | User | ~/.roo/rules/{filename}.md |
User’s global Roo memory file |
Roo | Project | .roo/rules/{filename}.md |
Project-specific Roo memory file |
Cline | User | ~/Documents/Cline/Rules/{filename}.md |
User’s global Cline memory file |
Cline | Project | .clinerules/{filename}.md |
Project-specific Cline memory file |
Copilot | User | ~/.vscode/copilot-instructions.md |
User’s global Copilot instructions |
Copilot | Project | .github/copilot-instructions.md |
Project-specific Copilot instructions |
Note: For Roo, Cline, and similar agents, {filename}
is derived from the input file’s basename (the filename without its directory path). For example, an input file named my-project/memories/coding-rules.md
would result in an output file named coding-rules.md
in the appropriate output directory.
type: command
)Provides custom command definitions for AI agents. This creates shortcuts for performing specific tasks.
Default output locations:
Agent | Scope | Default Path | Description |
---|---|---|---|
Claude | User | ~/.claude/commands/{filename}.md |
User’s global Claude command file |
Claude | Project | .claude/commands/{filename}.md |
Project-specific Claude command file |
Roo | User | ~/.roo/commands/{filename}.md |
User’s global Roo slash command file (per file) |
Roo | Project | .roo/commands/{filename}.md |
Project-specific Roo slash command file (per file) |
Cline | User | ~/Documents/Cline/Workflows/{filename}.md |
User’s global Cline workflow file |
Cline | Project | .clinerules/workflows/{filename}.md |
Project-specific Cline workflow file |
Copilot | User | ~/.vscode/prompts/{filename}.prompt.md |
User’s global Copilot prompt file |
Copilot | Project | .github/prompts/{filename}.prompt.md |
Project-specific Copilot prompt file |
Note: For Claude, Cline, Copilot, and similar agents, {filename}
is derived from the input file’s basename (the filename without its directory path). For example, an input file named my-project/commands/deploy.md
would result in an output file named deploy.md
in the appropriate output directory.
type: mode
)Defines subagents/modes for compatible agents (Claude Code subagents and Roo custom modes). Frontmatter defines agent-specific mode metadata; the body is processed through the template engine.
Default output locations:
Agent | Scope | Default Path | Description |
---|---|---|---|
Claude | User | ~/.claude/agents/ |
User’s global Claude modes; per-file markdown outputs (directory) |
Claude | Project | .claude/agents/ |
Project-specific Claude modes; per-file markdown outputs (directory) |
Roo | User | VS Code globalStorage: platform-specific custom_modes.yaml (see OS-specific paths below) |
User’s global Roo custom modes (single YAML aggregation) |
Roo | Project | .roomodes |
Project-specific Roo custom modes (single YAML aggregation file) |
Notes:
.roomodes
for project scope, and custom_modes.yaml
in VS Code globalStorage for user scope..claude/agents/
(project) or ~/.claude/agents/
(user).Roo mode output path details:
.roomodes
in the project root (single YAML file aggregating all modes)~/Library/Application Support/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/custom_modes.yaml
~/.config/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/custom_modes.yaml
%APPDATA%\Code\User\globalStorage\rooveterinaryinc.roo-cline\settings\custom_modes.yaml
Trailing slash rule examples:
".claude/agents/"
→ each input mode becomes its own file".roomodes"
→ all input modes aggregated into one YAML fileEach agent may support specific frontmatter attributes for commands:
claude.description
: Brief description of the command shown in the help menuclaude.allowed-tools
: List of tools the command is permitted to useSupported frontmatter:
description
: Brief description of what the slash command doesroo:
):
argument-hint
(optional): Short hint string for expected arguments (e.g., “[path]” or “[owner repo]”)Legacy compatibility:
description
is provided, agent-sync maps legacy Roo fields:
description
is synthesized from roo.roleDefinition
if present, otherwise from roo.name
roo.whenToUse
and roo.groups
are ignored in slash command outputmode
: The operational mode for Copilot (e.g., “chat”, “inline”)model
: The specific model to usetools
: List of available toolsdescription
: Brief description of the prompt’s purposePrevious | Next |
---|---|
Configuration Reference | Command Line Interface |