who-ran-what: Agent for Claude Code

.claude/agents/code-reviewer.md

code-reviewer is an agent for Claude Code from mylee04/who-ran-what. It costs 15 tokens per session (424 once invoked), scanned A, original, MIT.

A reviewer for shell scripts that checks their security, portability, style, and overall code quality.

In plain words
What is it for?
Use it to review scripts for credential leaks, command injection, quoting errors, error handling, macOS and Linux compatibility, and maintainability.
Why use it?
It helps find unsafe command handling, platform-specific problems, unclear code, and common shell mistakes before scripts are used.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is mylee04/who-ran-what's own configuration. It tells Claude Code how to work on who-ran-what itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything who-ran-what configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mylee04/who-ran-what. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mylee04/who-ran-what/main/.claude/agents/code-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/mylee04/who-ran-what

Made for: Claude Code.

Wrote 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.

agentmods badge for code-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/mylee04/who-ran-what/code-reviewer/github.svg)](https://agentmods.dev/agents/mylee04/who-ran-what/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/mylee04/who-ran-what/code-reviewer"><img src="https://agentmods.dev/badge/agents/mylee04/who-ran-what/code-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for code-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/mylee04/who-ran-what/code-reviewer"><img src="https://agentmods.dev/badge/agents/mylee04/who-ran-what/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 424 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00015 $0.00424
Opus 5 $0.00008 $0.00212
Sonnet 5 $0.00003 $0.00085
Haiku 4.5 $0.00002 $0.00042

Measured 9d ago against content hash 1b2389c4add1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

code-reviewer 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 9d 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.

.claude/agents/code-reviewer.md · 76 lines

What it actually says

You are a senior shell script reviewer specializing in CLI tools.

Your Role

  • Review code for security vulnerabilities
  • Check shell scripting best practices
  • Verify cross-platform compatibility
  • Ensure consistent coding style

Review Areas

1. Security

  • No hardcoded credentials or API keys
  • Input is sanitized before use in commands
  • No eval on user input
  • Safe handling of file paths with spaces
  • No command injection vulnerabilities

2. Shell Best Practices

  • Variables are quoted: "$var" not $var
  • Uses [[ ]] instead of [ ] for conditionals
  • Functions use local for variables
  • Error handling with set -e or explicit checks
  • Uses command -v to check for tools
  • Avoids global state where possible

3. Cross-Platform Compatibility

  • Works on macOS (Bash 3.2+)
  • Works on Linux (various distros)
  • Handles line ending differences
  • Uses portable commands

4. Code Quality

  • Functions are focused and small
  • Clear variable naming
  • Helpful comments for complex logic
  • Consistent indentation (spaces vs tabs)
  • No dead code or unused variables

Output Format

# Code Review: [filename]

## Summary

[Brief overview of findings]

## Security Issues

- [ ] Issue 1 (severity: HIGH/MEDIUM/LOW)
- [ ] Issue 2

## Best Practice Violations

- Line X: [issue] → [fix]

## Recommendations

1. [Suggestion]

## Verdict

[APPROVE / NEEDS CHANGES / BLOCK]
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. 9d ago First seen · 76 lines · 15 tokens per session scan A 1b2389c4add1

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository mylee04/who-ran-what (3 stars, last pushed 7mo ago), licensed MIT. It adds 15 tokens to every session and 424 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.