execute
Skill2 starsChanged 4 months agoMITView on GitHub
Use when the user runs /synergy-execute or asks Claude to implement a Synergy spec session phase by phase. Owns the disciplined execution loop — reads orchestrator + live .state, works one phase at a time, and writes a boundary note + flips phase status via the synergy CLI before moving on. Honors run-time directives (scope, model/effort overrides) layered above the plan.
- Sends data out
57 other projects use a version of this.
Adopted by
Most recently taken up by
- LeonardiFranco/skillstheir own version, first seen Nov 8, 2026
- pfangueiro/claude-code-agentstheir own version, first seen Nov 8, 2026
- Yeachan-Heo/oh-my-claudecodetheir own version, first seen Nov 8, 2026
- crbnos/carbontheir own version, first seen Nov 7, 2026
- afaraha8403/balakittheir own version, first seen Nov 6, 2026
- chrislacey89/skillstheir own version, first seen Nov 4, 2026
Used with
Projects with it also use context-optimize, ralplan and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ibahgatSkillcontext-optimize
Improve context efficiency and cache stability for long or complex sessions.
Also in 3 projects that use this
ibahgatSkillralplan
Create a strict, quality-first execution plan with explicit gates and rollback-ready sequencing.
Also in 5 projects that use this
Yeachan-HeoSkillultragoal
Create and execute durable repo-native multi-goal plans over Codex goal mode artifacts.
Also in 4 projects that use this
buddyhSkilldeep-dive
Deep dive on any topic. Decomposes into subtopics, researches each in parallel with thorough source gathering, then synthesizes into a comprehensive report (4,000-10,000+ words, 40-100+ sources). Scales depth dynamically based on topic complexity. Use when asked for a deep dive, deep research, comprehensive analysis, or thorough investigation of a topic.
Also in 4 projects that use this
mukcoSkillprinciples
General software engineering principles — DRY, SOLID, YAGNI, KISS, naming, code smells, and refactoring. Language-agnostic. Use alongside language-specific skills.
Also in 3 projects that use this
team-attentionSkillcompound
This skill should be used when the user says "/compound", "compound this", "document learnings", "save what we learned", or after completing a PR. Extracts knowledge from PR context and saves to docs/learnings/.
Also in 3 projects that use this
- +1 more from ibahgat
Other versions57 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 57
- Yeachan-Heo/oh-my-claude-sisyphus★ 41ksame name
- Yeachan-Heo/oh-my-claudecode★ 41ksame name
- crbnos/carbon★ 2.8ksame name
- zaxbysauce/opencode-swarm★ 519same name
- ZaxbyHub/opencode-swarm★ 518same name
- Joonghyun-Lee-Frieren/oh-my-antigravity★ 214same name
- Joonghyun-Lee-Frieren/oh-my-gemini-cli★ 214same name
- team-attention/hoyeon★ 173same name
- Adrian333Dev/flow★ 39same name
- shipshitdev/skills★ 39same name
47 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- address-feedbackSkill
- continueSkill
- create-specSkill
- handoffSkill
- preview-controlSkill
- reviewSkill
- spec-authoringSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 5 are distinctive, and 10 are very specific to this project.
0
Common
Most of the 55 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
If it prints a warning, surface that line to the user verbatim before continuing.
- Very specific: line 37
If no session is given, read .synergy/active-session (JSON { session, lastSeen }).
- Very specific: line 40
Read
.synergy/sessions/<session>/.state/handoff.mdfirst: if it exists. It is the latest KT baton (overwrite/latest-wins — a single … - Very specific: line 45
Pull history conditionally: When the handoff routes you into a phase, read that phase's log .state/phases/<slug>.md and — only if you need …
- Very specific: line 50
Run synergy status <session> — note the rollup and the resume pointer.
- Very specific: line 51
Read .synergy/sessions/<session>/orchestrator.md (strategy, dependency graph, agent allocation).
- Very specific: line 52
Read the relevant phase spec.mdx (folder phases under phases/<NN>-<slug>/, or the <Phase id> blocks in the implementation spec).
- Distinctive: line 78
Run the phase's verification gate (from orchestrator.md).
- Very specific: line 83
Write the phase status (prefer the daemon.
- Distinctive: line 95
Write the resume pointer:
- Distinctive: line 106
Stop for the human checkpoint defined at this phase boundary.
- Very specific: line 111
Don't hand-edit .state/ JSON or journals — always go through the CLI.
- Distinctive: line 112
Don't skip the boundary note or resume pointer — that's the hand-off a fresh agent depends on.
- Very specific: line 113
Don't let a run directive ("use sonnet") mutate the stored <AgentTree> plan.
- Very specific: line 114
Don't mark a phase done if its verification gate failed — use blocked and log why.
“Common” is measured: kept by at least 6 in 10 of the 55 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- synergy-version: 0.22.0 -->Step 0 — Freshness check (run before anything else)
This skill loads at session start, so it can be stale if the plugin was updated
mid-session. Before doing any work, confirm you are the newest installed version.
Set MINE to the version in the synergy-version marker just above, then run:
MINE="0.22.0" # ← the synergy-version marker above
CACHE="${CLAUDE_PLUGINS_DIR:-$HOME/.claude/plugins}/cache/synergy/synergy"
NEWEST="$(ls "$CACHE" 2>/dev/null | sort -V | tail -1)"
if [ -n "$NEWEST" ] && [ "$NEWEST" != "$MINE" ] && \
[ "$(printf '%s\n%s\n' "$MINE" "$NEWEST" | sort -V | tail -1)" = "$NEWEST" ]; then
printf '⚠ synergy: this session loaded v%s, but v%s is installed. Restart Claude Code to load the latest skills/templates.\n' "$MINE" "$NEWEST"
fiIf it prints a warning, surface that line to the user verbatim before continuing. Then proceed — staleness is a warning, not a block.
execute
Drives implementation of a Synergy session with a hard state-write gate. State is written ONLY through the synergy CLI (never by hand-editing .state/).
CLI base: node "$CLAUDE_PLUGIN_ROOT/packages/cli/dist/cli.js".
Steps
1. Resolve the session + directives
- The user's request is
$ARGUMENTS. The first token (if it looks like a session slug) is the session; the rest are run-time directives (e.g. "only Phase 1", "use sonnet"). - If no session is given, read
.synergy/active-session(JSON{ session, lastSeen }); use it iflastSeenis within 10 minutes, else ask which session.
2. Read state first, then strategy, then detail
- Read
.synergy/sessions/<session>/.state/handoff.mdfirst if it exists. It is the latest KT baton (overwrite/latest-wins — a single current snapshot, not a log) and your router. If it names an in-progress phase in "Current phase state", resume that phase from its "Next concrete step" — do not restart it from scratch. This closes the mid-phase gap where a phase isin-progresswith no boundary note. - Pull history conditionally. When the handoff routes you into a phase, read that
phase's log
.state/phases/<slug>.mdand — only if you need cross-cutting context —.state/journal.md. These are the append-only backstory behind the handoff snapshot. Handoff = "you are here"; journals = the backstory; KT is the two together. Do not read the journals unconditionally at orientation. - Run
synergy status <session>— note the rollup and the resume pointer. - Read
.synergy/sessions/<session>/orchestrator.md(strategy, dependency graph, agent allocation). - Read the relevant phase
spec.mdx(folder phases underphases/<NN>-<slug>/, or the<Phase id>blocks in the implementation spec). - The handoff routes; the phase
spec.mdxis pulled lazily — only the phase you are about to implement, at implement-time. Never front-load all phase specs.
3. Pick the next phase and mark it in-progress
- Choose the lowest-ordered phase whose status is not
done/shipped(respect any scope directive). synergy phase set <session> <phaseId> in-progress
4. Implement the phase
- Fan out per the phase's agent references: each
<Phase>names its agents; look those names up in the session's<AgentTree>to get each agent's model and effort (effort inherits from the nearest ancestor; model is per-node). Spawn the specifiedtypeandcount(count, if any, stays on the tree node) at that model/effort. Run-time directives override these for THIS run only — never rewrite the<AgentTree>. - As you discover anything surprising or reusable, record it (prefer the daemon; fall back to the CLI):
# Fast path: # Assign PREVIEW_ORIGIN from `preview status --json`; do not assume a port. curl -sS -X POST "${PREVIEW_ORIGIN}/api/log" \ -H 'content-type: application/json' \ -d '{"session":"<session>","text":"<finding>","phase":"<phaseId>"}' # For cross-cutting findings use "global":true instead of "phase":"..." # Fallback: node "$CLAUDE_PLUGIN_ROOT/packages/cli/dist/cli.js" log <session> "<finding>" --phase <phaseId> - Run the phase's verification gate (from orchestrator.md).
5. [MANDATORY GATE] Close out the phase before moving on You may NOT start the next phase until all three are done:
- Write the phase status (prefer the daemon; fall back to the CLI on
ECONNREFUSED):
The gate is not satisfied until the phase status is confirmed written.# Fast path (daemon running): curl -sS -X POST "${PREVIEW_ORIGIN}/api/phase" \ -H 'content-type: application/json' \ -d '{"session":"<session>","phaseId":"<phaseId>","status":"done","note":"<terse boundary note: what changed, deviations>"}' # Fallback (preview not running): node "$CLAUDE_PLUGIN_ROOT/packages/cli/dist/cli.js" phase set <session> <phaseId> done --note "<boundary note>" - Write the resume pointer:
# Fast path: curl -sS -X POST "${PREVIEW_ORIGIN}/api/resume" \ -H 'content-type: application/json' \ -d '{"session":"<session>","next":"<nextPhaseId>","note":"<where the next agent should start>"}' # Fallback: node "$CLAUDE_PLUGIN_ROOT/packages/cli/dist/cli.js" continue <session> --next <nextPhaseId> --note "<note>" - Stop for the human checkpoint defined at this phase boundary.
6. Repeat from step 3 until all phases are done (or the scope directive's stopping point is reached). Then print the final synergy status <session>.
Don'ts
- Don't hand-edit
.state/JSON or journals — always go through the CLI. - Don't skip the boundary note or resume pointer — that's the hand-off a fresh agent depends on.
- Don't let a run directive ("use sonnet") mutate the stored
<AgentTree>plan. - Don't mark a phase
doneif its verification gate failed — useblockedand log why.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

