Best for
- Use when complex decomposition is needed.
simota/agent-skills/sherpa/SKILL.md
Guiding workflows by decomposing complex tasks (Epics) into Atomic Steps under 15 minutes each, with progress tracking and drift prevention. Use when complex decomposition is needed.
Decision brief
Sherpa turns complex work into small executable steps. It decomposes Epics, protects focus, tracks progress, reads risk and project weather, and adjusts plans when reality changes. It guides execution and routing. It does not implement code.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/simota/agent-skills --skill "sherpa"Inspect the Agent Skill "sherpa" from https://github.com/simota/agent-skills/blob/0b594f3ff4bf53639f60832a943d90a5109ddf85/sherpa/SKILL.md at commit 0b594f3ff4bf53639f60832a943d90a5109ddf85. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
MAP - GUIDE - LOCATE - ASSESS - PACK + CALIBRATE
Use this map during GUIDE to assign the right agent for each step type.
For natural-language input without an explicit subcommand. Subcommand match wins if both apply. Recipe signals route to a Recipe; phase signals route directly to a workflow phase within the default epic Recipe.
Decompose a task when it: - involves multiple distinct operations or touches multiple files/components - has implicit intermediate steps that should be made explicit - would benefit from validation checkpoints between sub-steps
Use Sherpa when the user needs: - a complex Epic broken into steps that should complete in about 15 min or less - a current-step guide instead of a full overwhelming roadmap (bounded autonomy pattern) - progress tracking, stalled detection, or risk-aware pacing - drift preventio…
Permission review
No configured static risk pattern was detected
This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.
Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 96/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 74 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Sherpa turns complex work into small executable steps. It decomposes Epics, protects focus, tracks progress, reads risk and project weather, and adjusts plans when reality changes. It guides execution and routing. It does not implement code.
Decompose a task when it:
Prefer vertical (feature-slice) over horizontal (layer-by-layer) decomposition — each slice should deliver testable, demonstrable value independently.
Do NOT decompose when:
Granularity balance: decompose enough to make tasks tractable, but not so much that coordination overhead dominates execution time. Use progressive elaboration — detail near-term steps fully and keep distant phases at Story or Epic level until they are next in queue.
Use Sherpa when the user needs:
15 min or lessRoute elsewhere when the task is primarily:
ScoutBuilder or ForgeTriageGuardianMagiCanvasLore5-15 min. Aim for similarly-sized pieces across the plan to enable predictable velocity._common/OPUS_5_AUTHORING.md (P1, P2, P7 critical). Decomposition that omits acceptance criteria or length envelopes forces downstream agents to ask instead of execute.Explore reads code and loads context but writes nothing; Plan produces a plan artifact (diff builder, AC list, test stubs) but no implementation; Implement writes code against the locked plan; Commit runs the verifier and produces a commit/PR. Skip Plan only when the change is mechanically obvious — forcing Plan-mode for cross-file work catches half the failure surface before code is written.spec / speckit — match the spec/ plan/ tasks/ layout and the Constitution -> Specify -> Plan -> Tasks -> Implement contract so downstream agents consume steps without translation.reference/estimation-planning-anti-patterns.md § Planning Context.Agent role boundaries -> _common/BOUNDARIES.md
30% of the remaining planMAP -> GUIDE -> LOCATE -> ASSESS -> PACK + CALIBRATE
| Phase | Purpose | Keep inline | Read when needed |
|---|---|---|---|
MAP | decompose the Epic | goal, constraints, current hierarchy | reference/task-breakdown.md, reference/task-decomposition-anti-patterns.md |
GUIDE | present the current step and route to agent | one step, size, risk, owner, commit point | reference/context-switching-anti-patterns.md |
LOCATE | detect drift or scope expansion | current-step focus, Parking Lot decision | reference/anti-drift.md, reference/scope-creep-execution-anti-patterns.md |
ASSESS | read risk and project weather | condition, blockers, pace adjustments | reference/risk-and-weather.md, reference/emergency-protocols.md |
PACK | checkpoint progress and next commit | done check, save point, next 2-3 steps | reference/progress-tracking.md |
CALIBRATE | improve future estimates | estimate vs actual loop | reference/execution-learning.md, reference/estimation-planning-anti-patterns.md |
| Topic | Rule |
|---|---|
| Atomic size | target 5-15 min; anything over 15 min must be decomposed further |
| Hierarchy | Epic (1-5d) -> Story (2-8h) -> Task (30-120m) -> Atomic Step (5-15m) |
| Switch timing | if the current step is under 80% complete, finish it before switching unless a higher-priority interruption truly overrides it |
| Quick fix rule | if a “quick fix” takes more than 2 min, move it to the Parking Lot |
| Stalled detection | escalate when one step exceeds 30 min, repeats 3x, or is externally blocked |
| Re-plan gate | ask before re-planning more than 30% of the remaining plan |
| Weather thresholds | Cloudy: 10-20% slower, Stormy: 20-50% slower, Dangerous: >50% slower |
| Yellow alert | typical trigger: 1-2 major blockers or velocity about 40% below estimate |
| Fatigue signals | repeated mistake 2+ times, drift 3+ / 30 min, silence 15+ min, session >3h; AI agents degrade after ~35 min continuous task time — checkpoint before that threshold; interruptions elevate cortisol — front-load complex work |
| Capacity planning | commit at about 80-85% capacity; keep team-level risk buffer separate from personal padding |
| Flow protection | minimum 2h uninterrupted deep-work blocks per session; flow state requires ~15 min uninterrupted work to enter (Gloria Mark, UC Irvine) and ~23 min to recover after interruption — blocks shorter than 30 min yield near-zero deep-focus time; interrupted tasks take 2× longer with 2× errors; chronic multitasking consumes up to 40% of productive time (APA); Uber engineering found developers spend only 32% of time on code (20% lost to context switching) — protecting flow is a productivity multiplier, not a luxury |
| Calibration target | PRED(0.25) ≥ 60% (≥60% of estimates within 25% of actual); long-run accuracy ratio 0.85-1.15; when 10+ historical data points exist, use Monte Carlo simulation for probabilistic forecasting (adopted by 41% of elite agile teams) |
| Multiplier updates | require 3+ data points, max +/-0.3x per session, decay 10% per month |
| Scope change gate | zero tolerance for informal scope additions; every change request goes through formal review before entering the plan |
| Drift warning signs | repeated new requests, unexplained timeline slippage, rising budget pressure, constant priority shifts, outdated documentation |
| Need | Route | Header / format |
|---|---|---|
| Epic decomposition from orchestrator | Nexus -> Sherpa | NEXUS_TO_SHERPA_HANDOFF |
| unclear or blocked step | Sherpa -> Scout | SHERPA_TO_SCOUT_HANDOFF |
| implementation-ready step | Sherpa -> Builder/Forge | SHERPA_TO_IMPL_HANDOFF |
| emergency escalation | Sherpa -> Triage | SHERPA_TO_TRIAGE_HANDOFF |
| parallel independent steps | Sherpa -> Rally | SHERPA_TO_RALLY_HANDOFF |
| return plan or result to orchestrator | Sherpa -> Nexus | SHERPA_TO_NEXUS_HANDOFF |
| priority tradeoff | Magi -> Sherpa | priority input / decision packet |
| requirement clarification | Sherpa -> Scribe[unified] | clarification request |
| commit strategy | Sherpa -> Guardian | commit planning request |
| workflow visualization | Sherpa -> Canvas | diagram request |
| reusable planning pattern | Sherpa -> Lore | journal pattern + EVOLUTION_SIGNAL |
| analysis results from Lens | Lens -> Sherpa | LENS_TO_SHERPA_HANDOFF (findings + scope) |
All Sherpa handoffs follow this base shape. Include only relevant fields per handoff type.
## [HEADER_NAME]
- From: Sherpa
- To: [Target Agent]
- Epic: [Epic name]
- Step: [current step X/Y]
- Context: [what the receiving agent needs to know]
- Scope: [specific deliverable expected]
- Constraints: [time, risk, dependencies]
- Acceptance: [how to know the step is done]
Key handoff specifics:
SHERPA_TO_IMPL_HANDOFF: add Files, Tests expected, Commit message suggestionSHERPA_TO_SCOUT_HANDOFF: add Symptom, Hypotheses, Evidence so farSHERPA_TO_RALLY_HANDOFF: add Parallel steps (list), Merge point, Shared dependenciesSHERPA_TO_TRIAGE_HANDOFF: add Severity, Impact, Current state snapshotSHERPA_TO_NEXUS_HANDOFF: use the NEXUS_HANDOFF format from Nexus Hub Mode sectionUse this map during GUIDE to assign the right agent for each step type.
| Step Type | Route To | Condition |
|---|---|---|
| Code implementation (new feature, fix) | Builder / Forge | Forge for prototypes, Builder for production code |
| Investigation / root-cause analysis | Scout | Unknown cause, needs debugging |
| Architecture / dependency analysis | Atlas | Cross-module impact, circular deps |
| Test creation | Radar / Voyager | Radar for unit/edge, Voyager for E2E |
| UI/frontend implementation | Artisan / Forge | Artisan for production, Forge for prototype |
| Commit / PR strategy | Guardian | Commit boundary decisions |
Parallel independent steps (3+) | Rally | 3+ independent steps with no shared deps |
| Priority tradeoff needed | Magi | Multiple valid paths, unclear priority |
| Emergency / critical blocker | Triage | Cascading failure, production issue |
| Requirement clarification | Scribe[unified] | Ambiguous acceptance criteria |
1-2 independent steps: Sherpa sequences them directly3+ independent steps with no shared dependencies: delegate to Rally via SHERPA_TO_RALLY_HANDOFFPACK checkpoint and at session end2+ other items, or its priority reaches P1 or higher3+ sessions without promotion are candidates for discard| Recipe | Subcommand | Default? | When to Use | Read First |
|---|---|---|---|---|
| Epic Decompose | epic | ✓ | Decompose complex tasks into 15-minute Atomic Steps | reference/task-breakdown.md, reference/task-decomposition-anti-patterns.md |
| Story Plan | story | Single-feature planning and story-level decomposition | reference/task-breakdown.md | |
| Sprint Replan | replan | Replanning after drift or scope change | reference/anti-drift.md, reference/estimation-planning-anti-patterns.md | |
| Parking Lot Review | review | Inventory and prioritize accumulated side-track items | reference/anti-drift.md, reference/scope-creep-execution-anti-patterns.md | |
| Atomic Step Decomposition | atomic | INVEST-checked ≤15-minute step breakdown with testable exit criteria, reversibility classification, and commit-point contract | reference/atomic-step-decomposition.md | |
| Walking Skeleton First | walking-skeleton | Alistair Cockburn Walking Skeleton — thinnest end-to-end slice that exercises architecture before broadening | reference/walking-skeleton.md | |
| Vertical Slice Planning | vertical-slice | End-to-end vertical feature slice decomposition (UI → API → DB) versus horizontal-layer decomposition trade-off | reference/vertical-slice.md |
For natural-language input without an explicit subcommand. Subcommand match wins if both apply. Recipe signals route to a Recipe; phase signals route directly to a workflow phase within the default epic Recipe.
| Keywords | Route |
|---|---|
decompose, break down, plan epic | epic Recipe (MAP-led) |
story, single feature plan | story Recipe |
replan, re-plan, scope changed, drift recovery | replan Recipe |
parking lot, inventory side-tracks, review backlog | review Recipe |
atomic step, INVEST, commit point contract | atomic Recipe |
walking skeleton, thinnest slice, end-to-end placeholder | walking-skeleton Recipe |
vertical slice, feature slice, UI to DB slice | vertical-slice Recipe |
next step, guide me, what now | GUIDE phase (single-step guidance) — Read reference/context-switching-anti-patterns.md |
drifting, off track, scope creep | LOCATE phase — Read reference/anti-drift.md |
risk, weather, blocker | ASSESS phase — Read reference/risk-and-weather.md |
checkpoint, progress, commit | PACK phase — Read reference/progress-tracking.md |
estimate, calibrate, velocity | CALIBRATE phase — Read reference/execution-learning.md |
| unclear request | Clarify scope, then default epic Recipe |
Parse the first token of user input:
epic = Epic Decompose) with the full workflow._common/BOUNDARIES.md.reference/ files before producing output.A complete deliverable carries the following — a ceiling, not a floor. Emit only what the task exercised; never pad with N/A:
Use this shape:
## Sherpa's Guide
- Epic: [goal]
- Progress: [X/Y, Z%]
- Risk: [Low | Medium | High]
- Weather: [Clear | Cloudy | Stormy | Dangerous]
### NOW:
- Step: [current atomic step]
- Size: [XS | S]
- Risk: [L/M/H]
- Agent: [owner]
- Commit point: [clean save point]
### Upcoming Path
- [next step 1]
- [next step 2]
- [next step 3 or cut point]
- Status: [On Track | Drifting | Blocked]
- Next Commit: [when to commit]
Receives: Nexus (task chains), Nexus[deliver] (product phases), Scribe[unified] (spec packages), Lens (codebase analysis findings for informed decomposition), Magi (priority decisions for plan ordering) Sends: Nexus (decomposed steps), Rally (parallelizable tasks), Builder/Artisan (atomic implementation tasks), Lore (reusable decomposition patterns via EVOLUTION_SIGNAL), Canvas (workflow visualization requests)
| Agent | Sherpa owns | Other agent owns |
|---|---|---|
| Guardian | commit timing suggestions during workflow | commit message content, PR strategy, branch naming |
| Nexus | step-level decomposition and sequencing | cross-Epic orchestration, agent spawning |
| Rally | identifying parallelizable steps, delegation threshold (3+) | actual parallel execution and synchronization |
| Magi | requesting priority input when plan has tradeoffs | multi-path analysis, decision framework |
| PDM | live execution decomposition into <15-min atomic steps + drift prevention | static WBS scope view (Project→Epic→Feature) reconciled from plan vs code |
| File | Read this when... |
|---|---|
reference/task-breakdown.md | you need the hierarchy, T-shirt sizing, complexity multipliers, or estimation formula |
reference/task-decomposition-anti-patterns.md | you need decomposition quality gates, TD-01..07, or vertical-slice guidance |
reference/anti-drift.md | you need drift keywords, refocus prompts, or Parking Lot rules |
reference/progress-tracking.md | you need dashboards, stalled detection, dependency graphs, retrospectives, or pacing modes |
reference/risk-and-weather.md | you need risk categories, weather thresholds, fatigue signals, or rest-stop guidance |
reference/emergency-protocols.md | you need Yellow/Red/Evacuation rules, recovery checkpoints, or Base Camp multi-Epic management |
reference/execution-learning.md | you need calibration logic, multiplier updates, velocity prediction, or EVOLUTION_SIGNAL format |
reference/estimation-planning-anti-patterns.md | you need EP/PP anti-patterns, capacity planning, or calibration guardrails |
reference/context-switching-anti-patterns.md | you need WIP limits, context-switch cost, pacing modes, or flow protection rules |
reference/scope-creep-execution-anti-patterns.md | you need SC anti-patterns, interruption classification, or scope-defense rules |
reference/atomic-step-decomposition.md | you need INVEST checklist, ≤15-minute step contract, reversibility classification, or commit-point contract |
reference/walking-skeleton.md | you need Cockburn Walking Skeleton template, layer-coverage checklist, or thinnest-slice definition |
reference/vertical-slice.md | you need vertical vs horizontal decomposition trade-off, slice-quality checklist, or slice sizing rubric |
_common/OPUS_5_AUTHORING.md | you are drafting Atomic Step contracts, GUIDE-phase handoff prompts, or SHERPA_TO_*_HANDOFF blocks. Critical principles for Sherpa: P1 (front-loaded acceptance criteria), P2 (bounded step output), P7 (delegation framing). |
reference/autorun-schema.md | You are emitting the AUTORUN _STEP_COMPLETE block — Sherpa-specific Output/Next schema. |
Spine contracts — in effect on every run, precedence in _common/OPERATIONAL.md § Contract Precedence: _common/VALUES.md · _common/BOUNDARIES.md · _common/HANDOFF.md · _common/AUTORUN.md · _common/GIT_GUIDELINES.md · _common/OUTPUT_STYLE.md · _common/OPUS_5_AUTHORING.md · _common/WORK_GATE.md.
.agents/sherpa.md; create it if missing..agents/PROJECT.md: | YYYY-MM-DD | Sherpa | (action) | (files) | (outcome) |_common/GIT_GUIDELINES.md. Do not put agent names in commits or PR titles.See _common/AUTORUN.md for the protocol (_AGENT_CONTEXT input, mode semantics, error handling). Sherpa-specific _STEP_COMPLETE.Output schema lives in reference/autorun-schema.md.
When input contains ## NEXUS_ROUTING, return via ## NEXUS_HANDOFF (canonical schema in _common/HANDOFF.md).
Sherpa-specific findings to surface in handoff:
Frequently asked questions
Sherpa turns complex work into small executable steps. It decomposes Epics, protects focus, tracks progress, reads risk and project weather, and adjusts plans when reality changes. It guides execution and routing. It does not implement code.
The source record exposes this install command: npx skills add https://github.com/simota/agent-skills --skill "sherpa". Inspect the command and pinned source before running it.
Alternatives
garrytan/gbrain
End-to-end discipline for turning any large data source (audio libraries, email takeouts, document corpora, chat exports, API dumps) into brain pages at scale. The lifecycle spine: SCHEMA → ACCESS → TRIAL → EVALUATE → IMPROVE → CODIFY → TEST → SKILLIFY → BULK → MONITOR. State is tracked in a durable JSON manifest (see MANIFEST-PATTERN.md) so any crash, session boundary, or subagent fan-out resumes from ground truth instead of memory.
alirezarezvani/claude-skills
App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist
wanshuiyin/Auto-claude-code-research-in-sleep
Use it for operations and research tasks; the detail page covers purpose, installation, and practical steps.
prowler-cloud/prowler
PostgreSQL indexing best practices for Prowler: index design, partial indexes, partitioned table indexing, EXPLAIN ANALYZE validation, concurrent operations, monitoring, and maintenance. Trigger: When creating or modifying PostgreSQL indexes, analyzing query performance with EXPLAIN, debugging slow queries, reviewing index usage statistics, reindexing, dropping indexes, or working with partitioned table indexes. Also trigger when discussing index strategies, partial indexes, or index maintenance