ccc-modernize

ccc-modernize is a skill for Claude Code, Codex from KevinZai/commander. It costs 54 tokens per session (1,708 once invoked), scanned A, original, MIT.

A workflow for updating an old pull request with the latest changes from its base branch, then deciding whether the proposed change should be modernized, reworked, or closed. A pull request is a request to merge code into another branch.

In plain words
What is it for?
Use it to refresh an aging pull request, resolve changes from the base branch, read its issues and reviews, and make an honest MODERNIZE, REWORK, or CLOSE assessment.
Why use it?
It addresses stale pull requests that no longer match the current code or product needs. It separates updating the code from judging whether the idea still belongs.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present. Also seen: names the AskUserQuestion tool; mentions Codex; $skill-name invocation.

Good fit Use it to refresh an aging pull request, resolve changes from the base branch, read its issues and reviews, and make an honest MODERNIZE, REWORK, or CLOSE assessment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kevinzai/commander/ccc-modernize
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 KevinZai/commander --skill ccc-modernize
Clone the repo
git clone --depth 1 https://github.com/KevinZai/commander

Made for: Claude Code, 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 ccc-modernize

README.md
[![agentmods](https://agentmods.dev/badge/skills/kevinzai/commander/ccc-modernize/github.svg)](https://agentmods.dev/skills/kevinzai/commander/ccc-modernize)
Your own site
<a href="https://agentmods.dev/skills/kevinzai/commander/ccc-modernize"><img src="https://agentmods.dev/badge/skills/kevinzai/commander/ccc-modernize/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 ccc-modernize

Your own site · 80×15
<a href="https://agentmods.dev/skills/kevinzai/commander/ccc-modernize"><img src="https://agentmods.dev/badge/skills/kevinzai/commander/ccc-modernize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,708 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.00054 $0.01708
Opus 5.5 $0.00022 $0.00683
Sonnet 5.5 $0.00011 $0.00342
Haiku 4.5 $0.00005 $0.00171

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

Security

Grade A, and why

ccc-modernize 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 11d 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.

commander/cowork-plugin-codex/skills/ccc-modernize/SKILL.md · 93 lines

How it starts

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

$ccc-modernize — Update the PR, judge the idea

CC Commander · $ccc-modernize · a stale PR merged up to date and an honest MODERNIZE, REWORK or CLOSE call.

Adapted from t3dotgg/tstack skills/modernize/SKILL.md at 11e37a74d0a6868c121cd0910ab2b3bd9873b92a. MIT, Copyright (c) 2026 Theo Browne; see LICENSE.txt. Changes for CC Commander are marked "CCC safety:".

Modernize the idea, not just the branch. A clean update does not prove that the PR still belongs in the product.

When to use / when not to

  • Use for an aging PR that has fallen behind its base, or when asked whether it is still worth landing.
  • Not for merging, closing or changing the base branch: those need explicit permission.

What happens

  1. Fetch and record. Run git fetch origin and git status --short. Pull the latest of the PR branch, the base branch and any related branch. Treat existing worktree changes as user-owned; use a disposable worktree if the active one is dirty. Resolve the PR with gh pr view <n> --json url,state,baseRefName,headRepository,headRefName,headRefOid,author,statusCheckRollup,reviewDecision,title,body. Read linked issues, commits, review threads and the complete diff. State the smallest coherent goal the PR was trying to accomplish. Record the merge base so the original PR and later base changes can be compared separately. Use the PR's actual base, not an assumed main.
  2. Check what changed around it. Inspect git log <merge-base>..origin/<base> and the diffs added to the base since divergence. Search merged and open PRs (gh pr list --state all --search "<keywords>") for replacements or competitors. Look beyond overlapping lines (conceptual-conflict checklist):
    • Has the same user-facing problem already been solved?
    • Did APIs, types, schemas, dependencies or architectural boundaries change?
    • Do both sides now claim ownership of the same behavior or invariant?
    • Was the code being changed deleted, moved or intentionally simplified?
    • Would landing the PR restore an old behavior or create two ways to do the same thing?
    • Is the original benefit still large enough to justify the maintenance cost?

Read the full file on GitHub · 93 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. 11d ago Changed 5435604b69aa
  2. 28d ago Changed c2f66a55eb97
  3. 1mo ago Changed · +1 lines 8d9e25806f4a
  4. 1mo ago First seen · 92 lines · 54 tokens per session scan A 555e119e37dc

Subscribe to this mod's changes

ccc-modernize is a skill published in the GitHub repository KevinZai/commander (6 stars, last pushed yesterday), licensed MIT. It adds 54 tokens to every session and 1,708 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-10-28.

Related

ccc-modernize compared with skills from other repositories

ccc-modernize next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ccc-modernizeKevinZai/commanderSkill6yesterdayMITA54Claude Code, Codex
hotfixskullninja/coco-workflowSkill71mo agoMITA36Claude Code
justoneGodsB1025/justoneSkill26mo agoMITC55Claude Code, Codex
memstack-security-git-guardcwinvestments/memstackSkill43318d agoMITA92Claude Code
git-worktree-statusFlorianBruniaux/claude-code-ultimate-guideSkill7.6ktodayCC-BY-SA-4.0A52Claude Code
debug-systematictravisjneuman/.claudeSkill115yesterdayMITA33Claude Code
atlas-changelogtonone-ai/tononeSkill843d agoMITA45Claude Code