📋 Knip

Find unused dependencies, files, and exports in JS/TS projects. Use when cleaning up dead code, removing stale packages from package.json, or identifying unreferenced exports.

QUICK INSTALL
npx playbooks add skill knoopx/pi --skill knip

About Knip

Knip is a free developer workflow skill that configures AI coding agents to find unused dependencies, files, and exports in js/ts projects. use when cleaning up dead code, removing stale packages from package.json, or identifying unreferenced exports.

Its 24-word system prompt specializes your agent in developer workflow with structured methodology and proven output formats. Install with one command to activate immediately.

Use Cases

  • Streamlining git workflows and commit conventions
  • Setting up CI/CD pipelines and deployment scripts
  • Managing monorepos and multi-package projects
  • Automating release notes and changelogs

Example Prompts

Get started Help me use the Knip skill effectively.

System Prompt (24 words)

Find unused dependencies, files, and exports in JS/TS projects. Use when cleaning up dead code, removing stale packages from package.json, or identifying unreferenced exports.

Frequently Asked Questions

What is Knip?

Knip is a free developer workflow skill for AI coding agents. Find unused dependencies, files, and exports in JS/TS projects. Use when cleaning up dead code, removing stale packages from package.json, or identifying unreferenced exports.. It provides a specialized system prompt that configures your agent with developer workflow expertise.

How do I use Knip with Claude Code?

Run npx playbooks add skill knoopx/pi --skill knip in your terminal to install Knip into your Claude Code session. It works immediately after installation.

Which AI coding agents work with Knip?

Knip is compatible with Claude Code, Cursor, GitHub Copilot, Windsurf, OpenClaw, Cline, and any AI agent that supports custom system prompts or .cursorrules files.

Is Knip free to use?

Yes, Knip is completely free and open source. The full source is available on GitHub at https://github.com/knoopx/pi/tree/main/agent/skills/knip. You only need a subscription to the AI agent you use it with.

Related Skills

Get the best new skills
in your inbox

Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.