trailhead-capture

trailhead-capture is a skill for Claude Code from ToRvaLDz/trailhead. It costs 117 tokens per session (649 once invoked), scanned A, original, MIT.

A group of Trailhead commands for quickly recording bugs, tasks, ideas, triggers, and notes as GitHub Issues. GitHub Issues are records used to track work in a repository.

In plain words
What is it for?
Use it to create bug, todo, idea, seed, or note records in the project's GitHub-based tracking system.
Why use it?
It lets you capture work while you are doing it instead of interrupting your flow to organize it later.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions Claude Code.

Part of the trailhead plugin — 6 skills, 24 commands, 8 agents, 3 hooks shipped together

Good fit Use it to create bug, todo, idea, seed, or note records in the project's GitHub-based tracking system.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/torvaldz/trailhead/trailhead-capture
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ToRvaLDz/trailhead --skill trailhead-capture
Clone the repo
git clone --depth 1 https://github.com/ToRvaLDz/trailhead

Made for: Claude Code.

Or install trailhead, the plugin that ships this one along with the rest of its 6 skills, 24 commands, 8 agents, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for trailhead-capture

README.md
[![agentmods](https://agentmods.dev/badge/skills/torvaldz/trailhead/trailhead-capture/github.svg)](https://agentmods.dev/skills/torvaldz/trailhead/trailhead-capture)
Your own site
<a href="https://agentmods.dev/skills/torvaldz/trailhead/trailhead-capture"><img src="https://agentmods.dev/badge/skills/torvaldz/trailhead/trailhead-capture/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for trailhead-capture

Your own site · 80×15
<a href="https://agentmods.dev/skills/torvaldz/trailhead/trailhead-capture"><img src="https://agentmods.dev/badge/skills/torvaldz/trailhead/trailhead-capture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 649 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00117 $0.00649
Opus 5.5 $0.00047 $0.00260
Sonnet 5.5 $0.00023 $0.00130
Haiku 4.5 $0.00012 $0.00065

Measured 11d ago against content hash ba56a40e59df, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

trailhead-capture scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/trailhead/skills/trailhead-capture/SKILL.md · 23 lines

What it actually says

trailhead-capture is the capture cluster of the trailhead skill: the zero-friction captures that record work without breaking flow. bug captures a bug ticket; todo captures a small build ticket you will do now; idea captures a fog idea; seed captures a trigger-gated seed; note captures a verbatim note. Everything lives on the GitHub Issues; the repo holds code only.

Load first, in order

Before doing anything, load <skill base>/../_shared/load-first.md and follow it: the shared-core load contract (the six core files, in order, then the effective config). <skill base> is this skill's base directory (Claude Code prints it as Base directory for this skill: when the skill loads; on another host, the directory holding this SKILL.md): resolve the path to an absolute path and open it with the Read tool on that absolute path. Never cd into a skills directory and never read a relative path from the shell (a cd compound followed by a read is denied by the search guard). The same rule covers every later ../_shared/... or references/... path in this skill: resolve it against the base directory to an absolute path before reading. _shared/ is a sibling of this cluster's own directory (at ../_shared/), never a child of it; its absence from a listing of the cluster dir is expected, not a missing core.

A capture writes at most one issue; no isolation workspace is set up.

Routing: verb to engine

The first word of the arguments is the verb (bug, todo, idea, seed, or note); the rest is the text (or --of <ticket> <text> for bug).

  • bug / todo / idea / seed / note to references/capture.md: the full per-verb protocol and the note/idea/seed/todo spectrum. Read that file and follow it.

The cross-cluster situational references and technique bodies these captures call live in _shared/; this cluster names each by its ../_shared/... path where it needs one.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago Changed ba56a40e59df
  2. 1mo ago Changed · -7 lines d8566eec287d
  3. 1mo ago First seen · 30 lines · 117 tokens per session scan A 0aa86500fa1f

Subscribe to this mod's changes

trailhead-capture is a skill published in the GitHub repository ToRvaLDz/trailhead (30 stars, last pushed 2d ago), licensed MIT. It adds 117 tokens to every session and 649 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

plan

Use when operating as the Fabrik Plan stage agent. This skill guides the design of an implementation approach, producing a concrete plan with task checklist that the Implement stage will follow.

handarbeit/fabrik · 35 tokens

implement-comment

Use when operating as the Fabrik Implement comment reviewer. This skill guides applying user-requested code changes during implementation, committing and pushing, and updating the task checklist — without signaling stage completion.

handarbeit/fabrik · 38 tokens

fabrik-setup

Bootstrap a project to use Fabrik (the GitHub-Project-driven SDLC pipeline orchestrator that drives Claude Code workers through Specify/Research/Plan/Implement/Review/Validate stages). Use this skill when the user wants to install, set up, initialize, or get started with Fabrik for the first time — especially when…

handarbeit/fabrik · 142 tokens

specify

Use when operating as the Fabrik Specify stage agent. This skill guides the specification and clarification of a feature request, turning a rough backlog issue into a clear, unambiguous spec before technical research begins.

handarbeit/fabrik · 41 tokens

specify-comment

Use when operating as the Fabrik Specify comment reviewer. This skill guides incorporation of user answers into an evolving spec, removing resolved questions and surfacing follow-ups until the spec is complete.

handarbeit/fabrik · 37 tokens

plan-comment

Use when operating as the Fabrik Plan comment reviewer. This skill guides adjustments to the implementation plan in response to user feedback, updating the task checklist and approach decisions — producing updated plan content that the engine writes back to the Plan stage comment.

handarbeit/fabrik · 48 tokens