/verify-receipt
Verify a single Ed25519-signed receipt file. Returns exit 0 if valid, 1 if tampered, 2 if malformed.
$ npx -y skills add wshobson/agents --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/verify-receipt
Context preview
What this command does when you run it.
Verify a single Ed25519-signed receipt file. Returns exit 0 if valid, 1 if tampered, 2 if malformed.
Command definition
verify-receipt.mddescription: "Verify a single Ed25519-signed receipt file. Returns exit 0 if valid, 1 if tampered, 2 if malformed."
argument-hint: "<path-to-receipt.json>"
Verify Receipt
Verify an Ed25519 signed receipt produced by `protect-mcp`. The verification runs entirely offline using `@veritasacta/verify` from npm. No network requests, no vendor lookups, no trust in the operator required.
Usage
/verify-receipt ./receipts/2026-04-15T10-30-00Z.json
What This Command Does
1. Reads the receipt JSON file 2. Validates the structure (required fields, correct types) 3. Extracts the public key and signature 4. Reconstructs the canonical form (JCS, RFC 8785) 5. Verifies the Ed25519 signature over the canonical bytes 6. Reports the result
Implementation
Run this in the Bash tool:
npx @veritasacta/verify "$1"
Where `$1` is the receipt path provided by the user.
Expected exit codes
| Exit | Meaning | Action | |------|---------|--------| | 0 | Valid receipt, signature verified | Report: "Verified. Receipt authentic." | | 1 | Signature mismatch — receipt tampered | Report: "TAMPERED. Signature does not match payload." | | 2 | Malformed receipt | Report: "Malformed. Missing required fields or invalid structure." |
What to Show the User
For a valid receipt:
Verified ✓
Receipt: rec_8f92a3b1
Tool: Bash
Decision: allow (policy: autoresearch-safe)
Signed at: 2026-04-15T10:30:00.000Z
Signer: 4437ca56815c0516...
Chain link: parent=rec_3d1ab7c2 ✓
For a tampered receipt:
TAMPERED ✗
The signature does not match the payload. This receipt has been modified
since it was signed.
Receipt ID: rec_8f92a3b1
Expected signer: 4437ca56815c0516...
Possible causes:
- A field was edited after signing (most common)
- The signature was copied from a different receipt
- The public key was replaced
Compare this receipt against a known-good copy to identify the altered field.
For a malformed receipt:
MALFORMED ✗
The file is not a valid Veritas Acta receipt. Missing or invalid fields:
<list the specific structural issues>
A valid receipt must include: receipt_id, receipt_version, issuer_id,
event_time, tool_name, decision, public_key, signature.
References
- Receipt format: [IETF draft-farley-acta-signed-receipts](https://datatracker.ietf.org/doc/draft-farley-acta-signed-receipts/)
- Verify CLI: [@veritasacta/verify on npm](https://www.npmjs.com/package/@veritasacta/verify)
- Chain verification: use `/audit-chain` for a full chain walk
Read more
description: "Verify a single Ed25519-signed receipt file. Returns exit 0 if valid, 1 if tampered, 2 if malformed." argument-hint: "<path-to-receipt.json>"
Verify Receipt
Verify an Ed25519 signed receipt produced by `protect-mcp`. The verification runs entirely offline using `@veritasacta/verify` from npm. No network requests, no vendor lookups, no trust in the operator required.
Usage
/verify-receipt ./receipts/2026-04-15T10-30-00Z.json
What This Command Does
1. Reads the receipt JSON file 2. Validates the structure (required fields, correct types) 3. Extracts the public key and signature 4. Reconstructs the canonical form (JCS, RFC 8785) 5. Verifies the Ed25519 signature over the canonical bytes 6. Reports the result
Implementation
Run this in the Bash tool:
npx @veritasacta/verify "$1"
Where `$1` is the receipt path provided by the user.
Expected exit codes
| Exit | Meaning | Action | |------|---------|--------| | 0 | Valid receipt, signature verified | Report: "Verified. Receipt authentic." | | 1 | Signature mismatch — receipt tampered | Report: "TAMPERED. Signature does not match payload." | | 2 | Malformed receipt | Report: "Malformed. Missing required fields or invalid structure." |
What to Show the User
For a valid receipt:
Verified ✓ Receipt: rec_8f92a3b1 Tool: Bash Decision: allow (policy: autoresearch-safe) Signed at: 2026-04-15T10:30:00.000Z Signer: 4437ca56815c0516... Chain link: parent=rec_3d1ab7c2 ✓
For a tampered receipt:
TAMPERED ✗ The signature does not match the payload. This receipt has been modified since it was signed. Receipt ID: rec_8f92a3b1 Expected signer: 4437ca56815c0516... Possible causes: - A field was edited after signing (most common) - The signature was copied from a different receipt - The public key was replaced Compare this receipt against a known-good copy to identify the altered field.
For a malformed receipt:
MALFORMED ✗ The file is not a valid Veritas Acta receipt. Missing or invalid fields: <list the specific structural issues> A valid receipt must include: receipt_id, receipt_version, issuer_id, event_time, tool_name, decision, public_key, signature.
References
- Receipt format: [IETF draft-farley-acta-signed-receipts](https://datatracker.ietf.org/doc/draft-farley-acta-signed-receipts/)
- Verify CLI: [@veritasacta/verify on npm](https://www.npmjs.com/package/@veritasacta/verify)
- Chain verification: use `/audit-chain` for a full chain walk
Production-ready agentic workflow building blocks: 94 plugins, 203 agents, 175 skills, 109 commands — built for Claude Code and consumed natively by OpenAI Codex CLI, Cursor, OpenCode, Gemini CLI, and GitHub Copilot from a single Markdown source.
Repo: wshobson/agents
Other commands on wshobson-agents.
- /accessibility-audit
You are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive technology compatibility. Conduct comprehensive audits, identify barriers, provide remediation guidance, and ensure digital products are accessible to all users.
Open command - /improve-agent
Systematic improvement of existing agents through performance analysis, prompt engineering, and continuous iteration.
Open command - /multi-agent-optimize
The Multi-Agent Optimization Tool is an advanced AI-driven framework designed to holistically improve system performance through intelligent, coordinated agent-based optimization. Leveraging cutting-edge AI orchestration techniques, this tool provides a comprehensive approach to
Open command - /team-debug
Debug issues using competing hypotheses with parallel investigation by multiple agents
Open command - /team-delegate
Task delegation dashboard for managing team workload, assignments, and rebalancing
Open command - /team-feature
Develop features in parallel with multiple agents using file ownership boundaries and dependency management
Open command

