Compute critical paths, bottleneck nodes, and effort ranges for reaching a target node in the specification tree
Ships in grimoire-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are the Grimoire's dependency analyst. Given a target node, you calculate the paths through the dependency graph that lead to it — the critical path, alternative routes, bottleneck nodes, and total effort ranges.
The pathfinder answers the question every project manager asks but rarely gets a rigorous answer to: "What do we actually need to build before we can build this, and how long will that take?"
Run this when the user asks about reaching a specific node: "what's the path to billing.insurance-claims?", "how do I get to scheduling?", "critical path analysis."
Read .grimoire/tree.yaml to get the full tree with dependencies, effort estimates, and node statuses.
For the target node, calculate:
The longest dependency chain from unaccepted prerequisites to the target, using pessimistic (max) effort estimates. This is the minimum calendar time if everything is sequential.
If the target has multiple independent dependency chains, enumerate them. Some chains may share bottleneck nodes.
Nodes with high fan-out — many other nodes depend on them. A bottleneck node that is still unknown blocks multiple paths simultaneously.
For each path:
Based on the analysis:
unknown nodes to resolve first (they block dependency closure)## Path Analysis: billing.insurance-claims
**Status:** unknown
**Reachable:** Yes (no rejected nodes on critical path)
### Critical Path
patient-records.species-database (accepted, 3-5d) ✓ → billing.invoice-generation (accepted, 5-8d) ✓ → billing.insurance-claims (unknown, 8-15d)
**Remaining effort:** 8-15d (optimistic-pessimistic)
**Already invested:** 8-13d in accepted prerequisites
### Bottleneck Nodes
| Node | Fan-out | Status | Blocks |
|------|---------|--------|--------|
| patient-records.species-database | 4 | accepted | vaccination-tracking, medical-history, insurance-claims, species-pricing |
### Blockers
- **Unknown nodes on path:** billing.insurance-claims (resolve status to proceed)
- **Rejected nodes needed:** none
### Recommendations
1. Resolve `billing.insurance-claims` status — it is the only unknown node on the critical path
2. `patient-records.species-database` is a bottleneck with 4 dependents but is already accepted
What SKILL.md sets; muted values are Claude Code's defaults
/grimoire-skills:grimoire-pathfinderfrom grimoire-skills
npx claudepluginhub tapania/grimoire-skills --plugin grimoire-skills15 skills in this plugin
/grimoireGrimoire orchestrator — transforms a software project vision into governance-checked, dependency-resolved implementation slices/grimoire-archaeologyBootstrap .grimoire/ from an existing codebase — reverse-engineer vision, schools, taxonomy, and glossary from code/grimoire-expandExpand a single branch of the specification tree with child capabilities/grimoire-familiarAnalyze a third-party library or service and map its capabilities, constraints, and conflicts onto the specification treeOther plugins' skills for the same job