wshobson avatar

Signed Audit Trails Recipe

Cryptographically signed audit trails for Claude Code tool calls, with Cedar policy gating and offline verification.

CCM score
71 of 100
skills.sh installs
7.2K
GitHub stars
42.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full receipt workflow: Cedar policy evaluation before each tool call, Ed25519 receipt signing after it, and offline verification
  • Includes setup steps for protect-mcp hooks, a signing key via npx protect-mcp@0.32.4 init, and a receipts.jsonl log for inspection
  • Demonstrates tamper detection with @veritasacta/verify@0.11.1 --replay-chain, where exit code 1 flags an altered receipt
  • Designed for regulated teams, CI/CD pipelines, and SLSA provenance composition before committing to the protect-mcp runtime

Install

$ npx -y skills add wshobson/agents --skill signed-audit-trails-recipe -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Signed Audit Trails for Claude Code Tool Calls

Cookbook-style walkthrough for cryptographically signed receipts on every Claude Code tool call. This is the teaching skill. For the runtime implementation, install the protect-mcp plugin.

What this gives you

Every tool call (Bash, Edit, Write, WebFetch) is:

  1. Evaluated against a Cedar policy before execution. If the policy denies the call, the tool does not run.
  2. Signed as an Ed25519 receipt after execution. Receipts are JCS-canonical and verifiable offline by anyone with the public key.

An auditor, regulator, or counterparty can verify every receipt later (Step 5). No network call, no vendor lookup, no trust in the operator.

When to use the pattern

Details

Repository
github.com/wshobson/agents
Categories
Security, Agent Workflow & Planning
First seen
May 16, 2026

More from wshobson/agents

All 174

Similar to Signed Audit Trails Recipe

More Security