nazgul:clean

nazgul:clean is a skill for Claude Code from OrodruinLabs/nazgul. It costs 67 tokens per session (3,826 once invoked), scanned C, original, no licence file.

A cleanup skill that removes Nazgul from a project. It deletes Nazgul’s generated files, configuration, permissions, injected instructions, runtime state, and related ignore-file entries.

In plain words
What is it for?
Use it when uninstalling Nazgul or reversing a project setup created by `/nazgul:init`.
Why use it?
It helps completely undo a Nazgul initialization and remove the project changes it created.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the nazgul plugin — 27 skills, 22 agents, 12 hooks shipped together

Good fit Use it when uninstalling Nazgul or reversing a project setup created by /nazgul:init.

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

Made for: Claude Code.

Or install nazgul, the plugin that ships this one along with the rest of its 27 skills, 22 agents, 12 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 nazgul:clean

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/orodruinlabs/nazgul/clean"><img src="https://agentmods.dev/badge/skills/orodruinlabs/nazgul/clean.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,826 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 unknown 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.00067 $0.03826
Opus 5 $0.00034 $0.01913
Sonnet 5 $0.00013 $0.00765
Haiku 4.5 $0.00007 $0.00383

Measured 10d ago against content hash 92e0e3eb1053, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade C, and why

nazgul:clean 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 10d 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 -- "$HOME/.claude/teams/<team>" "$HOME/.claude/tasks/<team>"
skills/clean/SKILL.md · 213 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 10d ago First seen · 213 lines · 67 tokens per session scan C 92e0e3eb1053

Subscribe to this mod's changes

nazgul:clean is a skill published in the GitHub repository OrodruinLabs/nazgul (7 stars, last pushed 14d ago), with no licence file. It adds 67 tokens to every session and 3,826 once invoked, about $0.0003 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

great_cto

Use when the CTO describes a feature, task, or project goal. Orchestrates the full SDLC pipeline automatically based on project type.

avelikiy/great_cto · 32 tokens

skeptical-triage

Reusable 3-round self-challenge + arbiter pattern for filtering false positives from findings/verdicts. Use when the cost of a false-positive gate block exceeds the cost of 4 extra LLM turns.

avelikiy/great_cto · 49 tokens

vertical-fintech-mobile

Domain-knowledge pack for money on a phone — wallets, payments, custody and signing, transaction lifecycle, KYC/AML gates, and offline reconciliation. The rules that separate a payments app from a CRUD app with a currency symbol: a balance is a claim about a server, an idempotency key must outlive the process that…

avelikiy/great_cto · 119 tokens

vertical-hr-recruiting

Domain-knowledge primer for the HR & recruiting vertical (ATS, onboarding, workforce scheduling, engagement). Applied by architect/pm during spec authoring so they aren't naive about hiring pipelines, the admitted offer→onboard data-carry gap, EEO/I-9 compliance, and shift-coverage rules. Stops the four products from…

avelikiy/great_cto · 90 tokens

vertical-real-estate

Residential-proptech domain knowledge so architect / pm aren't naive when speccing real-estate products (listings, lead-crm, transaction-coordination, property-mgmt). Codifies MLS/IDX reality, listing status lifecycle + syndication canonical-source, long-cycle lead nurture, transaction-coordination as the high-pain…

avelikiy/great_cto · 99 tokens

vertical-retail

Retail & e-commerce domain knowledge for SMB storefront products (storefront, inventory, pricing, cart-recovery). Codifies the vocabulary (SKU vs variant, reorder point, COGS/margin, ATS, AOV), the non-obvious rules (Shopify owns the storefront — don't fight it head-on; the wedge is multichannel inventory + reorder…

avelikiy/great_cto · 156 tokens