ClaudeMod
ModsInterfaceWrites / Shell

Trailhead

Chart a project from a loose idea, then navigate it ticket by ticket on GitHub Issues.

Install· Claude Code 2.1.330+
$claude plugin marketplace add ToRvaLDz/trailhead
$claude plugin install trailhead@trailhead
Run claude plugin validate to auditGuide →
Access & PermissionsWrites / Shell

Writes files, executes local shell processes, or programmatically drives Claude.

Runs shell commandsDrives ClaudeReads filesReads env varsReads mod stateDraws UI

Statically scanned from hooks & source. Learn how to audit

Marco Migozzi37 starsAdded 3 months ago

trailhead

🇬🇧 English · 🇮🇹 Italiano

website npm license hosts commands guardrails

Your coding agent is brilliant at one ticket.
trailhead gives it the whole project.

Start and drive large projects as a map of tickets on GitHub Issues,
resolving one at a time until the way to the destination is clear.

Documentation · Getting started · Commands · Changelog


From a foggy idea, through a map of tickets on GitHub Issues, to a working app

🧭 The problem it solves

A real project doesn't fit in one agent session. Ask for "the whole app" and you get a confident guess; split it yourself and you become the project manager, the memory and the glue.

😵 Without trailhead🗺️ With trailhead
The agent guesses the big decisions and you find out three files later.Decisions are tickets: options laid out, then a grilling, one question at a time, until you choose.
The plan lives in a chat that ends, or in local notes nobody else sees.The plan lives on GitHub Issues: the map, the discussion, the plan and the verification, visible to the whole team.
Every session starts from zero: what was decided, what's left, what's next?The frontier says what's takeable now; /trailhead:work picks it up with all the context.
Two agents in one checkout overwrite each other.Assigning a ticket claims it, and each concurrent session gets its own worktree or clone.
"Done" means "it compiled".Done means verified: tests, adversarial review and acceptance before the ticket closes.

✨ What you get

🗺️ A map, not a list

A big idea becomes one map issue with a child ticket for each decision, research question and piece of work. What you can't phrase yet waits in the fog until earlier answers clear it.

⚙️ The right engine per ticket

A decision is grilled to a choice, research gathers a fact, a build is planned and built, a bug is reproduced before it's fixed.

🤖 Hand it a map, come back

/trailhead:auto works a map unattended, in up to four parallel slots, and leaves a report, the tickets that need you, and commits to push.

👥 Built for teams

Many people and agents share one frontier, one ticket each. Pause, resume or split a ticket, and run several maps side by side.

🎨 Mockups and acceptance

See the screen before it's coded, and close a feature only after it was tried the way a user would.

🛡️ Self-contained, with guardrails

Nothing else to install: trailhead ships its own engine agents and eleven guardrail hooks, on Claude Code and Codex CLI. It can also suggest an installable skill that fits the work, never installing one without your yes.


⚙️ How a ticket gets built

Every build ticket walks the same disciplined cycle, and every step is a comment on the ticket, so the reasoning stays next to the work.

Discuss, plan, execute, verify

🖥️ Live in Claude Code

The bundled mod puts the map beside the conversation: your tickets in progress, what needs you, and the frontier with a work button per ticket. A band above the prompt shows the ticket in play, and the session is named after it.

The map panel: open maps, in progress, needs you, the frontier with a work button per ticket, UAT, paused, blocked and the burn-down The pipeline band above the prompt and the trailhead status entry under it

📍 Always know where you are. The band shows the ticket in play and its step: discuss, plan, execute, verify.

▶️ One click to start. Each frontier ticket has a work button that clears the context and starts it.

📉 See it shrink. The burn-down tracks the open tickets from the first one to the destination.

🚀 Get started

You need an authenticated gh CLI and a GitHub repo. New to Git and GitHub? Start here.

# Claude Code plugin
/plugin marketplace add ToRvaLDz/trailhead
/plugin install trailhead@trailhead

# or with npm, for Claude Code or Codex CLI (Node 18+)
npx @marcomigozzi/trailhead

Then restart your agent and give it a destination:

/trailhead:new "a booking app for my climbing gym"   # chart a map from a loose idea
/trailhead:adopt                                     # or adopt an existing codebase
/trailhead:work                                      # work the next ticket on the frontier

On Codex the entry point is $trailhead. Every option is in Getting started.


📚 Learn more

🧠 Core concepts
maps, frontier, fog, anchors
🔄 Workflow
the lifecycle and a worked example
⌨️ Commands
all 24 verbs
👥 Working as a team
claiming, isolation, CI capture
🎨 Design mockups
see it before it's built
⚙️ Configuration
models, TDD, isolation

🙏 Acknowledgements

trailhead joins two ideas that each nail one half of the problem: a map of decisions to start a project, and a disciplined engine to build it. It is an original, self-contained methodology inspired by them. It does not copy or redistribute their code, and it invokes none of their skills; it reimplements the ideas as its own inline protocols:

  • Matt Pocock: for Wayfinder, whose map / frontier / fog-of-war model is the backbone of trailhead's planning half, and whose grilling, domain-modeling, prototype, research, and tdd skills shaped trailhead's inline techniques. See mattpocock/skills.
  • The open-gsd team: for GSD, whose discuss → plan → execute → verify cycle, capture model, codebase mapping, and systematic debugging are the engine of trailhead's building half.

Thank you. If you like the ideas here, go star and use the originals: they go far deeper than trailhead's compact protocols.


MIT © Marco Migozzi (@ToRvaLDz) · trailhead.marcomigozzi.it

Details

Author
@ToRvaLDz
GitHub Stars
37
Sub-category
Interface
License
MIT
Surfaces
terminal
Added
3 months ago
Last synced
today
Events hooked
session.startturn.completesession.endclassic.SessionStarttool.callcommand.runui.rendersession.attachui.closeprompt.compose

Weekly Mods Digest

Top new Claude Code mods and install commands, once a week. No fluff, unsubscribe anytime.

More Mods

Claude Flightdeck
ModsSecurity

Claude Flightdeck

Live agent dashboard pane with context consumption, advisor timeline, permission verdicts, and subagent swimlanes.

Reads Files
by Sam Casella
GitHub
ModsInterface

Terminal Browser

Browse documentation, GitHub pull requests, and web pages in a split terminal pane directly beside your Claude Code conversation.

Network
by Zenbu Labs
GitHub
Agent Flow
ModsAutomation

Agent Flow

Interactive visual tree of the active session's subagents, background tasks, and teammates beside the transcript via /flow.

UI Only
by Charlie
GitHub

Command Palette

Search for a command to run...