Back to index

Task Types

agent-sync supports the following three task types:

1. Memory (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.

2. Command (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.

3. Mode (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:

Roo mode output path details:

Trailing slash rule examples:

Agent-specific Command Frontmatter

Each agent may support specific frontmatter attributes for commands:

Claude Command Frontmatter

Roo Frontmatter (slash commands)

Supported frontmatter:

Legacy compatibility:

Cline Frontmatter

Copilot Command Frontmatter


Previous Next
Configuration Reference Command Line Interface

Back to index