Agent skill
learn-reset
Clear the knowledge base and start fresh
Install this agent skill to your Project
npx add-skill https://github.com/aiskillstore/marketplace/tree/main/skills/0xrdan/learn-reset
SKILL.md
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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
perigon-backend
Perigon ASP.NET Core + EF Core + Aspire conventions
perigon-agent
Pointers for Copilot/agents to apply Perigon conventions
perigon-angular
Angular 21+ standalone/Material/signal conventions for Perigon WebApp
fastapi-mastery
Comprehensive FastAPI development skill covering REST API creation, routing, request/response handling, validation, authentication, database integration, middleware, and deployment. Use when working with FastAPI projects, building APIs, implementing CRUD operations, setting up authentication/authorization, integrating databases (SQL/NoSQL), adding middleware, handling WebSockets, or deploying FastAPI applications. Triggered by requests involving .py files with FastAPI code, API endpoint creation, Pydantic models, or FastAPI-specific features.
context7-efficient
Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.
browser-use
Browser automation using Playwright MCP. Navigate websites, fill forms, click elements, take screenshots, and extract data. Use when tasks require web browsing, form submission, web scraping, UI testing, or any browser interaction.
Didn't find tool you were looking for?