reset

Resets wiki state to a clean scaffold by selectable scope.

Updated Jul 15, 2026
One-click install
npx skills add https://github.com/1549171506/shizhengmubangai1 --skill reset-1549171506
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reset
Source: https://github.com/1549171506/shizhengmubangai1/tree/main/Desktop/123/empiricalwiki/i18n/en/skills/reset
Command: npx skills add https://github.com/1549171506/shizhengmubangai1 --skill reset-1549171506

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? During development of a research wiki, a botched setup or failed ingestion can leave the wiki/, raw/, and checkpoint state in a broken condition. This Skill provides a controlled, confirmation-gated way to delete generated content and return to a clean scaffold without touching tools, skills, or git state. ## Core Features & Use Cases - Scoped Reset: Choose exactly what to clear with --scope wiki, raw, log, checkpoints, or all, including comma-separated combinations like wiki,log. - Dry-Run Plan with Confirmation: Builds a JSON deletion plan first, shows it to the user, and only executes after explicit approval, protecting irreversible raw/ PDF deletions. - State Preservation: Keeps .gitkeep placeholders, wiki/CLAUDE.md, .claude/ skills, tools/, and git history untouched. - Use Case: After a failed /init run leaves half-written entity pages, run /reset --scope wiki to wipe generated markdown while preserving your raw sources, then re-bootstrap cleanly. ## Quick Start Ask the assistant to reset the wiki to a clean state for the wiki scope, review the deletion plan it shows you, and confirm before anything is deleted.

Frequently Asked Questions about reset

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reset a wiki to a clean state?

Run /reset with a --scope flag such as wiki, raw, log, checkpoints, or all. The tool first prints a dry-run JSON plan of every file to delete or reset, then executes only after you explicitly confirm.

How do I clear only wiki pages without deleting raw sources?

Use /reset --scope wiki, which deletes generated markdown under wiki/<entity>/, wiki/outputs/, index, log, and graph files while leaving raw/papers and other raw subdirectories untouched.

Can I combine multiple reset scopes in one command?

Yes, pass comma-separated scopes such as --scope wiki,log to clear generated wiki content and reset the log file in a single confirmed operation.

Does resetting the wiki delete my PDF files permanently?

Yes, the raw scope deletes files under raw/papers, raw/discovered, raw/tmp, raw/notes, and raw/web, and these deletions are not tracked by git, so they are irreversible. The tool warns you and requires confirmation first.

What files are preserved during a full wiki reset?

Even with --scope all, the reset preserves .gitkeep placeholders, wiki/CLAUDE.md, the .claude/ skills directory, tools/, mcp-servers/, i18n/, .env, and all git state.