joenandez/spectre/spectre-forget
Claude Code and agent skill by joenandez/spectre
- community
Checking that the SKILL.md file is still in the repository.
Clear session memory - archive all session files so next session starts fresh
Install
npx vskill@latest install joenandez/spectre/spectre-forgetSKILL.md
forget
Input Handling
Treat the current command arguments as this workflow's input. When invoked from a slash command, use the forwarded $ARGUMENTS value.
forget: Clear Session Memory
Description
- What — Archive all session files (handoffs, todos, history) so the SessionStart hook doesn't auto-resume
- Outcome — All session files moved to archive, user informed to start fresh session
Step (1/2) - Archive Session Logs
- Action — ArchiveLogs: Move active session files for the current branch into each root's archive directory
Archive only the current branch's active, top-level files in .spectre/handoffs/{branch}/ and the matching legacy docs/tasks/{branch}/session_logs/. Do not scan another branch, descend into an existing archive/, merge the roots, or restore an archived file. The raw branch name is used directly; slash-containing branches intentionally nest.
Step (2/2) - Confirm to User
- Action — ConfirmCleared: Based on bash output, inform user
If output is NO_SESSIONS: > No session logs found for this branch. Memory is already clear.
Else (output is ARCHIVED:N): > ✓ Session memory cleared > > Archived {N} session file(s) under the matching .spectre/handoffs/{branch}/archive/ and legacy docs/tasks/{branch}/session_logs/archive/ directories. > > Next: Start a new session with /clear or close this terminal. Your next session will start fresh without auto-loaded context.
Success Criteria
- [ ] Canonical and matching legacy session directories checked for the current branch only
- [ ] All active
*_handoff.jsonfiles in both roots moved to their ownarchive/subdirectory - [ ] All active
*_todos.jsonfiles in both roots moved to their ownarchive/subdirectory - [ ] Active
todos_history.jsonfiles in both roots moved to their ownarchive/subdirectory - [ ] Existing archives remain excluded and cannot be resurrected by legacy fallback
- [ ] User informed of result (no sessions found OR count archived)
- [ ] Clear instructions provided for starting fresh session
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/spectre/skills/spectre-forget/SKILL.md
Popularity
- Repository stars
- 164
- Repository forks
- 16
- 7-day trend score
- 31
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/joenandez/spectre/spectre-forget)