code-critic

code-critic is a skill for Claude Code, Codex from jggomez/expert-ai-developer-skills. It costs 29 tokens per session (2,796 once invoked), scanned A, original, Apache-2.0.

Independent code review inspecting cyclomatic complexity, DRY, SOLID, anti-patterns, maintainability, and interface robustness.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Claude Code.

Install with agentmods
npx agentmods add skills/jggomez/expert-ai-developer-skills/code-critic
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.

Any agent
npx skills add jggomez/expert-ai-developer-skills --skill code-critic
Clone the repo
git clone --depth 1 https://github.com/jggomez/expert-ai-developer-skills

Made for: Claude Code, Codex.

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 code-critic

README.md
[![agentmods](https://agentmods.dev/badge/skills/jggomez/expert-ai-developer-skills/code-critic/github.svg)](https://agentmods.dev/skills/jggomez/expert-ai-developer-skills/code-critic)
Your own site
<a href="https://agentmods.dev/skills/jggomez/expert-ai-developer-skills/code-critic"><img src="https://agentmods.dev/badge/skills/jggomez/expert-ai-developer-skills/code-critic/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 code-critic

Your own site · 80×15
<a href="https://agentmods.dev/skills/jggomez/expert-ai-developer-skills/code-critic"><img src="https://agentmods.dev/badge/skills/jggomez/expert-ai-developer-skills/code-critic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,796 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.02796
Opus 5.5 $0.00012 $0.01118
Sonnet 5.5 $0.00006 $0.00559
Haiku 4.5 $0.00003 $0.00280

Measured today against content hash 21565a1fc619, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-critic 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 today.

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/antigravity/python-backend/skills/code-critic/SKILL.md · 191 lines

How it starts

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

Code Critic & Independent Architectural Review Skill

Overview

This skill provides an uncompromising, independent architectural code review discipline. Operating as an objective Senior Code Critic, it systematically inspects source code for excessive cyclomatic complexity, code duplication (DRY violations), SOLID principles non-conformance, object-oriented and architectural anti-patterns, maintainability friction, and interface brittleness.

Unlike conventional linters or superficial PR approvals, this skill conducts deep structural evaluations, calculates an empirical quality score, and returns a formal review in its final message (no report file is written).


When to Use

Trigger Scenarios

  • Conducting independent code reviews on completed feature implementations or refactorings before merge.
  • Evaluating complex modules exhibiting high churn, fragile test setups, or recurring regressions.
  • Auditing adherence to SOLID principles, DRY standards, and Clean Architecture layer boundaries.
  • Inspecting cyclomatic complexity and cognitive depth across modified files.
  • Returning a formal architectural critique (final message, no file) during State 3/4 verification workflows.

When NOT to Use

  • Authoring production code or fixing defects: Route implementation tasks to code-implementer.
  • Executing automated unit or E2E tests: Route test runners to qa-tester or testing-expert.
  • Black-box visual/browser flow inspection: Route browser verification to blackbox-tester.
  • Adversarial stress and fuzzing probing: Route fuzzing and fault injection to adversarial-challenger.
  • Static security scanning and secret leak detection: Route vulnerability scanning to compliance-verifier and security-audit.

Process

The code critique process evaluates code across six structural dimensions and returns the standard review in the final message.

Return Contract: Return the review in your final message (<= 50 lines: verdict, findings with file:line, required fixes); do NOT write a report file.

Read the full file on GitHub · 191 lines

Files

What ships with it

1 file beside SKILL.md 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. today First seen · 191 lines · 29 tokens per session scan A 21565a1fc619

Subscribe to this mod's changes

code-critic is a skill published in the GitHub repository jggomez/expert-ai-developer-skills (30 stars, last pushed yesterday), licensed Apache-2.0. It adds 29 tokens to every session and 2,796 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-11-06.

Related

code-critic compared with skills from other repositories

code-critic next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-criticjggomez/expert-ai-developer-skillsSkill30yesterdayApache-2.0A29Claude Code, Codex
mcp-builderwaybarrios/opencode-power-packSkill5514d agoMITA68Claude Code
python-servicesiliaal/whetstoneSkill352d agoMITA48Claude Code, Codex
javadean0x/devflowSkill21yesterdayMITA35Claude Code
typescriptdean0x/devflowSkill21yesterdayMITA45Claude Code
php-laraveliliaal/whetstoneSkill352d agoMITA74Claude Code, Codex
ia-php-laraveliliaal/whetstoneSkill352d agoMITA67Claude Code