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/conradkoh/raggrep/reviewgit clone --depth 1 https://github.com/conradkoh/raggrepWhat 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.01464 |
| Opus 5 | $0.00000 | $0.00732 |
| Sonnet 5 | $0.00000 | $0.00293 |
| Haiku 4.5 | $0.00000 | $0.00146 |
Grade A, and why
review 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.
How it starts
The opening of the file, as written. The whole thing — 230 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Index Feature Review Checklist
Review checklist for new indexing features to ensure correctness, performance, and incremental update support.
Instructions
When adding a new index type (like literal index, reference index, etc.), run through this checklist to verify the implementation handles all edge cases correctly.
Pre-Flight Checks
Before reviewing the feature, ensure:
# Run all tests
bun test --timeout 180000
# Run TypeScript type check
bunx tsc --noEmit
Both must pass before proceeding with the review.
1. Index Invalidation & Staleness
File Modification
- When a file is modified, old index entries are removed before new ones are added
- Renamed identifiers (e.g.,
foo→bar) don't leave stale entries - Line number changes don't create duplicate entries with different chunk IDs
How to verify:
- Index a file with a function
testFunc - Rename
testFunctorenamedFunc - Re-index
- Search for
testFunc- should return NO results - Search for
renamedFunc- should return the function
File Deletion
- When a file is deleted, all its index entries are removed
- No orphaned entries remain in secondary indexes (literal, symbolic, etc.)
How to verify:
- Index a file with identifiers
- Delete the file from disk
- Run index again (or cleanup)
- Verify the index file JSON is gone
- Verify secondary index entries are removed
Chunk ID Stability
- Chunk IDs are deterministic (same content = same ID)
- Chunk IDs change appropriately when content changes
- Index correctly handles chunk ID changes on re-index
2. Incremental Updates
Efficiency
- Only modified files are re-indexed (not the entire codebase)
-
finalize()doesn't rebuild the entire index from scratch - Secondary indexes support incremental updates (add/remove individual entries)
How to verify:
- Index a large folder
- Modify ONE file
- Re-index with
--verbose - Verify only 1 file shows as indexed (others show as unchanged)
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.
- 2d ago First seen · 230 lines · 0 tokens per session scan A 17346aa6dcc3
review is a command published in the GitHub repository conradkoh/raggrep (22 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,464 tokens. 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-30.
Other commands, from other repositories
git
Git operations with intelligent commit messages and workflow optimization.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.