Mods
$ mods Community Med Riskmods is a Go CLI built by Charmbracelet to pipe command outputs through OpenAI, Anthropic, or Ollama LLMs with --raw output and -f json formatting. Note: Charmbracelet archived charmbracelet/mods in March 2026 in favor of Crush.
brew install mods Pipe-oriented LLM CLI (mods -r -f json); consider actively maintained llm or aichat for new setups since mods was archived in March 2026.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports -r (--raw), -f json, -q, and --no-cache for clean pipe execution, though -M and --settings are interactive.
- Supports
-r(--raw),-f json,--quiet, and--no-cache
Incurs remote LLM API billing and saves conversation transcripts to ~/.config/mods/conversations/ unless --no-cache is passed.
- Persists chat logs locally unless
--no-cacheis set
Single static Go binary via brew, go install, and GitHub Releases.
- Zero-dependency static Go binary across macOS, Linux, Windows
Clean pipe ergonomics, though largely superseded by llm and aichat.
- Fast stdin piping with
-r -f json
Charmbracelet archived charmbracelet/mods in March 2026 in favor of Crush, so no further updates or security patches arrive upstream.
charmbracelet/modsrepository archived March 2026
Clear README and --help, though model defaults in archived configs age quickly.
- Archived README at github.com/charmbracelet/mods
Security, Auth & Guardrails
Reads provider env vars (OPENAI_API_KEY, ANTHROPIC_API_KEY) or ~/.config/mods/mods.yml; stores conversation histories as JSON in ~/.config/mods/conversations/.
MIT open-source Go binary; remote API calls bill to your provider account (local Ollama endpoints are free).
# Mods Agent Rules - Always pass `-r` (`--raw`) and `--no-cache` in automated pipelines so terminal markdown glow formatting and local conversation caches stay off. - Note that `charmbracelet/mods` was archived in March 2026—prefer `llm` or `aichat` for new projects.
Agent-Ready Command Recipes
Safe Read-Only Queries
mods --list
Prints saved conversation titles and SHA-1 IDs stored locally without making API calls.
Controlled Writes & Previews
tail -n 50 app.log | mods -r -f json --no-cache 'Extract error messages as a JSON array'
Requests raw (-r) JSON-formatted (-f json) output and disables local conversation caching (--no-cache).
Strengths for Agents
- + Fast single Go binary built specifically for Unix shell pipelines (
-r --no-cache). - + Supports OpenAI, Anthropic, and local Ollama-compatible endpoints.
Caveats & Pitfalls
- ! Repository was archived by Charmbracelet in March 2026—no future bugfixes or new model presets.
- ! Interactive
--settingsand-Mflags hang non-TTY shells.