Codeingest
CLI tool to generate AI-friendly text extracts from your local codebase. Like gitingest, but for local files
Install / Use
/learn @shubhdotai/CodeingestREADME
CodeIngest
Generate AI-friendly text files from your codebase.
Setup
Option 1: Move the file
chmod +x codeingest.py
sudo mv codeingest.py /usr/local/bin/codeingest
Option 2: Symbolic link (keeps original)
chmod +x codeingest.py
sudo ln -s $(pwd)/codeingest.py /usr/local/bin/codeingest
Usage
# Current directory
codeingest .
# Specific files
codeingest app.py utils.py
# Mix files and directories
codeingest src/ README.md config.json
# Custom output
codeingest src/ -o output.txt
# Add ignore patterns
codeingest . --ignore "*.test.js" "temp*"
Output
Creates a text file with:
- Directory tree structure
- File contents with clear separators
Perfect for feeding to AI models like Claude or GPT.
Sample Output
Directory structure:
└── myproject/
├── src/
│ ├── app.py
│ └── utils.py
└── README.md
================================================
FILE: src/app.py
================================================
def main():
print("Hello, World!")
if __name__ == "__main__":
main()
================================================
FILE: src/utils.py
================================================
def helper():
return "Helper function"
================================================
FILE: README.md
================================================
# My Project
This is a sample project.
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
