/tl:fractal <goal>from tl
Recursively investigates a focused area, pruning paths that don't serve the goal. Use for deep-dives into specific codebase areas or concepts.
Ships in tl. 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 running Fractal -- goal-directed recursive exploration. Unlike exhaustive discovery, fractal evaluates every finding against the original goal and prunes paths that don't serve it. Think depth-first search with a fitness function: go deep where the goal lives, stop where it doesn't.
Goal: $ARGUMENTS
If $ARGUMENTS is empty or too vague for investigation, ask one clarifying question. Otherwise proceed. Fractal discovers scope through exploration, not upfront specification.
Create a run directory to anchor the goal:
mkdir -p .fractal
Write .fractal/goal.md:
# Goal
[the goal, restated clearly in 1-3 sentences]
## Dimensions
[2-4 specific questions this goal needs answered]
## Boundaries
[1-2 things explicitly out of scope, if obvious]
This file is the source of truth. Every handler receives the goal verbatim. Every evaluation checks findings against the dimensions.
Follow the decompose primitive's approach: break the goal into 2-4 MECE investigation areas with clear scope boundaries. Prefer depth over breadth -- fewer focused areas over many shallow ones. Each area must be independently investigable.
Launch handlers via Task(run_in_background=true, subagent_type="Explore") using the handler template below. Launch up to 3 concurrently.
This phase repeats until a termination condition is met.
Each handler receives this prompt (fill in bracketed values):
You are a fractal handler investigating a specific area for a goal-directed exploration.
GOAL: [verbatim from .fractal/goal.md -- unchanged at every depth]
YOUR AREA: [specific investigation area]
DEPTH: [current level, e.g., "Level 1" or "Level 2 (from: [parent area])"]
Investigate your area by reading actual code. For each finding, assess whether it serves the GOAL.
Report using pipe format:
Investigated [your area]
Source: /fractal (handler) Input: [your area]
Items
- [finding title] — [concrete finding with evidence]
- source: [file:line]
- confidence: CONFIRMED | LIKELY | POSSIBLE
- goal-fit: [1 sentence connecting finding to goal]
Go Deeper
Sub-areas that might serve the goal but need their own investigation:
- [sub-area] — [what you saw that suggests value]
- question: [what the next handler should answer]
Dead Ends
- [area] — [why irrelevant]
Summary
[2-3 sentences. How well does this area serve the goal? Is the richest vein in Items or Go Deeper? Should the orchestrator prioritize depth here or move on?]
Rules:
- Read code. Do not speculate. Cite file paths.
- Resolve what you can now. Do not defer to "Go Deeper" what you can answer.
- If an area is irrelevant, say so in Dead Ends and move on.
- Keep your report under 500 words.
After each handler report, evaluate findings using the /assess primitive's categorical rubric (ANSWER / DEEPEN / PRUNE):
## Assessed handler findings for goal-fit
**Source**: /fractal (assess)
**Input**: Round [N] evaluation against goal
### Items
1. **[finding or sub-area]** — **ANSWER** — [serves goal because...]
- source: [from handler report]
2. **[sub-area]** — **DEEPEN** — [promising but unresolved...]
3. **[area]** — **PRUNE** — [tangential to goal...]
### Rubric
| Category | Definition |
|----------|------------|
| ANSWER | Finding directly serves the goal. Add to synthesis. |
| DEEPEN | Promising signal, unresolved. Dispatch a new handler. |
| PRUNE | Not goal-relevant. Skip. |
### Summary
Accumulated answers: [count]. Handlers dispatched: [used]/12 max. Status: [CONTINUE | STOP: goal satisfied | STOP: diminishing returns].
When the current depth level is exhausted (all handlers at Level N have reported) and DEEPEN items exist, pause before going deeper. Synthesize progress and confirm direction with the user.
Checkpoint message:
Progress so far:
- Accumulated answers: [count]
- Remaining DEEPEN items: [count]
- Current depth: Level [N]
- Handlers dispatched: [count]/12
Next step: Go to Level [N+1] to investigate [list DEEPEN areas, one line each].
Continue deeper, pivot to different areas, or conclude now?
User choices:
This checkpoint is a safety net, not a gate. If the user doesn't respond within a reasonable time or says "continue", proceed normally.
Check after every evaluation. Stop when ANY is true:
When stopping, proceed to Phase 3 even if DEEPEN items remain. Fractal's value is knowing when to stop.
If DEEPEN items exist and no termination condition is met, and the user checkpoint confirms continuation (if applicable), dispatch handlers for DEEPEN items. Increment the depth level in their prompt. Continue until termination.
Prefer resume over new spawn for DEEPEN items. When the original handler's ID is available (captured when you dispatched it), use Task({resume: "<original-handler-id>", prompt: "..."}) so the handler retains its warm file-reading context from the prior depth level. Fall back to spawning a new handler only if the original ID is unavailable. One resume per handler — if a resumed handler produces further DEEPEN items at depth 3+, spawn a new handler for those.
To enable resume: note each handler's agent ID when dispatching in Phase 1d and record the mapping (handler-id → area) for use here.
Follow the distill primitive's approach: reduce all accumulated ANSWER findings into a final pipe-format report.
## Fractal findings on [goal, short form]
**Source**: /fractal
**Input**: [goal, one line]
### Items
1. **[finding title]** — [detail, organized by goal dimension]
- source: [file:line]
- confidence: CONFIRMED | LIKELY | POSSIBLE
### Exploration Shape
- **Areas explored**: [list]
- **Max depth reached**: [N]
- **Handlers dispatched**: [N]
- **Dead ends**: [list of pruned areas]
### Open Questions
Each open question must include:
1. **Code reference** — file:line or specific decision point
2. **Evidence** — what was found, what conflicts or gaps exist
3. **Resolution path** — what would resolve this (skill to run, file to read, person to ask)
Example:
- Before: "Authentication mechanism needs clarification"
- After: "src/auth/provider.ts:initialize() — found OAuth2 client in deps (package.json:47) but JWT tokens in tests (tests/auth.test.ts:12). Conflict suggests incomplete migration. Resolve: read src/auth/README.md or run /meeting with Security + Architect roles"
[List open questions using the format above, or state "None" if all dimensions resolved]
### Summary
[One paragraph synthesis of all findings relative to the goal.]
If the findings suggest concrete follow-up work, ask the user if they want tasks created in their task tracker with the action, priority, and evidence from the exploration.
git add .fractal/
git status
rules/memory-layout.md, checkpoint at phase boundaries to .claude/tackline/memory/scratch/fractal-checkpoint.md.See also: /meeting (when exploration reveals trade-offs needing multi-perspective debate), /review (when findings suggest code quality concerns).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub tyevans/tackline --plugin tackline55 skills in this plugin
/active-learnUse when an agent's performance is uneven and you want systematic improvement. Runs diagnose -> challenge-gen -> challenge-run -> update learnings in a loop. Works with or without a team. Keywords: active-learn, training, adversarial, improve, agent, loop, capability, tuning, solo./adviseUse when you're unsure what to work on next. Reads git state, session history, and task tracker to recommend next actions. Works with just git, richer with more context. Keywords: advise, suggest, next, what now, recommend, orient./assembleUse when starting a project, forming a team for long-horizon work, or upgrading from ad-hoc agent dispatch. Creates persistent roles with ownership and learnings that improve across sessions. Keywords: team, project, setup, roles, persistent, agents, staff, learning.Other plugins' skills for the same job