team-shinchan:forget
npx machina-cli add skill seokan-jeong/team-shinchan/forget --openclawFiles (1)
SKILL.md
1.8 KB
Forget Skill
Remove outdated or incorrect learnings from memory.
Usage
/team-shinchan:forget # Interactive mode
/team-shinchan:forget "Redux" # Remove learnings containing "Redux"
/team-shinchan:forget --all # Clear all learnings (with confirmation)
Process
Interactive Mode (/forget)
šļø [Forget] Current learnings:
1. [preference] Use Zustand over Redux
2. [pattern] Early returns for validation
3. [convention] Use pnpm, not npm
4. [mistake] Always null-check before .map()
Which learning to remove? (Enter number or keyword)
Keyword Mode (/forget "Redux")
šļø [Forget] Searching for: "Redux"
Found 1 matching learning:
⢠[preference] Use Zustand over Redux
Remove this learning? (y/n)
If confirmed:
ā
Removed: "Use Zustand over Redux"
š Updated: .shinchan-docs/learnings.md
Clear All Mode (/forget --all)
ā ļø [Forget] WARNING: This will delete ALL learnings!
Current count: 15 learnings
Are you sure? Type "DELETE ALL" to confirm:
If confirmed:
ā
Cleared all learnings.
š Reset: .shinchan-docs/learnings.md
š” Start fresh with /team-shinchan:learn or just work!
When to Use
| Situation | Action |
|---|---|
| Learning is outdated | /forget "old pattern" |
| Learning was wrong | /forget "incorrect thing" |
| Project changed direction | /forget --all (careful!) |
| Too many irrelevant learnings | Selective /forget |
Important
- Be careful - Removed learnings cannot be recovered
- Prefer selective removal over
--all - Learnings file is simply edited (sections removed)
- After forgetting, the system adapts on next session
Source
git clone https://github.com/seokan-jeong/team-shinchan/blob/main/skills/forget/SKILL.mdView on GitHub Overview
Deletes outdated or incorrect learnings from memory. It supports interactive removal, keyword-based targeting, and a full clear-all option. This keeps ShinChan's knowledge accurate and aligned with current project directions.
How This Skill Works
You invoke the forget skill in interactive mode to remove a selected learning by number or keyword. Alternatively, use a keyword like "Redux" to target specific learnings, or run with --all to clear all learnings (with confirmation). Changes are reflected in the .shinchan-docs/learnings.md file and the system adapts on the next session.
When to Use It
- Learning is outdated: /forget "old pattern"
- Learning was wrong: /forget "incorrect thing"
- Project changed direction: /forget --all (careful!)
- Too many irrelevant learnings: Use selective /forget
- Need to clean up memory after a session or milestone
Quick Start
- Step 1: Choose interactive mode or pass a keyword (e.g., "/team-shinchan:forget \"Redux\"")
- Step 2: In keyword mode, confirm removal when prompted
- Step 3: Review updates in .shinchan-docs/learnings.md and observe adaptation on next session
Best Practices
- Be careful: removed learnings cannot be recovered
- Prefer selective removal over --all
- Use keyword or number-based removal for precision
- Keep a lightweight backup note before large removals
- After forgetting, the system adapts on next session
Example Use Cases
- Forget the Redux learning: /team-shinchan:forget "Redux" to remove [preference] Use Zustand over Redux
- Remove a wrong pattern: /team-shinchan:forget "Early returns for validation"
- Clear all learnings to reset: /team-shinchan:forget --all and confirm
- Selective cleanup: /team-shinchan:forget "incomplete feature"
- Post-project cleanup: remove outdated learnings after a direction change
Frequently Asked Questions
Add this skill to your agents