- Agents (CLI + MCP)
- Humans (CLI + VS Code)
- CI (GitHub Actions)
Run your first analysis
Any agent that can execute shell commands can run fallow. Use Fallow auto-detects your frameworks via
--format json for structured output:package.json and returns unused files, exports, dependencies, types, and more as structured JSON.Auto-fix
Preview what would be removed:Apply fixes (use
--yes to skip confirmation in agent workflows):Add MCP (optional)
For agents that support MCP, add structured tool calling:This exposes
analyze, find_dupes, fix_preview, fix_apply, and project_info as typed tools. Full MCP setupCreate a config (optional)
For customization, generate a config file:Configuration is shared across all three tracks. The same
.fallowrc.json applies whether fallow is invoked by an agent, a developer, or CI.Migrating from knip or jscpd? Fallow can auto-migrate your existing config. See the knip migration guide or jscpd migration guide.
Next steps
Agent integration
Full guide for CLI and MCP agent workflows.
Dead code analysis
Learn about the 11 issue types fallow detects.
Code duplication
Explore detection modes and clone families.
Configuration
Customize entry points, rules, and ignore patterns.