Learn Reset

VerifiedSafe

Resets the knowledge base by clearing all entries from patterns, quirks, and decisions files, and resets the learning state counter. Use this to start fresh without deleting the folder structure.

Sby Skills Guide Bot
DevelopmentIntermediate
6/2/2026
Claude Code
#knowledge-management#reset#learning-state#destructive

Recommended for

Automated summary

Resets the knowledge base by clearing all accumulated learnings and resetting the learning state to fresh defaults.

Strengths

  • Quickly clears all accumulated data without deleting file structure.
  • Allows starting fresh with knowledge base.
  • Provides clear output of what was cleared.

Limitations

  • Cannot be undone once executed.
  • Git history may still contain old knowledge if previously committed.
  • Only works within Claude Code environment with specific file structure.
When to use it

Use this skill when you want to discard all past learnings and start fresh, such as when switching to a new project domain.

When not to use it

Do not use this skill if you need to preserve any past insights or if you haven't confirmed with the user first.

Security analysis

Safe
Quality score90/100

The skill only modifies files within a local knowledge directory, with no system-level destructive commands, network interactions, or obfuscated payloads. The warning is about data loss of learned insights, not system harm.

No concerns found

How this analysis is made

Examples

Reset knowledge base for new project
I want to start fresh with a clean knowledge base. Please reset all learnings and state.
Clear accumulated patterns and quirks
Clear all patterns, quirks, and decisions from the knowledge base and disable learning mode.

name: learn-reset description: Clear the knowledge base and start fresh user_invokable: true

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 learning state (extraction count)
  • 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 state - Reset knowledge/state.json to initial values
  4. 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
}

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
  - 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

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/learn-reset-mmbizkdq/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/learn-reset-mmbizkdq' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/learn-reset-mmbizkdq/download' --output '.skill-downloads/learn-reset-mmbizkdq/SKILL.md.part' && mv '.skill-downloads/learn-reset-mmbizkdq/SKILL.md.part' '.skill-downloads/learn-reset-mmbizkdq/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/learn-reset-mmbizkdq/SKILL.md' && test -s '.skill-downloads/learn-reset-mmbizkdq/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/learn-reset' && cp -R '.skill-downloads/learn-reset-mmbizkdq' '.claude/skills/learn-reset'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/learn-reset-mmbizkdq'

openskills read 'learn-reset-mmbizkdq'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/learn-reset-mmbizkdq/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills