context-gen-cli (Python Edition)
⚡ Fast, AST-powered CLI tool that scans any project, extracts architecture models, and generates structured LLM context (
agent.md&agent.json).
Features
- 100% Accurate Python Dependency Graphs: Built using Python's native
ast(Abstract Syntax Tree) module. - Gitignore Respect: Uses
pathspecto ignore unwanted directories and secrets. - Dual Output: Generates both human-readable Markdown (
agent.md) and MCP-compatible structured JSON (agent.json). - Modern CLI: Powered by
typerandrich.
Installation
pip install context-gen-cli
Quick Start
# Generate agent.md in context/ directory
context-gen .
# Generate agent.json
context-gen . --format json
# Custom output path
context-gen ./my-project -o custom/path/context.md
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
context_gen_cli-1.0.0.tar.gz
(10.6 kB
view details)
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 context_gen_cli-1.0.0.tar.gz.
File metadata
- Download URL: context_gen_cli-1.0.0.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55d42227cd3e0120475f015f3fb11137bcfa8f629e824bcdaece95ee875a0cea
|
|
| MD5 |
b139723d989be7806f347a6017451d2f
|
|
| BLAKE2b-256 |
cbd6d2d2d7ead5d977c24893d04fca610dadd5541ca573a47c8f9b3f3c36391b
|
File details
Details for the file context_gen_cli-1.0.0-py3-none-any.whl.
File metadata
- Download URL: context_gen_cli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4116bd84ffaf0f1db0f3c0cd81233a2ecfaaffa41f50bf53f108155cbb374872
|
|
| MD5 |
841d8df8aa803b36ea9b307e331f3a20
|
|
| BLAKE2b-256 |
b9b64010ca70436b46f465910b6f6c5391e422c1a7d643a8ee4f9ed4e305d6a4
|