# Chrome Debug Cleanup

> Find and selectively close leftover Chrome and Chromium automation sessions while protecting everyday browser profiles.

Chrome Debug Cleanup is a paid AI agent skill on Agensi by augusttty1, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5.99 (one-time purchase)
- Creator: [augusttty1](https://www.agensi.io/creators/augusttty1)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.1.0
- Last updated: 2026-11-26
- Security: scan passed (2026-11-26); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/chrome-debug-cleanup
- Tags: testing-debugging, workflow-automation

## About this skill

Find Chrome and Chromium sessions left behind by Playwright or OMP. Preview each process with an eligibility reason, then close only the sessions you authorize. The bundled offline Python CLI rechecks selected processes before sending SIGTERM, reports the outcome per PID, and leaves browser profile files on disk. Supports independently verified custom automation profiles. Distributed under the MIT license.

## Requires

- Local terminal access
- Python 3.9+
- Google Chrome or Chromium

Run on the browser host under the same non-root user. Linux inspection requires readable /proc. Linux closure requires kernel 5.1+ and Python support for signal.pidfd_send_signal.

## Known limitations

Covers Chrome and Chromium on macOS and Linux. A remote sandbox may have a different process list. Unknown automation profiles require an independently verified exact profile directory. On macOS, a small PID-reuse race remains between rechecking a selected process and signaling it.

## 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 Chrome Debug Cleanup 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

### Will this close my everyday Chrome windows or delete my profile?

The script protects known default Chrome and Chromium profiles. It previews eligible automation sessions and closes only the selection you authorize. Profile files stay on disk.

### Can I clean up a custom automation profile?

Yes. First verify that the directory is dedicated to the automation you want to stop. Use the exact absolute directory with --profile-dir for both preview and cleanup. Known default browser profiles remain protected.

### What if a session is missing or reopens after cleanup?

Run the preview on the browser host under the same non-root account. A remote or restricted shell may see a different process list. If a session reopens, check which automation job launched it and stop that job through its own tool.

---

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.
