pre-release-audit

pre-release-audit is a command for Claude Code from coralogix/canopy. It costs 0 tokens per session (521 once invoked), scanned A, original, Apache-2.0.

A pre-release checklist command that checks whether a software project is ready to publish. It reviews repository state, versions, tests, linting, changelog entries, open work, and locked dependencies.

In plain words
What is it for?
Use it before releasing Python, Node.js, Rust, or similar projects. It can inspect the current branch, compare versions in common project files, look for TODO or FIXME items, and run available tests or lint checks when possible.
Why use it?
It helps find release blockers before code is shipped, such as uncommitted files, mismatched version numbers, failing checks, or missing release notes.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it before releasing Python, Node.js, Rust, or similar projects. It can inspect the current branch, compare versions in common project files, look for TODO or FIXME items, and run available tests or lint checks when possible.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/coralogix/canopy/pre-release-audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/coralogix/canopy

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 pre-release-audit

README.md
[![agentmods](https://agentmods.dev/badge/commands/coralogix/canopy/pre-release-audit.svg)](https://agentmods.dev/commands/coralogix/canopy/pre-release-audit)
Your own site
<a href="https://agentmods.dev/commands/coralogix/canopy/pre-release-audit"><img src="https://agentmods.dev/badge/commands/coralogix/canopy/pre-release-audit.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 521 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.00521
Opus 5 $0.00000 $0.00260
Sonnet 5 $0.00000 $0.00104
Haiku 4.5 $0.00000 $0.00052

Measured 8d ago against content hash 13afb45620b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

pre-release-audit 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 8d 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.

cli/canopy_cli/examples/release-pilot/.claude/commands/pre-release-audit.md · 49 lines

What it actually says

/pre-release-audit

Run a pre-release checklist and report what's ready, what's not, and what needs attention.

Steps

  1. Uncommitted changes — Run git status. Flag any modified or untracked files.
  2. Current branch — Run git branch --show-current. Warn if not on the expected release branch.
  3. Version consistency — Find all version references:
    • pyproject.toml (Python: version = "...")
    • package.json (Node: "version": "...")
    • Cargo.toml (Rust: version = "...")
    • CHANGELOG.md (most recent entry version)
    • Any other manifest files Compare them. Flag any mismatch.
  4. Tests — Check if a test suite exists. If pyproject.toml is present: note cd cli && uv run pytest status (run if possible). Same for package.jsonnpm test.
  5. Lint — Check for lint config (.ruff.toml, .eslintrc, etc.). Note the lint command and run if possible.
  6. CHANGELOG.md — Check that it exists and has an entry for the current version (not just [Unreleased]).
  7. Open items — Look for TODO, FIXME, HACK in recently changed files (git diff HEAD~5..HEAD). Flag any that seem release-blocking.
  8. Dependencies — If a lock file exists (uv.lock, package-lock.json, Cargo.lock), check that it's committed.

Output Format

## Pre-Release Audit

### ✅ Ready
- [item]: [detail]

### ❌ Blocking
- [item]: [what's wrong and where to fix it]

### ⚠️ Needs Attention
- [item]: [what to check]

### ⬜ Could Not Check
- [item]: [why — missing credentials, tool not available, etc.]

---
**Summary:** X of Y checks passing. [Release-ready | Not ready — see blocking items above]

Rules

  • Be specific: file paths, line numbers, exact version strings
  • Only mark something ❌ Blocking if it would likely cause a production issue
  • Don't fail a release for stylistic preferences — focus on correctness
  • If you can't run a check (no permission, missing tool), put it in ⬜ rather than guessing
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. 8d ago First seen · 49 lines · 0 tokens per session scan A 13afb45620b5

Subscribe to this mod's changes

pre-release-audit is a command published in the GitHub repository coralogix/canopy (89 stars, last pushed 4mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 521 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-30.