Mycelium View (Dry-Run Preview)
Preview the complete workflow plan that would be generated for a task without executing any implementation, tests, or reviews.
Purpose
This skill provides a "dry-run" mode that:
- Shows exactly what work would be planned
- Displays the task breakdown and dependencies
- Estimates effort and complexity
- Identifies which agents/skills would be used
- Does NOT execute any implementation
Your Task
Parse arguments:
task description: The feature/fix/optimization to preview (generates a new plan)
track_id: An existing plan's track ID to view (e.g., auth_20260211)
--verbose: Show extended details with workflow diagram (optional)
- To distinguish: if the argument (after removing
--verbose flag) matches a track_id in session_state.plans[] or a plan file in .mycelium/plans/, treat it as an existing plan view. Otherwise, treat it as a new task description.
- Extract
--verbose flag if present and set verbose_mode boolean
Route by argument type:
View Existing Plan
If track_id was provided:
- Find the plan file: check
session_state.plans[] for the plan_file, or glob .mycelium/plans/*{track_id}*.md
- Read the plan file and parse its frontmatter and content
- Display the plan (same format as step 5 below, but from the existing file)
- Show plan status from
plans[] registry (in_progress, paused, completed, etc.)
- Suggest next action based on status:
paused → /mycelium-plan --switch {track_id} to resume
in_progress → /mycelium-work to continue implementation
completed → /mycelium-capture {track_id} to capture learnings
preview → /mycelium-go "{description}" to execute
Generate New Preview
If task description was provided:
Update session state - Write invocation_mode: "view" to .mycelium/state.json
Execute planning workflow (see mycelium-plan)
Generate plan - Follow the planning workflow:
- Clarify requirements if ambiguous
- Discover available capabilities
- Create detailed task breakdown
- Define test strategy
- Identify dependencies
Display preview - Show the complete plan. Format depends on verbose_mode:
Brief mode (default):
## Workflow Preview: [Feature Name]
### Overview
[Brief description of what would be built]
### Success Criteria
[Measurable outcomes that define "done"]
### Phases & Tasks
#### Phase 1: [Phase Name]
- Task 1.1: [Task title] (Complexity: S/M/L, Agent: general-purpose)
- Task 1.2: [Task title] (Complexity: S/M/L, Agent: bash)
#### Phase 2: [Phase Name]
- Task 2.1: [Task title] (blockedBy: [1.1], Complexity: M)
### Parallel Execution Plan
[Show which tasks can run in parallel]
### Estimated Timeline
- Total tasks: X
- Parallel-capable: Y
- Sequential-only: Z
### Test Strategy
[TDD approach for each phase]
### Git Strategy
- Branch: feature/[name]
- Worktrees: [if multiple features]
Verbose mode (--verbose flag):
## Workflow Preview: [Feature Name]
### Overview
[Brief description of what would be built]
### Success Criteria
[Measurable outcomes that define "done"]
### Workflow Diagram
[ASCII art diagram showing phase flow and task dependencies - see below]
### Phases & Tasks
#### Phase 1: [Phase Name]
##### Task 1.1: [Task title]
- **Complexity:** S (50-200 lines, 1-2 files, 30-120 min)
- **Agent:** general-purpose
- **Skills:** tdd, verification
- **Model:** sonnet
- **Blocked by:** None (or task IDs)
- **Blocks:** [1.2, 2.1] (or "None")
**Description:**
[Full task description from plan]
**Acceptance Criteria:**
- [ ] Criterion 1
- [ ] Criterion 2
**Test Plan:**
[How to verify this works]
---
##### Task 1.2: [Task title]
[Same detailed format...]
#### Phase 2: [Phase Name]
[Same detailed format for all tasks...]
### Parallel Execution Plan
[Show which tasks can run in parallel]
### Estimated Timeline
- Total tasks: X
- Parallel-capable: Y
- Sequential-only: Z
### Test Strategy
[TDD approach for each phase]
### Git Strategy
- Branch: feature/[name]
- Worktrees: [if multiple features]
Generate workflow diagram (if verbose_mode is true):
Create ASCII art diagram showing:
- Phase flow: Plan → Work → Review → Capture (horizontal boxes with arrows)
- Task layout: Tasks grouped by phase, with dependencies shown vertically
- Parallel execution: Tasks at same vertical level = can run in parallel
- Status indicators: [ ] pending, [~] in progress, [✓] completed
Example diagram:
Workflow Diagram:
┌─────────────────────────────────────────────────────────────────────┐
│ MYCELIUM WORKFLOW │
└─────────────────────────────────────────────────────────────────────┘
┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐
│ PLAN │─────▶│ WORK │─────▶│ REVIEW │─────▶│ CAPTURE │
└──────────┘ └──────────┘ └──────────┘ └──────────┘
│ │ │ │
▼ ▼ ▼ ▼
Phase 1 Phase 2 Phase 3 Phase 4
─────── ─────── ─────── ───────
[ ] 1.1 [ ] 2.1 [ ] 3.1 [ ] 4.1
│ ┌┴─┐ │ │
▼ ▼ ▼ ▼ ▼
[ ] 1.2 [ ] 2.2 2.3 [ ] 3.2 [ ] 4.2
│ └┬─┘
▼ ▼
[ ] 1.3 [ ] 2.4
Legend:
─────▶ Sequential flow (phase to phase)
│ ▼ Dependency (task to task)
┌──┐ Parallel tasks (same vertical level)
[ ] Pending task
[~] In progress
[✓] Completed
Diagram generation algorithm:
- Parse plan to extract tasks, statuses, and
blockedBy dependencies
- Group tasks by phase (based on task ID prefix: 1.x → Phase 1, 2.x → Phase 2, etc.)
- Within each phase, calculate vertical levels:
- Level 0: Tasks with
blockedBy: [] (no dependencies, can start immediately)
- Level N: Tasks blocked only by tasks at level N-1
- Tasks at same level can execute in parallel
- Render using box-drawing characters:
─ │ ┌ ┐ └ ┘ ├ ┤ ┬ ┴ ┼ ▶ ▼
- Use task status from plan frontmatter if viewing existing plan, or
[ ] for new previews
Save preview - Write plan to .mycelium/plans/preview-YYYY-MM-DD-{track-id}.md with status: preview in frontmatter
Prompt next action:
✅ Workflow preview complete!
To execute this plan:
- Run full workflow: /mycelium-go "[task description]"
- Run phases individually: /mycelium-plan, /mycelium-work, etc.
To modify the plan:
- Edit: .mycelium/plans/preview-[timestamp].md
- Re-run: /mycelium-view "[modified description]"
Quick Examples
# Preview a feature workflow (generates new plan)
/mycelium-view "Add user authentication with JWT"
# View an existing plan by track_id
/mycelium-view auth_20260211
# Preview with extended details and workflow diagram
/mycelium-view "Add user authentication with JWT" --verbose
/mycelium-view --verbose auth_20260211
# Preview a bug fix workflow
/mycelium-view "Fix memory leak in session handler"
# Preview a refactoring workflow (verbose mode)
/mycelium-view --verbose "Refactor API layer to use repository pattern"
Differences from /mycelium-go
| Feature |
/mycelium-view |
/mycelium-go |
| Creates plan |
✓ |
✓ |
| Executes implementation |
✗ |
✓ |
| Runs tests |
✗ |
✓ |
| Runs review |
✗ |
✓ |
| Captures learnings |
✗ |
✓ |
| Makes code changes |
✗ |
✓ |
| Git commits |
✗ |
✓ |
Use Cases
Use /mycelium-view when:
- Estimating effort before committing
- Understanding scope and complexity
- Getting approval for approach
- Learning about mycelium's planning process
- Checking if requirements are clear enough
Use /mycelium-go when:
- Ready to execute the full workflow
- Requirements are clear
- Want autonomous implementation
Important
- Read-only mode - No code changes, commits, or state mutations (except state.json and preview plan file)
- Clarification allowed - Will ask questions if requirements are ambiguous
- Fast execution - Only planning phase runs (~30-60 seconds)
- Repeatable - Safe to run multiple times with different descriptions
- Preview state - Plans marked with
status: preview won't interfere with active work
- Verbose mode - Use
--verbose flag for extended details, workflow diagram, and full task specifications
- Diagram compatibility - ASCII art diagram uses standard box-drawing characters compatible with all terminals
Session State
The session state is updated to indicate view mode:
{
"invocation_mode": "view",
"current_phase": "planning",
"preview_mode": true,
"last_preview": "YYYY-MM-DD-preview-{track-id}.md"
}
This prevents accidental execution if /mycelium-continue is called after a preview.
Output Format
The skill outputs:
- Terminal display - Formatted markdown preview (brief or verbose depending on
--verbose flag)
- File output -
.mycelium/plans/preview-YYYY-MM-DD-{track-id}.md
- Workflow diagram - ASCII art visualization (only in
--verbose mode)
- Next steps - Clear instructions on how to proceed
Skills Used
- mycelium-plan: Requirements gathering and task decomposition (same workflow, preview mode)
Notes
- Preview plans are saved separately from execution plans
- The preview doesn't consume git commits or create branches
- Safe to use in dirty working directories
- Can be used as documentation for stakeholders
References
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: mycelium-view3description: Previews complete workflow plan without execution (dry-run mode). Use when user says "show me the plan", "what would this look like", "preview [task]", "dry run", or wants to see task breakdown before committing. Supports --verbose to display workflow diagram. No implementation, tests, or reviews executed. Use when this capability is needed.4---56# Mycelium View (Dry-Run Preview)78Preview the complete workflow plan that would be generated for a task without executing any implementation, tests, or reviews.910## Purpose1112This skill provides a "dry-run" mode that:13- Shows exactly what work would be planned14- Displays the task breakdown and dependencies15- Estimates effort and complexity16- Identifies which agents/skills would be used17- **Does NOT execute** any implementation1819## Your Task20211. **Parse arguments**:22 - `task description`: The feature/fix/optimization to preview (generates a new plan)23 - `track_id`: An existing plan's track ID to view (e.g., `auth_20260211`)24 - `--verbose`: Show extended details with workflow diagram (optional)25 - To distinguish: if the argument (after removing `--verbose` flag) matches a `track_id` in `session_state.plans[]` or a plan file in `.mycelium/plans/`, treat it as an existing plan view. Otherwise, treat it as a new task description.26 - Extract `--verbose` flag if present and set `verbose_mode` boolean27282. **Route by argument type**:2930### View Existing Plan3132If `track_id` was provided:33341. Find the plan file: check `session_state.plans[]` for the `plan_file`, or glob `.mycelium/plans/*{track_id}*.md`352. Read the plan file and parse its frontmatter and content363. Display the plan (same format as step 5 below, but from the existing file)374. Show plan status from `plans[]` registry (in_progress, paused, completed, etc.)385. Suggest next action based on status:39 - `paused` → `/mycelium-plan --switch {track_id}` to resume40 - `in_progress` → `/mycelium-work` to continue implementation41 - `completed` → `/mycelium-capture {track_id}` to capture learnings42 - `preview` → `/mycelium-go "{description}"` to execute4344### Generate New Preview4546If `task description` was provided:47481. **Update session state** - Write `invocation_mode: "view"` to `.mycelium/state.json`49502. **Execute planning workflow** (see mycelium-plan)51523. **Generate plan** - Follow the planning workflow:53 - Clarify requirements if ambiguous54 - Discover available capabilities55 - Create detailed task breakdown56 - Define test strategy57 - Identify dependencies58594. **Display preview** - Show the complete plan. Format depends on `verbose_mode`:6061 **Brief mode (default):**62 ```markdown63 ## Workflow Preview: [Feature Name]6465 ### Overview66 [Brief description of what would be built]6768 ### Success Criteria69 [Measurable outcomes that define "done"]7071 ### Phases & Tasks7273 #### Phase 1: [Phase Name]74 - Task 1.1: [Task title] (Complexity: S/M/L, Agent: general-purpose)75 - Task 1.2: [Task title] (Complexity: S/M/L, Agent: bash)7677 #### Phase 2: [Phase Name]78 - Task 2.1: [Task title] (blockedBy: [1.1], Complexity: M)7980 ### Parallel Execution Plan81 [Show which tasks can run in parallel]8283 ### Estimated Timeline84 - Total tasks: X85 - Parallel-capable: Y86 - Sequential-only: Z8788 ### Test Strategy89 [TDD approach for each phase]9091 ### Git Strategy92 - Branch: feature/[name]93 - Worktrees: [if multiple features]94 ```9596 **Verbose mode (`--verbose` flag):**97 ```markdown98 ## Workflow Preview: [Feature Name]99100 ### Overview101 [Brief description of what would be built]102103 ### Success Criteria104 [Measurable outcomes that define "done"]105106 ### Workflow Diagram107 [ASCII art diagram showing phase flow and task dependencies - see below]108109 ### Phases & Tasks110111 #### Phase 1: [Phase Name]112113 ##### Task 1.1: [Task title]114 - **Complexity:** S (50-200 lines, 1-2 files, 30-120 min)115 - **Agent:** general-purpose116 - **Skills:** tdd, verification117 - **Model:** sonnet118 - **Blocked by:** None (or task IDs)119 - **Blocks:** [1.2, 2.1] (or "None")120121 **Description:**122 [Full task description from plan]123124 **Acceptance Criteria:**125 - [ ] Criterion 1126 - [ ] Criterion 2127128 **Test Plan:**129 [How to verify this works]130131 ---132133 ##### Task 1.2: [Task title]134 [Same detailed format...]135136 #### Phase 2: [Phase Name]137 [Same detailed format for all tasks...]138139 ### Parallel Execution Plan140 [Show which tasks can run in parallel]141142 ### Estimated Timeline143 - Total tasks: X144 - Parallel-capable: Y145 - Sequential-only: Z146147 ### Test Strategy148 [TDD approach for each phase]149150 ### Git Strategy151 - Branch: feature/[name]152 - Worktrees: [if multiple features]153 ```1541555. **Generate workflow diagram** (if `verbose_mode` is true):156157 Create ASCII art diagram showing:158 - **Phase flow:** Plan → Work → Review → Capture (horizontal boxes with arrows)159 - **Task layout:** Tasks grouped by phase, with dependencies shown vertically160 - **Parallel execution:** Tasks at same vertical level = can run in parallel161 - **Status indicators:** [ ] pending, [~] in progress, [✓] completed162163 **Example diagram:**164 ```165 Workflow Diagram:166167 ┌─────────────────────────────────────────────────────────────────────┐168 │ MYCELIUM WORKFLOW │169 └─────────────────────────────────────────────────────────────────────┘170171 ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐172 │ PLAN │─────▶│ WORK │─────▶│ REVIEW │─────▶│ CAPTURE │173 └──────────┘ └──────────┘ └──────────┘ └──────────┘174 │ │ │ │175 ▼ ▼ ▼ ▼176177 Phase 1 Phase 2 Phase 3 Phase 4178 ─────── ─────── ─────── ───────179180 [ ] 1.1 [ ] 2.1 [ ] 3.1 [ ] 4.1181 │ ┌┴─┐ │ │182 ▼ ▼ ▼ ▼ ▼183 [ ] 1.2 [ ] 2.2 2.3 [ ] 3.2 [ ] 4.2184 │ └┬─┘185 ▼ ▼186 [ ] 1.3 [ ] 2.4187188 Legend:189 ─────▶ Sequential flow (phase to phase)190 │ ▼ Dependency (task to task)191 ┌──┐ Parallel tasks (same vertical level)192 [ ] Pending task193 [~] In progress194 [✓] Completed195 ```196197 **Diagram generation algorithm:**198 1. Parse plan to extract tasks, statuses, and `blockedBy` dependencies199 2. Group tasks by phase (based on task ID prefix: 1.x → Phase 1, 2.x → Phase 2, etc.)200 3. Within each phase, calculate vertical levels:201 - Level 0: Tasks with `blockedBy: []` (no dependencies, can start immediately)202 - Level N: Tasks blocked only by tasks at level N-1203 - Tasks at same level can execute in parallel204 4. Render using box-drawing characters: `─ │ ┌ ┐ └ ┘ ├ ┤ ┬ ┴ ┼ ▶ ▼`205 5. Use task status from plan frontmatter if viewing existing plan, or `[ ]` for new previews2062076. **Save preview** - Write plan to `.mycelium/plans/preview-YYYY-MM-DD-{track-id}.md` with `status: preview` in frontmatter2082097. **Prompt next action**:210 ```211 ✅ Workflow preview complete!212213 To execute this plan:214 - Run full workflow: /mycelium-go "[task description]"215 - Run phases individually: /mycelium-plan, /mycelium-work, etc.216217 To modify the plan:218 - Edit: .mycelium/plans/preview-[timestamp].md219 - Re-run: /mycelium-view "[modified description]"220 ```221222## Quick Examples223224```bash225# Preview a feature workflow (generates new plan)226/mycelium-view "Add user authentication with JWT"227228# View an existing plan by track_id229/mycelium-view auth_20260211230231# Preview with extended details and workflow diagram232/mycelium-view "Add user authentication with JWT" --verbose233/mycelium-view --verbose auth_20260211234235# Preview a bug fix workflow236/mycelium-view "Fix memory leak in session handler"237238# Preview a refactoring workflow (verbose mode)239/mycelium-view --verbose "Refactor API layer to use repository pattern"240```241242## Differences from /mycelium-go243244| Feature | /mycelium-view | /mycelium-go |245|---------|----------------|--------------|246| Creates plan | ✓ | ✓ |247| Executes implementation | ✗ | ✓ |248| Runs tests | ✗ | ✓ |249| Runs review | ✗ | ✓ |250| Captures learnings | ✗ | ✓ |251| Makes code changes | ✗ | ✓ |252| Git commits | ✗ | ✓ |253254## Use Cases255256**Use /mycelium-view when:**257- Estimating effort before committing258- Understanding scope and complexity259- Getting approval for approach260- Learning about mycelium's planning process261- Checking if requirements are clear enough262263**Use /mycelium-go when:**264- Ready to execute the full workflow265- Requirements are clear266- Want autonomous implementation267268## Important269270- **Read-only mode** - No code changes, commits, or state mutations (except state.json and preview plan file)271- **Clarification allowed** - Will ask questions if requirements are ambiguous272- **Fast execution** - Only planning phase runs (~30-60 seconds)273- **Repeatable** - Safe to run multiple times with different descriptions274- **Preview state** - Plans marked with `status: preview` won't interfere with active work275- **Verbose mode** - Use `--verbose` flag for extended details, workflow diagram, and full task specifications276- **Diagram compatibility** - ASCII art diagram uses standard box-drawing characters compatible with all terminals277278## Session State279280The session state is updated to indicate view mode:281282```json283{284 "invocation_mode": "view",285 "current_phase": "planning",286 "preview_mode": true,287 "last_preview": "YYYY-MM-DD-preview-{track-id}.md"288}289```290291This prevents accidental execution if `/mycelium-continue` is called after a preview.292293## Output Format294295The skill outputs:2961. **Terminal display** - Formatted markdown preview (brief or verbose depending on `--verbose` flag)2972. **File output** - `.mycelium/plans/preview-YYYY-MM-DD-{track-id}.md`2983. **Workflow diagram** - ASCII art visualization (only in `--verbose` mode)2994. **Next steps** - Clear instructions on how to proceed300301## Skills Used302303- **mycelium-plan**: Requirements gathering and task decomposition (same workflow, preview mode)304305## Notes306307- Preview plans are saved separately from execution plans308- The preview doesn't consume git commits or create branches309- Safe to use in dirty working directories310- Can be used as documentation for stakeholders311312## References313314- [`.mycelium/` directory structure][mycelium-dir]315- [Session state docs][session-state-docs]316- [Session state schema][session-state-schema]317- [Plan template][plan-template]318- [Plan frontmatter schema][plan-schema]319320[mycelium-dir]: ../../docs/mycelium-directory.md321[session-state-docs]: ../../docs/session-state.md322[session-state-schema]: ../../schemas/session-state.schema.json323[plan-template]: ../../templates/plans/plan.md.template324[plan-schema]: ../../schemas/plan-frontmatter.schema.json325326---327> Converted and distributed by [TomeVault](https://tomevault.io/claim/jason-hchsieh) — claim your Tome and manage your conversions.328<!-- tomevault:4.0:skill_md:2026-04-15 -->