ccc-file-pr

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

A workflow for opening a concise draft pull request from the current branch. It checks for an existing pull request, reviews the local changes, and records local test results.

In plain words
What is it for?
Use it to create a draft pull request with a problem-first title and description after checking the branch and its changes.
Why use it?
It reduces the chance of opening duplicate or poorly described pull requests. It also makes the proposed change and its available test evidence clearer to reviewers.

Skill for Claude CodeCodex

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

Good fit Use it to create a draft pull request with a problem-first title and description after checking the branch and its changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kevinzai/commander/ccc-file-pr
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-file-pr
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-file-pr

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kevinzai/commander/ccc-file-pr"><img src="https://agentmods.dev/badge/skills/kevinzai/commander/ccc-file-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,460 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.00041 $0.01460
Opus 5.5 $0.00016 $0.00584
Sonnet 5.5 $0.00008 $0.00292
Haiku 4.5 $0.00004 $0.00146

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

Security

Grade A, and why

ccc-file-pr 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-file-pr/SKILL.md · 106 lines

How it starts

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

$ccc-file-pr — File a concise PR

CC Commander · $ccc-file-pr · a draft PR with a human title, a problem-first description and recorded local proof.

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

The user's selected model is preserved. Codex: ask the picker below as a plain-text question or request_user_input.

When to use / when not to

  • Use when the user asks to file, open, or create a pull request for the current branch.
  • Not for reviewing a branch ($ccc-review) or diagnosing red CI ($ccc-ci).

What happens

  1. Check for an existing PR and the base.

    git status --short --branch
    gh pr list --head "$(git branch --show-current)" --json number,url,state,isDraft
    

    If a PR exists, report it and stop unless the user wants an update.

  2. Review the diff locally against the base branch (usually origin/main) so the contents match the goal:

    git fetch origin && git diff origin/<base>...HEAD --stat && git log origin/<base>..HEAD --oneline
    
  3. Run the local gate on this exact head. Run the repository's full test suite and lint (find the commands in CLAUDE.md, AGENTS.md, package scripts or the Makefile). Record the exact commands and their results. CCC safety: push only after both are green on this head; never --no-verify, never skip a hook. A failure is fixed, not skipped.

  4. Write the title. PR titles usually become commit messages, so follow the repository's conventions (read recently merged PRs and git log). Prefer a concise, human-readable title that says why the change matters:

    BAD

    ❌ perf(server): negotiate permessage-deflate on the websocket

    GOOD

    ✅ perf(server): cut websocket frame size by 70%+ with gzipping

  5. Write the description. Open with a simple explanation of the problem based on the user's original prompt, then briefly explain the solution. Do not lead with an implementation inventory:

Read the full file on GitHub · 106 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 84a01709fd6c
  2. 28d ago Changed · +1 lines 065da4b1ad90
  3. 1mo ago Changed · +1 lines 94e132ad5726
  4. 1mo ago First seen · 104 lines · 41 tokens per session scan A f39bfcbfa901

Subscribe to this mod's changes

ccc-file-pr is a skill published in the GitHub repository KevinZai/commander (6 stars, last pushed yesterday), licensed MIT. It adds 41 tokens to every session and 1,460 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-file-pr compared with skills from other repositories

ccc-file-pr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ccc-file-prKevinZai/commanderSkill6yesterdayMITA41Claude 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