delete-content

Delete knowledge base content after checking RULE.md permissions and cross-references.

6|Updated Oct 16, 2025
One-click install
npx skills add https://github.com/eternnoir/claude-tool --skill delete-content
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: delete-content
Source: https://github.com/eternnoir/claude-tool/tree/main/akashicrecords/skills/delete-content
Command: npx skills add https://github.com/eternnoir/claude-tool --skill delete-content

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deleting files manually can lead to broken links, loss of important information, or violation of organizational policies. It's often hard to know the full impact of a deletion before it's too late.

Core Features & Use Cases

  • Policy-Aware Deletion: Checks RULE.md for deletion permissions, archival requirements, or immutability rules before proceeding, ensuring compliance.
  • Dependency Check: Identifies all cross-references to the target file and warns about potential broken links, offering to fix them to maintain knowledge base integrity.
  • Safe Archival: Can move content to a designated archive instead of permanent deletion, preserving information per RULE.md policies, giving you peace of mind.
  • Use Case: Delete an old project document. The Skill will check if other files link to it, confirm the deletion with you, and either permanently delete it or move it to an archive directory based on your knowledge base's rules, preventing accidental data loss.

Quick Start

Delete the file 'old-project-plan.md' from the 'Work/Projects' directory.

Frequently Asked Questions about delete-content

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely delete files without breaking links in my knowledge base?

Safe deletion checks cross-references to identify broken links before removal. The Skill scans your knowledge base for all files linking to the target, warns you of dependencies, and offers to update or fix those links automatically, preserving integrity while you delete content.

Can I delete files while following organizational policies and governance rules?

Policy-aware deletion enforces rules from your RULE.md file before proceeding. The Skill checks deletion permissions, archival requirements, and immutability policies, ensuring compliance with governance before any content is removed or archived.

What's the difference between permanent deletion, archival, and backup deletion?

Deletion modes offer three options: permanent removal, safe archival to preserve content per policy, or backup-then-delete to maintain recovery options. Your RULE.md policies determine which mode applies, balancing cleanup needs with information preservation.

How do I clean up old documents without losing track of what was deleted?

Safe archival moves content to a designated archive directory instead of permanent deletion, preserving information and maintaining an audit trail. This approach lets you reclaim space while keeping deleted files recoverable and compliant with retention policies.

Can I delete content by file path or by topic name?

Content discovery supports both methods: target files by exact path or locate them by topic and title. The Skill identifies the target using your preferred method, then enforces governance checks before proceeding with deletion.