guide

An interactive tutorial that teaches a careful way to handle complex coding tasks by using a real project. It guides you through research, planning, implementation, and review checkpoints.

In plain words
What is it for?
Use it to practise or demonstrate a structured approach to fixing a bug, adding a feature, or refactoring code during one coding session.
Why use it?
It helps you learn the process by doing useful work, instead of reading an explanation before you have seen how the process works.

Command

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 commands/justinjdev/fellowship/guide
Clone the repo
git clone --depth 1 https://github.com/justinjdev/fellowship
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,331 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.00027 $0.01331
Opus 5 $0.00014 $0.00665
Sonnet 5 $0.00005 $0.00266
Haiku 4.5 $0.00003 $0.00133

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

Security

Grade A, and why

guide 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 yesterday.

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.

plugin/commands/guide.md · 144 lines

How it starts

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

Fellowship Guide — Learn by Doing

Overview

This guide teaches fellowship by running a real task on the user's codebase. It does NOT explain concepts upfront — it demonstrates them, then names them afterward.

Do not mention gates, lembas, tome, worktree, balrog, warden, council, palantir, herald, eagles, errands, companies, or scouts until Act 3 (Graduation). Use plain language throughout Acts 1–2.

Act 1: Pitch

Present this to the user:

Fellowship helps Claude work through complex tasks more carefully — researching before planning, planning before coding. Each step has a checkpoint where you review the work before moving on.

Let's try it on something real in your codebase.

Then ask using AskUserQuestion:

What would you like to work on?

Pick something real — a bug to fix, a feature to add, or a refactor to do. It should be non-trivial (more than a one-line change) but completable in a single session.

Wait for their response. This is the task description used for the rest of the guide.

Act 2: Guided Quest

Setup

  1. Determine the current branch: git branch --show-current
  2. Create a new branch: git checkout -b guide/<slug> where <slug> is a short kebab-case summary of the task (e.g., guide/fix-auth-redirect)
  3. Read the project's CLAUDE.md (if it exists) to understand conventions and reference files. Do not present this to the user — absorb it silently.

Stage 1: Research

Goal: Understand the relevant parts of the codebase before making a plan.

  1. Use the Explore agent (Agent tool with subagent_type=Explore, passing model: "haiku" — or models.explore from fellowship config if set) to find files related to the task. Focus on:
    • Files that will likely need modification
    • Files that define patterns to follow
    • Test files for the affected area
    • Types, configs, or dependencies that constrain the work
  2. If CLAUDE.md lists reference files for the relevant area, read them and note the patterns (naming, error handling, structure, data flow). Do not present the raw pattern analysis — internalize it.
  3. Present a structured research summary to the user:

Read the full file on GitHub · 144 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. yesterday First seen · 144 lines · 27 tokens per session scan A ad0f5511a071

Subscribe to this mod's changes

guide is a command published in the GitHub repository justinjdev/fellowship (5 stars, last pushed 18d ago), licensed Apache-2.0. It adds 27 tokens to every session and 1,331 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.

Related

Other commands, from other repositories