git2txt: CLI tool to convert GitHub repositories to text files for LLMs

by addyosmani · Agent Tool · ★ 568

Last updated: · Indexed by AgentSkillsHub · Auto-synced every 8h

How to install git2txt

npm install -g git2txt

Taken from the project's README on GitHub. Check the security audit before running it.

Security audit verdict: SAFE · quality 76/100

None of the 44 rules matched — no credential harvesting, no data exfiltration, no curl-pipe-shell installer. Scanned against 44 published rules built on the SlowMist agent-security taxonomy, refreshed every 8 hours. Full audit →

The quality score combines nine heuristic checks of the repo and its README: completeness, clarity, specificity, examples, structure, agent readiness, step-by-step content, instruction quality and security notes. It rates how well the project explains itself to an agent, not the code.

cliconvertgitgithubllmrepositorytext

Quick Facts

Stars568
Forks58
LanguageJavaScript
CategoryAgent Tool
LicenseMIT
Quality Score76/100
Open Issues12
Last Updated2024-11-22
Created2024-11-21
Platformscli, node
Est. Tokens~7k

About git2txt

git2txt Convert GitHub repositories to text files with ease. This CLI tool downloads a repository and concatenates its contents into a single text file, making it perfect for analysis, documentation, or AI training purposes.

Compatible Skills

These tools work well together with git2txt for enhanced workflows:

  • skill-porter — semantic(0.22)+complementary+same_lang+similar_pop+shared_platform (53%)
  • Gitingest-MCP — semantic(0.25)+complementary+rare_topics+similar_pop (48%)

git2txt alternative? Top 6 similar tools

Looking for a git2txt alternative? If you're comparing git2txt with other agent tool tools, these 6 projects are the closest alternatives on Agent Skills Hub — ranked by topic overlap, star count, and community traction.

  • loz by joone · ⭐ 261

    Loz is a command-line tool that enables your preferred LLM to execute system commands and utilize Unix pipes,

  • mcp-server-atlassian-bitbucket by aashari · ⭐ 163

    Node.js/TypeScript MCP server for Atlassian Bitbucket. Enables AI systems (LLMs) to interact with workspaces,

  • mcp by MicrosoftDocs · ⭐ 2.0k

    Official Microsoft Learn MCP Server and CLI tool – powering LLMs and AI agents with real-time, trusted Microso

  • anyquery by julien040 · ⭐ 1.8k

    One SQL interface for 60+ tools (e.g., GitHub, Notion, Airtable). Plug into any LLM through MCP.

  • claude-powerline by Owloops · ⭐ 1.2k

    Beautiful vim-style powerline for Claude Code

  • MassGen by massgen · ⭐ 1.2k

    🚀 MassGen is an open-source multi-agent scaling system that runs in your terminal, autonomously orchestrating

More Agent Tool Tools

Explore other popular agent tool tools:

View all Agent Tool tools →

Popular JavaScript Agent Tools

How this security grade is produced

Grades come from a rule-based scan built on the SlowMist agent-security taxonomy: 44 published rules, covering credential harvesting, data exfiltration, curl | sh installers and more. It is a first-layer scan, not a manual audit — we say so rather than overstate it.

The scale of the problem is documented independently: Liu et al. (2026), in a study of 31,132 agent skills, report that 26.1% contain security vulnerabilities. Our own full-catalog census is published as a citable open dataset.

Sources & who's responsible:

View on GitHub → Browse Agent Tool tools