Do
Skill yokeloop/yoke/skills/do
Executes a task per plan. Triggered when the user writes "execute", "do", "run the plan", "implement", or passes a path to a plan file and asks to execute it.From its SKILL.md
npx -y skills add yokeloop/yoke --skill doAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
3 things to look at
- skips confirmationTells the agent to proceed without asking first, 2 times: "Do not ask "commit?" mid-run." and 1 more.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 2 commands, including `gh api` and 1 more.
SKILL.md
5.7 KB, ~1.4k tokens by cl100k_base, as published. Nobody here has run it
Execute task per plan
Act as the orchestrator. Detect the input shape, pick a mode, and run that
mode's procedure from its reference file. The flow is grill → do → PR: every
run ends by finishing per reference/finish.md — the pull request(s) are the
deliverable.
Principle: the developer starts the run and returns on notification.
Input
$ARGUMENTS — one of:
- empty — no input; work from the current conversation (inline)
- a plain task description — chat text, no ticket (inline)
- a single issue URL, a bare
<slug>, or a*-task.mdpath (sub-agents) - a
*-plan.mdpath — a pre-built plan (sub-agents, back-compat) - a PRD issue that has GitHub sub-issues (team)
- a Draft PR URL, or a bare
<slug>whose.yoke/ai/<slug>/<slug>-draft.mdexists (draft execution)
Optional flag --update-docs enables the documentation step. Without it, /do
skips docs unless the plan's frontmatter sets update_docs: true.
Router
Detect the mode from $ARGUMENTS. First match wins:
$ARGUMENTSis a path ending-plan.md→ sub-agents mode. A plan already exists, so skip planning. Read the file's**Mode:**header for back-compat — anagent-teamheader maps to team mode instead. Then read and followreference/mode-sub-agents.md(orreference/mode-team.mdwhen the header saysagent-team).$ARGUMENTSis a GitHub pull-request URL (path contains/pull/), or a bare<slug>for which.yoke/ai/<slug>/<slug>-draft.mdexists → draft execution mode: a/draftrun marked the code and opened the Draft PR; implement it per the review. Read and followreference/mode-draft-execution.md.$ARGUMENTSis a single issue URL, a bare<slug>, or a*-task.mdpath → sub-agents mode (investigate → plan → pause → execute). Read and followreference/mode-sub-agents.md.$ARGUMENTSpoints at a PRD issue that HAS sub-issues (detect viagh api) → team mode. Read and followreference/mode-team.md.- empty / a plain chat description / no ticket → inline mode. Read and
follow
reference/mode-inline.md.
Each mode's full procedure lives in its reference file. Read only the one this ladder selects, then execute it.
Modes
| Mode | Input | Behavior |
|---|---|---|
| inline | empty / plain chat description | Brief plan in chat, execute in-session, then finish per reference/finish.md. |
| sub-agents | issue URL / <slug> / *-task.md / *-plan.md | Write the plan, pause only on cold start, executor → reviewer → validator, then finish. |
| draft execution | Draft PR URL / drafted <slug> | Implement the Markup per the review (comments > markers > plan), reply in the threads, flip the PR to ready, then finish. |
| team | PRD issue with sub-issues | Write the plan, pause only on cold start, dispatch sub-agents per sub-issue, then finish. |
Principles
These hold for every mode run:
- Worktree on default branch. Before touching code (after the cold-start
pause, if any), enter a worktree per
reference/finish.md§2 when the run starts on the default branch. - Finish at PR. Once the tasks are done, hand off to
reference/finish.md§3-§7: finish each repo by its finish policy from the flow map, comment on the ticket, and send the notify carrying the PR link(s). - Pause only on cold start. The plan-confirmation pause fires only when no grill preceded in the session and no approved plan was handed in. A plan already agreed in grill runs straight through.
- Never merge, except one signal. An explicit "straight to main" from the
user is the single merge exception (
reference/finish.md§6). Otherwisedofinishes at the PR and never merges; it never runs deploy or release. - Artifacts under
.yoke/. Every filedowrites lives under.yoke/. - Commits by convention. Format, ticket ID, and git initiative — from
${CLAUDE_PLUGIN_ROOT}/skills/gca/reference/commit-convention.md(see its "Git initiative and defaults"). Do not ask "commit?" mid-run. - Read the git memory first. Before modifying a file, read its recent
commit history per
${CLAUDE_PLUGIN_ROOT}/skills/gca/reference/history-reading.md. AConstraint:orDirective:that conflicts with the plan is surfaced, not silently overridden; aRejected:approach is not re-proposed without new evidence. - Review after each task. Spec compliance → code quality. Mandatory.
- Context isolation. A sub-agent receives only its own task text, not the whole plan.
- CLI output. Run commands with long output (formatter, lint, build, test)
with
2>&1 | tail -20. - Language: match the ticket/input language, or follow the project-level definition in CLAUDE.md / AGENTS.md.
Report
Sub-agents and team modes write .yoke/ai/<slug>/<slug>-report.md and append the finish block from reference/finish.md §7; inline prints its summary in chat. Full template: reference/report-format.md.
What ships with it: 15 files
81.9 KB alongside SKILL.md
agents/
- doc-updater.md3.1 KB
- formatter.md3.0 KB
- plan-architect.md4.8 KB
- task-executor.md8.0 KB
- task-investigator.md2.2 KB
- task-reviewer.md2.2 KB
- validator.md5.3 KB
reference/
- finish.md5.7 KB
- mode-draft-execution.md8.1 KB
- mode-inline.md4.2 KB
- mode-sub-agents.md15.0 KB
- mode-team.md11.2 KB
- plan-format.md2.6 KB
- report-format.md3.1 KB
- status-protocol.md3.5 KB