Tig
$ tig Community Low RiskInteractive ncurses TUI browser for Git commit logs, trees, stashes, blame, and staging chunks. Built exclusively for interactive human terminal sessions; agents should use raw git log, git show, and git status --porcelain instead.
brew install tig Interactive TUI tool; agents should invoke plain git commands rather than tig or an MCP wrapper.
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
Interactive ncurses TUI by design; hangs or fails without a TTY unless piped, and provides zero JSON or structured flags.
- Requires interactive TTY for core views (
status,blame,main) - Zero
--jsonor non-interactive scripting options
Read-only browsing by default, though interactive status view allows staging/reverting hunks via keystrokes.
- Primarily a local repo viewer with no remote push commands
Widely packaged C binary on Homebrew and Linux package managers, though requires ncurses and Cygwin/MSYS on Windows.
- Depends on
ncursesandgit
Great for humans interactively staging hunks, but strictly redundant and noisy for coding agents compared to git.
- Provides no capability for agents beyond what
gititself already outputs more cleanly
Long-standing GPL-2.0 open-source project (jonas/tig) with steady maintenance.
- Established
jonas/tigrepository under GPL-2.0
Complete HTML manual and man pages (tig(1), tigrc(5)).
- Detailed manual at jonas.github.io/tig/doc/manual.html
Security, Auth & Guardrails
Operates locally via installed git; no credentials stored.
GPL-2.0 open-source C tool; free to use.
# Tig Agent Rules - Do NOT invoke `tig` directly from an AI agent shell — its ncurses TUI will block waiting for TTY input. - Use `git log --format=json`, `git status --porcelain=v2`, or `git show` instead.
Agent-Ready Command Recipes
Safe Read-Only Queries
tig log -n 10 | cat
Piping stdout avoids ncurses TUI mode, though git log is strictly cleaner for agents.
Strengths for Agents
- + Mature, lightweight C ncurses browser for human developers inspecting git history and diffs.
- + Zero external authentication or network calls.
Caveats & Pitfalls
- ! Interactive ncurses TUI hangs in non-TTY agent shells unless explicitly avoided or piped.
- ! Offers no JSON output or programmatic advantages over
git logandgit status --porcelain.