cf-mcp: Command for Claude Code

.claude/commands/release-gem.md

release-gem is a command for Claude Code from pusewicz/cf-mcp. It costs 0 tokens per session (342 once invoked), scanned A, original, MIT.

A release checklist for a Ruby gem, a reusable Ruby software package. It runs tests and style checks, updates release files, verifies the version, and prepares a pull request.

In plain words
What is it for?
It helps check the code, fix style issues, regenerate the manifest, review changes since the last tag, update the changelog, manage dependencies, and create a release branch and pull request.
Why use it?
It reduces the chance of publishing a release with failing tests, incorrect versioning, missing changelog details, or an outdated package manifest.

Command for Claude Code

Written for Claude Code: installed under .claude/.

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

Reuse

Borrowing it

Nothing to install: this file belongs to pusewicz/cf-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/pusewicz/cf-mcp/main/.claude/commands/release-gem.md
Clone the repo
git clone --depth 1 https://github.com/pusewicz/cf-mcp

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/pusewicz/cf-mcp/release-gem.svg)](https://agentmods.dev/commands/pusewicz/cf-mcp/release-gem)
Your own site
<a href="https://agentmods.dev/commands/pusewicz/cf-mcp/release-gem"><img src="https://agentmods.dev/badge/commands/pusewicz/cf-mcp/release-gem.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 342 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00000 $0.00342
Opus 5 $0.00000 $0.00171
Sonnet 5 $0.00000 $0.00068
Haiku 4.5 $0.00000 $0.00034

Measured 6d ago against content hash b60f2397d9c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

release-gem 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 6d 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/commands/release-gem.md · 27 lines

What it actually says

Prepare a release of the gem by running checks, ensuring version is bumped, changelog is updated, and creating a PR.

  1. Run rake test to ensure all tests pass. If tests fail, stop and report the failures.

  2. Run rake standard to check code style. If there are issues, run rake standard:fix and include the fixes.

  3. Run rake manifest to regenerate Manifest.txt.

  4. Check the current version in lib/cf/mcp/version.rb.

  5. Check git log to see what changes have been made since the last release tag (use git describe --tags --abbrev=0 to find the last tag, then git log <tag>..HEAD --oneline).

  6. If there are meaningful changes that warrant a release:

    • If the version hasn't been bumped yet (no version bump commit since last tag), ask the user what type of version bump is needed (patch/minor/major) and bump accordingly.
    • Update CHANGELOG.md with a new entry for the current version, documenting the changes since the last release.
    • Add the comparison link at the bottom of CHANGELOG.md.
  7. Run bundle install to update Gemfile.lock if version was changed.

  8. Create a new branch named release/vX.Y.Z where X.Y.Z is the version number.

  9. Commit all changes with message "Prepare release vX.Y.Z".

  10. Push the branch and create a PR with:

    • Title: "Release vX.Y.Z"
    • Body: Include the changelog entry for this version and a checklist for release steps.
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. 6d ago First seen · 27 lines · 0 tokens per session scan A b60f2397d9c6

Subscribe to this mod's changes

release-gem is a command published in the GitHub repository pusewicz/cf-mcp (2 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 342 tokens. 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.