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
Skill

Minimal access

Why this level

  • The skill rewrites code and behavior may change
All reasons and checks

saurabhkumar8112/cyclomatic-complexity-skill

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add skills/cyclomatic-complexity-skill

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Minimal 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 green

Limitations

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.

Skills

Claude 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

PluginBroad access1.7KRepository stars

A skill that speeds up Xcode builds: benchmarks clean and incremental builds, finds bottlenecks and tunes project settings

SkillExtended access1.3KRepository stars

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

PluginExtended access2.2KRepository stars

1C Developer Claude Skill

1C Developer — Claude Skill

Russian stack

A Claude skill for 1C:Enterprise 8.3 development: planning, BSL code and code review explained in Georgian

SkillExtended access2Repository stars
Needs a VPN

A Claude Code skill that delegates tasks to OpenAI's Codex CLI for code analysis, review and edits

SkillBroad access1.5KRepository stars

Claude Code Skills (fork with 1C)

Claude Code Skills & Plugins

Russian stack

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

PluginExtended access

Comparison with similar tools

Entries that share the main search query, and how they differ.

EntryOfficialRepository starsMain difference
Cyclomatic Complexity Skill (this entry)no405
Simplify Codebaseno505prove code is superfluous and delete it, a Chinese README
Codex Complexity Optimizerno913complexity analysis and optimization reports for Codex
Modularity (Balanced Coupling)no556a 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.

README badge

Report a problem

Foxx AICyclomatic Complexity Skill
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.