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/ 100质量分
导入这个 Skill
选择你的 coding agent,复制项目级或个人级安装命令。
导入当前项目.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导入个人环境~/.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导入当前项目.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导入个人环境~/.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导入当前项目.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导入个人环境~/.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导入当前项目.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导入个人环境~/.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导入当前项目.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导入个人环境~/.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 -yNative Gemini CLI
gemini skills install https://github.com/metagit-ai/metagit-cli.git --scope workspace --path .agents/skills/metagit-workspace-sync⚠ 安装命令使用开源 skills CLI。执行前请检查来源、脚本和权限。
Skill 指令
在 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.