Critic Logic — Security agent for Claude Code
Review code for logic bugs, unhandled edge cases, happy-path assumptions, input-validation gaps, and error-handling holes.
How to install Critic Logic
Installs to ~/.claude/agents/matrixfounder-agentic-development-critic-logic.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/MatrixFounder/Agentic-development/HEAD/.claude/agents/critic-logic.md -o ~/.claude/agents/matrixfounder-agentic-development-critic-logic.md Restart Claude Code, or start a new session, for it to be picked up.
What Critic Logic does
name: critic-logic description: Review code for logic bugs, unhandled edge cases, happy-path assumptions, input-validation gaps, and error-handling holes. Spawn in parallel with critic-security and critic-performance during /vdd-multi. tools: Read, Grep, Glob
model pin: opus = cost/latency choice for routine critic passes (fable exists above opus — see skill-parallel-orchestration/
references/claude-code.md §Model-pin hygiene); CLAUDE_CODE_SUBAGENT_MODEL env, if set, silently overrides t
Alternatives in Security
- Security Sast — Static Application Security Testing (SAST) for comprehensive code vulnerability detection across mul 31.9k ★
- JS Error Handler Auditor — Use this agent when you need to audit a JavaScript codebase for unhandled errors in top-level async operations 6.1k ★
- Security Code Reviewer — Use this agent when you need to review code for security vulnerabilities, input validation issues, or authenti 2.8k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Adversary
Pre-implementation red-team analysis. Challenges plans BEFORE code is written — edge cases, security holes, sc
Critic Performance
Review code for N+1 queries, O(n²)+ algorithmic traps, memory leaks, blocking I/O in async, missing pooling, a
Correctness Reviewer
Reviews code changes for logic errors, race conditions, security vulnerabilities, and edge cases. Use when per
Review Boss
Use PROACTIVELY as the final QA gate before any Forge task is reported done — reviews the finished work agains
Gan Reviewer Independent
Independent code reviewer that judges a sprint's committed diff cold, with fresh context and no sight of the s
Lens QA
QA lens of the production readiness audit. Judges what is untested and what that costs - critical-path coverag
Related Skills
Ac Validation
Review Acceptance Criteria for one or more user stories against completeness and quality standards. Checks hap
Wp Dev Learn
Extract learnings from the current session and update wp-dev-skills skill files — captures corrections, new ru
Create Docs
by jerseycheese - Analyzes code structure and purpose to create comprehensive documentation detailing inputs/o