clean-project

clean-project is a skill for Claude Code from yu-iskw/coding-agent-fabric. It costs 42 tokens per session (382 once invoked), scanned C, a copy of clean-project, Apache-2.0.

A destructive workflow for rebuilding a broken local development environment from scratch. It removes installed dependencies, the pnpm lockfile, and cached tooling before reinstalling them.

In plain words
What is it for?
Deleting local dependency folders, clearing Trunk and pnpm caches, reinstalling the environment, and checking that the project works again.
Why use it?
It addresses persistent installation, checksum, lockfile, or tooling errors that remain after ordinary setup attempts.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

Good fit Deleting local dependency folders, clearing Trunk and pnpm caches, reinstalling the environment, and checking that the project works again.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yu-iskw/coding-agent-fabric/clean-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 yu-iskw/coding-agent-fabric --skill clean-project
Clone the repo
git clone --depth 1 https://github.com/yu-iskw/coding-agent-fabric

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/yu-iskw/coding-agent-fabric/clean-project/github.svg)](https://agentmods.dev/skills/yu-iskw/coding-agent-fabric/clean-project)
Your own site
<a href="https://agentmods.dev/skills/yu-iskw/coding-agent-fabric/clean-project"><img src="https://agentmods.dev/badge/skills/yu-iskw/coding-agent-fabric/clean-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 clean-project

Your own site · 80×15
<a href="https://agentmods.dev/skills/yu-iskw/coding-agent-fabric/clean-project"><img src="https://agentmods.dev/badge/skills/yu-iskw/coding-agent-fabric/clean-project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 382 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 100% copy Near-identical to another mod 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.00042 $0.00382
Opus 5.5 $0.00017 $0.00153
Sonnet 5.5 $0.00008 $0.00076
Haiku 4.5 $0.00004 $0.00038

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

Security

Grade C, and why

clean-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 3mo 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.

- Recursively delete `node_modules`: `find . -name "node_modules" -type d -prune -exec rm -rf '{}' +`.
Origin

This is a copy

100% identical to clean-project — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/clean-project/SKILL.md · 40 lines

What it actually says

Clean Project (Hard Reset)

This skill provides a destructive but thorough way to repair a "broken" development environment by removing all cached artifacts and re-initializing from scratch.

When to Use

  • pnpm install fails repeatedly with checksum or resolution errors.
  • trunk reports internal errors that persist after trunk install.
  • "Ghost" errors occur (failures that don't match the current code).

Workflow

  1. Clean Dependencies:

    • Recursively delete node_modules: find . -name "node_modules" -type d -prune -exec rm -rf '{}' +.
    • Remove global lockfile: rm pnpm-lock.yaml.
  2. Clean Tooling Cache:

    • Clear Trunk cache: trunk clean.
    • Prune pnpm store: pnpm store prune.
  3. Re-initialize Environment:

    • Invoke the setup-dev-env skill to reinstall everything.
  4. Verify Health:

Safety Note

This process is destructive to the local environment but safe for the repository. It will require a full download of all dependencies, which may take several minutes depending on network speed.

Resources

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. 3mo ago First seen · 40 lines · 42 tokens per session scan C 6a99a28527ad

Subscribe to this mod's changes

clean-project is a skill published in the GitHub repository yu-iskw/coding-agent-fabric (1 stars, last pushed 29d ago), licensed Apache-2.0. It adds 42 tokens to every session and 382 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). It is 100% identical to clean-project, differing in 0 lines, and is treated as a copy.

Related

clean-project compared with skills from other repositories

clean-project next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clean-projectyu-iskw/coding-agent-fabricSkill129d agoApache-2.0C42Claude Code
firebase-crashlyticsevanca/flutter-ai-rulesSkill67618d agoMITA34Claude Code
flutter-errorsevanca/flutter-ai-rulesSkill67618d agoMITA34Claude Code
auto-service-technicianwonsukchoi/domain-expertsSkill30todayMITA81Claude Code, Codex
commercial-industrial-electronics-repairerwonsukchoi/domain-expertsSkill30todayMITA89Claude Code, Codex
computer-user-support-specialistwonsukchoi/domain-expertsSkill30todayMITA102Claude Code, Codex
control-valve-installer-repairerwonsukchoi/domain-expertsSkill30todayMITA107Claude Code, Codex