ring:planning-codebase-simplification

ring:planning-codebase-simplification is a skill for Cursor from LerianStudio/ring. It costs 105 tokens per session (1,799 once invoked), scanned A, original, Apache-2.0.

A planning tool that examines an entire Go or TypeScript codebase for unnecessary layers, wrappers, interfaces, and unused code. It produces a KILL, REVIEW, or KEEP recommendation for each abstraction and turns accepted work into implementation tasks.

In plain words
What is it for?
Use it when simplifying an architecture, removing compatibility shims, or cleaning up speculative code across a whole codebase.
Why use it?
It helps teams reduce indirection that adds maintenance cost without providing a real benefit, while preserving public APIs unless a change is explicitly approved.

Skill for Cursor

Written for Cursor: shipped in a Cursor plugin. Also seen: mentions Claude Code.

Part of the ring-dev-team plugin — 35 skills, 24 agents shipped together

Good fit Use it when simplifying an architecture, removing compatibility shims, or cleaning up speculative code across a whole codebase.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lerianstudio/ring/planning-codebase-simplification
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 LerianStudio/ring --skill planning-codebase-simplification
Clone the repo
git clone --depth 1 https://github.com/LerianStudio/ring

Made for: Cursor.

Or install ring-dev-team, the plugin that ships this one along with the rest of its 35 skills, 24 agents.

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 ring:planning-codebase-simplification

README.md
[![agentmods](https://agentmods.dev/badge/skills/lerianstudio/ring/planning-codebase-simplification/github.svg)](https://agentmods.dev/skills/lerianstudio/ring/planning-codebase-simplification)
Your own site
<a href="https://agentmods.dev/skills/lerianstudio/ring/planning-codebase-simplification"><img src="https://agentmods.dev/badge/skills/lerianstudio/ring/planning-codebase-simplification/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 ring:planning-codebase-simplification

Your own site · 80×15
<a href="https://agentmods.dev/skills/lerianstudio/ring/planning-codebase-simplification"><img src="https://agentmods.dev/badge/skills/lerianstudio/ring/planning-codebase-simplification.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,799 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original 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.00105 $0.01799
Opus 5.5 $0.00042 $0.00720
Sonnet 5.5 $0.00021 $0.00360
Haiku 4.5 $0.00011 $0.00180

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

Security

Grade A, and why

ring:planning-codebase-simplification 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.

dev-team/skills/planning-codebase-simplification/SKILL.md · 168 lines

How it starts

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

Dev Simplify — Whole-Codebase Structural Sweep

When to use

  • User asks to simplify, flatten, or audit architecture of a whole codebase
  • User mentions "too much indirection", "kill shims", "unnecessary abstractions"
  • Pre-public application where break-compatibility refactor is cheap
  • Post-pivot cleanup: speculative scaffolding accumulated during exploration

Skip when

  • Diff review on a feature branch → use ring:reviewing-code
  • Standards-conformance refactor → use ring:planning-backend-refactor
  • Dead code from a specific change → use ring:dead-code-reviewer in ring:reviewing-code
  • Application already has external clients depending on internals

Complementary: ring:reviewing-code, ring:codebase-explorer Similar: ring:planning-backend-refactor, ring:auditing-production-readiness

Core principle: DELETE is the default verdict. An abstraction survives only with concrete evidence of the swap it enables.

Hard Constraint

Default: public APIs MUST NOT break (HTTP routes, SDK surface, webhooks, event contracts).

Supply hard_constraint input to override. Must be declared — never auto-inferred.

Dispatch Protocol

⛔ STOP-CHECK BEFORE DISPATCH

Before emitting any Task call, count the explorers you intend to launch in this turn.

  • Count MUST equal 6 (or 5 if branch has no commits ahead of main — Task 5 skipped).
  • If your dispatch count diverges → STOP and reconcile against the task table below.
  • No substitutions, no omissions.

⛔ MUST NOT trickle-dispatch

All explorers leave in the SAME TURN, before reading any explorer output.

Forbidden sequences:

  • Dispatch explorer 1 → read result → dispatch explorer 2
  • Dispatch a subset → wait → dispatch the rest
  • Dispatch follow-up explorers conditioned on partial output
  • Loop sequentially over the task list

If you find yourself about to dispatch an explorer in a turn AFTER any explorer has already returned a result → STOP. You violated parallel dispatch. Report the violation and mark the phase INCOMPLETE rather than completing the trickle.

Read the full file on GitHub · 168 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. 1mo ago First seen · 168 lines · 105 tokens per session scan A 6f4e79ed00fa

Subscribe to this mod's changes

ring:planning-codebase-simplification is a skill published in the GitHub repository LerianStudio/ring (218 stars, last pushed 6d ago), licensed Apache-2.0. It adds 105 tokens to every session and 1,799 once invoked, about $0.0004 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

antidote

Stop AI agents from patching symptoms. Use this skill when coding, reviewing, refactoring, auditing, committing fixes, or adding guards, validation, workarounds, or 20+ lines without deleting code.

Avtr99/antidote · 47 tokens

review

Structured code review with parallel audit agents, confidence-scored triage, and optional auto-fix. Examines uncommitted changes, staged diffs, commit ranges, or specific paths. Produces a tiered report (MUST-FIX / RECOMMENDED / NIT) backed by evidence, then optionally applies fixes with verification.

greglas75/zuvo · 70 tokens

write-tests

Write tests for existing production code. Processes ONE file at a time through a full pipeline: analyze, inventory (frozen BEFORE writing), write, executable coverage gate, verify, blind coverage audit, adversarial review, log. Uses CodeSift for discovery and analysis when available. Modes: [path] (specific target)…

greglas75/zuvo · 87 tokens

db-audit

Database performance and safety audit. 70+ checks across 13 dimensions (DB1-DB13): query patterns, indexes, schema design, connections, transactions, migrations, caching, query optimization, ORM anti-patterns, observability, data lifecycle, DB security, and migration deployment safety. Code-level checks for all ORMs.…

greglas75/zuvo · 115 tokens

brainstorm

Explores a codebase, researches the problem space, and produces an approved design specification before any code is written. Use when the user wants to create a new feature, add significant functionality, redesign a subsystem, or build something that touches multiple parts of the project.

greglas75/zuvo · 56 tokens

code-audit

Batch audit of production files against CQ1-CQ40 quality gates and CAP1-CAP29 anti-patterns. Tiered output (A/B/C/D), critical gate enforcement, evidence-backed scoring, cross-file pattern analysis, and prioritized execution plan. Flags: zuvo:code-audit all | [path] | [file] | --deep | --quick | --services |…

greglas75/zuvo · 83 tokens