Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

signed-audit-trails-recipe

Skill by wshobson

Teaches how to set up cryptographically signed audit receipts for Claude Code tool calls. Aimed at teams evaluating the pattern before adopting the protect-mcp runtime hooks.

  • Score 94
  • 43k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install signed-audit-trails-recipe

Built from the published package, never by AI.

git clone --depth 1 https://github.com/wshobson/agents /tmp/agents && mkdir -p ~/.claude/skills && cp -r /tmp/agents/plugins/signed-audit-trails/skills/signed-audit-trails-recipe ~/.claude/skills/signed-audit-trails-recipe

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install signed-audit-trails-recipe in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a cookbook walkthrough for signed audit trails on Claude Code tool calls such as Bash, Edit, Write and WebFetch. Each call is checked against a Cedar policy before it runs, and an Ed25519 receipt is signed after it runs. The steps cover installing the protect-mcp hooks, writing a Cedar policy, inspecting receipts, and verifying them offline with @veritasacta/verify.

It also shows how to demonstrate tamper detection, wire receipt verification into CI/CD, and compose receipts with SLSA provenance. It is intended for people evaluating the pattern before committing to protect-mcp, and for regulated or multi-party settings that need tamper-evident evidence of agent behavior.

Written from the project's SKILL.md and checked against it.

What it can do

  • Cedar policy gateEvaluates each tool call against a Cedar policy before it executes.
  • Ed25519 receiptsSigns a JCS-canonical receipt for each tool call after it runs.
  • Receipt inspectionShows how to print the newest receipt from the receipts log.
  • Offline verificationVerifies receipts with @veritasacta/verify using the public key only.
  • Tamper detection demoWalks through altering a receipt field and seeing verification fail.
  • CI/CD verificationDescribes a GitHub Actions workflow that verifies and uploads receipts.
  • SLSA compositionExplains how the receipt chain can be referenced in SLSA provenance byproducts.

What you need

  • Claude Code
  • protect-mcp plugin
  • Node.js (npx commands)
  • Python 3 (tamper demo script)

Try asking

  • Explain how signed audit receipts work for Claude Code tool calls.
  • Walk me through writing a Cedar policy for read-only tools.
  • Show me how to verify my receipts and detect any tampering.

Good to know

  • No tool call is gated until a ./protect.cedar policy file exists; without it calls are allowed.
  • Verification may not detect a truncated tail or reordering within the legacy portion of a mixed log.
  • The CI workflow runs only on pushes to the default branch, not on pull requests.
  • This is a teaching skill; the protect-mcp plugin is the runtime implementation for production.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/signed-audit-trails/skills/signed-audit-trails-recipe/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md10 KB
  • references/cedar-policy.md4 KB
  • references/ci-cd.md2 KB
  • references/hook-wiring.md2 KB
  • references/receipt-format.md4 KB

Alternatives to signed-audit-trails-recipe

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

signed-audit-trails-recipe: common questions

Does verifying receipts need a network connection?

No. The source says receipts are verifiable offline by anyone with the public key, with no network call or vendor lookup.

Can a tampered receipt be detected?

Yes. Editing signed contents fails the Ed25519 signature check, and the verifier exits with code 1 and reports the failing line.

Does this skill replace the protect-mcp plugin?

No. The source describes this as the teaching skill and points to the protect-mcp plugin as the runtime implementation to use in production.

How do I install signed-audit-trails-recipe?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is signed-audit-trails-recipe free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is signed-audit-trails-recipe safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to signed-audit-trails-recipe?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

signed-audit-trails-recipe Install

Add to stack

Loading.