Learn reset
全球最大的 Claude Code 技能聚合库 · 收录 3900+ 来自 12+ 来源的技能,提供在线搜索与趋势分析看板 / The world's largest Claude Code skill aggregation hub — 3900+ skills from 12+ sources with online search and trend dashboard
npx -y skills add bg-szy/TOP-SKILLS --skill learn-resetAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Clear the knowledge base and start fresh
SKILL.md
2.2 KB, 503 tokens by cl100k_base, as published. Nobody here has run it
Learn Reset
Clear all accumulated knowledge and reset to a fresh state.
What This Does
- Clears all entries from
knowledge/learnings/files (patterns, quirks, decisions) - Resets the classification cache
- Resets learning state (extraction count, queries)
- Preserves file structure (doesn't delete files)
Warning: This action cannot be undone. All accumulated insights will be lost.
Instructions
- Confirm with user - This is destructive, ask for confirmation first
- Reset learnings files - Clear entries from:
knowledge/learnings/patterns.mdknowledge/learnings/quirks.mdknowledge/learnings/decisions.md
- Reset cache - Clear
knowledge/cache/classifications.md - Reset session - Clear
knowledge/context/session.md - Reset state - Reset
knowledge/state.jsonto initial values - Confirm completion
Reset File Format
After reset, each learnings file should have:
---
type: [type]
version: "1.0"
description: [original description]
last_updated: null
entry_count: 0
---
# [Title]
[Description]
**Purpose:** [Purpose]
---
<!-- Entries will be appended below this line -->
State Reset
Reset knowledge/state.json to:
{
"version": "1.0",
"learning_mode": false,
"learning_mode_since": null,
"last_extraction": null,
"extraction_count": 0,
"queries_since_extraction": 0,
"extraction_threshold_queries": 10,
"extraction_threshold_minutes": 30
}
Output Format
Knowledge Base Reset
────────────────────
Are you sure you want to clear all knowledge? This cannot be undone.
[After confirmation]
Knowledge base has been reset:
- Cleared 8 patterns
- Cleared 3 quirks
- Cleared 5 decisions
- Cleared 23 cached classifications
- Reset learning state
The knowledge base is now empty. Use /learn to start fresh.
Notes
- Always confirm before resetting
- This does not delete the knowledge directory structure
- Learning mode is disabled after reset
- Git history may still contain old knowledge if previously committed