reset-project

reset-project is a skill for Claude Code from luiseiman/dotforge. It costs 25 tokens per session (1,086 once invoked), scanned C, original, MIT.

A project-reset skill that replaces the .claude/ directory with the dotforge template after confirmation.

In plain words
What is it for?
Resetting Claude Code project settings, rules, hooks, and other configuration when the current setup needs to be rebuilt.
Why use it?
It provides a clean starting point while creating a backup and preserving specified files.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Part of the dotforge plugin — 25 skills, 25 commands, 7 agents, 8 hooks shipped together

Good fit Resetting Claude Code project settings, rules, hooks, and other configuration when the current setup needs to be rebuilt.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/luiseiman/dotforge/reset-project
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add luiseiman/dotforge --skill reset-project
Clone the repo
git clone --depth 1 https://github.com/luiseiman/dotforge

Made for: Claude Code.

Or install dotforge, the plugin that ships this one along with the rest of its 25 skills, 25 commands, 7 agents, 8 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for reset-project

README.md
[![agentmods](https://agentmods.dev/badge/skills/luiseiman/dotforge/reset-project/github.svg)](https://agentmods.dev/skills/luiseiman/dotforge/reset-project)
Your own site
<a href="https://agentmods.dev/skills/luiseiman/dotforge/reset-project"><img src="https://agentmods.dev/badge/skills/luiseiman/dotforge/reset-project/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for reset-project

Your own site · 80×15
<a href="https://agentmods.dev/skills/luiseiman/dotforge/reset-project"><img src="https://agentmods.dev/badge/skills/luiseiman/dotforge/reset-project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,086 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.01086
Opus 5.5 $0.00010 $0.00434
Sonnet 5.5 $0.00005 $0.00217
Haiku 4.5 $0.00003 $0.00109

Measured 1mo ago against content hash 11dc530e91ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

reset-project scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf .claude/
skills/reset-project/SKILL.md · 118 lines

How it starts

The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Reset Project

Restore the current project's .claude/ directory completely to the dotforge template, from scratch.

Step 1: Confirm with the user (MANDATORY)

Show warning before proceeding:

╔══════════════════════════════════════════════════╗
║  RESET: .claude/ will be fully replaced         ║
║                                                  ║
║  The following will be lost:                     ║
║  - Customizations in settings.json               ║
║  - Custom rules                                  ║
║  - Custom hooks                                  ║
║  - Any manually created files in .claude/        ║
║                                                  ║
║  The following will be preserved:                ║
║  - settings.local.json (not touched)             ║
║  - CLAUDE.md (regenerated from template)         ║
║  - CLAUDE_ERRORS.md (preserved if it exists)     ║
║                                                  ║
║  A backup will be created at .claude.backup-YYYY-MM-DD/  ║
╚══════════════════════════════════════════════════╝

Confirm reset? (yes/no)

If the user says "no", cancel immediately. DO NOT proceed without explicit confirmation.

Step 2: Detect stacks

Use detection rules from $DOTFORGE_DIR/stacks/detect.md. Confirm detected stacks with the user.

Step 3: Create backup

  1. Create directory .claude.backup-{YYYY-MM-DD}/ in the project root
  2. Copy ALL of .claude/ to the backup:
    cp -R .claude/ .claude.backup-$(date +%Y-%m-%d)/
    
  3. If CLAUDE_ERRORS.md exists, copy it separately (it will be restored afterwards)
  4. Verify the backup exists and has content

Step 4: Re-run full bootstrap

  1. Delete the current .claude/:
    rm -rf .claude/
    
  2. Run the /bootstrap-project skill in full from scratch
  3. If CLAUDE_ERRORS.md existed, restore the original file (not the empty template)

Step 5: Show diff between backup and new

Compare backup vs new .claude/:

═══ RESET COMPLETE ═══

New files (did not exist before):
+ .claude/rules/agents.md
+ .claude/agents/researcher.md

Updated files (differences from backup):
~ .claude/settings.json — 3 new permissions in allow
~ .claude/hooks/block-destructive.sh — 2 new patterns

Deleted files (were in backup, not in template):
- .claude/rules/custom-strategy.md

Preserved files:
= CLAUDE_ERRORS.md (restored from backup)

Read the full file on GitHub · 118 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +2 lines 11dc530e91ff
  2. 3mo ago First seen · 116 lines · 25 tokens per session scan C 51b886ecbf86

Subscribe to this mod's changes

reset-project is a skill published in the GitHub repository luiseiman/dotforge (8 stars, last pushed 26d ago), licensed MIT. It adds 25 tokens to every session and 1,086 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

reset-project compared with skills from other repositories

reset-project next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
reset-projectluiseiman/dotforgeSkill826d agoMITC25Claude Code
zephermineDannykkh/skill-olympusSkill96d agoMITA97Codex
design-planDannykkh/skill-olympusSkill96d agoMITA108Codex
agent-teamDannykkh/skill-olympusSkill96d agoMITA132Claude Code, Codex
clioDannykkh/skill-olympusSkill96d agoMITA107Claude Code, Codex
frontend-designDannykkh/skill-olympusSkill96d agoMITA92Claude Code, Codex
argosDannykkh/skill-olympusSkill96d agoMITA89Claude Code, Codex