toolhive: Skill for Claude Code

.claude/skills/check-contribution/SKILL.md

check-contribution is a skill for Claude Code from stacklok/toolhive. It costs 24 tokens per session (255 once invoked), scanned A, original, Apache-2.0.

A read-only checklist for validating Kubernetes operator Helm chart contributions before they are committed. Helm charts are templates that generate Kubernetes configuration files.

In plain words
What is it for?
Use it to run Helm template validation, chart linting, and a dry-run documentation check, then report failures with commands for fixing them.
Why use it?
It catches rendering, linting, and documentation problems before review or automation finds them.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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/check-contribution/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 check-contribution

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/stacklok/toolhive/check-contribution"><img src="https://agentmods.dev/badge/skills/stacklok/toolhive/check-contribution.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 255 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.00024 $0.00255
Opus 5.5 $0.00010 $0.00102
Sonnet 5.5 $0.00005 $0.00051
Haiku 4.5 $0.00002 $0.00026

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

Security

Grade A, and why

check-contribution 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/check-contribution/SKILL.md · 42 lines

What it actually says

Check Operator Chart Contribution Practices

Verify that all contribution guidelines from deploy/charts/operator/CONTRIBUTING.md are followed before committing Helm chart changes. Do not make any edits to files.

Checks

1. Helm Template Validation

cd "$(git rev-parse --show-toplevel)"/deploy/charts/operator && helm template test .

Verify the output contains valid Kubernetes YAML without errors.

2. Chart Linting

ct lint

Report any linting errors or warnings.

3. Documentation Generation

helm-docs --dry-run

Verify that values.yaml variables are documented and the generated README.md matches.

Output Format

✅ or ❌ Helm template renders successfully
✅ or ❌ Chart linting passes
✅ or ❌ Documentation up-to-date

Note: Chart version bumps are automated by the release bot. Feature PRs should NOT modify Chart.yaml.

Include specific errors for any failing checks with actionable remediation commands.

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 · 42 lines · 24 tokens per session scan A e4131e14376e

Subscribe to this mod's changes

check-contribution is a skill published in the GitHub repository stacklok/toolhive (2,307 stars, last pushed today), licensed Apache-2.0. It adds 24 tokens to every session and 255 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

Other skills, from other repositories

clinical-trial-protocol-skill

Generate clinical trial protocols for medical devices or drugs. This skill should be used when users say "Create a clinical trial protocol", "Generate protocol for [device/drug]", "Help me design a clinical study", "Research similar trials for [intervention]", or when developing FDA submission documentation for…

Agent-Threat-Rule/agent-threat-rules · 70 tokens

claude-d3js-skill

This skill provides guidance for creating sophisticated, interactive data visualisations using d3.js.

Agent-Threat-Rule/agent-threat-rules · 25 tokens

adr-skill

Create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows. Use when you need to propose, write, update, accept/reject, deprecate, or supersede an ADR; bootstrap an adr folder and index; consult existing ADRs before implementing changes; or enforce ADR conventions. This skill uses…

Agent-Threat-Rule/agent-threat-rules · 89 tokens

terraform-skill

Terraform infrastructure as code best practices.

Agent-Threat-Rule/agent-threat-rules · 10 tokens

create-auth-skill

Scaffold and implement authentication in TypeScript/JavaScript apps using Better Auth. Detect frameworks, configure database adapters, set up route handlers, add OAuth providers, and create auth UI pages. Use when users want to add login, sign-up, or authentication to a new or existing project with Better Auth.

Agent-Threat-Rule/agent-threat-rules · 66 tokens

prior-auth-review-skill

Automate payer review of prior authorization (PA) requests. This skill should be used when users say "Review this PA request", "Process prior authorization for [procedure]", "Assess medical necessity", "Generate PA decision", or when processing clinical documentation for coverage policy validation and authorization…

Agent-Threat-Rule/agent-threat-rules · 63 tokens