drupal-cleanup SKILL.md skillB

drupal-cleanup from kanopi/cms-cultivator is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add kanopi/cms-cultivator/drupal-cleanup@git:20260416.fda4c08

Pins git:20260416.fda4c08 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
kanopi/cms-cultivator
Path
skills/drupal-cleanup/SKILL.md
Versions recorded
3
Latest version
git:20260416.fda4c08, committed Apr 16, 2026
First version recorded
Apr 15, 2026
Size
4,898 bytes
Repository stars
17
License
GPL-2.0

List and clean up cloned drupal.org repositories in the local cache (~/.cache/drupal-contrib/). Invoke when user asks to list, remove, or clean up cloned Drupal contrib repos, says "cleanup drupal repos", "remove cloned drupal projects", or uses /drupal-cleanup. Has side effects: permanently deletes repository clones. Requires user confirmation before deletion.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Drupal Cleanup

List and clean up cloned drupal.org repositories in `~/.cache/drupal-contrib/`.

## ⚠️ Side Effect Warning

**Removing a repository permanently deletes the local clone** including:
- All branches not pushed to issue forks
- Any uncommitted changes
- Local-only commits

**The skill checks for uncommitted changes and unpushed branches before deletion and requires explicit user confirmation.** Once deleted, the repository must be re-cloned.

## Usage

- "List my cloned drupal.org repos"
- "Remove the paragraphs repository from my local cache"
- "Clean up all drupal contrib repos"
- `/drupal-cleanup` — List all repos
- `/drupal-cleanup list` — List with details
- `/drupal-cleanup {project}` — Remove specific project
- `/drupal-cleanup --all` — Remove all cloned repos

## Environment Detection

### Tier 1 — Portable (Claude Desktop, Codex, any environment)

When Bash tools are unavailable:

**For listing**:
1. Ask user to run: `ls -la ~/.cache/drupal-contrib/` and share output
2. Provide analysis and recommendations based on shared output
3. Guide cleanup decisions

**For removal (requires Bash in Tier 2)**:
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add kanopi/cms-cultivator/drupal-cleanup@sha256:fad4d63dc7650032

The line at the top of this page pins the label git:20260416.fda4c08, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_uxiot2a3tr67gpjb.svg)](https://markdownregistry.com/a/art_uxiot2a3tr67gpjb)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Apr 15, 2026 and Apr 16, 2026, more than one a day.

versioncommittedcommitsizeaudit
git:20260416.fda4c08 latest2026-04-16 fda4c08 4,898 BB view · diff
git:20260415.c8802592026-04-15 c880259 4,867 BB view · diff
git:20260415.88af5a92026-04-15 88af5a9 4,861 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No recursive delete of root, home or parent (matched: rm -rf ~/)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4898 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

kanopi/cms-cultivator · 17 stars · license GPL-2.0 · pushed 2026-10-28 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_uxiot2a3tr67gpjb
GET https://markdownregistry.com/api/v1/resolve?ref=kanopi/cms-cultivator/drupal-cleanup
GET https://markdownregistry.com/api/v1/blob/fad4d63dc76500328b58ffb21f00a1525cc9a7ba5d4e409537db595add9183f5

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from kanopi/cms-cultivator

AGENTS.md AGENTS.md file
kanopi/cms-cultivator · AGENTS.md
git:20260815.d6fd4c6 · audit A · 17 stars
CLAUDE.md CLAUDE.md file
kanopi/cms-cultivator · CLAUDE.md
git:20260820.f47b5d2 · audit A · 17 stars
browser-validator SKILL.md skill
kanopi/cms-cultivator · skills/browser-validator/SKILL.md · Automatically validate implementations in real browsers after code is written or when user says "test this", "test what…
git:20260717.d959120 · audit A · 17 stars
code-standards-checker SKILL.md skill
kanopi/cms-cultivator · skills/code-standards-checker/SKILL.md · Run the right linting, formatting, and static-analysis commands after changing code, and check it against PHPCS…
git:20261023.14d5f46 · audit A · 17 stars
commit-message-generator SKILL.md skill
kanopi/cms-cultivator · skills/commit-message-generator/SKILL.md · Automatically generate conventional commit messages when user has staged changes and mentions committing. Analyzes git…
git:20261023.9fea3fa · audit A · 17 stars
composer-patch-generator SKILL.md skill
kanopi/cms-cultivator · skills/composer-patch-generator/SKILL.md · Generate and maintain patches for Composer-installed packages (Drupal contrib modules, WordPress packages, PHP…
git:20260710.49226ee · audit A · 17 stars
coverage-analyzer SKILL.md skill
kanopi/cms-cultivator · skills/coverage-analyzer/SKILL.md · Automatically analyze test coverage when user asks which code is tested, mentions coverage gaps, or shows code asking…
git:20260119.745ff85 · audit A · 17 stars
ddev-docker-cleanup SKILL.md skill
kanopi/cms-cultivator · skills/ddev-docker-cleanup/SKILL.md · Deterministic cleanup of DDEV and Docker disk usage on OrbStack, Docker Desktop, or any Docker provider. Safely…
git:20260815.2bb66f2 · audit A · 17 stars
ddev-workflow SKILL.md skill
kanopi/cms-cultivator · skills/ddev-workflow/SKILL.md · Operate a Kanopi DDEV site day to day — get a fresh clone or worktree actually serving pages, pull a database from the…
git:20260815.004f9a5 · audit A · 17 stars
design-analyzer SKILL.md skill
kanopi/cms-cultivator · skills/design-analyzer/SKILL.md · Automatically extract technical requirements from design references when user mentions Figma, uploads images, or says…
git:20260212.c20db01 · audit A · 17 stars
design-to-drupal-paragraph SKILL.md skill
kanopi/cms-cultivator · skills/design-to-drupal-paragraph/SKILL.md · Create Drupal paragraph types from Figma designs or screenshots using the design-specialist agent. Auto-activates when…
git:20260429.7024fd6 · audit A · 17 stars
design-to-wp-block SKILL.md skill
kanopi/cms-cultivator · skills/design-to-wp-block/SKILL.md · Create WordPress block patterns from Figma designs or screenshots using the design-specialist agent. Auto-activates…
git:20260429.7024fd6 · audit A · 17 stars

Every file in kanopi/cms-cultivator

Browse by kind, by grade B, or by owner.