tailspin
$ tspin Community Low Risktailspin (tspin) highlights timestamps, IPv4/IPv6 addresses, UUIDs, URLs, and severity keywords in arbitrary logs without pre-configured format rules. Passing -p (--print) writes directly to stdout instead of opening less, though ANSI highlights add noise for machine consumers.
brew install tailspin Visual log colorization is strictly a local terminal concern via tspin; agents should read raw logs or lnav -n.
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 -p (--print) for non-pager stdout output, but lacks --json and is built specifically to emit ANSI highlight codes.
- Non-blocking
-p/--printflag - Emits ANSI color codes; no structured JSON output
Strictly read-only log viewer with zero file writes or network requests.
- Pure read-only file/stdin highlighter
Fast Rust binary distributed via Homebrew, cargo install tailspin, Nix, and GitHub releases across macOS, Linux, and Windows.
- Cross-platform Rust binary
Zero-config readability boost for humans scanning logs, though lnav or rg is far better for agent filtering.
- Automatic highlighting of dates, IPs, UUIDs, paths, and levels
Actively maintained MIT-licensed Rust tool (bensadeh/tailspin).
- Healthy GitHub release history
Clean README and --help output documenting -p, -f, -e, and --exec.
- Clear flag documentation in README
Security, Auth & Guardrails
None required; operates purely on local files or stdin streams.
100% free, offline, and open-source (MIT).
# tailspin (tspin) Agent Rules - Always pass `-p` (`--print`) when invoking `tspin` on a static file so it does not open the `less` pager. - Do not pipe `tspin` output into an LLM context—use raw `tail`/`rg` or `lnav -n` to avoid ANSI color escape noise.
Agent-Ready Command Recipes
Safe Read-Only Queries
tspin -p app.log
Uses -p (--print) so tspin writes highlighted lines to stdout and exits instead of blocking in less.
tspin -f app.log
Continuously tails and highlights app.log in real time (intended for interactive terminal viewing).
Strengths for Agents
- + Zero-configuration log highlighting out of the box.
- + Strictly read-only with
-p(--print) flag to bypassless.
Caveats & Pitfalls
- ! Running
tspin <file>without-popenslessinteractively in TTY sessions. - ! Injects ANSI escape sequences with no
--jsonoutput, adding token noise for LLMs.