wshobson avatar

Signed Audit Trails Recipe

This is a teaching cookbook for adding cryptographically signed audit trails to Claude Code tool calls. Every bash command, file edit, or web fetch gets evaluated against a Cedar policy, then signed with Ed25519 into a tamper-evident receipt. The receipts chain together and verify offline with a single CLI command, no network or vendor lookup needed. Most useful in regulated environments (finance, healthcare), CI/CD pipelines where you need proof a policy gate held, or when a counterparty wants to verify your agent's behavior without trusting you. The actual runtime lives in a separate protect-mcp plugin; this skill walks through the pattern, cryptography, and cross-implementation interop before you commit to the hooks.

skills.sh installs
6.7K
GitHub stars
42.4K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/wshobson/agents
Categories
Frontend Development, DevOps & CI/CD, AI & Agent Building
First seen
May 16, 2026

More from wshobson/agents

All 174
1assistant-ui avatarstreamingassistant-ui/skillsStreaming backends and wire protocols for assistant-ui via the assistant-stream package. Use when building a custom (non-AI-SDK) streaming endpoint with createA6.7Kskills.sh installs
2manaflow-ai avatarcmux-diagnosticsmanaflow-ai/cmuxRun end-user cmux diagnostics. Use when cmux hooks, notifications, session restore, settings, browser automation, socket access, CLI control, or agent resume be6.6Kskills.sh installs
3pixijs avatarpixijs-accessibilitypixijs/pixijs-skillsUse this skill when adding screen reader and keyboard navigation to PixiJS v8 apps. Covers AccessibilitySystem options (enabledByDefault, debug, activateOnTab, 6.6Kskills.sh installs
4dagster-io avatardagster-expertdagster-io/skillsExpert guidance for working with Dagster and the dg CLI. ALWAYS use before doing any task that requires knowledge specific to Dagster, or that references assets6.5Kskills.sh installs
5rorkai avatarasc-aso-auditrorkai/app-store-connect-cli-skillsRun an offline ASO audit on canonical App Store metadata under `./metadata` and surface keyword gaps using Astro MCP. Use after pulling metadata with `asc metad6.4Kskills.sh installs
6affaan-m avatarprompt-optimizeraffaan-m/eccAnalyze raw prompts, identify intent and gaps, match ECC components (skills/commands/agents/hooks), and output a ready-to-paste optimized prompt. Advisory role 6.3Kskills.sh installs