Agent skill
sync-workspaces
Sync local and remote workspaces with latest motoko framework changes. Use when asked to update workspaces, sync skills, or push motoko changes to workspaces.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/sync-workspaces-joshuacook-motoko-2
SKILL.md
Sync Workspaces with Motoko
Sync Context Lake workspaces with the latest motoko framework (tachikoma skills, schema patterns, etc.).
Workspace Locations
Local workspaces (manual git sync):
~/working/coyote~/working/escuela~/working/project-management
Remote workspaces (VM with auto-commit cron):
/opt/workspaces/josh/coyote/opt/workspaces/josh/escuela/opt/workspaces/josh/project-management
Motoko source (this repo):
~/working/claude-code-apps/motoko
What to Sync
Tachikoma Skills
Copy from motoko/.claude/skills/tachikoma-*/ to workspace .claude/skills/:
tachikoma-schema/SKILL.mdtachikoma-frontmatter/SKILL.mdtachikoma-structure/SKILL.md
MCP Config (if needed)
Ensure .mcp.json points to batou:
{
"mcpServers": {
"batou": {
"command": "uv",
"args": ["--directory", "/path/to/motoko/batou", "run", "batou"],
"env": {
"WORKSPACE_PATH": "/path/to/workspace"
}
}
}
}
Process
-
Identify target workspaces - Ask which workspaces to sync (local, remote, or both)
-
Sync local workspaces:
bash# For each local workspace cp -r ~/working/claude-code-apps/motoko/.claude/skills/tachikoma-* ~/working/{workspace}/.claude/skills/ cd ~/working/{workspace} && git add -A && git commit -m "Sync tachikoma skills from motoko" && git push -
Sync remote workspaces (via gcloud ssh):
bash# First push motoko changes cd ~/working/claude-code-apps/motoko && git add -A && git commit -m "..." && git push # Then on VM, pull and copy gcloud compute ssh chelle --project=rs-chelle [email protected] --zone=us-central1-a --command=" cd /opt/claude-code-apps && git pull for ws in /opt/workspaces/josh/*; do cp -r /opt/claude-code-apps/motoko/.claude/skills/tachikoma-* \$ws/.claude/skills/ 2>/dev/null cd \$ws && git add -A && git commit -m 'Sync tachikoma skills from motoko' 2>/dev/null done " -
Pull remote changes to local (if remote was updated first):
bashcd ~/working/{workspace} && git pull --rebase
Output
Report what was synced:
- Which workspaces were updated
- What files were copied
- Any conflicts or errors
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?