ask-google-mcp: Command for Claude Code

.claude/commands/release.md

release is a command for Claude Code from gregpriday/ask-google-mcp. It costs 0 tokens per session (1,732 once invoked), scanned A, original, MIT.

A release command for the ask-google-mcp npm package. It determines the version change, runs tests, creates a Git tag and starts the publishing workflow.

In plain words
What is it for?
Use it to prepare and publish a new npm release from the main branch through the project's automated workflow.
Why use it?
It gathers the release checks and versioning steps into one repeatable process, stopping when tests fail.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

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

Reuse

Borrowing it

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/gregpriday/ask-google-mcp/release/github.svg)](https://agentmods.dev/commands/gregpriday/ask-google-mcp/release)
Your own site
<a href="https://agentmods.dev/commands/gregpriday/ask-google-mcp/release"><img src="https://agentmods.dev/badge/commands/gregpriday/ask-google-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/commands/gregpriday/ask-google-mcp/release"><img src="https://agentmods.dev/badge/commands/gregpriday/ask-google-mcp/release.svg" alt="Reviewed on agentmods" width="80" 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 1,732 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.00000 $0.01732
Opus 5.5 $0.00000 $0.00693
Sonnet 5.5 $0.00000 $0.00346
Haiku 4.5 $0.00000 $0.00173

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

.claude/commands/release.md · 183 lines

How it starts

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

Automated NPM Release for @gpriday/ask-google-mcp

Publishing is handled by the .github/workflows/publish.yml workflow, which runs on every v* tag push using NPM trusted publishing (OIDC). This command prepares and pushes the tag; CI does the actual npm publish.

Current State

  • Git status: !git status
  • Current branch: !git branch --show-current
  • Latest tag: !git describe --tags --abbrev=0 2>/dev/null || echo "none"
  • Current version: !node -p "require('./package.json').version"
  • Changes since last tag: !git log $(git describe --tags --abbrev=0 2>/dev/null || echo "HEAD")..HEAD --oneline 2>/dev/null || echo "No previous tags"

Automated Release Process

This command will automatically:

  1. Analyze commit history to determine version bump type
  2. Run all tests locally (STOP if any fail)
  3. Update package.json version
  4. Commit the bump
  5. Create an annotated git tag
  6. Push main and the tag to origin
  7. Watch the publish workflow and report when it publishes

Step 1: Analyze Changes & Determine Version

Version bump override: $ARGUMENTS

If $ARGUMENTS is empty, auto-detect version bump:

Read all commits since the last git tag. Analyze commit messages following Conventional Commits:

  • MAJOR (breaking): Look for "BREAKING CHANGE:", "!" after type (e.g., "feat!:"), or "major:" prefix
  • MINOR (feature): Look for "feat:", "feature:", new functionality
  • PATCH (fix): Look for "fix:", "bugfix:", "chore:", "docs:", "refactor:", "test:", "style:", improvements

Rules:

  • If any BREAKING CHANGE found → MAJOR bump
  • If any feat/feature found (no breaking) → MINOR bump
  • Otherwise → PATCH bump
  • If no commits since last tag → Ask user if they want to proceed with PATCH

Calculate new version based on current package.json version and bump type.

Step 2: Pre-Release Validation

  1. Check for uncommitted changes
    • Run git status --porcelain
    • If ANY uncommitted changes exist, STOP and tell the user: "Please commit or stash all changes before running release. The release process will only commit the version bump in package.json."

Read the full file on GitHub · 183 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 · 183 lines · 0 tokens per session scan A 407ff4f03cac

Subscribe to this mod's changes

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

Related

release compared with commands from other repositories

release next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
releasegregpriday/ask-google-mcpCommand12mo agoMITA0Claude Code
landgmickel/flow-nextCommand717yesterdayMITA13Claude Code
qualityDesko77/claude-code-skills-1cCommand902d agoMITA18Claude Code
release-notesOpenHands/extensionsCommand176yesterdayMITA44Claude Code
release-managerruvnet/agentic-flowCommand838yesterdaynoneA0Claude Code
create-prdsswift/ionCommand52d agoMITA28Claude Code
rally-merge-prddgonzal3/rallyCommand63d agoMITA0Claude Code