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/thesmokedev/taskchad-os/code-reviewgit clone --depth 1 https://github.com/TheSmokeDev/taskchad-osWrote 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/thesmokedev/taskchad-os/code-review)<a href="https://agentmods.dev/commands/thesmokedev/taskchad-os/code-review"><img src="https://agentmods.dev/badge/commands/thesmokedev/taskchad-os/code-review.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.00012 | $0.00608 |
| Opus 5 | $0.00006 | $0.00304 |
| Sonnet 5 | $0.00002 | $0.00122 |
| Haiku 4.5 | $0.00001 | $0.00061 |
Grade A, and why
code-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 4d 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 — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Perform technical code review on recently changed files.
Core Principles
Review Philosophy:
- Simplicity is the ultimate sophistication - every line should justify its existence
- Code is read far more often than it's written - optimize for readability
- The best code is often the code you don't write
- Elegance emerges from clarity of intent and economy of expression
What to Review
Start by gathering codebase context to understand the codebase standards and patterns.
Start by examining:
- CLAUDE.md
- README.md
- Key files in the /core module
- Documented standards in the /docs directory
After you have a good understanding
Run these commands:
git status
git diff HEAD
git diff --stat HEAD
Then check the list of new files:
git ls-files --others --exclude-standard
Read each new file in its entirety. Read each changed file in its entirety (not just the diff) to understand full context.
For each changed file or new file, analyze for:
-
Logic Errors
- Off-by-one errors
- Incorrect conditionals
- Missing error handling
- Race conditions
-
Security Issues
- SQL injection vulnerabilities
- XSS vulnerabilities
- Insecure data handling
- Exposed secrets or API keys
-
Performance Problems
- N+1 queries
- Inefficient algorithms
- Memory leaks
- Unnecessary computations
-
Code Quality
- Violations of DRY principle
- Overly complex functions
- Poor naming
- Missing type hints/annotations
-
Adherence to Codebase Standards and Existing Patterns
- Adherence to standards documented in the /docs directory
- Linting, typing, and formatting standards
- Logging standards
- Testing standards
Verify Issues Are Real
- Run specific tests for issues found
- Confirm type errors are legitimate
- Validate security concerns with context
Output Format
Save a new file to .agents/code-reviews/[appropriate-name].md
Stats:
- Files Modified: 0
- Files Added: 0
- Files Deleted: 0
- New lines: 0
- Deleted lines: 0
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.
- 4d ago First seen · 113 lines · 12 tokens per session scan A 1cade728c78e
code-review is a command published in the GitHub repository TheSmokeDev/taskchad-os (23 stars, last pushed 12d ago), licensed MIT. It adds 12 tokens to every session and 608 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-30.
Other commands, from other repositories
tokenless-stats
Show Tokenless compression statistics.
graphify
Turn your vault into a clustered knowledge graph with HTML and JSON outputs.
music-suno-prompt
Grounded Suno prompt synthesis from local knowledge corpus + persona canon + label canon. No vibes-prompting.
scorecard
Run a repeatable weekly health check. Score Brain OS out of 100. Compare week-over-week.
value-propositions
Complete reference for managing the project's value propositions.
export-project
Export a single registered Gnosys project to a portable .json.gz bundle (round-trips with gnosys import project).