Agent skill

pybind11 Release Publication

by pybind in pybind/pybind11

Walks a maintainer through publishing a pybind11 release after the preparation PR merges, with preflight checks, confirmations before each push and a GitHub release.

Custom licenceAuto-check passedDevelopment

Install pybind11 Release Publication

skills CLI
$ npx skills add pybind/pybind11 --skill publish-release -a claude-code

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

GitHub CLI
$ gh skill install pybind/pybind11 publish-release --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/pybind/pybind11.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/publish-release .claude/skills/publish-release && 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
publish-release
GitHub stars
18k
Token cost
~2.5k tokens
SKILL.md length
1,404 words
Files
1
Skills in repo
2
Repo updated
First seen
Licence
Custom licence

At a glance

Walks a maintainer through publishing a pybind11 release after the preparation PR merges, with preflight checks, confirmations before each push and a GitHub release.

  • Works in 6 steps: Preflight → Release branch → Tag → …
  • Cutting a pybind11 release after the prepare-release PR has merged
  • SKILL.md covers 1. Preflight, 2. Release branch, 3. Tag and 4. Update stable when…, plus 3 more sections
  • Calls git, gh and python

What it does

The skill treats `docs/release.rst` as the source of truth and tells the agent to follow that file and update the skill if they disagree. It requires the exact version and the merged release-preparation PR, never inferred from the current checkout, and defines the tag as `v` plus that version, so a release candidate keeps its rc suffix. Before every push, label change and the GitHub release it stops for your explicit confirmation, showing the repository, refs, commit SHA and notes.

Preflight demands a clean tree, upstream remotes that point at the official pybind11 repository, a fetch with tags, and working `gh` authentication with release permissions. The agent checks that the preparation PR merged, records its base and merge commit, and requires the full CI release matrix to have passed on the tested commit. A later commit may be released only with your approval and equivalent CI. It also verifies that the Python version string matches the requested version and is not a development version, along with the version in `include/pybind11/detail/common.h`.

When your agent uses it

  • Cutting a pybind11 release after the prepare-release PR has merged
  • Verifying CI and version metadata before tagging a release
  • Publishing a release candidate with the correct tag
  • Retrying an interrupted release from a recorded checkpoint

Example prompts

  • “Publish the release for version 3.2.0rc1 now that its preparation PR is merged.”
  • “Run the preflight checks for the pending pybind11 release without pushing anything.”
  • “Resume the release from the checkpoint I recorded earlier.”

Requirements

  • Push access to the official pybind11 repository
  • GitHub CLI (`gh`) authenticated with release permissions
  • The exact version and the merged release-preparation PR

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Preflight
  2. Release branch
  3. Tag
  4. Update stable when appropriate
  5. GitHub release
  6. Post-release bump ("get back to work")

What it can do on your machine

Read from SKILL.md and the folder at commit 46bfd99. 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
    • gh
    • python

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

  • Network

    No URLs in SKILL.md. Its commands use git and gh, 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

pybind11 Release Publication loads about 2.5k tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 1,404 words of instructions outside code blocks.

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

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,404 words (~2,488 tokens).

“Source of truth: docs/release.rst. If this skill and that file disagree, follow docs/release.rst and update this skill.”

— opening of SKILL.md by pybind, Custom licence
name
publish-release

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/publish-release of pybind/pybind11.

Open the folder on GitHubat commit 46bfd99

Compare with similar skills

pybind11 Release Publication 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.

pybind11 Release Publication compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
pybind11 Release Publication this skillpybind/pybind1118k—~2.5kAutomated safety check: PassCustom licence
Release Bumpjamiepine/voicebox57k—~1.1kAutomated safety check: PassMIT
Go-Redis Release Preparationredis/go-redis22k—~1.1kAutomated safety check: PassBSD-2-Clause
Hunk Release Workflowmodem-dev/hunk9.5k—~3.8kAutomated safety check: PassMIT
Worktrunk Release Workflowmax-sixty/worktrunk8.9k—~6.9kAutomated safety check: PassCustom licence
Obot Release Notes Drafterobot-platform/obot1.1k—~4.5kAutomated safety check: PassMIT

