Official agent skill

Dead Dependencies

by redis in redis/RedisInsight

Find and safely remove unused ("dead") npm dependencies in RedisInsight using a grep + leaf-check + build-gate recipe.

OfficialCustom licenceAuto-check passedDatabases

Install Dead Dependencies

skills CLI
$ npx skills add redis/RedisInsight --skill dead-dependencies -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install redis/RedisInsight dead-dependencies --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/redis/RedisInsight.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.ai/skills/dead-dependencies .claude/skills/dead-dependencies && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dead-dependencies
GitHub stars
8.9k
Token cost
~1.5k tokens
SKILL.md length
573 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
Custom licence

At a glance

Find and safely remove unused ("dead") npm dependencies in RedisInsight using a grep + leaf-check + build-gate recipe.

  • Works in 5 steps: Grep the whole repo for real usage → Rule out no-import usage → Leaf check → …
  • Cleaning up dependencies
  • SKILL.md covers Why manual (not knip/depcheck), The recipe (per candidate), Optional: enumerate candidates… and Worked example — jsonpath
  • Calls npm and node

What it does

Dead Dependencies is an agent skill from redis/RedisInsight, published by the product's own GitHub organization. Find and safely remove unused ("dead") npm dependencies in RedisInsight using a grep + leaf-check + build-gate recipe. Use when cleaning up dependencies, investigating whether a package is still used, removing a suspected leftover, or when the user mentions dead deps, unused dependencies, dependency cleanup, leftover packages, or "is this safe to remove". Complements the weekly vulnerability audit (scripts/dependency-audit-report.mjs), which only reports vulnerabilities.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Databases. It works with npm, Redis, webpack and Jest.

When your agent uses it

  • Cleaning up dependencies
  • Investigating whether a package is still used
  • Removing a suspected leftover
  • The user mentions dead deps

Example prompts

  • “is this safe to remove”
  • “/dead-dependencies”

Requirements

  • Node.js

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Grep the whole repo for real usage
  2. Rule out no-import usage
  3. Leaf check
  4. Classify before acting
  5. The gate — the only real proof

What it can do on your machine

Read from SKILL.md and the folder at commit 43bd288. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dead Dependencies loads about 1.5k tokens when it runs. Until then it costs about 124 tokens; SKILL.md has 573 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~124
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 573 words (~1,495 tokens).

“Identify and safely remove unused npm dependencies. This is a local, interactive workflow — a scheduled report can only ever guess; confirming a dependency is dead requires grepping real usage and running the build.”

— opening of SKILL.md by redis, Custom licence
name
dead-dependencies

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .ai/skills/dead-dependencies of redis/RedisInsight.

Open the folder on GitHubat commit 43bd288

Compare with similar skills

Dead Dependencies next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dead Dependencies compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dead Dependencies this skillredis/RedisInsight8.9k—~1.5kAutomated safety check: PassCustom licence
Implement Commandredis/node-redis18k—~5kAutomated safety check: PassMIT
Mail Timeveliovgroup/mail-time143—~1kAutomated safety check: PassBSD-3-Clause
Rebuild After Changezhyese/grid-qa144—~463Automated safety check: NotesCustom licence
Backend Test Writeraiskillstore/marketplace4301 repos~1.1kAutomated safety check: PassNone
Running And Testing LocallyNangoHQ/nango13k—~3.8kAutomated safety check: NotesCustom licence

Similar skills

  • Implement Command

    redis/node-redis

    Official

    Add a new Redis command (or command variant) to node-redis end-to-end — the <NAME.ts Command file, its registration with JSDoc in the package commands/index.ts, and a co-located <NAME.spec.ts with…

    18k GitHub stars~5k tokensUpdated today
    DatabasesAuto-check passed
  • Mail Time

    veliovgroup/mail-time

    A skill your agent uses when building, wiring, reviewing, or debugging MailTime and ostrio:mailer email queues for horizontally scaled Node.js, Bun, or Meteor apps.

    143 GitHub stars~1k tokensUpdated today
    DatabasesAuto-check passed
  • Rebuild After Change

    zhyese/grid-qa

    改了项目代码/配置后,判断该 rebuild 哪个镜像、哪些走 HMR、.env 改动要不要重建容器。避免"改了没生效"的最常见坑。

    144 GitHub stars~463 tokensUpdated 4 days ago
    DevOps & CloudAuto-check: notes
  • Backend Test Writer

    aiskillstore/marketplace

    A skill your agent uses when generating tests for backend code (Express routes, MongoDB models, Node services) - analyzes file type, detects test framework from package.json, generates comprehensive…

    430 GitHub starsUsed in 1 repo~1.1k tokens
    Testing & QAAuto-check passed
  • A skill your agent uses when running the Nango application locally for development and browser testing - covers Docker services, dev commands, service URLs, and troubleshooting startup issues

    13k GitHub stars~3.8k tokensUpdated today
    Backend & APIsAuto-check: notes
  • Testing

    trieb-work/nextjs-turbo-redis-cache

    Run tests and add Next.js version coverage for the cache handler.

    151 GitHub stars~1.1k tokensUpdated 13 days ago
    Testing & QAAuto-check passed

