complexity

complexity is a skill for Claude Code from barnburner121/claude-plugin-marketplace. It costs 11 tokens per session (156 once invoked), scanned A, original, no licence file.

A code analysis tool that measures cyclomatic complexity, a count of the independent paths through code.

In plain words
What is it for?
It is for analysing code complexity and suggesting simpler implementations.
Why use it?
It helps reveal code that may be difficult to understand, test, or maintain.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the complexity-reducer plugin — 1 skill shipped together

Good fit It is for analysing code complexity and suggesting simpler implementations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/barnburner121/claude-plugin-marketplace/complexity
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 barnburner121/claude-plugin-marketplace --skill complexity
Clone the repo
git clone --depth 1 https://github.com/barnburner121/claude-plugin-marketplace

Made for: Claude Code.

Or install complexity-reducer, the plugin that ships this one along with the rest of its 1 skill.

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 complexity

README.md
[![agentmods](https://agentmods.dev/badge/skills/barnburner121/claude-plugin-marketplace/complexity/github.svg)](https://agentmods.dev/skills/barnburner121/claude-plugin-marketplace/complexity)
Your own site
<a href="https://agentmods.dev/skills/barnburner121/claude-plugin-marketplace/complexity"><img src="https://agentmods.dev/badge/skills/barnburner121/claude-plugin-marketplace/complexity/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 complexity

Your own site · 80×15
<a href="https://agentmods.dev/skills/barnburner121/claude-plugin-marketplace/complexity"><img src="https://agentmods.dev/badge/skills/barnburner121/claude-plugin-marketplace/complexity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 156 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 unknown 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.00011 $0.00156
Opus 5.5 $0.00004 $0.00062
Sonnet 5.5 $0.00002 $0.00031
Haiku 4.5 $0.00001 $0.00016

Measured 1mo ago against content hash 3825d15c9b27, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

complexity 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 1mo 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.

generated-plugins/complexity-reducer/skills/complexity/SKILL.md · 25 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 1mo ago First seen · 25 lines · 11 tokens per session scan A 3825d15c9b27

Subscribe to this mod's changes

complexity is a skill published in the GitHub repository barnburner121/claude-plugin-marketplace (3 stars, last pushed 7mo ago), with no licence file. It adds 11 tokens to every session and 156 once invoked, about $0.0000 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-09-03.

Related

Other skills, from other repositories

audit-and-fix

Audit an existing codebase, then autonomously implement the fixes it judges worth making against your next goal — composing deep-dive → triage → prompt-pack → build-loop to turn "here's what's wrong" into verified, receipted local commits + an honest ledger. ALWAYS invoke when the user says any of "audit this repo and…

nelsonwerd/idea-to-ship-skills · 234 tokens

gs-review

Pre-landing PR review - gstack staff-engineer code review army. CARL TRIGGERS: review the code, audit this branch, check this PR, find bugs, code review, review my changes. SOURCE: garrytan/gstack/review, integrated as gs-review on 2026-05-29.

YousefNabil-SOC/claude-apex · 70 tokens

code

Use BEFORE generating, refactoring, reviewing, or debugging code. Trigger phrases include "write a function/script/class for X", "review this code/diff/PR", "refactor this", "debug this error", "is this implementation correct", "what's wrong with this code", "improve this code", "translate from X to Y", or any prompt…

ejentum/ejentum-mcp · 192 tokens

refactoring-patterns

Code refactoring patterns with before/after diffs for extract method, extract class, inline, move, rename, dead code removal, dependency injection, and code smell detection.

medy-gribkov/arcana · 40 tokens

code-review-web

Review web application code for bugs, security issues, performance problems, and stack-specific anti-patterns. Use this skill whenever the user wants to review code, debug a production issue, investigate a build failure, audit security, or check a PR before merging. Triggers on code review, review my code, debug…

rampstackco/claude-skills · 121 tokens

review-loop

Run the adversarial verification loop — implement, then hand the change to a fresh checker that did not write it, fix what it finds, and re-dispatch until APPROVE. Use before claiming any behavioural change is done, and on requests like "review loop", "adversarial review", "independent review", "get this verified"…

sangrokjung/claude-forge · 100 tokens