Similar skills

  • Release Bump

    jamiepine/voicebox

    Ends a release cycle by moving the Unreleased changelog notes under a dated version heading, bumping version files with bumpversion and tagging the commit.

    57k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Official

    Prepares a go-redis release locally: picks the next semver, gathers merged PRs, writes the RELEASE-NOTES entry and bumps versions, without publishing.

    22k GitHub stars~1.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Hunk Release Workflow

    modem-dev/hunk

    Maintainer workflow for preparing, publishing, verifying and curating Hunk releases, with confirmation gates before tags, publishes and public edits.

    9.5k GitHub stars~3.8k tokensUpdated today
    DevelopmentAuto-check passed
  • Worktrunk Release Workflow

    max-sixty/worktrunk

    Walks a maintainer through cutting a Worktrunk release: sync the release branch, pass two test gates, review the changes, then publish.

    8.9k GitHub stars~6.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Obot Release Notes Drafter

    obot-platform/obot

    Drafts release notes for an upcoming Obot minor release and saves them as an unpublished GitHub draft release, never tagging or publishing.

    1.1k GitHub stars~4.5k tokensUpdated today
    DevelopmentAuto-check passed
  • GreptimeDB Release Notes

    GreptimeTeam/greptimedb

    Generates a GreptimeDB release changelog with git cliff, subtracts patch PRs already shipped, rebuilds contributors and prepares the docs-repo blog PR.

    6.7k GitHub stars~2.5k tokensUpdated 2 days ago
    DevelopmentAuto-check passed

More from pybind/pybind11

  • Opens the pybind11 release-preparation pull request: picking the release base, bumping the version in common.h and integrating the changelog, following docs/release.rst.

    18k GitHub stars~1.7k tokensUpdated today
    Auto-check passed

Categories

Questions about pybind11 Release Publication

What does pybind11 Release Publication do?

Walks a maintainer through publishing a pybind11 release after the preparation PR merges, with preflight checks, confirmations before each push and a GitHub release. rst` as the source of truth and tells the agent to follow that file and update the skill if they disagree. It requires the exact version and the merged release-preparation PR, never inferred from the current checkout, and defines the tag as `v` plus that version, so a release candidate keeps its rc suffix.

When should I use pybind11 Release Publication?

pybind11 Release Publication fits situations like: cutting a pybind11 release after the prepare-release PR has merged; verifying CI and version metadata before tagging a release; publishing a release candidate with the correct tag; retrying an interrupted release from a recorded checkpoint.

How do I install pybind11 Release Publication in Claude Code?

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

How do I install pybind11 Release Publication in Codex?

Run `npx skills add pybind/pybind11 --skill publish-release -a codex`. Or copy the skill folder (.agents/skills/publish-release in pybind/pybind11) into .agents/skills/publish-release in your project. Codex loads it when a task matches its description.

Can I use pybind11 Release Publication 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 pybind/pybind11 --skill publish-release -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/publish-release, .gemini/skills/publish-release, .github/skills/publish-release and .opencode/skills/publish-release in your project.

What does pybind11 Release Publication need to run?

Going by SKILL.md and its folder, pybind11 Release Publication needs the command-line tools its instructions call (git, gh and python). Our summary lists: Push access to the official pybind11 repository; GitHub CLI (`gh`) authenticated with release permissions; The exact version and the merged release-preparation PR.

Does pybind11 Release Publication access the network?

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

Is pybind11 Release Publication 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 pybind11 Release Publication use?

pybind11 Release Publication has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does pybind11 Release Publication use?

About 2.5k tokens (SKILL.md is roughly 10k 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 pybind11 Release Publication?

Skills that share tags, products or a category with pybind11 Release Publication: Release Bump (jamiepine/voicebox, 57k stars), Go-Redis Release Preparation (redis/go-redis, 22k stars), Hunk Release Workflow (modem-dev/hunk, 9.5k stars) and Worktrunk Release Workflow (max-sixty/worktrunk, 8.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains pybind11 Release Publication?

pybind (a GitHub organization) maintains it in pybind/pybind11, which has 18,023 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 6, 2026.

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