Home/Skills/workflows/sync — Git Sync + Auto-Merge Agent PRs
workflowsOperations

/sync

/sync — Git Sync + Auto-Merge Agent PRs

Pull agent PRs, auto-merge the safe ones, push local changes. One command, no force pushes, no surprises.

Used by 2 agents

What it does

Full git sync for the vault. Pulls main, lists open PRs, auto-merges scheduled-agent PRs that stay inside allowed paths, closes stale duplicate heartbeats, flags anything touching protected files for manual review, then commits and pushes local work. Never force-pushes. Never auto-resolves conflicts.

Use it at the start of a session to pull overnight agent work, at the end to push local changes, or whenever the mobile vault and the Mac vault feel out of sync. Also use it after a scheduled Cortex or Radar run drops a batch of PRs that need triage.

Outputs a clean report: PRs merged, PRs flagged, stale duplicates closed, local changes pushed, conflicts surfaced. Pairs with `daily` (start-of-session context) and `tldr` (end-of-session push).

Build your second brain

Run /sync with your agents.

This skill ships with Agent0 Starter, plus 82 others. Cortex runs it from day one.

Cortex
Chief of Staff
Loom
Loom
Radar
Radar
Hippo
Hippocampus
Signal
Signal
Sentinel
Sentinel
Axon
Axon
Hey, I'm Cortex — Chief of Staff for the team. Ask me anything; I'll handle it or pull in Loom (writing), Radar (growth), Hippocampus (research), Signal (social), Sentinel (ops), or Axon (code review). What's on your mind?