lambenthan/empiricalwiki/reset
Claude Code and agent skill by lambenthan/empiricalwiki
- community
Checking that the SKILL.md file is still in the repository.
Reset wiki state to a clean scaffold by scope (wiki / raw / log / checkpoints / all). Useful during development or carefree restarts after a botched setup.
Install
npx vskill@latest install lambenthan/empiricalwiki/resetSKILL.md
/reset
Resets the wiki to a clean scaffold by scope. Designed for development iteration and recovery after a failed setup — not a routine operation.
Trigger
Manual: /reset --scope wiki / --scope raw / --scope log / --scope checkpoints / --scope all. Multiple scopes may be combined comma-separated: --scope wiki,log.
Inputs
--scope(required): one ofwiki— delete every*.mdunderwiki/<entity>/andwiki/outputs/, pluswiki/index.md,wiki/log.md, andwiki/graph/files. Preserves.gitkeepandwiki/CLAUDE.md.raw— delete every entry underraw/papers/,raw/discovered/,raw/tmp/,raw/notes/,raw/web/(except.gitkeep).log— resetwiki/log.mdto the empty header.checkpoints— clear batch state viaresearch_wiki.py checkpoint-clear.all— every scope above.
Outputs
- Cleared / reset files on disk.
- Console summary of deleted files and reset files.
Wiki Interaction
Reads
- All
wiki/<entity>/*.md(to enumerate the deletion plan). raw/<sub>/*(to enumerate raw deletions).
Writes
- Deletes
wiki/<entity>/*.md(preserves.gitkeep). - Rewrites
wiki/index.md,wiki/graph/*, optionallywiki/log.md. - Deletes
raw/<sub>/*(except.gitkeep).
Workflow
Pre-conditions: working directory contains wiki/, tools/. Set WIKI_ROOT=wiki/.
Step 1: Build the deletion plan (dry-run)
This prints a JSON plan listing every file that would be deleted or reset, without modifying anything. Display the plan to the user grouped by scope (wiki entity dirs, raw subdirs, log, checkpoints).
Step 2: Confirm with the user
Print the plan summary and ask for explicit confirmation:
If the user says no, exit. Never proceed without explicit approval — /reset is destructive and raw/ deletions are not tracked by git.
Step 3: Execute
The tool prints a JSON status report ({deleted_files, reset_files}).
Step 4: Log (unless log scope was reset)
If the executed scope did not include log, append a log entry so future sessions can see the reset happened:
Step 5: Report
Print the result and suggest next steps:
Constraints
- Confirm before destructive action: never call
--yeswithout showing the plan and asking the user. - Preserves:
.gitkeepplaceholders,wiki/CLAUDE.md,.claude/(skills are never touched). - `raw/` deletes are irreversible: PDFs are not in git history. Warn the user before executing
raworallscopes. - `/reset` does not touch `tools/`, `mcp-servers/`, `i18n/`, `.env`, or git state.
- Scope is required: no default action (
/resetwith no flag prompts for scope rather than guessing).
Error Handling
- Unknown scope: print valid scopes and exit nonzero.
- Missing wiki directory: report and suggest running
/init. - `checkpoint-clear` failure: log a warning but do not fail other scopes.
Dependencies
Tools (via Bash)
python3 tools/reset_wiki.py --scope <scope> [--yes] [--project-root .]— deterministic destructive helperpython3 tools/research_wiki.py log wiki/ "<message>"— append logreset_wiki.pyclearswiki/.checkpoints/*.jsondirectly forcheckpointsscope (no CLI dispatch — thecheckpoint-clearsubcommand requires a specifictask_id, while/reset --scope checkpointssemantics is "clear everything")
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingi18n/en/skills/reset/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lambenthan/empiricalwiki/reset)