hamarshehmhmd

Agentspill — Git skill for Claude Code

Git community

Find secrets coding agents leave on disk: Claude Code 'don't ask again' rules, MCP configs, memory files, transcripts.

How to install Agentspill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open hamarshehmhmd/agentspill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agentspill does

Find secrets coding agents leave on disk: Claude Code 'don't ask again' rules, MCP configs, memory files, transcripts. Shapeless passwords too. Checks git history, rewrites configs to env refs, pre-commit hook.

Alternatives in Git

  • Contributing To Context-mode — This project is licensed under the Elastic License 2.0 (ELv2) and moves forward with your support 5.6k ★
  • Rabbithole — An infinite canvas for learning — select text, ask, and answers branch out as documents 306 ★
  • PR Ship — Ship code directly to main - for small, obvious changes that don't need review 168 ★

README

agentspill

[![CI](https://github.com/hamarshehmhmd/agentspill/actions/workflows/ci.yml/badge.svg)](https://github.com/hamarshehmhmd/agentspill/actions/workflows/ci.yml) [![License: AGPL-3.0-or-later](https://img.shields.io/badge/license-AGPL--3.0--or--later-blue.svg)](LICENSE) ![Python 3.9+](https://img.shields.io/badge/python-3.9%2B-blue.svg) ![Dependencies: none](https://img.shields.io/badge/dependencies-none-brightgreen.svg)

**Your coding agent saved your database password to disk. Then it committed it.**

Click "Yes, and don't ask again" in Claude Code and the exact command, password and all, is saved as a permission rule in `.claude/settings.local.json` inside your project. Claude Code only ignores that file through your *global* gitignore, so a clone on another machine or a CI checkout commits it. [Apiiro found 1,122 public copies with live-looking secrets](https://thehackernews.com/2026/11/claude-codes-dont-ask-again-file.html) (Nov 2026). MCP configs (`.mcp.json`, `.cursor/mcp.json`, `.vscode/mcp.json`) are *meant* to be committed, and [~12% of credential slots in public ones are hardcoded](https://www.hush.security/resources/new-research-finds-1-in-8-credentials-in-public-mcp-config-files-are-hardcoded-secrets-and-most-scanning-cant-see-them/). Most of these secrets have no vendor token shape (a password inside a Postgres URL, a `Bearer` header, `mysql -p...`), so gitleaks and GitHub push protection don't see them. Session transcripts keep everything the agent saw.

`agentspill` knows where each coding agent writes, reads those files properly, finds the secrets in them (including shapeless ones), tells you whether each one reached git, and moves them out.

![agentspill demo](docs/demo.gif)

curl -fsSL https://raw.githubusercontent.com/hamarshehmhmd/agentspill/main/install.sh | sh

What it does

Command Answers
agentspill scan Which agent files in this repo hold secrets, and is each one committed, pushed, staged, untrac