learn-reset

Clear the knowledge base and start fresh

242 stars

Best use case

learn-reset is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. Clear the knowledge base and start fresh

Clear the knowledge base and start fresh

Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.

Practical example

Example input

Use the "learn-reset" skill to help with this workflow task. Context: Clear the knowledge base and start fresh

Example output

A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.

When to use this skill

  • Use this skill when you want a reusable workflow rather than writing the same prompt again and again.

When not to use this skill

  • Do not use this when you only need a one-off answer and do not need a reusable workflow.
  • Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/learn-reset/SKILL.md --create-dirs "https://raw.githubusercontent.com/aiskillstore/marketplace/main/skills/0xrdan/learn-reset/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/learn-reset/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How learn-reset Compares

Feature / Agentlearn-resetStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Clear the knowledge base and start fresh

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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

1. **Confirm with user** - This is destructive, ask for confirmation first
2. **Reset learnings files** - Clear entries from:
   - `knowledge/learnings/patterns.md`
   - `knowledge/learnings/quirks.md`
   - `knowledge/learnings/decisions.md`
3. **Reset cache** - Clear `knowledge/cache/classifications.md`
4. **Reset session** - Clear `knowledge/context/session.md`
5. **Reset state** - Reset `knowledge/state.json` to initial values
6. **Confirm completion**

## Reset File Format

After reset, each learnings file should have:
```yaml
---
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:
```json
{
  "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

Related Skills

ship-learn-next

242
from aiskillstore/marketplace

Transform learning content (like YouTube transcripts, articles, tutorials) into actionable implementation plans using the Ship-Learn-Next framework. Use when user wants to turn advice, lessons, or educational content into concrete action steps, reps, or a learning quest.

machine-learning-ops-ml-pipeline

242
from aiskillstore/marketplace

Design and implement a complete ML pipeline for: $ARGUMENTS

cc-skill-continuous-learning

242
from aiskillstore/marketplace

Development skill from everything-claude-code

preset

242
from aiskillstore/marketplace

Intelligently deploys Azure OpenAI models to optimal regions by analyzing capacity across all available regions. Automatically checks current region first and shows alternatives if needed. USE FOR: quick deployment, optimal region, best region, automatic region selection, fast setup, multi-region capacity check, high availability deployment, deploy to best location. DO NOT USE FOR: custom SKU selection (use customize), specific version selection (use customize), custom capacity configuration (use customize), PTU deployments (use customize).

when-optimizing-agent-learning-use-reasoningbank-intelligence

242
from aiskillstore/marketplace

Implement adaptive learning with ReasoningBank for pattern recognition, strategy optimization, and continuous improvement

reasoningbank-adaptive-learning-with-agentdb

242
from aiskillstore/marketplace

Implement ReasoningBank adaptive learning with AgentDB for trajectory tracking, verdict judgment, memory distillation, and pattern recognition to build self-learning agents that improve decision-making through experience.

agentdb-reinforcement-learning-training

242
from aiskillstore/marketplace

Train AI agents using AgentDB's 9 reinforcement learning algorithms including Q-Learning, DQN, PPO, and Actor-Critic. Build self-learning agents, implement RL training loops with experience replay, and deploy optimized models to production.

agentdb-learning-plugins

242
from aiskillstore/marketplace

Create and train AI learning plugins with AgentDB's 9 reinforcement learning algorithms. Includes Decision Transformer, Q-Learning, SARSA, Actor-Critic, and more. Use when building self-learning agents, implementing RL, or optimizing agent behavior through experience.

umap-learn

242
from aiskillstore/marketplace

UMAP dimensionality reduction. Fast nonlinear manifold learning for 2D/3D visualization, clustering preprocessing (HDBSCAN), supervised/parametric UMAP, for high-dimensional data.

scikit-learn

242
from aiskillstore/marketplace

Machine learning in Python with scikit-learn. Use when working with supervised learning (classification, regression), unsupervised learning (clustering, dimensionality reduction), model evaluation, hyperparameter tuning, preprocessing, or building ML pipelines. Provides comprehensive reference documentation for algorithms, preprocessing techniques, pipelines, and best practices.

cross-task-learning

242
from aiskillstore/marketplace

Pattern for aggregating insights across multiple tasks to enable data-driven evolution.

learning-objectives

242
from aiskillstore/marketplace

Generate measurable learning outcomes aligned with Bloom's taxonomy and CEFR proficiency levels for educational content. Use this skill when educators need to define what students will achieve, create learning objectives for curriculum planning, or ensure objectives are specific and testable rather than vague. This skill helps break down complex topics into progressively building learning goals with clear assessment methods and success criteria.