dead-dependencies
Skill by redis
Finds and safely removes unused npm dependencies in the RedisInsight repository. Built for developers doing dependency cleanup who need to confirm a package is dead before deleting it.
Install dead-dependencies
Built from the published package, never by AI.
git clone --depth 1 https://github.com/redis/RedisInsight /tmp/RedisInsight && mkdir -p ~/.claude/skills && cp -r /tmp/RedisInsight/.ai/skills/dead-dependencies ~/.claude/skills/dead-dependenciesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/redis/RedisInsight /tmp/RedisInsight && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/RedisInsight/.ai/skills/dead-dependencies ~/.gemini/antigravity-cli/skills/dead-dependenciesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Dead Dependencies is a skill for finding and safely removing unused npm dependencies in the RedisInsight repository. It is a local, interactive workflow. For each candidate, it greps the repo for real usage, checks config files and package.json scripts for usage without an import, and runs npm ls to confirm the package is a leaf. It then classifies the action, removes the package, and runs the build gate.
The skill explains why static tools like knip and depcheck are not trusted in this repo. It names a mega-manifest and references in config and scripts as the reasons. It includes an optional command that lists declared dependencies with no import hits, plus a worked example that removed jsonpath. It complements the weekly vulnerability audit script, which only reports vulnerabilities. It is intended for developers maintaining RedisInsight dependencies.
Written from the project's SKILL.md and checked against it.
What it can do
- Grep for real usageSearches the repo for imports, requires and bare references to a package.
- No-import usage checkLooks for config string references, package.json scripts and runtime preloads that do not use an import.
- Leaf checkUses npm ls to confirm nothing else in the tree depends on the package.
- Classification tableMaps situations such as ambient types or builtin-shadowing names to delete, keep or relocate.
- Build gateUninstalls the package, then runs type-check, test and build to prove it is safe to remove.
- Candidate sweepLists declared dependencies and flags those with zero import hits as a first filter only.
What you need
- A checkout of the RedisInsight repository
- npm and the repo's npm scripts (type-check, test, build)
- Node.js
Try asking
- Is the jsonpath package still used in RedisInsight?
- Find unused npm dependencies in this repo and check each one.
- Is this package safe to remove from RedisInsight?
Good to know
- Static tools over-report in this repo, so results must be verified by hand.
- Candidates from the sweep are a first filter and must not be deleted directly.
- Dependencies must be changed with npm, never by hand-editing package.json or the lockfile.
- The skill only reports unused dependencies, not vulnerabilities.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .ai/skills/dead-dependencies/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to dead-dependencies
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
dead-dependencies: common questions
Why not use knip or depcheck for dead dependencies?
The source says these tools over-report in this repo, flagging packages used elsewhere, and miss usage without an import. It recommends grep, a leaf check and a build gate instead.
How does this differ from the weekly vulnerability audit?
The source says the audit script scripts/dependency-audit-report.mjs only reports vulnerabilities. This skill is for finding and removing dead dependencies.
Can I delete every package the sweep lists?
No. The source says every candidate still goes through the usage checks, leaf check and build gate, and that you should never delete straight from the list.
How do I install dead-dependencies?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is dead-dependencies free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is dead-dependencies safe to use?
It scores 78 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to dead-dependencies?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
