Agent skills give AI coding agents structured knowledge about how to use fallow. Skills cover when to run each command, what flags to use, how to read the output, and how to avoid common pitfalls. Instead of relying on the agent’s general knowledge, skills provide precise, up-to-date instructions for dead code analysis, circular dependency detection, duplication, and complexity hotspots.Documentation Index
Fetch the complete documentation index at: https://docs.fallow.tools/llms.txt
Use this file to discover all available pages before exploring further.
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 | Workflows for unused code, duplication, complexity, boundary analysis, 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 in non-TTY) |
| Workflow patterns | Recipes for CI pipelines, monorepo analysis, migrating from knip/jscpd, and incremental adoption |
Installation
- Claude Code
- Cursor
- OpenAI Codex
- Windsurf
- GitHub Copilot
- Gemini CLI
- Amp
What agents can do after installation
Once installed, agents know how to respond to natural language requests like these:Find dead code
“Find all unused exports in this project”. Agent runs
fallow dead-code --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.Workflow recipe: adopt Fallow in an existing repo
When the goal is to bring an existing codebase to a clean Fallow policy (not just audit a single PR), fallow’s approach is to hand the cleanup work to the agent: fallow finds the problems, the agent fixes them in code. Three ways to run this, pick whichever your agent supports:- Install the skill (best).
fallow-skillsships the full adoption workflow. Once installed, the agent does not need to fetch docs URLs during use. Installation is one line per agent, above. - Add the MCP server. Combine with the skill or use standalone. The agent gets
audit,dead_code,dupes, andhealthas structured tools with_metaexplanations on every finding. See MCP. - Paste the prompt below. Self-contained fallback for agents without skill or MCP support, or for sandboxed agents that cannot fetch URLs.
Copy-paste adoption prompt (self-contained)
Copy-paste adoption prompt (self-contained)
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 codebase issues in your CI pipeline.
VS Code extension
Real-time feedback for human developers.