Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add 0dayInc/pwn --skill cleanupgit clone --depth 1 https://github.com/0dayInc/pwnWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/0dayinc/pwn/cleanup)<a href="https://agentmods.dev/skills/0dayinc/pwn/cleanup"><img src="https://agentmods.dev/badge/skills/0dayinc/pwn/cleanup/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/0dayinc/pwn/cleanup"><img src="https://agentmods.dev/badge/skills/0dayinc/pwn/cleanup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00022 | $0.00611 |
| Opus 5.5 | $0.00009 | $0.00244 |
| Sonnet 5.5 | $0.00004 | $0.00122 |
| Haiku 4.5 | $0.00002 | $0.00061 |
Grade A, and why
pwn-ai-sessions-cleanup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
PWN::AI::Sessions::Cleanup
Provenance-based session cleanup, shared by seeded cron payloads.
When to use
Call PWN::AI::Sessions::Cleanup from pwn_eval when the task needs this module.
Do not reimplement it in shell.
Methodologies
Generated from pwn/ai/sessions/cleanup.rb. Prefer the public class methods below.
Class methods take (opts = {}) and read opts.
How to call
PWN::AI::Sessions::Cleanup.help
PWN::AI::Sessions::Cleanup.install(opts)
Public methods
installrequest_backgroundbackground_requestpolicystatusexpire_legacylegacy_manifestlegacy_identitylegacy_candidateslegacy_recovery_candidateslegacy_cache_candidateslegacy_referenceslegacy_open_filesregister_disposablerecord_disposablecachetemporaryappend_logdisposable_directoryprivate_directoryexact_bytesadmitted_bytesdisposable_reasonclean_disposablesprune_quarantinelegacy_backupsverified_backup?prune_legacy_backupscompact_backuprecovery_statusrecoverrecover_dependenciesrestore_copyrecover_sessionsrecover_continuationwith_continuation_lockretire_continuationclassifylegacy_ownerspwn_launcher?tracked_owner?pins_known?referenced_session_idssnapshotpublishrecover_atomic_tempsbackupinvalid_dependenciesremediable?cleanup_statewith_dependency_lockremove_invalid_dependenciesstopping?maintenance_incomplete?coordinatemaintainadmit?reorganizesummaryrunsweepcliauthorshelp
Source
pwn/ai/sessions/cleanup.rb
Verification
PWN::AI::Sessions::Cleanup.respond_to?(:install) after the
module is loaded. Read the source for parameter names.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 109 lines · 22 tokens per session scan A 72b2acbc31a3
pwn-ai-sessions-cleanup is a skill published in the GitHub repository 0dayInc/pwn (102 stars, last pushed today), licensed MIT. It adds 22 tokens to every session and 611 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.
pwn-ai-sessions-cleanup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pwn-ai-sessions-cleanup0dayInc/pwn | Skill | 102 | today | MIT | A | 22 | Claude Code |
| performing-ai-assisted-vulnerability-discoveryxalgorix/xalgorix | Skill | 1.6k | today | Apache-2.0 | A | 91 | Claude Code, Codex |
| performing-zero-day-vulnerability-discoveryxalgorix/xalgorix | Skill | 1.6k | today | Apache-2.0 | B | 36 | Claude Code, Codex |
| openkakao-cliJungHoonGhae/openkakao-cli | Skill | 153 | yesterday | MIT | A | 304 | Codex |
| jwtPentesterFlow/agent | Skill | 1.5k | 3mo ago | Apache-2.0 | A | 60 | Claude Code |
| reconPentesterFlow/agent | Skill | 1.5k | 3mo ago | Apache-2.0 | A | 49 | Claude Code |
| takeoverPentesterFlow/agent | Skill | 1.5k | 3mo ago | Apache-2.0 | B | 86 | Claude Code |