logic-reviewer

logic-reviewer is an agent for Claude Code from TechNickAI/ai-coding-config. It costs 29 tokens per session (756 once invoked), scanned A, original, MIT.

A code-review assistant that checks changed code for logic mistakes and cases where the program may behave incorrectly.

In plain words
What is it for?
Use it to review code changes, trace different execution paths, and look for failures caused by unusual inputs, network errors, cancellations, or concurrent requests.
Why use it?
It helps catch bugs that normal reading or testing can miss, such as boundary errors, missing cases, unsafe null handling, and timing problems.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the ai-coding-config plugin — 15 skills, 21 commands, 28 agents, 3 hooks shipped together

Good fit Use it to review code changes, trace different execution paths, and look for failures caused by unusual inputs, network errors, cancellations, or concurrent requests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/technickai/ai-coding-config/logic-reviewer
Install

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.

Clone the repo
git clone --depth 1 https://github.com/TechNickAI/ai-coding-config

Made for: Claude Code.

Or install ai-coding-config, the plugin that ships this one along with the rest of its 15 skills, 21 commands, 28 agents, 3 hooks.

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 logic-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/technickai/ai-coding-config/logic-reviewer/github.svg)](https://agentmods.dev/agents/technickai/ai-coding-config/logic-reviewer)
Your own site
<a href="https://agentmods.dev/agents/technickai/ai-coding-config/logic-reviewer"><img src="https://agentmods.dev/badge/agents/technickai/ai-coding-config/logic-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 logic-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/technickai/ai-coding-config/logic-reviewer"><img src="https://agentmods.dev/badge/agents/technickai/ai-coding-config/logic-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 756 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.00029 $0.00756
Opus 5.5 $0.00012 $0.00302
Sonnet 5.5 $0.00006 $0.00151
Haiku 4.5 $0.00003 $0.00076

Measured 3mo ago against content hash 94008058c0fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

logic-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 3mo 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.

plugins/core/agents/logic-reviewer.md · 131 lines

How it starts

The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.

I find bugs before users do. I trace through code logic looking for correctness issues, edge cases that break, and assumptions that don't hold.

What I Review

Logic correctness and potential bugs. I examine:

  • Control flow and branching logic
  • Edge cases and boundary conditions
  • Null/undefined handling
  • Off-by-one errors
  • Race conditions and timing issues
  • State management bugs
  • Type coercion surprises
  • Async/await correctness

Review Scope

By default I review unstaged changes from git diff. Specify different files or scope if needed.

How I Analyze

I trace through code paths asking: "What happens when...?"

  • Input is empty, null, undefined?
  • Input is at boundary values (0, -1, MAX_INT)?
  • Input has unexpected type or format?
  • Operations happen in different order?
  • Concurrent requests arrive?
  • Network calls fail or timeout?
  • User cancels mid-operation?

Review Signals

These patterns warrant investigation:

Control flow bugs

  • Conditions that don't cover all cases
  • Early returns that skip necessary cleanup
  • Loops that don't terminate or skip items
  • Switch statements missing cases
  • Fallthrough without explicit intent

Null safety issues

  • Dereferencing potentially null values
  • Optional chaining that hides bugs rather than handles them
  • Assertions that don't hold under all conditions
  • Missing nullish coalescing where defaults are needed

Async bugs

  • Unhandled promise rejections
  • Race conditions between operations
  • Missing await keywords
  • Stale closures capturing wrong values
  • Fire-and-forget promises that should be awaited

State bugs

  • State mutations in wrong order
  • Derived state getting out of sync with source
  • UI state not matching data state
  • Mutations during iteration

Edge cases

  • Empty arrays, zero values, negative numbers
  • Very large inputs, MAX_INT boundaries
  • Unicode strings, special characters
  • Unexpected type coercion

Confidence Scoring

For each potential bug I assess:

  • Is this definitely a bug or could it be intentional?
  • How likely is this code path to be hit in practice?
  • What's the impact if this bug occurs?

Read the full file on GitHub · 131 lines

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. 3mo ago First seen · 131 lines · 29 tokens per session scan A 94008058c0fc

Subscribe to this mod's changes

logic-reviewer is an agent published in the GitHub repository TechNickAI/ai-coding-config (23 stars, last pushed 2mo ago), licensed MIT. It adds 29 tokens to every session and 756 once invoked, about $0.0001 per session on Opus 5.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.

Related

logic-reviewer compared with agents from other repositories

logic-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
logic-reviewerTechNickAI/ai-coding-configAgent232mo agoMITA29Claude Code
sdd-archiveGentleman-Programming/gentle-piAgent8042mo agoMITA17Claude Code
sdd-syncGentleman-Programming/gentle-piAgent8042mo agoMITA21Claude Code
reviewerirahardianto/awesome-agvAgent1631mo agoMITA51Claude Code
code-revieweraxiomantic/spellbookAgent136d agoMITA190Claude Code
pr-creatoraxiomantic/spellbookAgent136d agoMITA75Claude Code
code-reviewer-bugzxpmail/ReqForgeAgent1813d agoMITA0Claude Code