delete-content

delete-content is a skill for Claude Code from legacybridge-tech/claude-plugins. It costs 33 tokens per session (2,737 once invoked), scanned A, original, MIT.

A governed file-deletion helper for a knowledge base. It checks directory rules and related references before removing content.

In plain words
What is it for?
Use it to find files by path or topic, verify the target, check deletion permissions, handle dependencies, and remove approved content safely.
Why use it?
It reduces the chance of deleting the wrong file or breaking links and follows any local requirements, such as archiving instead of deleting.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions subagents.

Part of the akashicrecords plugin — 7 skills, 2 commands shipped together

Good fit Use it to find files by path or topic, verify the target, check deletion permissions, handle dependencies, and remove approved content safely.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/legacybridge-tech/claude-plugins/delete-content
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 legacybridge-tech/claude-plugins --skill delete-content
Clone the repo
git clone --depth 1 https://github.com/legacybridge-tech/claude-plugins

Made for: Claude Code.

Or install akashicrecords, the plugin that ships this one along with the rest of its 7 skills, 2 commands.

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 delete-content

README.md
[![agentmods](https://agentmods.dev/badge/skills/legacybridge-tech/claude-plugins/delete-content/github.svg)](https://agentmods.dev/skills/legacybridge-tech/claude-plugins/delete-content)
Your own site
<a href="https://agentmods.dev/skills/legacybridge-tech/claude-plugins/delete-content"><img src="https://agentmods.dev/badge/skills/legacybridge-tech/claude-plugins/delete-content/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 delete-content

Your own site · 80×15
<a href="https://agentmods.dev/skills/legacybridge-tech/claude-plugins/delete-content"><img src="https://agentmods.dev/badge/skills/legacybridge-tech/claude-plugins/delete-content.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,737 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.00033 $0.02737
Opus 5.5 $0.00013 $0.01095
Sonnet 5.5 $0.00007 $0.00547
Haiku 4.5 $0.00003 $0.00274

Measured 3mo ago against content hash 3812f6d0337f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

delete-content 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 3mo 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.

akashicrecords/skills/delete-content/SKILL.md · 415 lines

How it starts

The opening of the file, as written. The whole thing — 415 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Delete Content Skill

Generic file deletion Skill that checks RULE.md permissions and handles dependencies safely.

When to use this Skill

  • User says "delete", "remove", "trash"
  • User requests content deletion
  • User wants to clean up old files

Workflow

1. Identify Target File

If user provides file path:

  • Verify file exists using ls or Read
  • Confirm file identity

If user provides topic/title only:

  • Search for file using Grep or Glob
  • Pattern: **/*keyword*.md
  • If multiple matches: present list, ask user to choose
  • If no matches: report not found

Search strategies:

  1. Filename match: find . -name "*keyword*"
  2. Content match: grep -r "keyword" .
  3. README.md index: Search README.md files for references

2. Read Directory RULE.md

Locate and read RULE.md:

  1. Check file's directory for RULE.md
  2. If not found, check parent directories (inheritance)
  3. Parse RULE.md for deletion rules

Check for:

  • Are deletions allowed? (some directories may be immutable or archive-only)
  • Archive-instead rules (move to archive instead of delete)
  • Backup requirements (create backup before delete)
  • Dependency rules (check cross-references)
  • Confirmation requirements

Example RULE.md deletion rules:

## Deletion Rules
- Deletions allowed with confirmation
- Check for cross-references before deleting
- Move to Archive/ subdirectory instead of permanent deletion

3. Check Dependencies

Search for cross-references:

  1. Use Grep to find links to this file: grep -r "filename" .
  2. Search for references in README.md files
  3. Check for reverse links (files this file links to)
  4. Identify files that depend on this content

Categorize dependencies:

  • Incoming: Files that link to this file (will break if deleted)
  • Outgoing: Files this file links to (won't break, but orphans references)
  • Bidirectional: Cross-referenced files (mutual dependencies)

Severity assessment:

  • Critical: Many incoming links, part of important workflow
  • Warning: Some incoming links, moderately used
  • Low: Few or no dependencies

Read the full file on GitHub · 415 lines

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. 3mo ago First seen · 415 lines · 33 tokens per session scan A 3812f6d0337f

Subscribe to this mod's changes

delete-content is a skill published in the GitHub repository legacybridge-tech/claude-plugins (6 stars, last pushed 6mo ago), licensed MIT. It adds 33 tokens to every session and 2,737 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-08-31.

Related

delete-content compared with skills from other repositories

delete-content next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
delete-contentlegacybridge-tech/claude-pluginsSkill66mo agoMITA33Claude Code
orbit-notionnexu-io/open-designSkill110ktodayApache-2.0A117Claude Code, Codex
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill37ktodayApache-2.0A123Claude Code
report-to-pdfasgeirtj/system_prompts_leaksSkill74k2d agoCC0-1.0A17Claude Code, Codex
legal-holdanthropics/claude-for-legalSkill10ktodayApache-2.0A68Claude Code
artifact-template-minimal-letterheadasgeirtj/system_prompts_leaksSkill74k2d agoCC0-1.0A54Claude Code, Codex
feishuHmbown/CodeWhaleSkill41kyesterdayMITA33Claude Code, Codex