codebase-improvement-planner

codebase-improvement-planner is a skill for Codex from cmdr-chara/codex-toolkit. It costs 43 tokens per session (699 once invoked), scanned A, original, MIT.

A process for inspecting an existing codebase and creating a ranked improvement backlog when no specific change has been chosen. It considers maintainability, reliability, tests, architecture, tools, dependencies, and operations.

In plain words
What is it for?
Use it when you want to know what to improve next in an existing repository. It can recommend a bounded maintenance task after the improvement priority is approved.
Why use it?
It turns a vague request to improve a project into evidence-based priorities. It identifies the highest-value next upgrade instead of treating every possible improvement as equally important.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when you want to know what to improve next in an existing repository. It can recommend a bounded maintenance task after the improvement priority is approved.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cmdr-chara/codex-toolkit/codebase-improvement-planner
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 cmdr-chara/codex-toolkit --skill codebase-improvement-planner
Clone the repo
git clone --depth 1 https://github.com/cmdr-chara/codex-toolkit

Made for: Codex.

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 codebase-improvement-planner

README.md
[![agentmods](https://agentmods.dev/badge/skills/cmdr-chara/codex-toolkit/codebase-improvement-planner/github.svg)](https://agentmods.dev/skills/cmdr-chara/codex-toolkit/codebase-improvement-planner)
Your own site
<a href="https://agentmods.dev/skills/cmdr-chara/codex-toolkit/codebase-improvement-planner"><img src="https://agentmods.dev/badge/skills/cmdr-chara/codex-toolkit/codebase-improvement-planner/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 codebase-improvement-planner

Your own site · 80×15
<a href="https://agentmods.dev/skills/cmdr-chara/codex-toolkit/codebase-improvement-planner"><img src="https://agentmods.dev/badge/skills/cmdr-chara/codex-toolkit/codebase-improvement-planner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 699 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 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.00043 $0.00699
Opus 5.5 $0.00017 $0.00280
Sonnet 5.5 $0.00009 $0.00140
Haiku 4.5 $0.00004 $0.00070

Measured 24d ago against content hash 33261d51530e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codebase-improvement-planner 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 24d 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.

skills/codebase-improvement-planner/SKILL.md · 60 lines

How it starts

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

Codebase Improvement Planner

Choose the highest-value next improvement from repository evidence, then stop before broad implementation unless the user has already authorized a bounded slice.

Trigger boundary

Use this skill for:

  • open-ended "what should we improve next?" requests;
  • repository modernization or cleanup without a predefined target;
  • balanced improvement backlogs across correctness, architecture, delivery, maintainability, and performance.

Do not trigger for:

  • a concrete bug or reproduced failure;
  • a defined migration, refactor, performance bottleneck, security review, or platform implementation;
  • final release approval.

Required inputs

Resolve the repository root, working-tree state, user goal, protected contracts, generated/vendor boundaries, available verification evidence, and whether implementation is already authorized. If business priorities are unknown, rank from technical evidence without inventing product value.

Safety baseline

  • Preserve uncommitted user work and start read-only.
  • Do not install, upgrade, regenerate, delete, rename, or broadly rewrite merely to discover candidates.
  • Treat volatile dependency, runtime, security, and platform claims as unverified until checked against current primary sources.
  • Do not edit generated output before identifying its authoritative generator.

Workflow

  1. Frame the decision. Record scope, desired outcomes, constraints, exclusions, and evidence limits.
  2. Map the baseline. Inspect structure, contracts, tests/CI, error handling, operational boundaries, and concentrated change/risk areas. Use repository-intelligence first when ownership or blast radius is too uncertain.
  3. Admit candidates. Require a concrete signal: failing/weak evidence, repeated cost, risky coupling, unsupported dependency, missing critical verification, or demonstrable delivery friction. Do not turn style preferences into findings.
  4. Rank candidates. Apply references/improvement-ranking.md. Keep change magnitude separate from priority.
  5. Select the next upgrade. State the evidence, expected value, scope, risk, reversibility, verification method, and owning specialist.
  6. Stop or execute. Without prior authorization, return the backlog and mark the selected item AWAITING_APPROVAL. With explicit authorization, execute only the selected bounded maintenance slice or hand it to the specialist that owns the concrete task.

Read the full file on GitHub · 60 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 24d ago Changed · -218 lines · -69 tokens per session 33261d51530e
  2. 1mo ago First seen · 278 lines · 112 tokens per session scan A 559408bd8bfd

Subscribe to this mod's changes

codebase-improvement-planner is a skill published in the GitHub repository cmdr-chara/codex-toolkit (2 stars, last pushed 11d ago), licensed MIT. It adds 43 tokens to every session and 699 once invoked, about $0.0002 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-08-31.

Related

Other skills, from other repositories

trace

Use when encountering bugs, test failures, runtime errors, broken builds, or "this doesn't work" reports. Systematic root-cause analysis before any patch — never blind-patches symptoms. Standalone, ends with a final-integration review of the fix. Trigger with /hyperflow:trace, "debug this", "find the root cause", "why…

jeremylongshore/tons-of-skills-marketplace · 84 tokens

issue

Use when starting a chain from a GitHub issue — turning an issue URL or number into a triaged, planned, dispatched, and reviewed pull request. Classifies the thread (bug → root-cause discipline, feature → plan chain, question → drafted reply), synthesizes a spec from the issue's own acceptance criteria, then runs the…

jeremylongshore/tons-of-skills-marketplace · 115 tokens

skeptical-triage

Reusable 3-round self-challenge + arbiter pattern for filtering false positives from findings/verdicts. Use when the cost of a false-positive gate block exceeds the cost of 4 extra LLM turns.

avelikiy/great_cto · 49 tokens

anti-patterns

Catalogue of known SDLC anti-patterns that greatcto agents must actively reject when reviewing architecture, plans, code, or post-mortems. Used by architect (pre-impl), pm (planning), senior-dev (impl), l3-support (post-incident).

avelikiy/great_cto · 59 tokens

review-all

Multi-agent code review for diffs (project-agnostic). Covers standards, bugs, security, DRY, smells, perf, tests, API contracts, a11y/i18n. Verifies each finding to eliminate false positives. Use for /review-all, pre-PR/pre-commit review, or auditing uncommitted/staged changes.

ncoevoet/claude-review-all · 74 tokens

code-coherence-review

Reviews code and plans for logic coherence, correctness, and structural integrity.

ntorga/agent-starter-kit · 19 tokens