Runs static analysis and spits out cyclomatic complexity, maintainability index, and duplicate code metrics. The iron laws are unusually strict: never set complexity thresholds above 20, always analyze project-wide before drilling into files, and always focus on high-complexity files that also change frequently. It enforces a process of weekly tracking rather than one-off scans, which is the right call since technical debt accumulates silently. The real value is the combination of metrics with mandatory next steps. Every hotspot requires a specific refactoring suggestion, not just a number. Works best with code-reviewer and refactoring-specialist agents, and the memory protocol assumes you'll be interrupted mid-analysis.

skills.sh installs
138
GitHub stars
45
last updated
Aug 21, 2026

Install

$ npx -y skills add oimiragieo/agent-studio --skill code-analyzer --agent claude-code

Installs into .claude/skills of the current project.

Files

Code Analyzer Skill

Installation

No separate download: the skill runs the in-repo tool .claude/tools/analysis/project-analyzer/analyzer.mjs.

  • Ensure Node.js (v18+) is installed: nodejs.org or winget install OpenJS.NodeJS.LTS (Windows), brew install node (macOS).
  • From the project root, the script is invoked automatically; no extra install steps.

Cheat Sheet & Best Practices

Metrics: Focus on cyclomatic complexity (decision paths), LOC, maintainability index, and duplicate blocks. Use ESLint complexity rule (e.g. "complexity": ["error", 15]) for JS/TS; optional chaining and default params add branches.

Process: Analyze before refactoring; run project-wide then drill into hotspots. Track trends over time (not one-off). Use max-depth, max-lines, max-nested-callbacks, max-params, max-statements alongside complexity.

Hacks: Start with project-analyzer output; filter by file type and threshold. Prioritize files with high complexity and high churn. Disable complexity rule only if you cannot set a sensible limit; prefer lowering the threshold over disabling.

Certifications & Training

Sponsors

Details

Repository
github.com/oimiragieo/agent-studio
Category
AI & Agent Building
First seen
Jun 3, 2026

More from oimiragieo/agent-studio

All 9
1danielmiessler avatarRedTeamdanielmiessler/personal_ai_infrastructureredteam137skills.sh installs
2fanthus avataropenclaw-expertfanthus/agent-skillsOpenClaw learning expert that retrieves and synthesizes information from official documentation (https://docs.openclaw.ai) and GitHub repository (https://github137skills.sh installs
3itsmostafa avatarec2itsmostafa/aws-agent-skills>136skills.sh installs
4buiducnhat avataras-fixbuiducnhat/agent-skillsas fix135skills.sh installs
5hoodini avatarrailwayhoodini/ai-agents-skillsDeploy applications on Railway platform. Use when deploying containerized apps, setting up databases, configuring private networking, or managing Railway projec135skills.sh installs
6lubusin avatarfrappe-app-developmentlubusin/agent-skillsfrappe app development135skills.sh installs