notes-delete

Delete a specified note file and synchronize the notes index.

1|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/adamrdrew/claude-code-patterns --skill notes-delete
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: notes-delete
Source: https://github.com/adamrdrew/claude-code-patterns/tree/main/knowledge-hooks/.claude/skills/notes-delete
Command: npx skills add https://github.com/adamrdrew/claude-code-patterns --skill notes-delete

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deletes a note from the notes database by removing the note file and its index entry to keep data consistent.

Core Features & Use Cases

  • Safe deletion workflow: validates configuration, locates the target note in the index, and prompts for confirmation before removal.
  • Data integrity: updates the index after deletion and handles path resolution for notes_path.
  • Use Case: When you want to remove outdated notes while ensuring there are no orphaned files or index entries.

Quick Start

Ask to delete a specific note by topic and confirm the deletion when prompted.

Frequently Asked Questions about notes-delete

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

FAQPage Schema
How do I safely delete notes from a notes database without leaving orphaned index entries?

Deleting notes requires an explicit confirmation step to prevent accidental data loss. The workflow validates configuration, resolves the notes_path, locates the target note in the index, and prompts for confirmation before removing the file and updating the index.

What happens if I try to delete a note that is missing from my notes database?

If you attempt to delete a missing note, the operation handles the missing configuration or note gracefully. It validates the notes_path and checks the index before attempting file deletion to avoid errors during the removal workflow.

Do I need to manually update the notes index after deleting a note file?

No, manual index updates are unnecessary because the deletion process automatically synchronizes the index. It resolves the file path, deletes the note file, and updates the index entry in a single workflow to maintain data integrity.

How do I automate the workflow to remove outdated notes from my notes database?

Automating the removal of outdated notes involves a workflow that locates the target note by topic in the index. It enforces safe operations by requiring explicit user confirmation before proceeding with file deletion and index synchronization.