pathfinding
npx skills add https://github.com/outfitter-dev/agents --skill pathfinding
Agent 安装分布
Skill 文档
Pathfinding
Adaptive Q&A â unclear requirements â clear path.
<when_to_use>
- Ambiguous/incomplete requirements
- Complex features needing exploration
- Greenfield projects with open questions
- Collaborative brainstorming or problem solving
NOT for: time-critical bugs, well-defined tasks, obvious questions
</when_to_use>
| Bar | Lvl | % | Name | Action |
|---|---|---|---|---|
âââââ |
0 | 0â19 | Prepping | Gather foundational context |
âââââ |
1 | 20â39 | Scouting | Ask broad questions |
âââââ |
2 | 40â59 | Exploring | Ask focusing questions |
âââââ |
3 | 60â74 | Charting | Risky to proceed; gaps remain |
âââââ |
4 | 75â89 | Mapped | Viable; push toward 5 |
âââââ |
5 | 90â100 | Ready | Deliver |
Start honest. Clear request â level 4â5. Vague â level 0â2.
At level 4: “Can proceed, but 1â2 more questions would reach full confidence. Continue or deliver now?”
Below level 5: include â³ Caveats section.
Load the maintain-tasks skill for stage tracking. Stages advance only, never regress.
| Stage | Trigger | activeForm |
|---|---|---|
| Prep | level 0â1 | “Prepping” |
| Explore | level 2â3 | “Exploring” |
| Clarify | level 4 | “Clarifying” |
| Deliver | level 5 | “Delivering” |
Task format â each stage gets context-specific title:
- Prep { domain } requirements
- Explore { approach } options
- Clarify { key unknowns, 3-4 words }
- Deliver { artifact type }
Situational (insert before Deliver when triggered):
- Resolve Conflicts â
â Cautionorââ Hazardpushback - Validate Assumptions â high-risk assumptions before delivery
Workflow:
- Start: Create stage matching initial confidence
in_progress - Transition: Mark current
completed, add nextin_progress - High start (4+): Skip directly to
ClarifyorDeliver - Early delivery: Skip to
Deliver+â³ Caveats
Calibrate first â user may have already provided context (docs, prior conversation, pointed you at files). If enough context exists, skip to level 3â4. Don’t re-ask what’s already clear.
If gaps remain, explore focus areas (pick what’s relevant):
- Purpose: What problem? Why now?
- Constraints: Time, tech, team, dependencies
- Success: How will we know it works?
- Scope: What’s in, what’s out?
When multiple approaches exist:
- Propose 2â3 options with trade-offs
- Lead with recommendation â and reasoning
- Let user pick, combine, or redirect
Principles:
- YAGNI â cut what’s not needed
- DRY â don’t duplicate effort or logic
- Simplest thing â prefer boring solutions
Use EnterPlanMode for each question â enables keyboard navigation of options.
Structure:
- Prose above tool: context, reasoning, â recommendation if clear lean
- Inside tool: options only (concise, scannable)
At level 0 â start with session intent:
- Quick pulse check vs deep dive?
- Exploring possibilities or solving a specific problem?
- What does “done” look like?
Levels 1â4 â focus on substance:
- 2â4 options per question + “5. Something else”
- Inline
[â ]on recommended option + italicized rationale - User replies: number, modifications, or combos
Loop: Answer â Restate â Update Confidence â Next action
After each answer emit:
- Confidence: {BAR} {NAME}
- Assumptions: { if material }
- Unknowns: { what we can clarify; note unknowables when relevant }
- Decisions: { what’s locked in }
- Concerns: { what feels off + why }
Next action by level:
- 0â2: Ask clarifying questions
- 3: Summarize (3 bullets max), fork toward 5
- 4: Offer choice: refine or proceed
- 5: Deliver
When answer reveals a concern mid-stream:
- Pause before next question
- Surface with
â³+ brief description - Ask: clarify now, note for later, or proceed with assumption?
Example: “â³ This assumes the API supports batch operations â clarify now, note for later, or proceed?”
If user proceeds despite significant gap â escalate to pushback protocol.
Escalate when choice conflicts with goals/constraints/best practices:
â Alternative: Minor misalignment. Present option + reasoning.â Caution: Clear conflict. Recommend alternative, explain risks, ask to proceed. Triggers Resolve Conflicts.ââ Hazard: High failure risk. Require mitigation or explicit override. Triggers Resolve Conflicts.
Override: Accept “Proceed anyway: {REASON}” â log in next reflection â mark Resolve Conflicts complete.
Integrate skeptic agent for complexity sanity checks:
Recommend (offer choice):
- Level 5 reached with â³ Caveats > 2
- Red flag language in decisions: “might need later”, “more flexible”, “best practice”
Before finalizing â you have {N} caveats. Want to run skeptic for a sanity check?
[AskUserQuestion]
1. Yes, quick check [â
] â I'll challenge complexity interactively
2. Yes, deep analysis â launch skeptic agent in background
3. No, proceed â deliver as-is
Auto-invoke (no choice):
- Level 4+ with 3+ unknowns persisting across 2+ question cycles
- ââ Hazard escalation triggered during session
When auto-invoking:
[Auto-invoking skeptic â {REASON}]
Launch with Task tool:
- subagent_type: “outfitter:skeptic”
- prompt: Include current decisions, unknowns, and caveats
- run_in_background: false (wait for findings before delivery)
After skeptic returns:
- Present findings to user
- If verdict is
blockâ add Resolve Conflicts stage - If verdict is
cautionâ offer choice to address or acknowledge - If verdict is
proceedâ continue to delivery
Level 5: Produce artifact immediately (doc, plan, code, outline). If none specified, suggest one.
After delivering, ask where to persist (if applicable):
[EnterPlanMode]
1. { discovered path } [â
] â { source: `CLAUDE.md` preference | existing directory | convention }
2. Create issue â { Linear/GitHub/Beads based on project context }
3. ADR â { if architectural decision }
4. Don't persist â keep in conversation only
5. Something else â different location or format
Discovery order for option 1:
CLAUDE.mdor project instructions with explicit plan storage preference- Existing
.agents/plans/directory - Existing
docs/plans/directory - Fall back to
.agents/plans/if nothing found
Always suggest filename based on topic. Match existing conventions if present.
Mark Deliver completed after artifact is delivered (persistence is optional follow-up).
Below 5: Append â³ Caveats:
- Open questions + context
- Assumed decisions + defaults
- Known concerns + impact
- Deferred items + revisit timing
ALWAYS:
- Task stage matching initial confidence at start
EnterPlanModefor each question (keyboard nav)- Prose above tool for context + â recommendation
- One question at a time, wait for response
- Restate + update confidence before next move
- Update todos at level 4, level 5 thresholds
- Apply pushback protocol on conflicts
- Check skeptic triggers at level 4+ (unknowns, caveats, red flags)
NEVER:
- Proceed from 0â3 without clarifying questions
- Hide uncertainty below level 5
- Stack questions or bury decisions in paragraphs
- Put recommendation inside plan tool (keep in prose)
- Skip reflection after answer
- Regress stages
- Ignore skeptic auto-invoke triggers
- confidence.md â confidence deep dive
- questions.md â question crafting
- examples/ â session examples
- skeptic agent (outfitter:skeptic) â complexity sanity checks