| name | reset |
| description | Reinitialize the project by deleting user profile, notes, and Obsidian vault |
Reset Skill
This skill reinitializes the second-brain project by removing all user data and content.
What it does
- Deletes the user profile (
profile.md)
- Deletes all notes (entire
notes folder)
- Deletes the Obsidian vault (entire
obsidian/vault folder)
Usage
When the user asks to reset the project or start fresh, use this skill to clean up all user-generated content.
Implementation Steps
-
Confirm with the user before proceeding, as this operation is destructive and cannot be undone
-
Determine the workspace root:
- Use the workspace path from user information (e.g.,
alexandreroman/second-brain)
- This ensures portability across different operating systems
-
Delete the user profile:
- Remove
<workspace-root>/.profile.md
-
Delete all notes:
- Remove the entire
<workspace-root>/notes directory
-
Delete the Obsidian vault:
- Remove the entire
<workspace-root>/obsidian/vault directory
-
Confirm completion and inform the user that the project has been reset
Platform-Specific Commands
Use platform-appropriate commands based on the user's OS:
Windows (PowerShell)
Remove-Item -Path "<path>" -Recurse -Force -ErrorAction SilentlyContinue
macOS/Linux (Bash)
rm -rf "<path>"
Important Notes
- This operation is irreversible - all user data will be permanently deleted
- Always ask for explicit confirmation before executing
- After reset, the user may want to run the
setup skill to set up their profile again
- Consider suggesting a backup before proceeding with the reset
Safety
- Use OS-appropriate commands to delete files and directories
- Check if files/directories exist before attempting to delete them
- Provide clear feedback about what was deleted
- Handle errors gracefully (e.g., if a file/directory doesn't exist)