Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

Remove Dead Code

skill · qdhenry/Claude-Command-SuiteLicence not declaredAudited 9 Oct 2026 · source 30765dd323e0

★ 1,342pushed 221 days ago
✓SAFEGrade B · 89/100 · 9 Oct 2026 · 30765dd
1,342repo stars · whole qdhenry/Claude-Command-Suite

Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 30765dd323e0 and found no filesystem, network or shell access and no hard-coded secrets. What it does: Safely identifies and removes dead code in TypeScript/JavaScript projects using multi-agent analysis with automatic backup branches. Use when cleaning up unused exports, orphaned files, dead imports, unreachable…

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Remove Dead Code (qdhenry/Claude-Command-Suite)”. Retrieved 9 Oct 2026. https://modelsatlas.com/skills/qdhenry/remove-dead-code

Trust audit

Audit 0.4.1 · source read 9 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium1 low0 info

SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkNone observedNo outbound calls in the source
  • ShellNone observedNo commands run in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS1
L1 Static sourceSecrets, path traversal, supply chain, hidden codeNA0
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS0
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass, no license.

Findings (1)

LOWInventory / provenanceinv.no_license
F-13 Inventory / provenanceCWE-1104Layer L0
Why
no LICENSE file and no repo licence
Fix
add a licence

Audit 0.4.1 · source sha 30765dd323e0 · 9 Oct 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

  • Publisherqdhenry GitHub userOwner of the repository this skill is read from
  • Source folderqdhenry/Claude-Command-Suite/.claude/skills/remove-dead-codeThe exact folder we audited
  • LicenceNot declaredAs the repository states it
  • Commit pinned for this verdict30765dd323e0A new audit runs when the source changes
  • Repository statusNot archivedLast push 221 days ago
  • Sandboxed runNot runSkills are read, not executed; layer L4 is skipped

What it tells the agent

Full source on GitHub ↗

Its description: Safely identifies and removes dead code in TypeScript/JavaScript projects using multi-agent analysis with automatic backup branches. Use when cleaning up unused exports, orphaned files, dead imports, unreachable…

---
name: remove-dead-code
description: Safely identifies and removes dead code in TypeScript/JavaScript projects using multi-agent analysis with automatic backup branches. Use when cleaning up unused exports, orphaned files, dead imports, unreachable functions, or unused dependencies.
---

<essential_principles>

**Safety-first dead code removal.** Every removal is protected by an automatic backup branch. Multi-agent analysis reduces false positives. No code is deleted without cross-validation.

**1. Backup Before Everything**

Before any modification, create a timestamped backup branch from the current HEAD. This is non-negotiable. The branch name format is `backup/dead-code-removal/{timestamp}`.

**2. Parallel Scout + Validator Pattern**

Multiple scout agents analyze different aspects of dead code in parallel. A validator agent then cross-checks all findings against the full codebase before anything is flagged for removal. Only code confirmed dead by both scouts AND validator gets removed.

**3. Conservative by Default**

When in doubt, keep the code. False negatives (missing some dead code) are acceptable. False positives (removing live code) are not. Dynamic imports, reflection, test utilities, and public API surface are always treated as potentially live.

**4. Never Remove Without Reporting First**

The scan workflow produces a report. The user reviews the report. Only then does the remove workflow execute against confirmed items.

</essential_principles>

<intake>
What would you like to do?

1. **Scan** - Analyze codebase for dead code (read-only, produces report)
2. **Remove** - Remove confirmed dead code (requires prior scan report)
3. **Validate** - Verify removal didn't break anything (post-removal checks)

**Wait for response before proceeding.**
</intake>

<routing>
| Response | Workflow |
|----------|----------|
| 1, "scan", "analyze", "find", "detect", "report" | `workflows/scan-dead-code.md` |
| 2, "remove", "delete", "clean", "prune" | `workflows/remove-dead-code.md` |
| 3, "validate", "verify", "check", "test" | `workflows/validate-removal.md` |
| Unclear | Ask: "Would you like to scan first (recommended) or do you already have a scan report?" |

**Default flow:** Scan → Review report → Remove → Validate

**After reading the workflow, follow it exactly.**
</routing>

