sync
End-of-session documentation sync — updates TODO.md and PROGRESS.md only (run /commit after to commit everything)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
End-of-session documentation sync — updates TODO.md and PROGRESS.md only (run /commit after to commit everything)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Clade goal-driven autonomous improvement loop (Blueprint architecture — deterministic pre/post phases + LLM supervisor/worker nodes, converges when goal met or max-iter hit). NOT the Claude Code built-in /loop (which polls a prompt on an interval like `/loop 5m /foo`) — if the user wants interval polling, route to the built-in.
Adaptive, resumable Git delivery across repositories and agent runtimes — probe policy, checkpoint coherent work, publish, review, integrate, and verify cleanup
Adaptive, resumable Git delivery across repositories and agent runtimes — probe policy, checkpoint coherent work, publish, review, integrate, and verify cleanup
Inspect or select a Clade execution connection while keeping agent runtime, inference provider, wire protocol, and model distinct. Use for Claude/Codex runtime selection, Anthropic/OpenAI/MiniMax/Kimi/custom gateways, model routing, or connection troubleshooting.
Inspect or select a Clade execution connection while keeping agent runtime, inference provider, wire protocol, and model distinct. Use for Claude/Codex runtime selection, Anthropic/OpenAI/MiniMax/Kimi/custom gateways, model routing, or connection troubleshooting.
Equipment manager for Claude Code projects — inventory local skills/agents/scripts, audit external upstream repos (red-flag + prompt-injection screening), and sync selectively after user approval. Absorbs container-layout skill repos AND single-skill-at-root repos (e.g. a company design-system repo). Project-agnostic.
| name | sync |
| description | End-of-session documentation sync — updates TODO.md and PROGRESS.md only (run /commit after to commit everything) |
This workflow runs directly in Codex. Do not launch the claude CLI or
delegate the workflow to Clade's MCP bridge.
Codex compatibility rules:
$clade:sync; a bare $name does not select the installed Clade plugin.AGENTS.md files for repository instructions. If a project
has only CLAUDE.md, treat it as legacy project guidance and read it too..clade/ (or ~/.clade/ for personal
state). Existing legacy Claude state may be read for migration, but do not
create new vendor-specific state./skill-name reference means the corresponding Codex
$clade:skill-name plugin skill, or the same workflow invoked naturally when
explicit skill invocation is not available.<plugin-root>/... are relative to the installed Clade plugin
containing this SKILL.md; resolve that root before invoking a helper.You are the Sync skill. You automate the end-of-session documentation ritual.
This skill only updates documentation files (TODO.md, PROGRESS.md). It does NOT commit.
After /sync, the user runs /commit to commit all changes (code + docs) split by module.
Find what was done in this session:
git log --since="8 hours ago" --oneline
git log --since="8 hours ago" --stat
git status --short.Build a mental model of: what features were added, what bugs were fixed, what was refactored.
TODO.md- [ ] item, determine if the recent commits implemented it:
- [ ] → - [x]TODO.md updated:
✓ Checked off: "Add project_repos table" (verified: schema exists)
✓ Checked off: "GitHub API client" (verified: lib/github-client.ts exists)
? Skipped: "OAuth integration" (no matching commits found)
Append a session summary to PROGRESS.md. Follow this format:
### YYYY-MM-DD — [Brief session description]
**What was done:**
- [Feature/fix 1]: [one-line description of what and why]
- [Feature/fix 2]: [one-line description]
**What worked:**
- [Pattern or approach that was effective]
**What didn't work / lessons:**
- [Issue encountered and how it was resolved, or pitfall to avoid]
**Open items:**
- [Anything left unfinished that the next session should pick up]
Guidelines:
If PROGRESS.md exceeds 100 lines:
### YYYY-MM-DD headers)[ACTIVE], move it to docs/progress-archive/YYYY-MM.md (create the file if needed, append to it)Archived 3 old entries to docs/progress-archive/2026-01.md
Run the session scorecard generator to log quality metrics:
bash ~/.clade/scripts/session-scorecard.sh
This appends a JSON entry to ~/.clade/corrections/scorecards.jsonl with correction counts, commits, and a quality score. If the script doesn't exist, skip this step silently.
Check for 3-tier issue handling files from autonomous loop runs:
ls .clade/decisions.md .clade/skipped.md .clade/blockers.md 2>/dev/null
For each file that exists:
.clade/{name}-archive.md (create if needed)If none exist, skip silently.
Always end with a summary:
Sync complete:
📋 TODO.md: 3 items checked off, 1 new sub-task added
📝 PROGRESS.md: Session summary appended
Run /commit to commit all changes (pushes by default; use --no-push to skip).
.clade/blockers.md3-strike rule: If the same approach fails 3 times, switch to BLOCKED — do not retry indefinitely.
End-of-session documentation ritual. Reviews what was done and updates project docs — no commit. Run /commit after to commit everything (docs + code) split by module.
/sync # Update TODO.md + PROGRESS.md
/commit # Commit all changes (code + docs) split by module + push
/commit --no-push # Commit only, skip push
If this workflow changes files or external state:
git status for a
repository task.DONE while task-owned changes are uncommitted. Use or continue
$clade:delivery and create a repository-compliant checkpoint or preserve
the work when committing is unavailable.BLOCKED or NEEDS_CONTEXT rather than
appending a "not committed/pushed/deployed" caveat after DONE.