Claude Code Task Shepherd Skill — Productivity skill for Claude Code
Claude Code skill that runs a long, multi-segment task to completion by keeping real state in a plan file instead of conversation memory — survives /compact, one segment per turn, stops for real decis.
How to install Claude Code Task Shepherd Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open TakumiNoguchi2004/claude-code-task-shepherd-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Task Shepherd Skill does
Claude Code skill that runs a long, multi-segment task to completion by keeping real state in a plan file instead of conversation memory — survives /compact, one segment per turn, stops for real decisions instead of guessing.
Alternatives in Productivity
- Ccplugins — Claude Code Plugins that actually save time 2.7k ★
- Obsidian Daily — Create or update today's daily note — pulls calendar events, overdue tasks, and conversation context 277 ★
- Lemoncrow — A Complete faster runtime for coding agents 62 ★
README
task-shepherd-skill
A [Claude Code](https://claude.com/claude-code) skill for running a long, complex task — pre-broken into segments — through to completion without losing the thread. Real state (which segment is current, what happened, what's next) lives in a plan file on disk, never in conversation memory, so it survives `/compact` and turn boundaries by construction.
See [`SKILL.md`](./SKILL.md) for what Claude actually does with this skill: the directory layout, how a plan is written and executed, why segment handoff uses `Monitor` instead of `/loop` + `ScheduleWakeup`, and what to do when a segment reports `blocked`.
The core idea
A **plan** is a directory (`shepherd.yaml` + whatever reference files its segments need). Each turn only ever sees the *one* segment it needs to act on right now, revealed fresh by `next_step.py` — never the whole plan, never future segments. After finishing a segment, `finish_step.py` records the outcome and a short-lived `Monitor` hands off to a fresh turn for the next one. Nothing about resuming correctly depends on the conversation still remembering anything.
Quick start
cd scripts && uv sync
uv run list_plans.py # see what's available
uv run next_step.py selftest # try the bundled self-test fixture
The `selftest` fixture (`shepherds/archives/selftest/`) is a small real scikit-learn pipeline with a genuine bug planted in one segment and an accuracy target the model can't reach in another — it exercises the `on_error` retry path and the `blocked` path with actual code, not a toy simulation.
Status
Prototype (2026-08-31). The core loop (segment reveal → do the work → record outcome → `Monitor` handoff) was verified end to end by a fresh, independent Claude Code session with no prior context — including diagnosing and fixing the planted bug unassisted, correctly refusing to self-authorize a fix for a below-target result, and correctly resuming from a `blocked` state after the u
Related Skills
Compact.Prompt
Your task is to create a detailed summary of the conversation so far, paying close attention to the user's exp
Taskcut
Claude Code plugin that compacts the conversation at sub-task boundaries instead of at the context limit
Compact Smart
Compact after dumping the task's state (the same protocol the context meter uses)
Claude Code Session Timer Hook
A Claude Code hook that auto-reports per-turn and cumulative elapsed time at the end of every conversation tur
Paceflow
Deterministic workflow enforcement and persistent engineering memory for long-running coding agents.
Donnyclaude
Verified workflow engine for Claude Code: durable project memory, phase planning, subagents, and deterministic
Related Agents
Context Harvester
Use before non-trivial work to search project knowledge (AGENTS.md, rules, docs, ADRs, notes, changelog) and r
Project Management Project Shepherd
Expert project manager specializing in cross-functional project coordination, timeline management, and stakeho
Uat Tester
End-to-end UAT tester for Agent Brain. Builds wheels, installs packages, starts/stops servers, runs curl smoke