clear-memory
Installation
SKILL.md
Node.js Path
Use the Node.js absolute path from your context's "Node.js Path" section (injected by the plugin on every prompt).
If not available in context, fall back to node.
Script Path Resolution
IMPORTANT: The scripts/ folder is in the plugin directory, NOT the current project.
From "Base directory for this skill:" above, derive the scripts path:
- Remove
/skills/clear-memoryfrom the end - Add
/scripts/to get the scripts directory
Example: if Base directory is ~/.claude/plugins/cache/.../skills/clear-memory, then Scripts path is derived by removing /skills/clear-memory and appending /scripts/.
Use this full path when running node commands below.