drupal-cleanup

drupal-cleanup is a skill for Claude Code, Codex from kanopi/cms-cultivator. It costs 81 tokens per session (1,256 once invoked), scanned C, original, GPL-2.0.

A cleanup tool for cloned Drupal project repositories stored in a local cache. Drupal is an open-source content management system.

In plain words
What is it for?
It is for listing cloned Drupal repositories and permanently deleting selected clones from the local cache.
Why use it?
It helps remove cached project copies that are no longer needed and makes the local cache easier to manage.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present.

Part of the cms-cultivator plugin — 26 skills shipped together

Good fit It is for listing cloned Drupal repositories and permanently deleting selected clones from the local cache.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kanopi/cms-cultivator/drupal-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 kanopi/cms-cultivator --skill drupal-cleanup
Clone the repo
git clone --depth 1 https://github.com/kanopi/cms-cultivator

Made for: Claude Code, Codex.

Or install cms-cultivator, the plugin that ships this one along with the rest of its 26 skills.

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 drupal-cleanup

README.md
[![agentmods](https://agentmods.dev/badge/skills/kanopi/cms-cultivator/drupal-cleanup/github.svg)](https://agentmods.dev/skills/kanopi/cms-cultivator/drupal-cleanup)
Your own site
<a href="https://agentmods.dev/skills/kanopi/cms-cultivator/drupal-cleanup"><img src="https://agentmods.dev/badge/skills/kanopi/cms-cultivator/drupal-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 drupal-cleanup

Your own site · 80×15
<a href="https://agentmods.dev/skills/kanopi/cms-cultivator/drupal-cleanup"><img src="https://agentmods.dev/badge/skills/kanopi/cms-cultivator/drupal-cleanup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,256 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00081 $0.01256
Opus 5 $0.00041 $0.00628
Sonnet 5 $0.00016 $0.00251
Haiku 4.5 $0.00008 $0.00126

Measured 9d ago against content hash fad4d63dc765, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade C, and why

drupal-cleanup scanned grade C with 1 finding 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 9d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

5. **After "yes" confirmation only**: `rm -rf ~/.cache/drupal-contrib/{project}/`
skills/drupal-cleanup/SKILL.md · 147 lines

The source is not reproduced here

Licensed GPL-2.0

The repository is licensed GPL-2.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 147 lines · 81 tokens per session scan C fad4d63dc765

Subscribe to this mod's changes

drupal-cleanup is a skill published in the GitHub repository kanopi/cms-cultivator (17 stars, last pushed 8d ago), licensed GPL-2.0. It adds 81 tokens to every session and 1,256 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories