planning

A planning workflow that breaks a large software task into smaller Trekker work items before implementation begins.

In plain words
What is it for?
Use it for tasks with at least three steps, multiple files, dependencies, or work likely to continue in another session.
Why use it?
It makes multi-step work resumable, shows dependencies, and preserves progress when work spans files or sessions.

Skill for Claude CodeCodex

Part of the trekker plugin — 5 skills, 13 commands, 1 agent, 4 hooks shipped together

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.

agentmods
npx agentmods add skills/obsfx/trekker-claude-code/planning
Any agent
npx skills add obsfx/trekker-claude-code --skill planning
Clone the repo
git clone --depth 1 https://github.com/obsfx/trekker-claude-code

Made for: Claude Code, Codex.

Or install trekker, the plugin that ships this one along with the rest of its 5 skills, 13 commands, 1 agent, 4 hooks.

Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,153 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00016 $0.01153
Opus 5 $0.00008 $0.00576
Sonnet 5 $0.00003 $0.00231
Haiku 4.5 $0.00002 $0.00115

Measured 2d ago against content hash c20e59b9f310, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

planning 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 2d 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.

skills/planning/SKILL.md · 161 lines

How it starts

The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Planning with Trekker

Before starting any multi-step task, break it down in Trekker FIRST.

This ensures:

  • Work is tracked and resumable
  • Dependencies are explicit
  • Progress is visible across sessions
  • Context survives resets

When to Plan in Trekker

Use this workflow when:

  • Task has 3+ steps
  • Work spans multiple files
  • Implementation requires specific order
  • Task might take more than one session
  • User asks for a feature/fix that isn't trivial

Planning Workflow

Step 1: Search for Related Work

# ALWAYS search first - previous work may exist trekker search "<what you're about to do>"

Step 2: Create Epic (if substantial)

For features with multiple tasks:

trekker epic create -t "Feature: User Authentication" \
  -d "JWT-based auth with login, registration, and session management"

Step 3: Break Down into Tasks

Create atomic, completable tasks:

# Each task should be independently completable
trekker task create -t "Create User model with email/password" \
  -d "Define User schema with bcrypt password hashing" \
  -e EPIC-1 -p 1

trekker task create -t "Implement login endpoint" \
  -d "POST /api/auth/login - validate credentials, return JWT" \
  -e EPIC-1 -p 1

trekker task create -t "Implement registration endpoint" \
  -d "POST /api/auth/register - create user, hash password" \
  -e EPIC-1 -p 1

Step 4: Set Dependencies

Make execution order explicit:

# Login depends on User model
trekker dep add TREK-2 TREK-1

# Registration depends on User model
trekker dep add TREK-3 TREK-1

Step 5: Mirror to TodoWrite

After Trekker is set up, create matching todos:

TaskCreate for each Trekker task
Set blockedBy relationships matching Trekker deps

Task Quality Rules

Good Task Titles

BAD:  "Fix bug"
GOOD: "Fix null pointer in UserService.getById when user not found"

BAD:  "Add feature"
GOOD: "Add email validation to registration form"

Good Descriptions

Every task MUST answer:

  • What: Specific action to take
  • Why: Problem being solved
  • Where: Files/components involved

Read the full file on GitHub · 161 lines

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. 2d ago First seen · 161 lines · 16 tokens per session scan A c20e59b9f310

Subscribe to this mod's changes

planning is a skill published in the GitHub repository obsfx/trekker-claude-code (4 stars, last pushed 4mo ago), licensed MIT. It adds 16 tokens to every session and 1,153 once invoked, about $0.0001 per session on Opus 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.