# Turn Receipts — every file the agent touched

> A clean end-of-turn receipt of every file written or modified, taken from git when available and from file timestamps when not.

Turn Receipts — every file the agent touched is a paid AI agent skill on Agensi by SouthernSibyl, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [SouthernSibyl](https://www.agensi.io/creators/southernsibyl)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.0
- Last updated: 2026-11-21
- Security: scan passed (2026-11-21); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/turn-receipts-every-file-the-agent-touched
- Tags: workflow, git, reporting

## About this skill

Stop guessing which files were modified during a complex coding session. This skill provides a verifiable audit trail of every file an agent creates, edits, or deletes, replacing vague summaries with concrete file paths.

### What it does
- **Git integration** identifies exact file statuses including new, modified, and deleted tracked or untracked files.
- **Timestamp fallback** scans the file system for changes within a specific window when git is unavailable.
- **Absolute path reporting** ensures every file entry is clickable and locatable in your terminal or IDE.
- **Manual filtering** removes irrelevant system logs or user-edited files to keep the receipt focused on the agent's work.
- **Machine-readable output** supports JSON formatting for integration into larger CI/CD or logging pipelines.

### How it works
1. The agent executes the receipt script at the end of a task or before a commit.
2. It checks the environment for a git repository to pull porcelain status.
3. If no git is found, it uses file modification times within a configurable lookback window.
4. The agent cross-references the list against its own actions to filter out noise.
5. A formatted Markdown list of paths and statuses is delivered as the turn's final output.

### Frameworks & tools
The skill runs via a `node` script and interacts directly with the local file system and `git` CLI.

### Why this beats prompting it yourself
Standard LLMs often hallucinate file names or omit small configuration changes from their summaries. This skill uses actual system state and git porcelain output to prove what happened, ensuring you never commit unexpected side effects.

### Use cases
- Auditing agent changes before executing a `git add` and `git commit` sequence.
- Providing a handoff report when switching between different specialized agents.
- Verifying file creations in non-git environments like temporary scratchpads or build directories.
- Answering user queries about specific implementation footprints.

### Known limitations
Timestamp mode cannot detect deleted files and may include files edited by the user. Changes made outside the git work tree are not captured by the git provider.

## Requires

- Git

## 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 Turn Receipts — every file the agent touched 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

### How does a "turn receipt" differ from the standard summary an AI agent usually provides?

Unlike LLM-generated summaries which can hallucinate or miss minor edits, this skill queries your system's git porcelain and file timestamps to provide an objective, 100% accurate list of every file touched during a session.

### Will this skill still work if my project isn't initialized as a Git repository?

In environments without Git, the skill uses a configurable lookback window to scan file modification timestamps; however, please note that timestamp mode cannot track deleted files as they no longer exist on the disk for scanning.

### What exactly is included in the purchase of the 'turn receipts' skill?

The skill includes the core Node.js execution script, a configuration guide for setting up lookback windows and file filters, and documentation on how to integrate the output into your agent's final response loop.

### Can I filter out specific files or directories from appearing in the audit trail?

Yes, you can apply manual filters to exclude specific directories (like node_modules or system logs) to ensure the audit trail remains focused strictly on relevant code changes and configuration updates.

---

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.
