CLI tool to format codebases for DeepSeek R1 and Claude 3.5
Project description
📦 pack-repo-4ai
Stop copy-pasting files manually.
pack-repo-4ai is a CLI tool that compresses your codebase into a single, AI-optimized context file and copies it to your clipboard.
Designed specifically for DeepSeek R1, Claude 3.5, and OpenAI o1.
🚀 Why use this?
When you paste 10 different files into ChatGPT, it gets confused.
pack-repo-4ai wraps your code in XML tags (<file path="...">), which Reasoning Models use to understand your project structure perfectly.
⚡ Quick Start
- Install
pip install pack-repo-4ai
- Run (inside your project) pack-repo (Note: The result is automatically copied to your clipboard)
- Paste Go to DeepSeek/Claude and hit Cmd+V. Your entire codebase is now in the chat context.
🛡️ Bullet-Proof Features
- Auto-Clipboard: No manual selecting. It's already copied.
- Smart Ignores: Automatically ignores node_modules, .venv, yarn.lock, and binary files to save tokens.
- Security: Blocks system folders and hidden secrets (.env) by default.
- XML Formatting: Proven to increase accuracy in Reasoning Models.
📝 Options
Print to screen instead of copying
pack-repo --print
Scan a specific folder
pack-repo /path/to/my/project
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pack_repo_4ai-0.1.0.tar.gz.
File metadata
- Download URL: pack_repo_4ai-0.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
016dca06892cf815c844ab8f007498203d1c2075c691a3571d4e600adcb38ef6
|
|
| MD5 |
2a29f0e644171e4cc7931d6cd5718b9f
|
|
| BLAKE2b-256 |
17f951720d506a595c3abf844615d601ae9348d2963e0355a0ed0db7f3541ece
|
File details
Details for the file pack_repo_4ai-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pack_repo_4ai-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d26aaf119fecfca3cd891c916e23b3c0d25534524aabdd40bf5531fe9b8c75d
|
|
| MD5 |
3dd86e74785054059bef14860318c51c
|
|
| BLAKE2b-256 |
e8f4be4b08937784385291493be7b25db8f896ad0f5ac76300901b6367097843
|