<safety_rules>
- NEVER remove code without creating a backup branch first
- NEVER remove code that appears in test files as a test subject (test helpers ARE candidates)
- NEVER remove re-exported types that could be part of a public API
- NEVER remove files matching patterns: `*.config.*`, `*.setup.*`, `*.d.ts`, entry points
- ALWAYS preserve code referenced by dynamic imports (`import()` expressions)
- ALWAYS preserve code that might be used via string-based lookups or reflection
- ALWAYS check `package.json` `exports`, `main`, `types`, and `bin` fields before removing
- ALWAYS check framework conventions (Next.js pages/routes, Convex functions, etc.)
</safety_rules>

<reference_index>
All domain knowledge in `references/`:

**Detection:** detection-patterns.md - What to scan for and how to identify dead code
**Agents:** agent-coordination.md - How multi-agent parallel analysis works
</reference_index>

<workflows_index>
| Workflow | Purpose |
|----------|---------|
| scan-dead-code.md | Multi-agent analysis producing a dead code report |
| remove-dead-code.md | Safe removal with backup branch and atomic commits |
| validate-removal.md | Post-removal build, test, and type-check verification |
</workflows_index>

<success_criteria>
Dead code removal is successful when:
- Backup branch exists with pre-removal state
- All flagged items were cross-validated by multiple agents
- Build passes after removal (`tsc --noEmit`, `npm run build`)
- All tests pass after removal
- No new TypeScript errors introduced
- Removal summary report generated with what was removed and why
</success_criteria>

Excerpt, first 3,940 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit 30765dd

Download folder ↗
git clone https://github.com/qdhenry/Claude-Command-Suite
git -C Claude-Command-Suite checkout 30765dd323e0

The author documents no install command, so this uses the repository directly. Our verdict covers commit 30765dd323e0 only.

Works in

The author has not said which agents this skill supports, and we have not tested it in any.

Audit history

Every audit, every source change

  1. ✓SAFE B 89 / 100

    first audit · source 30765dd323e0

README badge

For maintainers · shows the latest audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/qdhenry/remove-dead-code/badge.svg)](https://modelsatlas.com/skills/qdhenry/remove-dead-code/)

The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.

Audit Env Variables✓SAFE

qdhenry/Claude-Command-Suite

Analyze environment variables in JavaScript/TypeScript projects. Identifies unused variables, infers permission scopes, detects specific services (Stripe, AWS, Supabase), and documents code paths. Includes optional…

★ 1.3kGrade B
Bigcommerce Api✓SAFE

qdhenry/Claude-Command-Suite

BigCommerce API expert for building integrations, apps, headless storefronts, and automations. Full lifecycle - REST APIs, GraphQL Storefront, webhooks, authentication, app development, and multi-storefront. Use when…

★ 1.3kGrade B
Elevenlabs Transcribe✓SAFE

qdhenry/Claude-Command-Suite

Transcribes audio/video files using ElevenLabs Scribe v2 API. Use when transcribing audio files, generating transcripts, or converting speech to text.

★ 1.3kGrade B
Extract Video Frames✓SAFE

qdhenry/Claude-Command-Suite

Extracts frames and timestamped audio segments from video files (GIF, MP4, MOV) at configurable intervals and stores them in a directory with a manifest file. Use when analyzing video content, preparing frames for…

★ 1.3kGrade B
File Watcher✓SAFE

qdhenry/Claude-Command-Suite

Chokidar-based file watcher that triggers `claude -p` on changes. Useful for automated AI reactions to file changes — design sync, code validation, config regeneration, etc.

★ 1.3kGrade B
Gsap Animation✓SAFE

qdhenry/Claude-Command-Suite

Professional slash commands for Claude Code that provide structured workflows for software development tasks including code review, feature creation, security auditing, and architectural analysis.

★ 1.3kGrade B

Add this badge to your README

[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/qdhenry/remove-dead-code/badge.svg)](https://modelsatlas.com/skills/qdhenry/remove-dead-code/)

Questions about Remove Dead Code

What does the Remove Dead Code skill do?
Professional slash commands for Claude Code that provide structured workflows for software development tasks including code review, feature creation, security auditing, and architectural analysis.
Is Remove Dead Code safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Remove Dead Code access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (30765dd323e0), read on 2026-10-09. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.