logic-lens

logic-lens is a plugin for Gemini CLI from hyhmrright/logic-lens. Its token cost is not measured, scanned A, original, MIT.

A code-review add-on that traces how code behaves across conditions, types, boundaries, and calls between functions. It looks for logic errors that can exist even when code is syntactically valid.

In plain words
What is it for?
Use it to review changes, locate likely logic problems, explain findings, compare behavior between versions, and identify broader issues across a codebase.
Why use it?
It helps find behavior and contract mistakes that ordinary syntax checks may not reveal, including edge cases and mismatched assumptions between functions.

Plugin for Gemini CLI

Written for Gemini CLI: a Gemini CLI extension manifest. Also seen: mentions Gemini CLI.

Good fit Use it to review changes, locate likely logic problems, explain findings, compare behavior between versions, and identify broader issues across a codebase.

Compare 6 plugins from other repositories ↓
Install with agentmods
npx agentmods add plugins/hyhmrright/logic-lens/gemini-extension
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/hyhmrright/logic-lens

Made for: Gemini CLI.

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-lens

README.md
[![agentmods](https://agentmods.dev/badge/plugins/hyhmrright/logic-lens/gemini-extension/github.svg)](https://agentmods.dev/plugins/hyhmrright/logic-lens/gemini-extension)
Your own site
<a href="https://agentmods.dev/plugins/hyhmrright/logic-lens/gemini-extension"><img src="https://agentmods.dev/badge/plugins/hyhmrright/logic-lens/gemini-extension/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-lens

Your own site · 80×15
<a href="https://agentmods.dev/plugins/hyhmrright/logic-lens/gemini-extension"><img src="https://agentmods.dev/badge/plugins/hyhmrright/logic-lens/gemini-extension.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
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.
Security

Grade A, and why

logic-lens 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 15d ago.

The scan reads gemini-extension.json. This mod also ships 7 executable files (scripts/_defaults.sh, scripts/bump-version.py, scripts/grade-iteration.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

gemini-extension.json · 78 lines

How it starts

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

{
  "name": "logic-lens",
  "version": "0.6.10",
  "description": "Logic-first code review using semi-formal execution tracing. Surfaces behavioral bugs, type contract breaches, boundary blindspots, and interprocedural semantic mismatches — the logic errors that cause production incidents in syntax-clean code.",
  "author": "hyhmrright",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/hyhmrright/logic-lens.git"
  },
  "homepage": "https://github.com/hyhmrright/logic-lens",
  "keywords": ["logic", "code-review", "bug-detection", "execution-tracing", "static-analysis"],
  "contextFileName": "GEMINI.md",
  "engines": {
    "gemini": ">=0.30.0"
  },
  "contribution": {
    "skills": [
      {
        "id": "logic-review",
        "path": "skills/logic-review"
      },
      {
        "id": "logic-explain",
        "path": "skills/logic-explain"
      },
      {
        "id": "logic-diff",
        "path": "skills/logic-diff"
      },
      {
        "id": "logic-locate",
        "path": "skills/logic-locate"
      },
      {
        "id": "logic-health",
        "path": "skills/logic-health"
      },
      {
        "id": "logic-fix-all",
        "path": "skills/logic-fix-all"
      }
    ],
    "commands": [
      {
        "id": "logic-review",
        "description": "Logic bug review via semi-formal execution tracing with L1–L9 risk taxonomy",
        "path": "commands/logic-review.md"
      },
      {
        "id": "logic-explain",
        "description": "Step-by-step execution path explanation for any function or code block",
        "path": "commands/logic-explain.md"
      },
      {
        "id": "logic-diff",
        "description": "Semantic equivalence check between two code versions to surface behavioral regressions",
        "path": "commands/logic-diff.md"
      },
      {
        "id": "logic-locate",
        "description": "Fault localization from a failing test or runtime error back to the root cause",
        "path

Read the full file on GitHub · 78 lines

Files

What ships with it

8 files beside gemini-extension.json in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 15d ago First seen · 78 lines scan A c6fda6f0d458

Subscribe to this mod's changes

logic-lens is a plugin published in the GitHub repository hyhmrright/logic-lens (24 stars, last pushed 15d ago), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. 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-10-01.

Related

Other plugins, from other repositories

brooks-lint

AI code reviews grounded in twelve classic engineering books — decay risk diagnostics with book citations, severity labels, and six analysis modes (PR review, architecture audit, tech debt, test quality, health dashboard, full-sweep auto-fix).

hyhmrright/brooks-lint · not measured

harness-engineering-skills

Two Claude Code engineering skills bundled as one plugin: review-loop (cross-LLM iterative code review with Codex or Gemini as peer) and harness (cybernetics-based Planner→Generator→Evaluator→Retro orchestration for complex tasks).

stone16/harness-engineering-skills · not measured

craftsman

Ship something with Lovable, Replit, Bolt, v0, Claude Code, or Codex and it works, but nobody with an engineering background has checked it. This is the engineering review you'd get from the technical co-founder you don't have. craft-audit checks the whole project across ten areas: UX, frontend, backend, database…

gul-labs/craftsman-marketplace · not measured

brooks-lint

AI code reviews grounded in twelve classic engineering books — decay risk diagnostics with book citations, severity labels, and six analysis modes (PR review, architecture audit, tech debt, test quality, health dashboard, full-sweep auto-fix).

hyhmrright/brooks-lint · not measured

graph-it-live

Dependency, call-graph, impact, and architecture analysis for codebases.

magic5644/Graph-It-Live · not measured

gerrit

An MCP server for interacting with the Gerrit code review system.

GerritCodeReview/gerrit-mcp-server · not measured