Install
openclaw skills install @antreasantoniou/cross-agent-syncSync Claude and Codex project progress
openclaw skills install @antreasantoniou/cross-agent-syncUse scripts/agent_sync.py as the deterministic transport. Raw transcript excerpts are local evidence; .agent-sync/events.jsonl and .agent-sync/PROGRESS.md are the curated shared state.
.agent-sync/imports/. The script enforces that location and writes Git ignore rules.python3 scripts/agent_sync.py doctor --project /path/to/project
python3 scripts/agent_sync.py sync --project /path/to/project --query project-name --days 14
Read .agent-sync/PROGRESS.md, then the packet path printed by sync. Inspect cited artifacts before adopting claims.
Use repeatable --query terms when sessions ran from a broad working directory. Without a query, discovery keeps only sessions whose recorded working directory belongs to the project.
python3 scripts/agent_sync.py list --project /path/to/project --agent both --days 7
python3 scripts/agent_sync.py recent --project /path/to/project --agent codex --sessions 4 --messages 16
python3 scripts/agent_sync.py import \
--project /path/to/project --agent both --query project-name \
--days 14 --sessions 6 --messages 20 --write
Packets can contain sensitive text and absolute local paths. They are deliberately non-canonical and must not be committed.
python3 scripts/agent_sync.py update \
--project /path/to/project \
--source codex \
--summary "Reconciled the release state." \
--decision "Keep publication behind an explicit owner gate." \
--evidence "Local tests passed at commit abc1234." \
--completed "Updated the release checklist." \
--next "Verify the remote release." \
--artifact "docs/RELEASE.md"
Repeat category flags or pass one JSON object with --from-json. Supported keys are source, session_id, summary, decisions, evidence, completed, next_actions, blockers, artifacts, and notes.
The ledger is append-only under an OS file lock. Repeating the same semantic event is idempotent. PROGRESS.md renders in stable order and preserves human-authored content outside its generated markers.
update once with only the durable delta.render if another process edited the event ledger..agent-sync/imports/.doctor exits non-zero unless both supported session stores contain logs..agent-sync/imports/ are rejected for transcript packets.This implementation targets macOS and Linux because it uses POSIX file locking. Python 3.10+ and Git are required; ripgrep is optional. Read references/session-formats.md only when discovery fails or a harness changes its JSONL schema.