fallow: Agent for Claude Code

.agents/agents/cli-output-reviewer.md

cli-output-reviewer is an agent for Claude Code, Codex from fallow-rs/fallow. It costs 20 tokens per session (934 once invoked), scanned A, original, MIT.

A review agent for the human-readable output of the Fallow command-line tool, meaning the text developers see in a terminal. It checks layout, colours, grouping, detail levels, errors, empty results, and compatibility with different terminals.

In plain words
What is it for?
Use it when changing messages, issue lists, summaries, colours, verbosity options, or terminal formatting in Fallow.
Why use it?
It helps make command output easy to scan and ensures important problems come with useful next steps.

Agent for Claude CodeCodex

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; installed under .agents/ (shared by several agents).

This is fallow-rs/fallow's own configuration. It tells Claude Code and Codex how to work on fallow itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything fallow configures →

About the project

Fallow is a command-line static-analysis tool that builds a dependency graph of TypeScript and JavaScript code to identify unused code, duplication, circular dependencies, complexity hotspots, boundary violations, and styling drift. It is for developers reviewing codebases and verifying changes, with catalogue entries that add agent, editor, and workflow integrations.

fallow-rs/fallow · 5,273 stars · on GitHub · docs.fallow.tools

Reuse

Borrowing it

Nothing to install: this file belongs to fallow-rs/fallow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/fallow-rs/fallow/main/.agents/agents/cli-output-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/fallow-rs/fallow

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cli-output-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/fallow-rs/fallow/cli-output-reviewer/github.svg)](https://agentmods.dev/agents/fallow-rs/fallow/cli-output-reviewer)
Your own site
<a href="https://agentmods.dev/agents/fallow-rs/fallow/cli-output-reviewer"><img src="https://agentmods.dev/badge/agents/fallow-rs/fallow/cli-output-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cli-output-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/fallow-rs/fallow/cli-output-reviewer"><img src="https://agentmods.dev/badge/agents/fallow-rs/fallow/cli-output-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 934 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.00934
Opus 5.5 $0.00008 $0.00374
Sonnet 5.5 $0.00004 $0.00187
Haiku 4.5 $0.00002 $0.00093

Measured 1mo ago against content hash 06f02efacb02, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cli-output-reviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/agents/cli-output-reviewer.md · 72 lines

How it starts

The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Review changes to fallow's human-readable CLI output. This is the default user-facing surface and the most subjective.

What to check

  1. Information hierarchy: Most important info (file path, issue) must be the most visible. Secondary info (line numbers, suggestions) is subordinate
  2. Scanability: Users skim output for their files. Group by file, align columns, use consistent prefixes
  3. Progressive disclosure: Summary first, details behind --verbose or section flags. Don't dump everything at once
  4. Terminal compatibility: Colors via ANSI codes (respect NO_COLOR/CLICOLOR), no Unicode box drawing that breaks on Windows Terminal, handle narrow terminals gracefully
  5. Consistency across commands: check, dupes, health should feel like the same tool. Same prefix style, same severity indicators, same path formatting
  6. Empty states: When no issues are found, say something useful (not just silence)
  7. Error messages: Must tell the user what went wrong AND what to do about it

Surface-specific checks

For each human-format diff, walk this list in addition to the generic checks above:

  • User-facing messages with dynamic counts pluralize the noun: any eprintln! / println! / format string that interpolates a count ("skipped {} files", "{} issues found", "{} clone groups") must branch on count == 1 for singular vs plural. Grep the diff for new format strings containing {} <noun>s and trace whether the count can be 1: git diff origin/main..HEAD | grep -nE '^\+.*"\{\} [a-z]+s'. The fix pattern is let noun = if count == 1 { "file" } else { "files" }; then "{} {noun}" in the format string. JSON / SARIF / compact / codeclimate output bypasses this because the count is a structured integer, but human / markdown / stderr notes are read by humans and "skipped 1 files" is jarring. Compilation does not catch it; tests rarely catch it because most test fixtures produce 0 or many, and the singular case slips through until a real user runs the binary on a corpus that happens to skip exactly one item.

Read the full file on GitHub · 72 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed 06f02efacb02
  2. 2mo ago First seen · 72 lines · 20 tokens per session scan A a31f7a3ed506

Subscribe to this mod's changes

cli-output-reviewer is an agent published in the GitHub repository fallow-rs/fallow (5,273 stars, last pushed today), licensed MIT. It adds 20 tokens to every session and 934 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.