# Agent Receipts: Tamper-Evident Log of Every AI Action

> Every shell command, file write, edit and MCP call your agent makes gets a hash-chained receipt in a local file. Edit or delete any old receipt and verify names the exact line. Secrets redacted, writes read back and Confirmed. Pure Python, no network, no accounts.

Agent Receipts: Tamper-Evident Log of Every AI Action is a paid AI agent skill on Agensi by Chris Rivera, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $12 (one-time purchase)
- Creator: [Chris Rivera](https://www.agensi.io/creators/orgrgnrk)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.0
- Last updated: 2026-11-17
- Security: scan passed (2026-11-17); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/agent-receipts-tamper-evident-log-of-every-ai-action
- Tags: security, llm-ops, audit-trail, claude-code-hooks, logging, compliance

## About this skill

### Know exactly what your agent did

AI agents act fast and summarize loosely. "I updated the config" doesn't tell you which files changed, which commands ran, or whether the write actually landed. Agent Receipts gives you the record.

**Every tool call leaves a receipt** in `~/.claude/receipts/receipts.jsonl`: time, session, tool, Read or Change, status, target, and a redacted summary.

**Receipts are chained.** Each one carries a SHA-256 fingerprint of the one before it. Change or remove any old receipt and `receipts.py verify` points at the exact line. Save an `anchor` line somewhere else and even a full rewrite is caught.

**Writes are proven, not assumed.** After a Write or Edit, the file is read back from disk. If it holds what the agent meant to write, the receipt says `Confirmed`.

**Private by design.** File contents, command output and MCP arguments are never logged. API keys, tokens, passwords, Authorization headers and user:pass URLs are redacted before anything is written.

### What you get

- `install.py`: adds the hooks to Claude Code settings (backup first, keeps your other settings, clean uninstall)
- `receipts.py show | verify | anchor`
- `test.py`: 21-check self-test that runs on your machine
- Standard-library Python 3 on macOS, Linux and Windows. No network, no database, no account.

### Honest limits

- Tamper-evident, not tamper-proof: anyone who can write the file can rewrite it. Anchors kept elsewhere catch that.
- A call blocked at a permission prompt never runs, so it gets no receipt.
- Hook enforcement is Claude Code only. The instructions work in any agent.

Built from the receipt system I run on my own Mac and home server every day, where no AI action counts unless it left a receipt.

## Requires

- Python 3.8+
- Git
- Optional: Claude Code (for automatic receipts via hooks)

On Windows, install Python from python.org so the py launcher is available.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Agent Receipts: Tamper-Evident Log of Every AI Action skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does Agent Receipts: Tamper-Evident Log of Every AI Action do?

Every shell command, file write, edit and MCP call your agent makes gets a hash-chained receipt in a local file. Edit or delete any old receipt and verify names the exact line. Secrets redacted, writes read back and Confirmed. Pure Python, no network, no accounts.

### Which AI agents support Agent Receipts: Tamper-Evident Log of Every AI Action?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Agent Receipts: Tamper-Evident Log of Every AI Action?

Connect your AI agent to Agensi through MCP, then ask it to use Agent Receipts: Tamper-Evident Log of Every AI Action on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
