safe-cleanup

safe-cleanup is a skill for Claude Code, Codex from aywengo/kafka-schema-reg-mcp. It costs 38 tokens per session (168 once invoked), scanned A, original, MIT.

A guarded process for removing subjects or contexts from a registry. It previews reorganisations and bulk operations, then waits for explicit confirmation before deleting.

In plain words
What is it for?
Use it to preview reorganisations, preview bulk changes, or safely delete one subject or clear a context after approval.
Why use it?
It reduces accidental data loss by showing the intended operation first. Context deletion remains separate unless the user also asks for it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to preview reorganisations, preview bulk changes, or safely delete one subject or clear a context after approval.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aywengo/kafka-schema-reg-mcp/safe-cleanup
Install

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.

Any agent
npx skills add aywengo/kafka-schema-reg-mcp --skill safe-cleanup
Clone the repo
git clone --depth 1 https://github.com/aywengo/kafka-schema-reg-mcp

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for safe-cleanup

README.md
[![agentmods](https://agentmods.dev/badge/skills/aywengo/kafka-schema-reg-mcp/safe-cleanup/github.svg)](https://agentmods.dev/skills/aywengo/kafka-schema-reg-mcp/safe-cleanup)
Your own site
<a href="https://agentmods.dev/skills/aywengo/kafka-schema-reg-mcp/safe-cleanup"><img src="https://agentmods.dev/badge/skills/aywengo/kafka-schema-reg-mcp/safe-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.

agentmods 80×15 button for safe-cleanup

Your own site · 80×15
<a href="https://agentmods.dev/skills/aywengo/kafka-schema-reg-mcp/safe-cleanup"><img src="https://agentmods.dev/badge/skills/aywengo/kafka-schema-reg-mcp/safe-cleanup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 168 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.00168
Opus 5.5 $0.00015 $0.00067
Sonnet 5.5 $0.00008 $0.00034
Haiku 4.5 $0.00004 $0.00017

Measured today against content hash 8de6ecf291e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

safe-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 today.

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.

skills/safe-cleanup/SKILL.md · 15 lines

What it actually says

Safe cleanup

  1. For a reorganization, call guided_context_reorganization first (it does not write).
  2. For a bulk change, call preview_bulk_operation and stop until the user confirms.
  3. For one subject, call delete_subject only after an explicit yes, with permanent=false unless they asked for a hard delete.
  4. For a context, call clear_context_batch with dry_run=true and delete_context_after=false, show the result, then repeat with dry_run=false only after an explicit yes.
Changes

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.

  1. today First seen · 15 lines · 38 tokens per session scan A 8de6ecf291e7

Subscribe to this mod's changes

safe-cleanup is a skill published in the GitHub repository aywengo/kafka-schema-reg-mcp (32 stars, last pushed yesterday), licensed MIT. It adds 38 tokens to every session and 168 once invoked, about $0.0002 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-01.

Related

safe-cleanup compared with skills from other repositories

safe-cleanup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
safe-cleanupaywengo/kafka-schema-reg-mcpSkill32yesterdayMITA38Claude Code, Codex
amazon aurora dsqlawslabs/mcpSkill10.0ktodayApache-2.0A46Claude Code
redshift-guideawslabs/mcpSkill10.0ktodayApache-2.0A258Claude Code, Codex
dv-querymicrosoft/Dataverse-skillsSkill26910d agoMITA82Claude Code
solr-schemagriddynamics/rosettaSkill382yesterdayApache-2.0A25Claude Code, Codex
dv-connectmicrosoft/Dataverse-skillsSkill26910d agoMITB66Claude Code
frontmcp-production-readinessagentfront/frontmcpSkill154todayApache-2.0A176Claude Code, Codex