Agent skill

Logic Lens

by sickn33 in sickn33/agentic-awesome-skills

AI-powered Claude Code skill that performs deep code review using formal logic and reasoning frameworks to detect bugs, anti-patterns, and security risks beyond what linters catch.

MITAuto-check passedDevelopment

Install Logic Lens

skills CLI
$ npx skills add sickn33/agentic-awesome-skills --skill logic-lens -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sickn33/agentic-awesome-skills logic-lens --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/logic-lens .claude/skills/logic-lens && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
logic-lens
GitHub stars
47k
Used in
1 other repo
Token cost
~1.3k tokens
SKILL.md length
474 words
Files
1
Skills in repo
1,493
Repo updated
First seen
Licence
MIT

At a glance

AI-powered Claude Code skill that performs deep code review using formal logic and reasoning frameworks to detect bugs, anti-patterns, and security risks beyond what linters catch.

  • Works in 5 steps: Parse code structure and build a mental… → Apply formal logic checks across 9 risk… → Trace execution paths for edge cases and… → …
  • Tasks that involve Linting and formatting
  • SKILL.md covers Overview, When to Use This Skill, How It Works and Installation, plus 7 more sections
  • Calls npx

What it does

Logic Lens is an agent skill from sickn33/agentic-awesome-skills. AI-powered Claude Code skill that performs deep code review using formal logic and reasoning frameworks to detect bugs, anti-patterns, and security risks beyond what linters catch.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Linting and formatting. The repository describes itself as: AAS Core is the local, agent-first control plane for complete catalog discovery, agent-owned selection, stack validation, and planning, backed by 2,400+ agentic skills. Includes… The licence is MIT.

When your agent uses it

  • Tasks that involve Linting and formatting

Example prompts

  • “/logic-lens”

Requirements

  • Node.js

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Parse code structure and build a mental model of data flow
  2. Apply formal logic checks across 9 risk categories
  3. Trace execution paths for edge cases and boundary conditions
  4. Identify security anti-patterns (injection, privilege escalation, data leakage)
  5. Report findings with severity levels and actionable fix suggestions

What it can do on your machine

Read from SKILL.md and the folder at commit 680176d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com
    • dev.to
    • docs.anthropic.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Logic Lens loads about 1.3k tokens when it runs. Until then it costs about 48 tokens; SKILL.md has 474 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~48
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sickn33/agentic-awesome-skills at commit 680176d, republished under its MIT licence (© sickn33). 474 words, ~1,293 tokens.

