Configuration
workspace.yaml
Section titled “workspace.yaml”The workspace configuration file defines repositories, plugins, workspace file sync, and target clients.
# Workspace file sync (optional)workspace: source: ../shared-config # Default base for relative file paths files: - AGENTS.md # String shorthand: same source and dest - source: docs/guide.md # Object form with explicit source dest: GUIDE.md # Optional dest (defaults to basename) - dest: CUSTOM.md # File-level source override source: ../other-config/CUSTOM.md - dest: AGENTS.md # GitHub source source: owner/repo/path/AGENTS.md
repositories: - path: ../my-project owner: myorg repo: my-project description: Main project repository
plugins: - code-review@claude-plugins-official
clients: - claude - copilot - cursorWorkspace File Sync
Section titled “Workspace File Sync”The workspace section enables syncing files from external sources to your workspace root.
| Field | Required | Description |
|---|---|---|
source | No | Default base directory for resolving relative file paths |
files | Yes | Array of files to sync |
File entry formats:
| Format | Example | Description |
|---|---|---|
| String | AGENTS.md | Source and dest are the same, resolved from workspace.source |
| Object with source | {source: "path/file.md"} | Dest defaults to basename |
| Object with dest | {dest: "file.md", source: "..."} | Explicit source and dest |
Source resolution priority:
- Explicit
sourceon file entry → used directly - No
source→ resolved relative toworkspace.source - No
workspace.sourceand no explicitsource→ validation error
GitHub sources:
- Format:
owner/repo/path/to/file.md - Fetched fresh on every sync (always pulls latest)
Behaviors:
- Source is the single source of truth; local copies are overwritten
- Deleted local files are restored on next sync
- AGENTS.md and CLAUDE.md automatically receive WORKSPACE-RULES injection
User-Level workspace.yaml
Section titled “User-Level workspace.yaml”When using --scope user, AllAgents stores a separate config at ~/.allagents/workspace.yaml:
plugins: - superpowers@obra/superpowersThis file follows the same plugins format as the project-level workspace.yaml but does not support workspace, repositories, or clients fields. User-scoped plugins sync to user-level directories (~/.claude/, ~/.codex/, etc.) and are available across all projects.
Sync state for user-scoped plugins is tracked in ~/.allagents/sync-state.json.
plugin.json
Section titled “plugin.json”{ "name": "my-plugin", "version": "1.0.0", "description": "Plugin description"}