Agent skill

PR Change-Count Header

by OrchestratorInc in OrchestratorInc/agent-orchestrator

Calculates and keeps up to date the required code, test and other change-count header at the top of a pull request description in this repository.

Apache-2.0Auto-check passedDevelopment

Install PR Change-Count Header

skills CLI
$ npx skills add OrchestratorInc/agent-orchestrator --skill pr-description -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install OrchestratorInc/agent-orchestrator pr-description --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/OrchestratorInc/agent-orchestrator.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/pr-description .claude/skills/pr-description && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pr-description
GitHub stars
13k
Token cost
~364 tokens
SKILL.md length
170 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
Apache-2.0

At a glance

Calculates and keeps up to date the required code, test and other change-count header at the top of a pull request description in this repository.

  • Opening a new pull request in this repository
  • Calls git
  • Updating an existing PR description after pushing more commits
  • Checking that a PR's change-count header matches the actual diff

What it does

Every PR description must open with three lines, each on its own Markdown hard-broken line, showing added and deleted counts for code changes, tests and everything else, calculated from the net diff against the PR's actual base: git diff --numstat for a local branch, or GitHub's per-file counts once pushed, recalculated after the final push rather than summed from commit-by-commit churn.

Every changed file counts exactly once into one of three buckets: code changes covers handwritten implementation including SQL, migrations and scripts; tests covers test code, fixtures and test-only helpers; and others covers generated or vendored files, lockfiles, docs and configuration, with generated output going here even when it contains source code. Empty categories still show +0 -0, binaries get a separate mention since they have no line count, and a brief qualifier can be added. The rest of an existing description is left untouched, and it is read back afterward to confirm the header matches the current diff counts and order.

When your agent uses it

  • Opening a new pull request in this repository
  • Updating an existing PR description after pushing more commits
  • Checking that a PR's change-count header matches the actual diff

Example prompts

  • “Write the PR description header for this branch's diff against main.”
  • “I just pushed more commits, recalculate the change-count header.”
  • “Check whether this PR's header counts still match GitHub's diff.”

Requirements

  • Git
  • The gh CLI or GitHub access, to read per-file diff counts after pushing

What it can do on your machine

Read from SKILL.md and the folder at commit 42d304d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

PR Change-Count Header loads about 364 tokens when it runs. Until then it costs about 33 tokens; SKILL.md has 170 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~33
When it runs · the whole SKILL.md, loaded when a task matches
~364

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from OrchestratorInc/agent-orchestrator at commit 42d304d, republished under its Apache-2.0 licence (© OrchestratorInc). 170 words, ~364 tokens.

