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/runnithan/claudex-setup/extract-lessonsgit clone --depth 1 https://github.com/runnithan/claudex-setupWhat 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.00029 | $0.05256 |
| Opus 5 | $0.00015 | $0.02628 |
| Sonnet 5 | $0.00006 | $0.01051 |
| Haiku 4.5 | $0.00003 | $0.00526 |
Grade A, and why
extract-lessons 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 235 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Extract Lessons
Mine reusable agent-tooling lessons from locally saved practitioner transcripts and file each one into the lessons/ library as its own markdown file, keeping lessons/INDEX.md and the processed-transcript ledger in sync. Newer lessons supersede older contradicting ones on the same topic.
A "lesson" is a concrete, transferable improvement to how someone uses the agent tooling this repo tracks, Claude Code, Claude Design, or Codex: a command, flag, hook, skill pattern, workflow, config, design-surface technique, or gotcha that a reader could apply. Marketing claims, hype, product announcements without a usable technique, and generic AI-coding platitudes are NOT lessons.
Scope covers all three tools, do not silently drop two of them. This command was Claude-Code-only until 2026-07-17, and the omission was self-confirming: Claude Design and Codex transcripts were marked processed while yielding ~0 lessons, so
/optimise --designand--codexkept concluding "no relevant lessons exist" when the truth was that nobody had ever looked. A 28k-word Claude Design course and a 1-hour Codex course both extracted zero. If a transcript teaches real Claude Design or Codex technique, that is in scope and must be filed underdesignorcodex. A zero-lesson result for a technique-dense transcript is a red flag to re-read it, not a valid outcome.
Arguments
$ARGUMENTS:
- empty or
new(default): process only transcripts not yet inlessons/.processed.json all: reprocess every transcript (rare, only when the extraction criteria change). The criteria changed on 2026-07-17 (scope widened to Claude Design + Codex), so every transcript ledgered before that date was mined against Claude-Code-only criteria and its.processed.jsonentry is not evidence that its design or Codex content was ever considered. Re-run withallover the design/Codex-heavy scopes to backfill.- a path or glob (e.g.
transcripts/ray-amjad/): process just that scope, minus already-processed (unlessallis also passed)
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.
- 3d ago First seen · 235 lines · 29 tokens per session scan A 3db34034dc4a
extract-lessons is a command published in the GitHub repository runnithan/claudex-setup (1 stars, last pushed 3d ago), licensed MIT. It adds 29 tokens to every session and 5,256 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.
Other commands, from other repositories
template
Manage issue templates for streamlined issue creation.
cross-validate
Take a specific scientific claim and confirm or refute it across 3+ independent databases, then report concordance. Use before publishing, citing, or acting on a fact when you want to know how strongly it's supported. Forces multi-source verification that the agent doesn't naturally enforce.
translate-id
Resolve an identifier across all relevant namespaces (HGNC symbol, Ensembl, UniProt, NCBI Gene ID, RefSeq, MGI, OMIM, ChEMBL, PubChem, etc.). Detects the input namespace automatically, picks the right resolver tool, and returns a complete cross-reference table. Use when you have an ID in one namespace and need it in…
fix
Universal debugging and fix application with semantic code analysis.
gsd:settings
Configure GSD workflow toggles and model profile.
t800-onboard
Для чата с новичками. Показывает, что настроено в Cursor (global + local), и что умеет отдел T-800.