checksum

checksum is a command for Claude Code from JeongJaeSoon/agent-guard. It costs 53 tokens per session (332 once invoked), scanned A, original, MIT.

A command that prints gitleaks release checksums. A checksum is a short value used to verify that a downloaded file matches the intended release.

In plain words
What is it for?
Use it to get paste-ready SHA-256 values and setup snippets for a chosen gitleaks version in GitHub Actions or agent-guard.
Why use it?
It avoids manually finding and copying the correct hash for each supported operating system and processor type.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the agent-guard plugin — 2 skills, 2 commands, 5 hooks shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add JeongJaeSoon/agent-guard
Claude Code
/plugin install agent-guard

Made for: Claude Code.

Or install agent-guard, the plugin that ships this one along with the rest of its 2 skills, 2 commands, 5 hooks.

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 checksum

README.md
[![agentmods](https://agentmods.dev/badge/commands/jeongjaesoon/agent-guard/checksum.svg)](https://agentmods.dev/commands/jeongjaesoon/agent-guard/checksum)
Your own site
<a href="https://agentmods.dev/commands/jeongjaesoon/agent-guard/checksum"><img src="https://agentmods.dev/badge/commands/jeongjaesoon/agent-guard/checksum.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 332 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00053 $0.00332
Opus 5 $0.00026 $0.00166
Sonnet 5 $0.00011 $0.00066
Haiku 4.5 $0.00005 $0.00033

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

Security

Grade A, and why

checksum scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **`curl is required`** — instruct the user to install `curl`, then re-run.
plugins/agent-guard/commands/checksum.md · 22 lines

What it actually says

/agent-guard:checksum

Fetches the published gitleaks_<VER>_checksums.txt from the gitleaks releases page and emits the sha256 for every supported OS / arch (darwin x64+arm64, linux x64+arm64) plus paste-ready snippets — so users don't have to open the releases page and grep by hand.

Run

!sh "${CLAUDE_PLUGIN_ROOT}/scripts/gitleaks-checksum.sh" $ARGUMENTS

Interpretation

  • Exit 0 — the script prints all platform checksums and emits both the gitleaks-checksum: YAML snippet and the agent-guard setup --install command; surface them verbatim.
  • failed to fetch — the version probably does not exist. Suggest the user double-check the version on https://github.com/gitleaks/gitleaks/releases.
  • missing one or more required entries — gitleaks doesn't publish a binary for one of the four supported platforms at that version. The script lists the available archive names; relay them.
  • curl is required — instruct the user to install curl, then re-run.

Stay terse: the script's output is already shaped for a copy-paste workflow. Avoid restating it.

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 · 22 lines · 53 tokens per session scan A 50991b6d5474

Subscribe to this mod's changes

checksum is a command published in the GitHub repository JeongJaeSoon/agent-guard (25 stars, last pushed yesterday), licensed MIT. It adds 53 tokens to every session and 332 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.