Codebase Context Extraction Prompt Engineering Tools
Tools for automatically scanning, packaging, and formatting entire codebases into optimized context for LLMs, with features like file filtering, token counting, and structure analysis. Does NOT include prompt management, context evaluation frameworks, or general RAG systems.
There are 121 codebase context extraction tools tracked. 5 score above 50 (established tier). The highest-rated is shcherbak-ai/contextgem at 67/100 with 1,810 stars. 2 of the top 10 are actively maintained.
Get all 121 projects as JSON
curl "https://pt-edge.onrender.com/api/v1/datasets/quality?domain=prompt-engineering&subcategory=codebase-context-extraction&limit=20"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
| # | Tool | Score | Tier |
|---|---|---|---|
| 1 |
shcherbak-ai/contextgem
ContextGem: Effortless LLM extraction from documents |
|
Established |
| 2 |
mufeedvh/code2prompt
A CLI tool to convert your codebase into a single LLM prompt with source... |
|
Established |
| 3 |
ShahzaibAhmad05/gitree
An upgrade from "ls" for developers. An open-source tool to analyze folder... |
|
Established |
| 4 |
nicepkg/ctxport
Copy AI conversations as clean Markdown Context Bundles — one click from... |
|
Established |
| 5 |
nikolay-e/treemapper
Export your entire codebase to ChatGPT/Claude in one command. Structure +... |
|
Established |
| 6 |
WecoAI/weco-cli
The Platform for Self-Improving Code. Ideal for GPU kernels, ML model... |
|
Emerging |
| 7 |
mkorpela/kopipasta
`cat project | LLM | patch`. Transparent context control and interactive... |
|
Emerging |
| 8 |
obsfx/promptscout
Enrich coding agent prompts with codebase context using a local LLM |
|
Emerging |
| 9 |
backnotprop/prompt-tower
Context management for long-context LLMs, agents, and vibe coding. Instantly... |
|
Emerging |
| 10 |
glue-tools-ai/repogrok
Pack your entire codebase into a single AI-friendly file. Feed your repo to... |
|
Emerging |
| 11 |
puntorigen/code2prompt
NodeJS Class for transforming a given codebase directory into an LLM prompt |
|
Emerging |
| 12 |
yzfly/awesome-context-engineering
A curated collection of resources, papers, tools, and best practices for... |
|
Emerging |
| 13 |
kccarlos/gitcontext
Build Perfect Context of Your Codebase for Your AI Chatbot |
|
Emerging |
| 14 |
WinriseF/CtxRun
A tool that contains many tools |
|
Emerging |
| 15 |
sserada/dfcontext
Generate optimal LLM context from pandas DataFrames within a token budget. |
|
Emerging |
| 16 |
rasros/lx
Recursively find, filter, and format code files for ChatGPT and Claude... |
|
Emerging |
| 17 |
franklinkemta/codeindexer
A lightweight CLI to index a codebase and create a context-ready prompt file |
|
Emerging |
| 18 |
yigitkonur/cli-repo-to-prompt
export any codebase to a single LLM-ready markdown prompt |
|
Emerging |
| 19 |
mgks/genctx
A node.js CLI tool to generate high-signal code context for AI agents and assistants. |
|
Emerging |
| 20 |
RoncoJhon/bettercontextoai
Better Context to AI is a Visual Studio Code extension to easily share your... |
|
Emerging |
| 21 |
mattmireles/Flatty
transform an entire GitHub repo into a simple text file so that you can... |
|
Emerging |
| 22 |
timschmidt/cargo-prompt
recursively minify and concatenate source code into a markdown document for... |
|
Emerging |
| 23 |
nesvet/fln
Feed your entire codebase to any LLM in one shot. No attachment limits, no... |
|
Emerging |
| 24 |
OpenSpace-Dev/gittomd
🐙 Your entire GitHub repo, intelligently packaged into a single Markdown... |
|
Emerging |
| 25 |
mohsinmv/promptref
Git-like version control for LLM prompts. Track, diff, branch, and rollback... |
|
Emerging |
| 26 |
pluqqy/pluqqy-terminal
Terminal-based context management for AI driven development |
|
Emerging |
| 27 |
GithubUserAccountAmazing/ShortScript
Copy selected code and automatically remove comments, blank lines, and... |
|
Emerging |
| 28 |
anup4khandelwal/context-pack
Task-specific repo context bundler for Claude Code & OpenAI Codex |
|
Emerging |
| 29 |
frogermcs/codebase-dump
Dump your codebase into single file, so you can use it as an input to LLMs,... |
|
Emerging |
| 30 |
colthreepv/llm-context
A CLI tool that helps you generate context files for Large Language Models (LLMs). |
|
Emerging |
| 31 |
xiaoniu-578fa6bff964d005/com2fun
Transform document into function. |
|
Experimental |
| 32 |
ctxs-ai/ctxs.ai
an open-source, community-curated directory of contexts for use with LLMs |
|
Experimental |
| 33 |
tigreau/catclip
Easy-to-use, no-setup, CLI tool that finds files and folders by fuzzy name... |
|
Experimental |
| 34 |
1broseidon/promptext
Smart code context extractor for AI assistants |
|
Experimental |
| 35 |
lpalbou/Contextuals
A lightweight Python library providing comprehensive contextual information... |
|
Experimental |
| 36 |
tito1405/cueCLI
🛠️ Manage and reuse AI prompts from the command line with cueCLI for... |
|
Experimental |
| 37 |
seankim658/codeprompts
CLI and TUI tool for generating LLM prompts from your code. |
|
Experimental |
| 38 |
gordonsay/ContextDrone
Build the context from anywhere, then bring it to any AI. |
|
Experimental |
| 39 |
Ertugrulmutlu/promptledger
Local-first prompt version control for developers: Git-style history & diffs... |
|
Experimental |
| 40 |
alexferrari88/prompt-scanner
Find buried AI prompts in any codebase. Instantly⚡ |
|
Experimental |
| 41 |
BjornMelin/code2prompt
🚀 Code2Prompt transforms your codebase ZIP files into structured,... |
|
Experimental |
| 42 |
ElliotOne/nl-deterministic-context-budgeting
Deterministic context budgeting for LLM prompts, demonstrating stable prompt... |
|
Experimental |
| 43 |
JediRhymeTrix/PyCrust
PyCrust is a CLI tool that converts Python code to Rust using OpenAI's... |
|
Experimental |
| 44 |
E20C1/repo-glance
📁 Convert GitHub repos & local folders into a single text prompt for LLMs... |
|
Experimental |
| 45 |
AbstergoSweden/RUP-Protocol
RUP (Repository Upgrade Protocol) is something Ive worked months on. It is... |
|
Experimental |
| 46 |
TheLukCraft/AIContextPacker
A professional WPF app to intelligently package project files for AI... |
|
Experimental |
| 47 |
ManasVardhan/promptdiff
📊 Git-style diff and version control for LLM prompts |
|
Experimental |
| 48 |
robchrob/kontext-cli
Single-file Bash script for LLM context aggregation - configurable and sexy. |
|
Experimental |
| 49 |
glenzli/vasmc
A decentralized Markdown compiler for LLM prompts — modular imports,... |
|
Experimental |
| 50 |
keli-wen/gitai-cli
Smart CLI for AI-driven Git commit & PR generation. |
|
Experimental |
| 51 |
jonathan-balderas/llm-context-project-pack
A "Project Pack" workflow for using an LLM like ChatGPT on real work... |
|
Experimental |
| 52 |
flamehaven01/Dir2md
A CLI tool to transform a codebase into a single, LLM-optimized markdown... |
|
Experimental |
| 53 |
Stinger05189/xcerpt-app
A premium Context Staging IDE for AI workflows. Curate, compress, and stage... |
|
Experimental |
| 54 |
hamzahap/LLMContextOptimizer
Smart context preprocessing for LLMs — reduces tokens, improves relevance,... |
|
Experimental |
| 55 |
BroTop1Gg/reports-formater
A CLI tool to automate the formatting of technical documentation and... |
|
Experimental |
| 56 |
jaroslawdabrowski/pojo2md
Annotation-driven Java library for generating Markdown documents from POJOs.... |
|
Experimental |
| 57 |
Davissss2/ContextSlimAI
ContextSlimAI - A powerful tool to optimize and reduce LLM context window... |
|
Experimental |
| 58 |
shubhamgurunglama007-oss/vibediff
Git-native versioning layer for prompts and AI outputs |
|
Experimental |
| 59 |
natekali/itk
itk auto-detects what you're pasting and cleans it, frames it with context... |
|
Experimental |
| 60 |
JSLEEKR/prompt-vault
Git-native prompt version control CLI. Version, diff, test, and share LLM... |
|
Experimental |
| 61 |
samestrin/llm-prepare
Converts complex project directory structures and files into a streamlined... |
|
Experimental |
| 62 |
youssefLabs/promptvc
Git-like version control for LLM prompts — commit, diff, checkout, and roll... |
|
Experimental |
| 63 |
Yuan-ManX/context-engineering
Context Engineering - The art of providing all the context for the task to... |
|
Experimental |
| 64 |
silvesterdivas/context-engineer
Context engineering best practices for Claude Code. Budget zones,... |
|
Experimental |
| 65 |
Yuki-Imajuku/lmctx
Context Kernel for LLM APIs — standardize before/after model calls; keep... |
|
Experimental |
| 66 |
utilarium/overcontext
Overcontext provides infrastructure for defining and managing custom entity... |
|
Experimental |
| 67 |
Projectcafetechnolgoies/RepoToPrompt
🚀 Convert your project structure into a single text file for LLMs,... |
|
Experimental |
| 68 |
ulissesflores/llm-contextizer
Zero-dependency Python CLI that converts entire codebases into... |
|
Experimental |
| 69 |
Alexuuu123/docformat-gui
🛠️ Simplify Word document formatting with this tool that identifies and... |
|
Experimental |
| 70 |
Asirwad/docsmitr
An AI-powered system that generates comprehensive documentation for any... |
|
Experimental |
| 71 |
alextereshyt/Dir2Clip
A CLI tool to flatten directory contents to clipboard for LLM context. |
|
Experimental |
| 72 |
AxelDlv00/RepoToPrompt
RepoToPrompt is a tool that converts a repository into a single, structured... |
|
Experimental |
| 73 |
aptsalt/context-engineering-academy
6 interactive academies teaching context window optimization for LLMs.... |
|
Experimental |
| 74 |
aryamanpathak2022/promptvault
Version control for your LLM prompts. CLI + MCP server for Claude Code / Cursor. |
|
Experimental |
| 75 |
ako-kamattechan/Context_Packer
A deterministic tool for extracting, constraining, and packing project... |
|
Experimental |
| 76 |
lml2468/ContextOptimizer
Intelligent Context Engineering Assistant for Multi-Agent Systems. Analyze,... |
|
Experimental |
| 77 |
plait-dev/plait
Modular content composition engine — weave reusable snippets into AI... |
|
Experimental |
| 78 |
NatsuDownBad/ctxpack
🧠 Manage and compress LLM conversation context windows using sliding,... |
|
Experimental |
| 79 |
rostrovsky/sourceprompt
Converts your codebase into LLM prompt |
|
Experimental |
| 80 |
gabriel-dahan/prompt-contextify
A tool to contextify your prompts and chats with your project structure and files. |
|
Experimental |
| 81 |
boredom1234/codebase-consolidator
A must-have tool for developers working with LLMs. It intelligently... |
|
Experimental |
| 82 |
lucianoayres/taco
Taco makes it easy to get your source code ready for LLMs. With just one... |
|
Experimental |
| 83 |
timosaarinen/promptly
Git-native desktop tool for crafting context-aware LLM prompts from local... |
|
Experimental |
| 84 |
angusgee/proompt-cat
Take your web dev project and concatenate all relevant files into one giant,... |
|
Experimental |
| 85 |
rhajizada/copycat
CLI tool to copy your project source code as Markdown to clipboard for... |
|
Experimental |
| 86 |
cyberytti/CodeSqueeze
CodeSqueeze is a command-line tool that compress your codebase into a... |
|
Experimental |
| 87 |
nuuner/contextfind
Quickly get content of files for the LLM |
|
Experimental |
| 88 |
alti3/repo-to-md
A command-line tool to generate a single Markdown file from repo, ready for... |
|
Experimental |
| 89 |
jbwfu/syntex
A CLI tool for consolidating source code into a single, context-aware file,... |
|
Experimental |
| 90 |
DavidLMS/DescribePDF
A tool to convert PDF files to detailed Markdown descriptions using VLMs |
|
Experimental |
| 91 |
vagra/merge-src
CLI tool to merge source code into a single context file for LLMs. Features... |
|
Experimental |
| 92 |
angryflaren/nexus-weaver
Easily pack your entire project into a single text file for Large Language... |
|
Experimental |
| 93 |
jruot/files-to-prompt-bash
Bash script to output directory structure and file contents for LLM prompts |
|
Experimental |
| 94 |
franklinharvey/codebase-doc
A Python tool to generate markdown documentation of your codebase by... |
|
Experimental |
| 95 |
jwalsh/files-to-prompt-el
Convert files to prompts for Large Language Models (LLMs) in Emacs. |
|
Experimental |
| 96 |
JRay-Lin/ace-agents
Adaptive agentic context engineering framework for LLMs — generator,... |
|
Experimental |
| 97 |
dsfaccini/filebundler
File Bundler is an app to bundle project files together and use them for LLM... |
|
Experimental |
| 98 |
HadiFrt20/promptdiff
Git for prompts. Semantic diff, lint, score & Claude Code hook for LLM prompt files. |
|
Experimental |
| 99 |
petro-byte/repo-context-exporter
Export code repositories into compact Markdown context files for LLM... |
|
Experimental |
| 100 |
darshjme/chetana
Context window management for LLM agents — priority-based eviction, token... |
|
Experimental |
| 101 |
Nithish-raina/clix
AI-powered CLI command explainer and generator |
|
Experimental |
| 102 |
Thesirix/EatMyTXT
Merges a whole project into one clean, readable text file. Perfect for... |
|
Experimental |
| 103 |
Programming-Sai/CtxIQ
Context and memory orchestration toolkit for building smarter AI assistants... |
|
Experimental |
| 104 |
NikkeTryHard/ContextCraft
A browser-based folder context generator for LLMs. |
|
Experimental |
| 105 |
shakeeb-sa/code-chunker1
Paste your large code file below. Choose how you want to split it, and get... |
|
Experimental |
| 106 |
Med-Gh-TN/Crawlable
A SOTA AI-powered codebase extractor. Compress your entire repository into a... |
|
Experimental |
| 107 |
rzxx/runtpl
A powerful command-line tool (CLI) for automating AI prompt creation, code... |
|
Experimental |
| 108 |
cetincevizcetoli/ai-context
TR: Yerel kaynak kodlarınızı Yapay Zeka modelleri (Claude, GPT) için tek... |
|
Experimental |
| 109 |
RoderickGrc/syntropic
Turn large codebases and documents into LLM-ready material from an optimized... |
|
Experimental |
| 110 |
hasanalaniIT/llm_code_context_generator
Generate LLM-ready context packs of your codebase (tree + source) with... |
|
Experimental |
| 111 |
4383/inkspect
A CLI tool to streamline your LLM workflow by bringing prompt refinement and... |
|
Experimental |
| 112 |
kunjucompany/repo2prompt
Convert git repos to text for passing into LLMs |
|
Experimental |
| 113 |
roberto-mello/opencode-micromanager
OpenCode plugin that intercepts the full LLM context before each request and... |
|
Experimental |
| 114 |
keyboardsmoke/promptgen
A prompt generator that incorporates minijinja2 and some functions to aid in... |
|
Experimental |
| 115 |
DemonteiroWisc/note-to-prompt
A clean, client-side utility to convert Word, Google Docs, and OneNote... |
|
Experimental |
| 116 |
eziron/CtxPacker
Herramienta CLI para condensar proyectos en un archivo Markdown estructurado... |
|
Experimental |
| 117 |
arthurdick/llm-formatter
A command-line tool to recursively format a project directory into a single,... |
|
Experimental |
| 118 |
eumel8/ai-commit
A Git Commit Hook with AI Support |
|
Experimental |
| 119 |
jashdubal/essence
String processing library for advanced NLP and keyword extraction |
|
Experimental |
| 120 |
pdh/ctxclip
code generation context toolkit |
|
Experimental |
| 121 |
IRedDragonICY/contextractor
A privacy-first tool to extract, tokenize, and optimize codebases for LLM... |
|
Experimental |