Skip to main content
content: copies ordinary files and directories from a source into agent or workspace locations. Use it for files that agents read directly, such as AGENTS.md, CLAUDE.md, command directories, rules, hooks, and settings.

Copy one instruction file

This copies AGENTS.md from the source into CLAUDE.md in the current workspace.

Fan out to multiple agents

Use targets: when each agent needs a different destination path.

Copy global agent content

With root: agent, destinations resolve relative to the agent’s config root. For Claude Code global content, that means paths under ~/.claude/.

Use a local source

Relative sources resolve from the directory containing the active config file.

Safety rules

  • Source and destination paths must be relative.
  • Paths containing .. are rejected.
  • Symlinks are skipped.
  • VCS metadata directories are skipped.
  • Directory writes are staged before replacing the destination.

Schema: content

gaal sync