More from redis/RedisInsight

All 15 skills in this repo
  • Redis Insight Plugin

    redis/RedisInsight

    Official

    A skill your agent uses when creating, modifying, debugging, deploying, or testing Redis Insight Workbench visualization plugins, plugin manifests, package.json visualizations, activationMethod…

    8.9k GitHub stars~3.5k tokensUpdated 3 days ago
    Auto-check passed
  • Backend

    redis/RedisInsight

    Official

    NestJS backend development patterns for the RedisInsight API: module structure, services, controllers, DTOs, dependency injection, and error handling.

    8.9k GitHub stars~1.6k tokensUpdated 3 days ago
    Auto-check passed
  • Code Quality

    redis/RedisInsight

    Official

    Code-quality standards for RedisInsight: TypeScript strictness, naming conventions (camelCase, PascalCase, UPPERSNAKECASE), linting rules, no any without reason, no !important in styles, and…

    8.9k GitHub stars~1.2k tokensUpdated 3 days ago
    Auto-check passed
  • Commits

    redis/RedisInsight

    Official

    Generate commit messages following Conventional Commits format.

    8.9k GitHub stars~451 tokensUpdated 3 days ago
    Auto-check passed
  • E2E Testing

    redis/RedisInsight

    Official

    Playwright end-to-end testing standards for RedisInsight: page object models, test structure, fixtures, navigation patterns, and flaky-test prevention.

    8.9k GitHub stars~5.1k tokensUpdated 3 days ago
    Auto-check passed
  • Feature Flags

    redis/RedisInsight

    Official

    Create, modify, and remove feature flags in RedisInsight. An agent skill from redis/RedisInsight.

    8.9k GitHub stars~1.6k tokensUpdated 3 days ago
    Auto-check passed

Categories

Questions about Dead Dependencies

What does Dead Dependencies do?

Find and safely remove unused ("dead") npm dependencies in RedisInsight using a grep + leaf-check + build-gate recipe. Dead Dependencies is an agent skill from redis/RedisInsight, published by the product's own GitHub organization. Find and safely remove unused ("dead") npm dependencies in RedisInsight using a grep + leaf-check + build-gate recipe.

When should I use Dead Dependencies?

Dead Dependencies fits situations like: cleaning up dependencies; investigating whether a package is still used; removing a suspected leftover; the user mentions dead deps.

How do I install Dead Dependencies in Claude Code?

Run `npx skills add redis/RedisInsight --skill dead-dependencies -a claude-code`. Or copy the skill folder (.ai/skills/dead-dependencies in redis/RedisInsight) into .claude/skills/dead-dependencies in your project. Claude Code loads it when a task matches its description.

How do I install Dead Dependencies in Codex?

Run `npx skills add redis/RedisInsight --skill dead-dependencies -a codex`. Or copy the skill folder (.ai/skills/dead-dependencies in redis/RedisInsight) into .agents/skills/dead-dependencies in your project. Codex loads it when a task matches its description.

Can I use Dead Dependencies in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add redis/RedisInsight --skill dead-dependencies -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dead-dependencies, .gemini/skills/dead-dependencies, .github/skills/dead-dependencies and .opencode/skills/dead-dependencies in your project.

What does Dead Dependencies need to run?

Going by SKILL.md and its folder, Dead Dependencies needs the command-line tools its instructions call (npm and node). Our summary lists: Node.js.

Does Dead Dependencies access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Dead Dependencies safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Dead Dependencies use?

Dead Dependencies has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Dead Dependencies use?

About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dead Dependencies?

Skills that share tags, products or a category with Dead Dependencies: Implement Command (redis/node-redis, 18k stars), Mail Time (veliovgroup/mail-time, 143 stars), Rebuild After Change (zhyese/grid-qa, 144 stars) and Backend Test Writer (aiskillstore/marketplace, 430 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dead Dependencies?

redis (a GitHub organization, an official publisher) maintains it in redis/RedisInsight, which has 8,882 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 4, 2026.

Source: redis/RedisInsight on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.