Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By hyhmrrightv0.7.0MITIn 1 marketplace
Finds logic bugs and traces real failures to their root cause before you change code. The optional Python CLI reviews repositories through an authenticated Codex CLI; the skills also work as plain Markdown.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Logic-first bug investigation for coding assistants: establish behavioral contracts, follow real callers and dependencies, trace failure paths, and report reproducible violations with evidence.
The core is tool-neutral Markdown, with an optional Python CLI for reviews, portable packaging and evaluations. Codex is the default tested execution backend. Other coding tools can read the same skill pack or use a command adapter. No Claude account, CLI, plugin cache, vendor SDK or npm dependencies are required.
Prerequisites for CLI execution: Python 3.11+, Git and an authenticated Codex CLI. For manual use in an editor/assistant, only the exported Markdown pack is needed.
git clone https://github.com/hyhmrright/logic-lens.git
cd logic-lens
python3 scripts/logic_lens.py bundle --pack --out /tmp/logic-lens-pack
Add /tmp/logic-lens-pack/LOGIC-LENS.md and its directory to your coding assistant's
context, or attach one compiled prompt from prompts/ alongside the code.
Check local capabilities with python3 scripts/logic_lens.py doctor (no model call).
To run a read-only repository review with Codex:
printf '%s\n' 'Review src/service.py for behavioral bugs and investigate its dependencies.' > /tmp/request.txt
python3 scripts/logic_lens.py review --workspace /path/to/project \
--prompt /tmp/request.txt --out /tmp/logic-review-run --model gpt-6.1-sol
The result contains report.md, raw execution events and usage metadata. The runner
reviews an isolated source copy with a read-only policy. It does not edit your checkout.
Model and effort are explicit options; --provider command --adapter adapter.json
connects other CLIs. See tool compatibility for the
protocol, portable use in editors, and the distinction between exported instructions
and tested native integrations.
| Skill | Input and purpose |
|---|---|
logic-review | File/function target; investigate contracts, dependencies and behavioral bugs |
logic-explain | Specific entry/input; explain its actual execution path |
logic-diff | Two versions; check observable behavioral equivalence |
logic-locate | Confirmed failure; trace backward to the root cause and forward to confirm |
logic-health | Module/repository scope; summarize scoped logic risks |
logic-fix-all | Authorized audit/fix/verify pipeline in a write-capable host |
Example: --skill locate, --skill diff, or --skill health. The read-only runner
refuses fix-all; use its exported skill in a host with appropriate edit capabilities.
Optional native host metadata remains in .codex-plugin/, gemini-extension.json
and legacy plugin files. Native activation varies by host; a loaded prompt or report
field alone does not prove a skill was followed.
The default skills retain the existing semi-formal tracing workflow. Experimental repository-context discovery and compact review candidates remain in draft PR #16; they are not installed by this branch. Frozen benchmark instructions describe the versions actually evaluated, independently of the current default skill files.
Every confirmed finding follows the Iron Law:
Premises → Trace → Divergence → Trigger → Remedy
Critical/Warning findings describe concrete expected/actual consequences, a triggering input or sequence, a minimal remedy and an honest verification status. Runtime evidence must exercise the real behavior in dispute; static evidence and blocked experiments are labeled separately. Unresolved leads are not confirmed bugs or automatic fixes.
| Code | Risk |
|---|---|
| L1 | Shadow/name override |
| L2 | Type contract breach |
| L3 | Boundary blindspot |
| L4 | State mutation violating an actual contract |
| L5 | Control-flow escape skipping required work |
| L6 | Caller/callee contract mismatch |
| L7 | Concurrency/async hazard |
| L8 | Resource lifecycle hazard |
| L9 | Time/locale/encoding hazard |
Definitions live in skills/_shared/logic-risks.md.
.logic-lens.yaml may customize focus, severity and project-specific Cx risks;
see the shared framework. A high score describes the
inspected slice and confirmed findings, not whole-project correctness or shipping safety.
The repository includes 104 synthetic content cases, description-routing cases, real-code probes, and a 20-pair historical repository discovery development corpus. Discovery compares plain model / prior skill / candidate skill with the same provider, model, tools, budget and source snapshots. Root-cause adjudication and false positives are separate from report-format compliance.
7-day copy clicks
npx claudepluginhub hyhmrright/logic-lens --plugin logic-lensBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground