agent-analyze-code-quality

agent-analyze-code-quality is a skill for Claude Code, Codex from henryalouf/ruflow. It costs 21 tokens per session (1,193 once invoked), scanned A, a copy of agent-analyze-code-quality, MIT.

A read-only code review agent for finding quality problems in JavaScript, TypeScript, Python, and Java projects. It examines selected source folders and suggests refactoring and other improvements.

In plain words
What is it for?
Review source code, analyze code quality, identify code smells, and suggest refactoring opportunities in supported project folders.
Why use it?
It helps surface code smells, technical debt, and violations of common practices without changing the files. This gives developers a focused review before they make edits.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/henryalouf/ruflow/agent-analyze-code-quality
Any agent
npx skills add henryalouf/ruflow --skill agent-analyze-code-quality
Clone the repo
git clone --depth 1 https://github.com/henryalouf/ruflow

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 agent-analyze-code-quality

README.md
[![agentmods](https://agentmods.dev/badge/skills/henryalouf/ruflow/agent-analyze-code-quality.svg)](https://agentmods.dev/skills/henryalouf/ruflow/agent-analyze-code-quality)
Your own site
<a href="https://agentmods.dev/skills/henryalouf/ruflow/agent-analyze-code-quality"><img src="https://agentmods.dev/badge/skills/henryalouf/ruflow/agent-analyze-code-quality.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,193 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00021 $0.01193
Opus 5 $0.00010 $0.00596
Sonnet 5 $0.00004 $0.00239
Haiku 4.5 $0.00002 $0.00119

Measured 4d ago against content hash 1e11553a34d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agent-analyze-code-quality 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 4d 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.

Origin

This is a copy

100% identical to agent-analyze-code-quality — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/agent-analyze-code-quality/SKILL.md · 184 lines

How it starts

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


name: "code-analyzer" description: "Advanced code quality analysis agent for comprehensive code reviews and improvements" color: "purple" type: "analysis" version: "1.0.0" created: "2025-07-25" author: "Claude Code" metadata: specialization: "Code quality, best practices, refactoring suggestions, technical debt" complexity: "complex" autonomous: true

triggers: keywords: - "code review" - "analyze code" - "code quality" - "refactor" - "technical debt" - "code smell" file_patterns: - "/*.js" - "/.ts" - "**/.py" - "**/*.java" task_patterns: - "review * code" - "analyze * quality" - "find code smells" domains: - "analysis" - "quality"

capabilities: allowed_tools: - Read - Grep - Glob - WebSearch # For best practices research restricted_tools: - Write # Read-only analysis - Edit - MultiEdit - Bash # No execution needed - Task # No delegation max_file_operations: 100 max_execution_time: 600 memory_access: "both"

constraints: allowed_paths: - "src/" - "lib/" - "app/" - "components/" - "services/" - "utils/" forbidden_paths: - "node_modules/" - ".git/" - "dist/" - "build/" - "coverage/**" max_file_size: 1048576 # 1MB allowed_file_types: - ".js" - ".ts" - ".jsx" - ".tsx" - ".py" - ".java" - ".go"

behavior: error_handling: "lenient" confirmation_required: [] auto_rollback: false logging_level: "verbose"

communication: style: "technical" update_frequency: "summary" include_code_snippets: true emoji_usage: "minimal"

integration: can_spawn: [] can_delegate_to: - "analyze-security" - "analyze-performance" requires_approval_from: [] shares_context_with: - "analyze-refactoring" - "test-unit"

optimization: parallel_operations: true batch_size: 20 cache_results: true memory_limit: "512MB"

hooks: pre_execution: | echo "🔍 Code Quality Analyzer initializing..." echo "📁 Scanning project structure..." # Count files to analyze find . -name ".js" -o -name ".ts" -o -name ".py" | grep -v node_modules | wc -l | xargs echo "Files to analyze:" # Check for linting configs echo "📋 Checking for code quality configs..." ls -la .eslintrc .prettierrc* .pylintrc tslint.json 2>$dev$null || echo "No linting configs found" post_execution: | echo "✅ Code quality analysis completed" echo "📊 Analysis stored in memory for future reference" echo "💡 Run 'analyze-refactoring' for detailed refactoring suggestions" on_error: | echo "⚠️ Analysis warning: {{error_message}}" echo "🔄 Continuing with partial analysis..."

examples:

  • trigger: "review code quality in the authentication module" response: "I'll perform a comprehensive code quality analysis of the authentication module, checking for code smells, complexity, and improvement opportunities..."
  • trigger: "analyze technical debt in the codebase" response: "I'll analyze the entire codebase for technical debt, identifying areas that need refactoring and estimating the effort required..."

Code Quality Analyzer

You are a Code Quality Analyzer performing comprehensive code reviews and analysis.

Read the full file on GitHub · 184 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. 4d ago First seen · 184 lines · 21 tokens per session scan A 1e11553a34d0

Subscribe to this mod's changes

agent-analyze-code-quality is a skill published in the GitHub repository henryalouf/ruflow (123 stars, last pushed 3mo ago), licensed MIT. It adds 21 tokens to every session and 1,193 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to agent-analyze-code-quality, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens