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.
npx agentmods add commands/nmime/motiv-buy/examplesgit clone --depth 1 https://github.com/nmime/motiv-buyWrote 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.
[](https://agentmods.dev/commands/nmime/motiv-buy/examples)<a href="https://agentmods.dev/commands/nmime/motiv-buy/examples"><img src="https://agentmods.dev/badge/commands/nmime/motiv-buy/examples.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.02572 |
| Opus 5 | $0.00000 | $0.01286 |
| Sonnet 5 | $0.00000 | $0.00514 |
| Haiku 4.5 | $0.00000 | $0.00257 |
Grade A, and why
examples 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 today.
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.
This is a copy
100% identical to examples — 50 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 550 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pair Programming Examples
Real-world examples and scenarios for pair programming sessions.
Example 1: Feature Implementation
Scenario
Implementing a user authentication feature with JWT tokens.
Session Setup
claude-flow pair --start \
--mode switch \
--agent senior-dev \
--focus implement \
--verify \
--test
Session Flow
👥 Starting pair programming for authentication feature...
[DRIVER: You - 10 minutes]
/explain JWT authentication flow
> AI explains JWT concepts and best practices
/suggest implementation approach
> AI suggests using middleware pattern with refresh tokens
# You write the basic auth middleware structure
[SWITCH TO NAVIGATOR]
[NAVIGATOR: AI - 10 minutes]
/implement JWT token generation with refresh tokens
> AI generates secure token implementation
/test-gen
> AI creates comprehensive test suite
[SWITCH TO DRIVER]
[DRIVER: You - 10 minutes]
# You refine the implementation
/review --security
> AI performs security review, suggests improvements
/commit --message "feat: JWT authentication with refresh tokens"
✅ Truth Score: 0.98 - Committed successfully
Example 2: Bug Fixing Session
Scenario
Debugging a memory leak in a Node.js application.
Session Setup
claude-flow pair --start \
--mode navigator \
--agent debugger-expert \
--focus debug \
--trace
Session Flow
👥 Starting debugging session...
/status
> Analyzing application for memory issues...
/perf --profile
> Memory usage growing: 150MB → 450MB over 10 minutes
/find "new EventEmitter" --regex
> Found 3 instances of EventEmitter creation
/inspect eventEmitters --deep
> Discovering listeners not being removed
/suggest fix for memory leak
> AI suggests: "Add removeListener in cleanup functions"
/implement cleanup functions for all event emitters
> AI generates proper cleanup code
/test
> Memory stable at 150MB ✅
/commit --message "fix: memory leak in event emitters"
Example 3: Test-Driven Development
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.
- today First seen · 550 lines · 0 tokens per session scan A b1b9f123a0ff
examples is a command published in the GitHub repository nmime/motiv-buy (0 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,572 tokens. A static security scan graded it A with 0 findings. It is 100% identical to examples, differing in 50 lines, and is treated as a copy.
Other commands, from other repositories
teach-me
Interactive voice-narrated tutorial on the current conversation topic (or a named one) — ASCII diagrams, spoken lesson content, one question per beat, quizzes. Routes to the Teach skill's Teach workflow. USE WHEN /teach-me, teach me, tutorial, quiz me, learn mode. NOT FOR plain written explanations with no dialogue…
tm
Interactive voice-narrated tutorial on the current conversation topic (or a named one). Shortcut for the Teach skill's Teach workflow. USE WHEN /tm, teach me, tutorial, quiz me.
OPSX: Onboard
Guided onboarding - walk through a complete OpenSpec workflow cycle with narration.
start
Start the Test Drive experience and take a Salesforce capability for an end-to-end drive against a connected org. Checks readiness, helps connect or provision an org, presents the menu, then choreographs the build live. Pass a test-drive id to launch one directly, or --instrument to record a DX-friction session log.
gauntlet
Run an ad-hoc gauntlet challenge session (5 questions, random scope).
help
Show greatcto commands, key concepts, and admin board URL. Use when you don't remember a command or you are new to greatcto.