Use when AI-generated or pasted Markdown carries cruft - bold/italic-wrapped headings, citation markers, non-breaking spaces, zero-width characters, trailing whitespace, runs of blank lines. Trigger phrases - "clean this note", "clean up AI paste", "remove the slop", "fix pasted markdown", "clean this folder". Complements the obsidian-linter plugin; cleans notes Claude wrote directly or for users who do not run the linter.
How this skill is triggered — by the user, by Claude, or both
Slash command
/obsidian-vault-autopilot:ai-paste-cleanupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Apply the proven-safe AI-paste cleanup transforms to a note or folder. Deterministic Node script; always dry-run first; never writes without confirmation.
Apply the proven-safe AI-paste cleanup transforms to a note or folder. Deterministic Node script; always dry-run first; never writes without confirmation.
scripts/rules.js) over a file or folder.node "${CLAUDE_PLUGIN_ROOT}/skills/ai-paste-cleanup/scripts/clean.js" <path>
Show the user the per-rule counts. For a single file, also show a diff: get the cleaned text via ... clean.js <file> --stdout and present old vs new.node ".../clean.js" <path> --writeABORTED - Fingerprint guard... or ... Mass-deletion guard..., do not retry blindly. Report the violation; it means a transform tried to delete unexpected content. Nothing was written.*.md only and skips _trash/, .obsidian/, .git/, dotfiles.cite: (e.g. tags: [cite:foo, bar]) will be stripped. This matches the obsidian-linter plugin's own behavior. Body-scoping is backlog. Rare in practice.## ai-paste-cleanup Report - <date>
### Done
- Cleaned <n> of <m> files
- <per-rule counts>
### Findings
- <things noticed, routed to other skills>
### Unchanged
- <count> already clean
npx claudepluginhub neckarshore-skills/obsidian-vault-autopilot --plugin obsidian-vault-autopilotGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.