Not loaded · from dev
Reconstructs an issue's full state from GitHub and local filesystem (PRs, branches, worktrees, uncommitted work, blockers), then executes the correct transition: requeue, adopt-branch, or handoff to /hitl.
Claude Code won't load this skill
It ships in dev at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Diagnose before you act — a requeue fired at an issue whose work already sits finished in a dirty worktree just spawns a second agent to redo it.
/retake is one skill with two halves. The diagnosis half reconstructs the
issue's real state from GitHub and the local filesystem. The action half
executes exactly one transition out of that state. Never skip the first half:
the label claims ready-for-human, but the truth is in the worktree.
Drive the rs_dev MCP — it is the only transport. The diagnosis is
the retake tool — {issue, repo?, prLimit?} — which returns the full
reconstruction (tracker state, PRs, branches, worktrees, recommendation) as a
structured value. The tool surface, host tool-name prefix rule, and mutation
contract live in ../afk/MCP.md; do not restate them here.
When the MCP is unreachable, name that and repair it — the daemon or the plugin
load, per the shared contract in
../_report-runtime/WRAPPER.md. ADR 0147 rule 1
left no second implementation of this report to fall back to.
issue accepts 123 and #123. The answer is structured TOON: read the fields
rather than re-parsing a rendered report.
The report answers six questions, in this order:
## Current blocker in the body, and whether those two agree. A blocked:*
label without a matching blocker section is a label/body mismatch — that
issue belongs to /hitl, not to you.#ISSUE search hits, with
their check and review state.clean or
dirty.blocked:validation and blocked:spec are
retryable. Anything else is a pending human decision.Present the reconstruction before proposing anything. Use this form:
Issue #123 — <title> [<labels>]
Tracker: <state>, blocker: <kind or none>, label/body: agree | mismatch
PR: #456 <checks> <reviews> (or: none)
Branch: <name> (<n> ahead / <n> behind origin) (or: none)
Worktree: <path> — clean | dirty (<n> uncommitted files) (or: none)
Verdict: <one sentence: is the work done, partial, or unstarted?>
Action: <the single next command>
The verdict is the point. "Work is committed on afk/123-foo, pushed, PR
#456 green" and "work is unstarted, only a label is parked" demand opposite
actions from an identical set of labels.
Pick by verdict, never by label alone:
| Verdict | Action |
|---|---|
Pending human decision, mixed blocked:* labels, or label/body mismatch | /hitl #ISSUE — stop here, do not requeue |
Parked blocked:validation / blocked:spec, work unstarted, guidance in hand | plain requeue (below) |
| Work done on a branch — committed and pushed | adopt-branch landing (below) |
| Open PR with failing checks or changes requested | fix the PR branch first; neither command lands a red PR |
| Dirty worktree | commit and push inside that worktree, then re-run /retake |
The requeue tool (MUTATING) — {issue, guidance} — executes one atomic
transition: archive the active ## Current blocker into ## Resolved blockers,
post the guidance as an auditable directive comment, drop ready-for-human
and every blocked:* label, add ready-for-agent.
The same requeue tool with adoptBranch set routes the branch through the
no-agent landing lane.
After the requeue transition, the branch routes through the no-agent landing
lane (ADR 0055). The shared feedback gate validates it with no agent re-run;
green lands it through doLanding and closes the issue; red parks it back to
ready-for-human with blocked:validation plus the real failing checks; a
branch with no commits versus base exits 0 with a note. An adopted branch and an
AFK branch pass the same gate authority.
guidance is required in both modes — it records the human decision.
apply — safe local setup onlyretake with apply set runs only the safe local git operations
the diagnosis selected: create a missing manual worktree under
.red/tmp/worktrees/manual/<slug>, recreate it from a matching branch, or fetch
a PR head branch into a fresh worktree. It then prints the next cd, requeue,
or /go command.
--apply is non-destructive by construction — local git setup, nothing else.--apply to merge, close issues, edit labels, run the requeue transition, or move the primary checkout's branch. It does none of them.A validation or spec failure parks an issue with three things at once:
ready-for-human, a blocked:* label, and an active ## Current blocker in
the body. AFK preflight reads that blocker before any work starts, so an
issue whose labels say ready-for-agent while its body still carries a blocker
is re-parked immediately. The blocker must clear in the same transition that
flips the labels. Producing that single transition is what the requeue command
exists for.
/retake vs /hitl — the decision boundaryStay in /retake when the decision is already made: the issue is
blocked:validation or blocked:spec with no other blocked:* label, the label
kind and the active blocker kind agree, and you hold the retry guidance. Or when
you have a hand-done branch to adopt. Or when you have reviewed a protected diff
and want to land it.
Hand to /hitl when the pending human decision still has to be extracted —
it interviews the maintainer, decides delegability, then clears the blocker and
requeues. Hand over any issue carrying mixed blocked:* labels, a label/body
mismatch, or a blocked kind outside validation / spec
(blocked:decision, blocked:stalled). Both paths end in the same safe state;
/retake is the informed shortcut, /hitl is the interview.
Hand-done work belongs in the manual-worktree lane
.red/tmp/worktrees/manual/<slug>, never on the primary checkout's branch. Use a
lowercase kebab-case slug, usually the issue number plus a short task name. When
the diagnosis finds no local state at all, the next action is a fresh worktree
from origin/main — or, for a brand-new one-off demand that never was an issue,
/go "<demand>" instead of this skill. After an adopted branch lands through the
no-agent landing lane, its worktree is pruned automatically.
/hitl — interactive decision extraction before requeueing/go — dispatch an untracked one-off demand end-to-endWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub reddb-io/red-skills --plugin dev59 skills in this plugin
/adr-editorProposal-driven reverse grill for the active `.red/adr/` collection. Ranks active ADR clusters, recommends where to start, confronts one cluster with current implementation evidence, and applies maintainer-approved dispositions through the full ADR verb set. Use to review, curate, reorganise, fix, or extend ADRs and to pay down accumulated decision debt./afkAutonomous loop that drains the `ready-for-agent` queue on the issue tracker. Registers the project with the `redskilled` daemon at a runner and a target width, arms the drain, and observes; the daemon admits each Worker, which claims an issue, works it in its own workspace, validates, lands, and closes. Use when the user wants to run AFK execution, drain a Spec, hammer specific issues, or otherwise let agents grind through the backlog./Other plugins' skills for the same job