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

Gitingest

$ gitingest Community Low Risk
Gitingest (cyclotruc) · Agent Bridges & Meta · MIT · macos / linux / windows

gitingest (cyclotruc/gitingest) extracts directory trees and file contents from local paths or GitHub URLs (including branch/subdirectory links) into a clean text digest (digest.txt or -o - stdout), respecting .gitignore and private -t GitHub tokens.

FCRS-1.0 Score
84 /100
Good
Medium Confidence
Zero-Friction Install
pip install gitingest
CLI vs MCP Decision CLI Only

gitingest <url> -o - turns a remote GitHub repo URL into a single clean text digest in one command without cloning manually.

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 20 / 25

Simple positional SOURCE + -o - stdout streaming, though it outputs plain text rather than XML/JSON and defaults to writing digest.txt if -o is omitted.

  • Supports SOURCE, -o -, and GITHUB_TOKEN; defaults to writing digest.txt
Trust & Safety 22 / 25

Respects .gitignore by default and accepts GITHUB_TOKEN via env var, though it lacks built-in Secretlint scanning.

  • Respects .gitignore; no built-in secret scanner
Setup & Portability 14 / 15

Python package available via uvx gitingest and pip install gitingest across macOS, Linux, and Windows.

  • Instant execution via uvx gitingest and PyPI
Utility & Efficiency 13 / 15

Effortlessly turns GitHub subfolder/branch URLs into prompt-ready digests.

  • Supports GitHub URLs, branches, and subdirectories natively
Maintenance & Lineage 8 / 10

Popular cyclotruc/gitingest repository under MIT license.

  • Active cyclotruc/gitingest repository
Docs & Verifiability 7 / 10

Concise README and --help output.

  • README and --help at github.com/cyclotruc/gitingest

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key
Credential Storage

None for public/local repos; private GitHub repos use GITHUB_TOKEN env var or -t flag.

Side Effects
Read-Only Local Write
Cost & Quotas

100% free and MIT open-source.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Gitingest Agent Rules
- Always pass `-o -` (stdout) or an explicit `-o <path>` so `digest.txt` is not accidentally committed.
- Use `GITHUB_TOKEN` env var rather than `-t <token>` on the command line for private repos.
- Do not pass `--include-gitignored` unless you intentionally need ignored files.

Agent-Ready Command Recipes

Safe Read-Only Queries

Digest a remote GitHub repository to stdout
gitingest https://github.com/owner/repo -o -

Clones/fetches a public GitHub repo ephemerally and streams its text digest to stdout.

Controlled Writes & Previews

Write a local repo digest to a custom file
gitingest . -o repo-digest.txt

Generates a clean directory tree and concatenated file digest into repo-digest.txt.

Strengths for Agents

  • + Accepts full GitHub repository, branch, and subdirectory URLs directly.
  • + -o - streams digest cleanly to stdout.
  • + Instant uvx gitingest execution in Python ecosystems.

Caveats & Pitfalls

  • ! Defaults to creating digest.txt in the working directory if -o is omitted.
  • ! Lacks repomix-style Tree-sitter compression and built-in Secretlint checks.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI