🦜 LLM-Auto-Context
A CLI tool for generating code snapshots for AI code assistants such as ChatGPT and Claude.
Installation
Using UV (recommended):
uv pip install llm-auto-context
Using pip:
pip install llm-auto-context
Usage
Basic usage:
llm_auto_context
This will use the default config file .codesnapshot.json in your current directory.
Configuration
Create a .codesnapshot.json file in your project root:
{
"directories": ["src", "lib"],
"output_file": "code_snapshot.md",
"include_extensions": [".py", ".js", ".ts"],
"exclude_dirs": ["node_modules", ".git", "build"],
"exclude_files": ["secrets.env"]
}
CLI Options
--config: Path to config file (default: .codesnapshot.json)-d, --directory: Override directories to scan (can be used multiple times)-o, --output: Override output file path--include: Override file extensions to include (can be used multiple times)--exclude-dir: Additional directories to exclude (can be used multiple times)--exclude-file: Additional files to exclude (can be used multiple times)
Example:
llm_auto_context -d src -d lib -o snapshot.md --exclude-dir tests
Development
- Clone the repository
- Create a virtual environment:
uv venv
- Install dependencies:
uv pip install -e ".[dev]"
- Run tests:
pytest
License
MIT
Metadata
Release files for llm-auto-context 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| llm_auto_context-1.2.0.tar.gz | 10.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llm_auto_context-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.9 kB
Release files / llm_auto_context-1.2.0.tar.gz
| Download URL | llm_auto_context-1.2.0.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d962bf62697e8285338e99120c5655b36d5cdf55090a50f59272413d9b8c5408
|
|
BLAKE2b-256 checksum How to use checksums |
10677938bd50b648ffd1b0764e680746b89ee03384cfb2ec6261315a95b542be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.4.28
|
Release files / llm_auto_context-1.2.0-py3-none-any.whl
| Download URL | llm_auto_context-1.2.0-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6017c6dfc9b3db090b88393f3b3b557d2ac58cbe8a4d4a5bd3e4c0e20296ab08
|
|
BLAKE2b-256 checksum How to use checksums |
d1339cf96243137ee0bcd25983b861bd313aa636468764b719cb9c6694463e7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.4.28
|
Security for llm-auto-context 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.