Chatleak β AI skill for Claude Code
π§© VS Code extension: Finds AI coding tool transcripts, prompt histories and local-only agent settings that leak through git or published packages: Aider chat and input history, SpecStory history, Cla.
How to install Chatleak
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open jay-tank/chatleak and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Chatleak does
π§© VS Code extension: Finds AI coding tool transcripts, prompt histories and local-only agent settings that leak through git or published packages: Aider chat and input history, SpecStory history, Claude Code settings.local.json and CLAUDE.local.md, Continue .continue/.env, Jupyter AI chats.
Alternatives in AI
- Upstream Watch β Review pydantic-ai and pydantic-ai-harness releases published since the last watch entry, and record a verdict 361 β
- Coffee CLI β A clean AI terminal workspace 180 β
- Prompt Line β Prompt Line is a macOS app developed to improve the prompt input experience in the terminal for CLI-based AI c 148 β
README
ChatLeak: AI Chat History and Agent Session Leak Checker
AI coding tools write their conversations into your project folder. Aider keeps `.aider.chat.history.md` and `.aider.input.history` next to your code, SpecStory saves every chat to `.specstory/history/`, Jupyter AI stores chats as `.chat` files, and Claude Code and Continue keep personal settings and secrets in `.claude/settings.local.json`, `CLAUDE.local.md` and `.continue/.env`. One `git add .` later, the whole conversation is in the repository:
#### why does the deploy fail?
Set the key like this:
export OPENAI_API_KEY=sk-proj-... <- pasted into the chat, now in git
#### here is the customer record that breaks it: ...
Transcripts keep everything: API keys pasted while debugging, internal code, customer data, and the prompts themselves. They also ship by accident in npm packages, Python sdists and Docker images.
ChatLeak finds these files, tells you exactly how each one leaks (committed, missing from `.gitignore`, holding a key, or packaged), and fixes the safe part for you.
What you see
- Activity bar: a ChatLeak icon opens the AI chat leaks view. Findings are grouped by file,
and every row names the file and the problem:
.aider.chat.history.md is committed (contains 2 secret-like strings),OpenAI project key sk-proj-**** (164 chars) on line 7,pkg/.aider.input.history ships in the npm package. A badge shows the number of findings. - Inline actions on a row: add the documented pattern to
.gitignore(or.dockerignore,.npmignore,MANIFEST.in), stop tracking the file in git (asks first), and, for files found in past commits, how to remove them from history. - Problems and Quick Fixes on the files themselves, with the exact key range underlined.
- Status bar:
ChatLeak: N. Click it to open the view. - Scan Git History (view title button): finds transcripts that were committed and later deleted, so they are still in every clo
Related Skills
Agent History Tether
Move, rename, or copy a project folder without losing your AI coding agents' chat history. aht relinks the per
Poolwatch
Sets up and keeps a Windows PC healthy for AI coding agents (Claude Code, Codex). Watches the kernel pool, fin
Gitspawn Scan
Scan a folder before your AI coding agent opens it. Finds the git config, hooks and agent settings that execut
Ghostrules
Know exactly what your AI agent reads. Scans AGENTS.md, CLAUDE.md, .cursorrules, skills and MCP configs, follo
The Optimizer
The Optimizer: an app that finds the best-looking settings a PC VR game can hold at 72 frames a second. You pi
Agent Prompt Observatory
Visual history of Claude Code's system prompt: stream-graph timeline across every published version, inline co
Related Agents
Perf Deep Audit
Use this agent when you need a deep performance review of Electron, React, or Vite-related code β especially f
Worldbuilder
Creates consistent, detailed fantasy settings including magic systems, cultures, histories, and locations.
ForensicAgent
Forensic security analyst β PII detection, secret scanning, identity leak auditing across git history, staged