clean-project

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

A destructive cleanup procedure for repairing a broken local development setup. It removes installed dependencies, package-manager files, and tool caches before reinstalling the environment.

In plain words
What is it for?
Use it when pnpm or Trunk behaves inconsistently or the development environment appears corrupted. It cleans dependencies and caches, reinitializes the setup, and checks whether the project works again.
Why use it?
It addresses repeated installation failures, mismatched dependency files, and errors that do not match the current code. The repository itself is left intact, but everything must be downloaded again.

Skill for Claude Code

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

Good fit Use it when pnpm or Trunk behaves inconsistently or the development environment appears corrupted. It cleans dependencies and caches, reinitializes the setup, and checks whether the project works again.

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

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/skill-inspector/clean-project.svg)](https://agentmods.dev/skills/yu-iskw/skill-inspector/clean-project)
Your own site
<a href="https://agentmods.dev/skills/yu-iskw/skill-inspector/clean-project"><img src="https://agentmods.dev/badge/skills/yu-iskw/skill-inspector/clean-project.svg" alt="Measured on agentmods" 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 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.00042 $0.00382
Opus 5 $0.00021 $0.00191
Sonnet 5 $0.00008 $0.00076
Haiku 4.5 $0.00004 $0.00038

Measured 8d ago against content hash 6a99a28527ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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

Copies of this mod

1 near-identical copy found in the catalogue:

.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. 8d 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/skill-inspector (2 stars, last pushed 7d ago), licensed Apache-2.0. It adds 42 tokens to every session and 382 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

scanning-containers-with-trivy-in-cicd

This skill covers integrating Aqua Security's Trivy scanner into CI/CD pipelines for comprehensive container image vulnerability detection. It addresses scanning Docker images for OS package and application dependency CVEs, detecting misconfigurations in Dockerfiles, scanning filesystem and git repositories, and…

xalgorix/xalgorix · 74 tokens

implementing-semgrep-for-custom-sast-rules

Write custom Semgrep SAST rules in YAML to detect application-specific vulnerabilities, enforce coding standards, and integrate into CI/CD pipelines.

xalgorix/xalgorix · 37 tokens

performing-sca-dependency-scanning-with-snyk

This skill covers implementing Software Composition Analysis (SCA) using Snyk to detect vulnerable open-source dependencies in CI/CD pipelines. It addresses scanning package manifests and lockfiles, automated fix pull request generation, license compliance checking, continuous monitoring of deployed applications, and…

xalgorix/xalgorix · 77 tokens

implementing-code-signing-for-artifacts

This skill covers implementing code signing for build artifacts to ensure integrity and authenticity throughout the software supply chain. It addresses signing binaries, packages, and containers using GPG, Sigstore, and platform-specific signing tools, establishing trust chains, and verifying signatures in deployment…

xalgorix/xalgorix · 62 tokens

performing-container-security-scanning-with-trivy

Scan container images, filesystems, and Kubernetes manifests for vulnerabilities, misconfigurations, exposed secrets, and license compliance issues using Aqua Security Trivy with SBOM generation and CI/CD integration.

xalgorix/xalgorix · 48 tokens

building-vulnerability-dashboard-with-defectdojo

Deploy DefectDojo as a centralized vulnerability management dashboard with scanner integrations, deduplication, metrics tracking, and Jira ticketing workflows.

26zl/cybersec-toolkit · 37 tokens