selectools: Skill for Claude Code

.claude/skills/release/SKILL.md

release is a skill for Claude Code from johnnichev/selectools. It costs 22 tokens per session (1,994 once invoked), scanned A, original, Apache-2.0.

A release checklist and workflow for publishing a new version of the selectools software package.

In plain words
What is it for?
Use it to run linting, tests, and end-to-end checks, update the version and changelog, prepare Git commits, and publish to PyPI after approval.
Why use it?
It organizes quality checks and release paperwork so version changes, documentation, tests, and publishing steps are not missed.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md.

This is johnnichev/selectools's own configuration. It tells Claude Code how to work on selectools itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything selectools configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/build_llms_full.py # rebuild from mkdocs nav.

Reuse

Borrowing it

Nothing to install: this file belongs to johnnichev/selectools. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/johnnichev/selectools/main/.claude/skills/release/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/johnnichev/selectools

Made for: Claude Code.

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 release

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/johnnichev/selectools/release"><img src="https://agentmods.dev/badge/skills/johnnichev/selectools/release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,994 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.00022 $0.01994
Opus 5.5 $0.00009 $0.00798
Sonnet 5.5 $0.00004 $0.00399
Haiku 4.5 $0.00002 $0.00199

Measured 2mo ago against content hash bb574321623d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

release 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 2mo 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.

.claude/skills/release/SKILL.md · 225 lines

How it starts

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

Release Process

Preparing release version: $ARGUMENTS

Live Project State

  • Current version: !grep -m1 __version__ src/selectools/__init__.py
  • pyproject.toml version: !grep -m1 "version" pyproject.toml
  • Tests: !pytest tests/ --collect-only -q 2>/dev/null | tail -1
  • Examples: !ls examples/*.py | wc -l | tr -d ' '
  • Models: !grep -c "ModelInfo(" src/selectools/models.py
  • StepTypes: !python3 -c "from selectools.trace import StepType; print(len(StepType))" 2>/dev/null
  • Observer events (sync): !python3 -c "from selectools.observer import AgentObserver; print(len([m for m in dir(AgentObserver) if m.startswith('on_')]))" 2>/dev/null
  • Last example: !ls examples/*.py | tail -1

CRITICAL: Git Workflow Rules

  • Never push without explicit user approval — commit locally, then ask
  • Always use PRs — never push directly to main
  • Keep feature work on one branch — don't merge WIP to main
  • No co-author lines in commits

Phase 1: Quality Gate — Lint, Tests, E2E

Run /lint (fix mode) to auto-format and check code quality. ALL must pass (the repo uses ruff + mypy + bandit — NOT black/isort/flake8):

  • ruff check src/ tests/ (lint; isort+flake8 replacement)
  • ruff format src/ tests/ --check (format; black replacement)
  • mypy src/
  • bandit -c pyproject.toml -r src/

Then run the full test suite (use the project venv, e.g. .venv/bin/python -m pytest):

pytest tests/ -q          # full suite — do NOT shortcut to a subset

E2E hard gate (real API, before tagging). Per feedback_evals_before_release, real-LLM e2e tests must run before every release — mock tests passed while a real SYSTEM-role bug shipped. Run the named gate files with whatever provider keys are set (each provider's tests skip if its key is absent):

python -u -m pytest tests/test_orchestration_evals.py tests/test_orchestration_e2e.py --run-e2e -v

Tip: do NOT pipe through tail (it block-buffers and hides progress); use -u and read the output file. If only one provider key is available, a scoped -k <provider> run validates that provider's real path quickly.

Read the full file on GitHub · 225 lines

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. 2mo ago First seen · 225 lines · 22 tokens per session scan A bb574321623d

Subscribe to this mod's changes

release is a skill published in the GitHub repository johnnichev/selectools (11 stars, last pushed 4d ago), licensed Apache-2.0. It adds 22 tokens to every session and 1,994 once invoked, about $0.0001 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-30.

Related

release compared with skills from other repositories

release next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
releasejohnnichev/selectoolsSkill114d agoApache-2.0A22Claude Code
releaseBlockRunAI/ClawRouterSkill6.7kyesterdayMITA44Claude Code, Codex
releasedevoxx/DevoxxGenieIDEAPluginSkill687yesterdayMITA121Claude Code
close-task-commit-push-prdevoxx/DevoxxGenieIDEAPluginSkill687yesterdayMITA64Claude Code
release-gate-loopKongFangXun/sofagentSkill55yesterdayMITA59Claude Code, Codex
thumbgate-protectIgorGanapolsky/ThumbGateSkill30yesterdayMITA165Claude Code
version-bumpthedotmack/claude-memSkill114kyesterdayApache-2.0A64Claude Code