Skills work alongside the CLI and MCP integrations. They tell agents how to use fallow effectively, while the CLI and MCP provide the tools to do it.
What’s included
The fallow-skills package includes:| Component | Description |
|---|---|
| Analysis skill | Step-by-step workflows for dead code analysis, duplication detection, auto-fix, and CI setup |
| CLI reference | Complete command specs, flags, output formats, and configuration |
| Gotchas | Common pitfalls with correct vs incorrect examples (e.g., fix --yes requirement in non-TTY) |
| Workflow patterns | Recipes for CI pipelines, monorepo analysis, migration from knip/jscpd, incremental adoption |
Installation
- Claude Code
- Cursor
- OpenAI Codex
- Windsurf
- GitHub Copilot
- Gemini CLI
- Amp
What agents can do after installation
Once installed, agents understand how to use fallow for natural language requests:Find dead code
“Find all unused exports in this project”. Agent runs
fallow check --format json --quiet --unused-exports and summarizes findings.Clean up dependencies
“Are there any unused dependencies?” Agent runs targeted analysis and suggests removals.
Detect duplication
“Find code duplication in the codebase”. Agent runs
fallow dupes with the right mode and interprets clone families.Auto-fix
“Remove unused exports”. Agent runs dry-run first, shows proposed changes, then applies with
--yes.CI setup
“Set up a dead code check in CI”. Agent generates the correct GitHub Actions workflow with baselines.
Debug false positives
“Why is this export flagged?” Agent uses
--trace to investigate and suggests suppression if needed.Skills vs MCP vs CLI
| Skills | MCP | CLI | |
|---|---|---|---|
| What it provides | Knowledge about how to use fallow | Structured tool interface | Direct command execution |
| Setup | One-time install per agent | MCP server configuration | fallow binary in PATH |
| Agent support | Any agent with skill support | Agents with MCP support | Any agent that runs shell commands |
| Best for | Teaching agents fallow best practices | Typed tool calling in agent frameworks | Universal compatibility |
See also
Agent integration
CLI and MCP integration for AI agents.
CI integration
Catch dead code in your CI pipeline.
VS Code extension
Real-time feedback for human developers.