Download SKILL.mdSave it as .claude/skills/logic-lens/SKILL.md (or your agent's skills folder).
name
logic-lens
description
AI-powered Claude Code skill that performs deep code review using formal logic and reasoning frameworks to detect bugs, anti-patterns, and security risks beyond what linters catch.
category
development
risk
safe
source
community
source_repo
hyhmrright/logic-lens
source_type
community
license
MIT
license_source
https://github.com/hyhmrright/logic-lens/blob/main/LICENSE
date_added
2026-04-29
author
hyhmrright
tags
code-review, logic-analysis, debugging, security-review, claude-code

Logic Lens

Overview

Logic Lens is a Claude Code skill that performs deep, logic-driven code review using formal reasoning frameworks. Unlike traditional linters that check syntax and style, Logic Lens analyzes your code for logical errors, race conditions, security vulnerabilities, type mismatches, and algorithmic flaws that only appear when you reason through the code's behavior.

Powered by structured AI analysis, Logic Lens applies systematic logical inspection across 9 risk categories: null/undefined handling, type safety, concurrency, resource management, security injection, boundary conditions, algorithm correctness, state management, and API contract violations.

When to Use This Skill

  • Use when you want a thorough logic review before merging a PR
  • Use when a bug seems hard to find and standard linters aren't helping
  • Use when reviewing security-sensitive code paths (auth, payments, file access)
  • Use when refactoring complex business logic
  • Use when onboarding to a new codebase and need to understand risk areas

How It Works

Logic Lens uses Claude Code's reasoning capabilities to:

  1. Parse code structure and build a mental model of data flow
  2. Apply formal logic checks across 9 risk categories
  3. Trace execution paths for edge cases and boundary conditions
  4. Identify security anti-patterns (injection, privilege escalation, data leakage)
  5. Report findings with severity levels and actionable fix suggestions

Installation

bash
# Install via Claude Code plugin marketplace
# Search: "logic-lens" in Claude Code > Extensions

# Or install via NPX (Antigravity)
npx agentic-awesome-skills --claude
# Then invoke: @logic-lens

Examples

Example 1: Review a Single File
@logic-lens review src/auth/login.ts for security issues

Logic Lens output:

[CRITICAL] SQL Injection risk at line 42: user input concatenated into query string
[HIGH] Missing rate limiting on login attempts
[MEDIUM] Password comparison uses == instead of timing-safe comparison
[LOW] Error messages may leak valid usernames (user enumeration)
Example 2: Full Repository Scan
@logic-lens scan the entire codebase and prioritize by severity
Example 3: Pre-PR Review
@logic-lens review all files changed in this branch before I open a PR

The 9 Risk Categories

CategoryWhat It Checks
Null/UndefinedMissing null checks, optional chaining gaps
Type SafetyImplicit coercions, any-typed boundaries
ConcurrencyRace conditions, shared mutable state
Resource ManagementUnclosed handles, memory leaks
Security InjectionSQL/XSS/Command injection, path traversal
Boundary ConditionsOff-by-one errors, integer overflow
Algorithm CorrectnessWrong complexity, incorrect assumptions
State ManagementInconsistent state, missing rollbacks
API ContractsUndocumented side effects, broken interfaces
Show full SKILL.md (181 more words)Show less

Best Practices

  • Run @logic-lens on authentication and payment code before every release
  • Combine with @lint-and-validate for full coverage: style + logic
  • Review the CRITICAL and HIGH findings first; LOW findings can be deferred
  • Use @logic-lens on legacy code you are about to modify to understand risk surface

Benchmark Results

Logic Lens was tested against real-world codebases and caught issues missed by ESLint, TypeScript strict mode, and Snyk:

  • 47% of critical bugs found were invisible to linters
  • Race conditions detected in async code that static analysis missed
  • Security vulnerabilities identified before deployment in CI pipeline
  • @lint-and-validate — Complementary: run after logic-lens for style/syntax
  • @security-auditor — Specialized security-only deep scan
  • @debugging-strategies — Use when logic-lens findings need tracing

Additional Resources

Limitations

Use this skill only when the task clearly matches the scope described above (code review and logic analysis). Logic Lens provides AI-powered analysis and should be combined with human review for production-critical decisions. Do not treat the output as a substitute for environment-specific testing or security audits.

© sickn33, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/logic-lens of sickn33/agentic-awesome-skills.

Open the folder on GitHubat commit 680176d

Used in 1 other repository

We found 5 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in sickn33/agentic-awesome-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Logic Lens next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Logic Lens compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Logic Lens this skillsickn33/agentic-awesome-skills47k1 repos~1.3kAutomated safety check: PassMIT
Minimizing Ty Ecosystem Changesastral-sh/ruff50k—~4.6kAutomated safety check: PassMIT
Install Anti-Slop Oxlint Rulesdmmulroy/anti-slop5.3k—~2.2kAutomated safety check: PassMIT
Babysit PR To Pass CIsgl-project/sglang37k2 repos~3kAutomated safety check: PassApache-2.0
Rust Best Practicesfarm-fe/farm5.6k3 repos~1.1kAutomated safety check: PassMIT
Summarise Ecosystem Resultsastral-sh/ruff50k—~2.2kAutomated safety check: PassMIT

Similar skills

  • Official

    A skill your agent uses when a user says "minimize this ty ecosystem change", "reproduce this ecosystem result", "investigate a primer difference", "investigate a mypyprimer difference"…

    50k GitHub stars~4.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Installs, updates or migrates the vendored anti-slop Oxlint plugin in a repository, keeping local rule changes and the plugin's license and provenance files.

    5.3k GitHub stars~2.2k tokensUpdated 29 days ago
    DevelopmentAuto-check passed
  • Babysit PR To Pass CI

    sgl-project/sglang

    Start and persistently pursue a goal to babysit an SGLang pull request until selected GitHub Actions workflows pass on the latest PR head.

    37k GitHub starsUsed in 2 repos~3k tokens
    DevelopmentAuto-check passed
  • Guide for writing idiomatic Rust code based on Apollo GraphQL's best practices handbook.

    5.6k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Official

    A skill your agent uses when a user says "summarise ecosystem results", "summarize this ty ecosystem report", "what changed in this ecosystem run?", or asks to summarise or summarize ty ecosystem…

    50k GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Go Pedantry

    chromedp/chromedp

    This skill should be used when the user is writing Go code and needs guidance on Go-specific pedantry: error wrapping with fmt.Errorf and %w, interface design (accept interfaces return structs)…

    13k GitHub stars~3.7k tokensUpdated 3 days ago
    DevelopmentAuto-check passed

More from sickn33/agentic-awesome-skills

All 1,493 skills in this repo
  • Liuguang Banlan UI

    sickn33/agentic-awesome-skills

    Implements an interface in one of two named color modes, iridescent white or colorful black, from a parameterized starter that reports measured color intensity.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • User Thoughts Memory

    sickn33/agentic-awesome-skills

    Saves a user's project decisions, rules and preferences into a project-local mdbase so later sessions and other agents can recover the intent.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Using LWC Memory and Graphs

    sickn33/agentic-awesome-skills

    Keeps project decisions, research and verified results available across coding-agent sessions through LWC memory, a document Wiki graph and a CodeGraph code index.

    47k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Find Complementary Founders

    sickn33/agentic-awesome-skills

    Guides an agent through assessing its own owner for cofounder fit, publishing an approved profile, and ranking complementary profiles other agents published for their owners.

    47k GitHub starsUsed in 1 repo~4.8k tokens
    Auto-check passed
  • Whatsapp Cloud API

    sickn33/agentic-awesome-skills

    Integracao com WhatsApp Business Cloud API (Meta). An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 2 repos~4.5k tokens
    Auto-check passed
  • Cline Pilot

    sickn33/agentic-awesome-skills

    Acts as a proxy for the Cline CLI, dispatching coding tasks one at a time, monitoring runs by hard evidence, relaying decisions to you and learning per-project preferences.

    47k GitHub starsUsed in 1 repo~4.6k tokens
    Auto-check passed

Categories

Questions about Logic Lens

What does Logic Lens do?

AI-powered Claude Code skill that performs deep code review using formal logic and reasoning frameworks to detect bugs, anti-patterns, and security risks beyond what linters catch. Logic Lens is an agent skill from sickn33/agentic-awesome-skills. AI-powered Claude Code skill that performs deep code review using formal logic and reasoning frameworks to detect bugs, anti-patterns, and security risks beyond what linters catch.

When should I use Logic Lens?

Logic Lens fits situations like: tasks that involve Linting and formatting.

How do I install Logic Lens in Claude Code?

Run `npx skills add sickn33/agentic-awesome-skills --skill logic-lens -a claude-code`. Or copy the skill folder (skills/logic-lens in sickn33/agentic-awesome-skills) into .claude/skills/logic-lens in your project. Claude Code loads it when a task matches its description.

How do I install Logic Lens in Codex?

Run `npx skills add sickn33/agentic-awesome-skills --skill logic-lens -a codex`. Or copy the skill folder (skills/logic-lens in sickn33/agentic-awesome-skills) into .agents/skills/logic-lens in your project. Codex loads it when a task matches its description.

Can I use Logic Lens in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sickn33/agentic-awesome-skills --skill logic-lens -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/logic-lens, .gemini/skills/logic-lens, .github/skills/logic-lens and .opencode/skills/logic-lens in your project.

What does Logic Lens need to run?

Going by SKILL.md and its folder, Logic Lens needs the command-line tools its instructions call (npx). Our summary lists: Node.js.

Does Logic Lens access the network?

SKILL.md names 3 domains. As links in the text: github.com, dev.to and docs.anthropic.com. This is read from the text; nothing was executed.

Is Logic Lens safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Logic Lens use?

Logic Lens is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Logic Lens use?

About 1.3k tokens (SKILL.md is roughly 5.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Logic Lens?

Skills that share tags, products or a category with Logic Lens: Minimizing Ty Ecosystem Changes (astral-sh/ruff, 50k stars), Install Anti-Slop Oxlint Rules (dmmulroy/anti-slop, 5.3k stars), Babysit PR To Pass CI (sgl-project/sglang, 37k stars) and Rust Best Practices (farm-fe/farm, 5.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Logic Lens?

sickn33 (a GitHub user) maintains it in sickn33/agentic-awesome-skills, which has 47,379 GitHub stars. The repository holds 1,493 skills in this directory. The repository was last updated on October 9, 2026.

Source: sickn33/agentic-awesome-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.