Cyclomatic Complexity Skill
cyclomatic-complexity-skill
A skill that lowers the cyclomatic complexity of AI-generated code. A Claude Code plugin or a .skill file from the releases
- 405 ★ on the repository
- Last commit
- Apache-2.0
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add skills/cyclomatic-complexity-skillDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewMinimal accessThe tool runs nothing and makes no network calls.
- The skill rewrites code and behavior may change
This is third-party code. Review the repository files before installing.
What it does
Cyclomatic Complexity Skill helps lower the cyclomatic complexity of AI-generated code: it breaks tangled functions into simple ones. Installation in Claude Code: `/plugin marketplace add saurabhkumar8112/cyclomatic-complexity-skill`, then `/plugin install cyclomatic-complexity@cyclomatic-complexity-skill`. For Claude there is also a `.skill` file in the Releases (Settings, Skills). Apache-2.0 license.
Who it is for. For developers who get overly tangled functions from an agent and want to simplify them without changing behavior.
Good fit when
- The agent writes functions with many branches
- You need to lower cyclomatic complexity
- You need a refactoring skill for Claude
Not a fit when
- You need a metrics analysis without refactoring
- You have no tests: refactoring without them endangers behavior
Example request
Find functions with high cyclomatic complexity in the module and split them into simple ones keeping the tests greenLimitations
The skill rewrites code and behavior may change: do it when tests exist and in a separate branch. Access is minimal.
How to disable. Remove the skill from the agent's folder or the plugin through the plugin manager.
FAQ
What does the skill do?
It lowers the cyclomatic complexity of AI-generated code.
How do I install it?
/plugin marketplace add saurabhkumar8112/cyclomatic-complexity-skill, then /plugin install cyclomatic-complexity@cyclomatic-complexity-skill.
Is there a file for Claude?
Yes, a .skill file in the Releases for the Settings Skills.
Discussion
No questions or reviews yet.
Related
SkillsClaude Code Skills and Agents
Claude Code Skills & Agents
A Claude Code plugin bundling skills and sub-agents: deep research, image generation, GitHub work, code review and model switching
A skill that speeds up Xcode builds: benchmarks clean and incremental builds, finds bottlenecks and tunes project settings
ClaudeKit Skills
ClaudeKit - Agent Skills
A plugin marketplace for Claude Code with a set of thirty-plus skills: frontend, backend, devops, databases, documents, debugging and MCP work
1C Developer Claude Skill
1C Developer — Claude Skill
A Claude skill for 1C:Enterprise 8.3 development: planning, BSL code and code review explained in Georgian
A Claude Code skill that delegates tasks to OpenAI's Codex CLI for code analysis, review and edits
Claude Code Skills (fork with 1C)
Claude Code Skills & Plugins
A fork of a large Claude Code skills library, with five added 1C:Enterprise skills: BSP coding standards, forms, HTTP services, reports and UNF structure
Comparison with similar tools
Entries that share the main search query, and how they differ.
| Entry | Official | Repository stars | Main difference |
|---|---|---|---|
| Cyclomatic Complexity Skill (this entry) | no | 405 | |
| Simplify Codebase | no | 505 | prove code is superfluous and delete it, a Chinese README |
| Codex Complexity Optimizer | no | 913 | complexity analysis and optimization reports for Codex |
| Modularity (Balanced Coupling) | no | 556 | a modularity review by Balanced Coupling, a non-commercial license |
README in short
The README describes a skill for lowering the cyclomatic complexity of AI code with installation through a plugin and a .skill file. Apache-2.0 license.