# Cleanup Check

> Verifica che l'ambiente sia stato lasciato pulito dopo le tue azioni. Invocala dopo operazioni che toccano filesystem, processi, container, nodi remoti via SSH/scp, file in /tmp. Use after work to confirm working trees clean, no orphan processes, no stale temp files — the user's next pull/run must hold no surprises. Triggers anche su "lascia pulito", "non dimenticare residui", quando hai usato `s…

- **Type:** Skill
- **Install:** `agentstack add skill-tommasobbianchi-claude-cognitive-skills-cleanup-check`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [tommasobbianchi](https://agentstack.voostack.com/s/tommasobbianchi)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [tommasobbianchi](https://github.com/tommasobbianchi)
- **Source:** https://github.com/tommasobbianchi/claude-cognitive-skills/tree/main/skills/cleanup-check

## Install

```sh
agentstack add skill-tommasobbianchi-claude-cognitive-skills-cleanup-check
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Cleanup-Check — context-state hygiene

**Principio**: lasciare il sistema dell'utente come l'hai trovato (o meglio). Ogni residuo del tuo lavoro è un'imboscata per la prossima azione sua.

Per ogni ambiente toccato — locale + ogni nodo remoto via SSH + container + browser session:

1. **`git status`** sul repo → working tree pulito o residui giustificati e comunicati.
2. **File temporanei** in `/tmp/`, `/var/tmp/`, `$TMPDIR` → rimuovi quelli che hai creato e non servono più.
3. **Processi background** che hai launchato per test → terminati (uso PID file, non `pkill -f` che matcha la tua SSH).
4. **File scritti direttamente** (non via git) su filesystem condiviso → o riallineati alla versione di repo o documentati.
5. **Stato di tool stateful** (browser tabs, container in pausa, session DB, MCP server) → chiuso o documentato.

Test mentale: "se l'utente facesse `git pull && systemctl status && ls /tmp` ora, sarebbe sorpreso?" Se sì, fai cleanup.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [tommasobbianchi](https://github.com/tommasobbianchi)
- **Source:** [tommasobbianchi/claude-cognitive-skills](https://github.com/tommasobbianchi/claude-cognitive-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-tommasobbianchi-claude-cognitive-skills-cleanup-check
- Seller: https://agentstack.voostack.com/s/tommasobbianchi
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
