safe-cleanup

safe-cleanup is a skill for Claude Code, Codex from vscarpenter/gsd-task-manager. It costs 36 tokens per session (457 once invoked), scanned A, original, MIT.

A permission settings file for a career workspace used by coding-agent tools. It lists which commands the agent may run, which files or actions require approval, and which sensitive reads or data transfers are blocked.

In plain words
What is it for?
Use it to control agent access while running career-workspace checks and to require approval for edits, pushes, and other sensitive operations.
Why use it?
It limits what the agent can do automatically and adds safeguards around secrets, cloud credentials, network uploads, and changes to workspace configuration.

Skill for Claude CodeCodex

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

Good fit Use it to control agent access while running career-workspace checks and to require approval for edits, pushes, and other sensitive operations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vscarpenter/gsd-task-manager/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 vscarpenter/gsd-task-manager --skill safe-cleanup
Clone the repo
git clone --depth 1 https://github.com/vscarpenter/gsd-task-manager

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/vscarpenter/gsd-task-manager/safe-cleanup/github.svg)](https://agentmods.dev/skills/vscarpenter/gsd-task-manager/safe-cleanup)
Your own site
<a href="https://agentmods.dev/skills/vscarpenter/gsd-task-manager/safe-cleanup"><img src="https://agentmods.dev/badge/skills/vscarpenter/gsd-task-manager/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/vscarpenter/gsd-task-manager/safe-cleanup"><img src="https://agentmods.dev/badge/skills/vscarpenter/gsd-task-manager/safe-cleanup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 457 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.00036 $0.00457
Opus 5.5 $0.00014 $0.00183
Sonnet 5.5 $0.00007 $0.00091
Haiku 4.5 $0.00004 $0.00046

Measured 2d ago against content hash 359022e5ba0c, 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 2d ago.

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.

packages/mcp-server/skills/safe-cleanup/SKILL.md · 33 lines

What it actually says

Safe cleanup

Use this skill when the user deletes tasks, cleans up their list, or changes many tasks at once. A GSD delete is permanent. It skips the 30-day Trash on every client, so the web, iOS, and Android apps can't restore the task.

Delete only what the user asked

Delete only what the user asked to delete. When they ask to clean up, list the candidates and let them choose. If they mean "I'm done with it", complete_task may be what they want, and it keeps the history.

Preview first

delete_task and a bulk delete default to dryRun: true, which shows what would be deleted without deleting it. Run that preview, show the user the titles, and pass dryRun: false only after they agree.

Expect a confirmation from some clients

Some clients also ask the user to confirm in their own dialog before the delete runs. Others delete as soon as you pass dryRun: false, so your preview may be the only check. A reply starting "Not deleted:" means the user declined or the task changed after the preview. Report it, and don't retry on your own.

Bulk changes

bulk_update_tasks completes, moves, tags, re-dates, or deletes up to 50 tasks per call, or 10 deletes. Split a bigger job into batches. Only deletes default to a preview; every other bulk operation saves unless you pass dryRun: true, so preview those yourself.

Dependencies

Deleting a task removes its ID from the dependencies of every task that depended on it, so nothing points at a missing task. Those tasks are no longer blocked by it, so mention them when the task you're deleting blocks others.

Conflicts

A conflict means the task changed elsewhere after you read it, often in an app on another device. Read it again with get_task and check with the user before you retry. A bulk call reports each conflicted task and applies the rest.

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. 2d ago First seen · 33 lines · 36 tokens per session scan A 359022e5ba0c

Subscribe to this mod's changes

safe-cleanup is a skill published in the GitHub repository vscarpenter/gsd-task-manager (41 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 457 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-11-28.

Related

safe-cleanup compared with skills from other repositories

safe-cleanup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
safe-cleanupvscarpenter/gsd-task-managerSkill41todayMITA36Claude Code, Codex
lastestlas-team/lastestSkill2218d agononeA33Claude Code, Codex
lastestlas-team/lastestSkill2218d agononeA0Claude Code, Codex
Lastest design systemlas-team/lastestSkill2218d agononeA39Claude Code, Codex
quantum-groverxi-zhao/OpenQuantumSkill75yesterdayMITA62Claude Code, Codex
quantum-algorithmsxi-zhao/OpenQuantumSkill75yesterdayMITA34Claude Code, Codex
alicebob-cat-circuitsxi-zhao/OpenQuantumSkill75yesterdayMITA51Claude Code, Codex