toolhive: Skill for Claude Code

.claude/skills/toolhive-release/SKILL.md

toolhive-release is a skill for Claude Code from stacklok/toolhive. It costs 77 tokens per session (1,229 once invoked), scanned A, original, Apache-2.0.

A ToolHive release helper that reviews commits since the previous version tag and prepares the release process, including a recommendation for the version-number change.

In plain words
What is it for?
Use it when cutting a release, checking what changed since the last release, choosing a version bump, or triggering the release workflow.
Why use it?
It reduces the guesswork of deciding whether changes require a major, minor, or patch release and helps prepare the release pull request.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is stacklok/toolhive's own configuration. It tells Claude Code how to work on toolhive 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 toolhive configures →

About the project

ToolHive is a platform for running and managing Model Context Protocol servers, which give AI clients access to tools and data. Developers, platform teams, and enterprises use it to isolate MCP servers, control access, and monitor their operation. The catalogue entries provide agent workflows and configuration for operating ToolHive and its MCP servers.

stacklok/toolhive · 2,307 stars · on GitHub · stacklok.com

Reuse

Borrowing it

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

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 toolhive-release

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/stacklok/toolhive/toolhive-release"><img src="https://agentmods.dev/badge/skills/stacklok/toolhive/toolhive-release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,229 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.00077 $0.01229
Opus 5.5 $0.00031 $0.00492
Sonnet 5.5 $0.00015 $0.00246
Haiku 4.5 $0.00008 $0.00123

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

Security

Grade A, and why

toolhive-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 1mo 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/toolhive-release/SKILL.md · 155 lines

How it starts

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

ToolHive Release

Automates the ToolHive release process by analyzing changes and triggering the release PR workflow.

When to Use

  • When cutting a new ToolHive release
  • When checking what's changed since the last release
  • When deciding between patch, minor, or major version bump
  • When the user says "release", "cut a release", "new version", or "version bump"

Instructions

Step 1: Find the Last Release

git tag --sort=-v:refname | head -1

This returns the most recent version tag (e.g., v0.8.3).

Step 2: List Commits Since Last Release

git log <last-tag>..HEAD --oneline --no-merges

Count the commits:

git log <last-tag>..HEAD --oneline --no-merges | wc -l

Step 3: Categorize Changes

Analyze each commit and categorize into:

Category Description Version Impact
New Features New functionality, new commands, new APIs Minor bump
Bug Fixes Fixes to existing functionality Patch bump
Breaking Changes API changes, removed features, incompatible changes Major bump
Improvements Enhancements to existing features, refactoring Patch or Minor
Tests/CI Test additions, CI/CD changes No impact
Documentation Doc updates, README changes No impact
Dependencies Dependency updates (Renovate PRs) Patch bump

Step 4: Recommend Version Bump

Based on the categorization:

  • Major (X.0.0): Any breaking changes present
  • Minor (0.X.0): New features without breaking changes
  • Patch (0.0.X): Only bug fixes, dependency updates, improvements

Present the recommendation with justification to the user.

Step 5: Trigger the Release Workflow

IMPORTANT: Present the analysis and recommendation to the user and WAIT for explicit confirmation before proceeding.

After user confirms the bump type, use the GitHub MCP tool to trigger the workflow:

mcp__github__run_workflow(
  owner: "stacklok",
  repo: "toolhive",
  workflow_id: "create-release-pr.yml",
  ref: "main",
  inputs: { "bump_type": "<patch|minor|major>" }
)

Read the full file on GitHub · 155 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 155 lines · 77 tokens per session scan A e885b5b06c36

Subscribe to this mod's changes

toolhive-release is a skill published in the GitHub repository stacklok/toolhive (2,307 stars, last pushed today), licensed Apache-2.0. It adds 77 tokens to every session and 1,229 once invoked, about $0.0003 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.