pi-cli-mcp: Skill for Claude Code

.agents/skills/release/SKILL.md

release is a skill for Claude Code, Codex from minmax/pi-cli-mcp. It costs 52 tokens per session (876 once invoked), scanned A, original, MIT.

Instructions for publishing a new pi-cli-mcp version through a tagged continuous-integration build, including versioning, tests, changelog updates, and registry checks.

In plain words
What is it for?
Use them when bumping the version, preparing a release, pushing a tag, checking the CI run, or verifying the published npm package.
Why use it?
They provide a repeatable release process and preserve the build provenance that is missing when publishing directly from a workstation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is minmax/pi-cli-mcp's own configuration. It tells Claude Code and Codex how to work on pi-cli-mcp 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 pi-cli-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to minmax/pi-cli-mcp. 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/minmax/pi-cli-mcp/main/.agents/skills/release/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/minmax/pi-cli-mcp

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 release

README.md
[![agentmods](https://agentmods.dev/badge/skills/minmax/pi-cli-mcp/release/github.svg)](https://agentmods.dev/skills/minmax/pi-cli-mcp/release)
Your own site
<a href="https://agentmods.dev/skills/minmax/pi-cli-mcp/release"><img src="https://agentmods.dev/badge/skills/minmax/pi-cli-mcp/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/minmax/pi-cli-mcp/release"><img src="https://agentmods.dev/badge/skills/minmax/pi-cli-mcp/release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 876 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.00052 $0.00876
Opus 5.5 $0.00021 $0.00350
Sonnet 5.5 $0.00010 $0.00175
Haiku 4.5 $0.00005 $0.00088

Measured 2mo ago against content hash a4a5528ac0be, 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.

.agents/skills/release/SKILL.md · 75 lines

How it starts

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

Releasing pi-cli-mcp

Publishing happens in CI, triggered by a tag. npm publish from a workstation works but produces a package without provenance — 0.4.0 went out that way and has dist.attestations: null, while 0.5.0 went through the tag and carries a SLSA attestation. Use the tag.

The sequence

Move the Unreleased entries in CHANGELOG.md under the new version with its date first — after the tag is pushed the publish has already happened and the entry is being written from memory.

npm version <new-version> --no-git-tag-version   # updates package.json AND package-lock.json
npm run check                                    # format, types, full suite
git add package.json package-lock.json CHANGELOG.md
git commit
git tag -a vX.Y.Z -m "<what changed in behaviour>"
git push origin main
git push origin vX.Y.Z                           # this is what publishes

Then confirm, on the registry rather than on trust:

gh run watch $(gh run list --limit 1 --json databaseId --jq '.[0].databaseId') --exit-status
npm view pi-cli-mcp version
npm view pi-cli-mcp --json | python3 -c "import json,sys; print(json.load(sys.stdin)['dist'].get('attestations'))"

attestations: null means the tag path was bypassed.

Choosing the number

Pre-1.0, so nothing is strictly forced, but keep the signal honest: a changed default is a behaviour change even when the API is identical. Making rpc the default transport went out as 0.5.0, not 0.4.1, so that anyone reading the number sees it.

What has actually gone wrong here

  • npm version vs hand-editing. Bumping the version by editing package.json directly leaves package-lock.json behind. That lock sat on 0.3.0 — with a bin path that stopped existing at the TypeScript migration — and shipped inside tag v0.5.0 that way. npm ci accepts such a lock without complaint, so CI will not tell you. The pre-commit hook now will; see the validation skill.
  • A second copy of the version. SERVER_INFO used to hard-code it, and the copy clients see in the MCP handshake was a release behind. It is read from package.json now — do not reintroduce a literal.
  • Push main too. Only the tag is needed to publish, but if main lags, the README people read describes different behaviour from the package they installed.

Read the full file on GitHub · 75 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 · 75 lines · 52 tokens per session scan A a4a5528ac0be

Subscribe to this mod's changes

release is a skill published in the GitHub repository minmax/pi-cli-mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 52 tokens to every session and 876 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-08-31.