rsdoctor: Skill for Claude Code

.agents/skills/release-rsdoctor/SKILL.md

release-rsdoctor is a skill for Claude Code, Codex from web-infra-dev/rsdoctor. It costs 52 tokens per session (439 once invoked), scanned A, original, MIT.

A release procedure for Rsdoctor packages, which are software packages from the Rsdoctor project. It prepares a specified version and publishes the related packages together, except for the agent command-line package.

In plain words
What is it for?
Use it when releasing a specific Rsdoctor version. It updates package versions, regenerates the lockfile, checks the changes, creates the release commit and branch, pushes it, and opens a GitHub pull request.
Why use it?
It keeps package versions and release steps consistent across the project. It also stops when the working files or release branch do not meet the required conditions.

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 web-infra-dev/rsdoctor's own configuration. It tells Claude Code and Codex how to work on rsdoctor 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 rsdoctor configures →

About the project

Rsdoctor is a build analyzer for Rspack projects that shows how compilation works, what it produces, and where build problems occur. Development teams use it to inspect build artifacts and timing, check build rules, and add custom scans. The catalogue add-ons provide ways to work with Rsdoctor.

web-infra-dev/rsdoctor · 1,139 stars · on GitHub · rsdoctor.rs

Reuse

Borrowing it

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

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-rsdoctor

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/web-infra-dev/rsdoctor/release-rsdoctor"><img src="https://agentmods.dev/badge/skills/web-infra-dev/rsdoctor/release-rsdoctor.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 439 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00439
Opus 5 $0.00026 $0.00219
Sonnet 5 $0.00010 $0.00088
Haiku 4.5 $0.00005 $0.00044

Measured today against content hash 84bdfc88ebdc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

release-rsdoctor 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 today.

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-rsdoctor/SKILL.md · 43 lines

What it actually says

Release Rsdoctor

Input

  • Target version, for example 1.5.8

If the version is missing, ask for it before making changes.

Steps

  1. Check the worktree with git status --short. If there are uncommitted edits, stop and ask the user how to proceed.

  2. Create and switch to branch release_v<version> (underscore, not slash). If the branch already exists, stop and ask the user how to proceed.

  3. Set every publishable package under packages/ to the target version, except @rsdoctor/agent-cli:

    pnpm --filter './packages/*' \
      --filter '!@rsdoctor/agent-cli' \
      exec npm pkg set 'version=<version>'
    

    These packages always move together as a fixed group, even if only one package changed. Do not update private tooling workspaces outside packages/.

  4. Regenerate the lockfile from the updated package manifests:

    pnpm install --lockfile-only
    
  5. Review the diff. Confirm every package in the fixed group has exactly the target version, @rsdoctor/agent-cli is unchanged, and pnpm-lock.yaml is updated.

  6. Commit with this exact message: release: v<version>

  7. Push the branch, then create a GitHub PR with gh pr create. Use the same text for the PR title: release: v<version>

  8. Read the repository's PR template when available and follow its current headings and guidance. Explain that the PR prepares release v<version> by updating the fixed group's package versions and lockfile. Include the release link: https://github.com/web-infra-dev/rsdoctor/releases/tag/v<version>.

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. today Changed · -3 lines 84bdfc88ebdc
  2. 10d ago First seen · 46 lines · 52 tokens per session scan A 2eb3564258ba

Subscribe to this mod's changes

release-rsdoctor is a skill published in the GitHub repository web-infra-dev/rsdoctor (1,139 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 439 once invoked, about $0.0003 per session on Opus 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.