Friedman — Security agent for Claude Code
Code reviewer for mob programming tasks.
How to install Friedman
Installs to ~/.claude/agents/jason-witter-legion-friedman.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/jason-witter/Legion/HEAD/agents/friedman.md -o ~/.claude/agents/jason-witter-legion-friedman.md Restart Claude Code, or start a new session, for it to be picked up.
What Friedman does
name: friedman description: Code reviewer for mob programming tasks. Invoke after Lovelace has implemented changes. Friedman reviews staged code for correctness, security, style consistency, and alignment with the original design. Writes the review to the feature directory as the handoff to Lovelace (revision loop) or, in dual-pass mode, to Winterbotham. A single pass is the default; rules/scope-proportional-pipeline.md governs when a dual pass runs. For external PRs not produced by the mob,
Alternatives in Security
- Django Reviewer — Expert Django code reviewer specializing in ORM correctness, DRF patterns, migration safety, security misconfi 243.5k ★
- Patina Fidelity Auditor — Triggers to audit whether a patina rewrite preserved meaning versus the original text 352 ★
- Correctness Reviewer — Reviews code changes for logic errors, race conditions, security vulnerabilities, and edge cases 160 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Security Hardening Reviewer
Audit code changes against the project's documented security invariants (read CLAUDE.md §Security for the auth
Lead Consistency
Cross-unit consistency pass and deduction-matrix arbitration for an audit-style evaluation run. Runs ONCE per
Kotlin Code Reviewer
Kotlin/Java code review specialist. Invoke to review a Kotlin or Java diff, pull request, or code snippet for
Mp Alignment Auditor
Read-only, fresh-context audit of a merged masterplan plan against the ORIGINAL user request. Consumes goals.m
Ami Push Assistant
Pre-push quality, security, and git consistency orchestrator. Invoke whenever pushing code, performing git pus
Reviewer Lite
Use after fast/normal mode tasks (new pages, UI components, styling, simple endpoints, small changes, new modu
Related Skills
Prepr
Pre-PR readiness check. Reviews all changes on the current branch thoroughly — correctness, code quality, cons
Reviewer
Code review agent - critically reviews changes for quality, security, and correctness
Claude Devils Advocate
Claude Code slash command that simulates a multi-round code review between an Author and Reviewer before openi