Skip to main content

📦 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

  1. Install
    pip install pack-repo-4ai
    
  2. Run (inside your project) pack-repo (Note: The result is automatically copied to your clipboard)
  3. 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

Metadata

Release files for pack-repo-4ai 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pack-repo-4ai 0.1.0
File Size Uploaded
pack_repo_4ai-0.1.0.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pack-repo-4ai 0.1.0
File Interpreter ABI Platform
pack_repo_4ai-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.5 kB

Release files / pack_repo_4ai-0.1.0.tar.gz

Download URL pack_repo_4ai-0.1.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
016dca06892cf815c844ab8f007498203d1c2075c691a3571d4e600adcb38ef6
BLAKE2b-256 checksum
How to use checksums
17f951720d506a595c3abf844615d601ae9348d2963e0355a0ed0db7f3541ece
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / pack_repo_4ai-0.1.0-py3-none-any.whl

Download URL pack_repo_4ai-0.1.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d26aaf119fecfca3cd891c916e23b3c0d25534524aabdd40bf5531fe9b8c75d
BLAKE2b-256 checksum
How to use checksums
e8f4be4b08937784385291493be7b25db8f896ad0f5ac76300901b6367097843
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page