AI & Agentslow risk

metagit-workspace-sync

Sync workspace repositories safely using metagit with scoped fetch, pull, or clone actions. Use when repository content must be refreshed for implementation.

metagit-ai/metagit-cli·.agents/skills/metagit-workspace-sync/SKILL.md
85/ 100Quality

Install this skill

Choose your coding agent and copy a project or personal installation command.

Pinned to the indexed commit
Project installation.agents/skills/metagit-workspace-sync
npx skills add https://github.com/metagit-ai/metagit-cli/tree/482dfb3b7a407ca5e541657a6fcc9af619818243/.agents/skills/metagit-workspace-sync -a codex -y
Personal installation~/.agents/skills/metagit-workspace-sync
npx skills add https://github.com/metagit-ai/metagit-cli/tree/482dfb3b7a407ca5e541657a6fcc9af619818243/.agents/skills/metagit-workspace-sync -a codex -g -y
Manual folder.agents/skills/metagit-workspace-syncOfficial docs ↗
Project installation.claude/skills/metagit-workspace-sync
npx skills add https://github.com/metagit-ai/metagit-cli/tree/482dfb3b7a407ca5e541657a6fcc9af619818243/.agents/skills/metagit-workspace-sync -a claude-code -y
Personal installation~/.claude/skills/metagit-workspace-sync
npx skills add https://github.com/metagit-ai/metagit-cli/tree/482dfb3b7a407ca5e541657a6fcc9af619818243/.agents/skills/metagit-workspace-sync -a claude-code -g -y
Manual folder.claude/skills/metagit-workspace-syncOfficial docs ↗
Project installation.agents/skills/metagit-workspace-sync
npx skills add https://github.com/metagit-ai/metagit-cli/tree/482dfb3b7a407ca5e541657a6fcc9af619818243/.agents/skills/metagit-workspace-sync -a github-copilot -y
Personal installation~/.copilot/skills/metagit-workspace-sync
npx skills add https://github.com/metagit-ai/metagit-cli/tree/482dfb3b7a407ca5e541657a6fcc9af619818243/.agents/skills/metagit-workspace-sync -a github-copilot -g -y
Manual folder.agents/skills/metagit-workspace-syncOfficial docs ↗
Project installation.agents/skills/metagit-workspace-sync
npx skills add https://github.com/metagit-ai/metagit-cli/tree/482dfb3b7a407ca5e541657a6fcc9af619818243/.agents/skills/metagit-workspace-sync -a cursor -y
Personal installation~/.cursor/skills/metagit-workspace-sync
npx skills add https://github.com/metagit-ai/metagit-cli/tree/482dfb3b7a407ca5e541657a6fcc9af619818243/.agents/skills/metagit-workspace-sync -a cursor -g -y
Manual folder.agents/skills/metagit-workspace-syncOfficial docs ↗
Project installation.agents/skills/metagit-workspace-sync
npx skills add https://github.com/metagit-ai/metagit-cli/tree/482dfb3b7a407ca5e541657a6fcc9af619818243/.agents/skills/metagit-workspace-sync -a gemini-cli -y
Personal installation~/.gemini/skills/metagit-workspace-sync
npx skills add https://github.com/metagit-ai/metagit-cli/tree/482dfb3b7a407ca5e541657a6fcc9af619818243/.agents/skills/metagit-workspace-sync -a gemini-cli -g -y
Native Gemini CLIgemini skills install https://github.com/metagit-ai/metagit-cli.git --scope workspace --path .agents/skills/metagit-workspace-sync
Manual folder.agents/skills/metagit-workspace-syncOfficial docs ↗
⚠ Installation uses the open-source skills CLI. Inspect the source and permissions before running the command.

Skill instructions

View source on GitHub ↗
# Syncing Workspace Repositories

Use this skill when repository state must be updated.

## Workflow

1. Confirm active workspace and target project.
2. Start with read-only status and fetch where possible.
3. Use pull/clone only when required for the current objective.
4. Summarize which repositories changed and what remains stale.

## Commands

- `metagit project sync --project <name>`
- MCP `metagit_workspace_sync` for batch fetch/pull/clone (`repos`, `only_if`, `dry_run`, `max_parallel`)
- MCP `metagit_repo_sync` for a single repository (requires `allow_mutation` for pull/clone)
- `./skills/metagit-control-center/scripts/control-cycle.sh [root_path] ["query"] [preset]`

## Output Contract

Return:
- repositories synced
- sync mode used (fetch/pull/clone)
- failures and retry guidance

## Safety

- Limit sync to repos defined in `.metagit.yml`.
- Avoid broad synchronization if only a subset is needed.