Download SKILL.mdSave it as .claude/skills/pr-description/SKILL.md (or your agent's skills folder).
name
pr-description
description
Calculate and maintain the required change-count header when creating or updating pull requests in this repository.

PR description

Begin every PR description with these three lines, using Markdown hard line breaks so each renders separately:

text
Code changes: +<added> -<deleted>
Tests: +<added> -<deleted>
Others: +<added> -<deleted>

Calculate the numbers from the net diff against the PR's actual base. For a local branch, use git diff --numstat <base>...<head>. After pushing, prefer GitHub's per-file additions and deletions. Recalculate after the final push rather than summing commit churn or estimating counts.

Count every changed file exactly once:

  • Code changes: handwritten implementation, including SQL, migrations, styles, and executable scripts.
  • Tests: test code, fixtures, snapshots, and test-only helpers.
  • Others: generated or vendored files, lockfiles, documentation, configuration, and assets. Generated output belongs here even when it contains source code.

Show +0 -0 for empty categories. Binary files have no line count; mention their count separately when present. Add a brief qualifier when useful, such as Others: +11 -0 (generated sqlc).

Preserve the rest of an existing PR description. After creating or updating the PR, read the published description and verify that its opening lines match the current GitHub diff counts and required order.

© OrchestratorInc, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/pr-description of OrchestratorInc/agent-orchestrator.

Open the folder on GitHubat commit 42d304d

Compare with similar skills

PR Change-Count Header next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

PR Change-Count Header compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
PR Change-Count Header this skillOrchestratorInc/agent-orchestrator13k—~364Automated safety check: PassApache-2.0
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0
Pull Request Title and Body Writeropeninterpreter/openinterpreter69k2 repos~1.1kAutomated safety check: PassApache-2.0
PR Review State Fetchprisma/orm48k—~767Automated safety check: PassApache-2.0
Creating Description For Gh PRredis/jedis12k—~838Automated safety check: PassMIT

Similar skills

  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.

    70k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Pull Request Title and Body Writer

    openinterpreter/openinterpreter

    Rewrites the title and body of one or more pull requests with gh, leading with why the change was made, then what changed, and describing only the net result.

    69k GitHub starsUsed in 2 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Official

    Fetches a pull request's canonical review state as JSON, validates it, and renders markdown, a text summary and triage target files from it using bundled scripts.

    48k GitHub stars~767 tokensUpdated today
    DevelopmentAuto-check passed
  • Official

    Generate a clear, concise GitHub PR title and description from the diff between two local git branches, and save it to prDescription.md in the repo root.

    12k GitHub stars~838 tokensUpdated today
    DevelopmentAuto-check passed
  • Opens a pull request for the current branch using the repo's template, a work item ID in the title and a description filled in from the actual diff.

    61k GitHub stars~824 tokensUpdated yesterday
    DevelopmentAuto-check passed

More from OrchestratorInc/agent-orchestrator

  • AO Desktop App Launcher

    OrchestratorInc/agent-orchestrator

    Launches, restarts and troubleshoots the real AO Electron desktop app from a checkout, with isolated or real local data and checks for stale processes.

    13k GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Bug Report Triage

    OrchestratorInc/agent-orchestrator

    Helps a reporter describe a bug, searches for duplicates and gathers diagnostic evidence kept separate from a short, human-worded issue draft.

    13k GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • AO CLI Catalog

    OrchestratorInc/agent-orchestrator

    Catalog of the ao command-line tool for Agent Orchestrator: spawning workers, managing sessions and projects, Cues, messages, the shared browser, previews and the daemon.

    13k GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • AO Cloud CLI Catalog

    OrchestratorInc/agent-orchestrator

    Documents the ao CLI for spawning, listing, messaging, and killing worker sessions, and for reporting back to an orchestrator from inside a sandbox.

    13k GitHub stars~674 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about PR Change-Count Header

What does PR Change-Count Header do?

Calculates and keeps up to date the required code, test and other change-count header at the top of a pull request description in this repository. Every PR description must open with three lines, each on its own Markdown hard-broken line, showing added and deleted counts for code changes, tests and everything else, calculated from the net diff against the PR's actual base: git diff --numstat for a local branch, or GitHub's per-file counts once pushed, recalculated after the final push rather than summed from commit-by-commit churn.

When should I use PR Change-Count Header?

PR Change-Count Header fits situations like: opening a new pull request in this repository; updating an existing PR description after pushing more commits; checking that a PR's change-count header matches the actual diff.

How do I install PR Change-Count Header in Claude Code?

Run `npx skills add OrchestratorInc/agent-orchestrator --skill pr-description -a claude-code`. Or copy the skill folder (.agents/skills/pr-description in OrchestratorInc/agent-orchestrator) into .claude/skills/pr-description in your project. Claude Code loads it when a task matches its description.

How do I install PR Change-Count Header in Codex?

Run `npx skills add OrchestratorInc/agent-orchestrator --skill pr-description -a codex`. Or copy the skill folder (.agents/skills/pr-description in OrchestratorInc/agent-orchestrator) into .agents/skills/pr-description in your project. Codex loads it when a task matches its description.

Can I use PR Change-Count Header in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OrchestratorInc/agent-orchestrator --skill pr-description -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pr-description, .gemini/skills/pr-description, .github/skills/pr-description and .opencode/skills/pr-description in your project.

What does PR Change-Count Header need to run?

Going by SKILL.md and its folder, PR Change-Count Header needs the command-line tools its instructions call (git). Our summary lists: Git; The gh CLI or GitHub access, to read per-file diff counts after pushing.

Does PR Change-Count Header access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is PR Change-Count Header safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does PR Change-Count Header use?

PR Change-Count Header is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does PR Change-Count Header use?

About 364 tokens (SKILL.md is roughly 1.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to PR Change-Count Header?

Skills that share tags, products or a category with PR Change-Count Header: Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars), Create Pull Request (cline/cline, 70k stars), Pull Request Title and Body Writer (openinterpreter/openinterpreter, 69k stars) and PR Review State Fetch (prisma/orm, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains PR Change-Count Header?

OrchestratorInc (a GitHub organization) maintains it in OrchestratorInc/agent-orchestrator, which has 12,881 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 8, 2026.

Source: OrchestratorInc/agent-orchestrator on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.