Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Tig

$ tig Community Low Risk
Jonas Fonseca · Code & DevOps · GPL-2.0 · macos / linux / windows

Interactive 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.

FCRS-1.0 Score
63 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
brew install tig
CLI vs MCP Decision CLI Only

Interactive TUI tool; agents should invoke plain git commands rather than tig or an MCP wrapper.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
— Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 8 / 25

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 --json or non-interactive scripting options
Trust & Safety 21 / 25

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
Setup & Portability 13 / 15

Widely packaged C binary on Homebrew and Linux package managers, though requires ncurses and Cygwin/MSYS on Windows.

  • Depends on ncurses and git
Utility & Efficiency 5 / 15

Great for humans interactively staging hunks, but strictly redundant and noisy for coding agents compared to git.

  • Provides no capability for agents beyond what git itself already outputs more cleanly
Maintenance & Lineage 8 / 10

Long-standing GPL-2.0 open-source project (jonas/tig) with steady maintenance.

  • Established jonas/tig repository under GPL-2.0
Docs & Verifiability 8 / 10

Complete HTML manual and man pages (tig(1), tigrc(5)).

  • Detailed manual at jonas.github.io/tig/doc/manual.html

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

Operates locally via installed git; no credentials stored.

Side Effects
Read-Only Local Write
Cost & Quotas

GPL-2.0 open-source C tool; free to use.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Print non-interactive commit log when stdout is piped
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 log and git status --porcelain.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI