Prompt pack manager to install AGENTS snippets and .agent templates (ExecPlan and more)
Project description
promptkitx
Prompt pack manager that drops AGENTS snippets and .agent templates into a repo. Ships with the ExecPlan pack and is ready to host more packs later. PyPI: promptkitx · npm: promptkitx.
Quick use (no install)
- Python/uvx (PyPI):
uvx promptkitx install execplan - Python/uvx (from GitHub tip):
uvx --from git+https://github.com/mikewong23571/promptkit.git promptkit install execplan - Node/npx:
npx promptkitx install execplan
Both commands are idempotent and cache their envs. Add -p /path/to/repo to target another repo and --force to overwrite existing files.
Install (optional)
- Python:
pip install promptkitxorpipx install promptkitx - Node:
npm install -g promptkitx(or usenpxper above)
Commands (Python & Node CLIs)
promptkit list [-p PATH]— show available built-in packs and installed packs in PATH (default.)promptkit install <pack> [-p PATH] [--force]— install/update a pack (built-in:execplan)
Pack spec (v1)
Each pack lives under src/promptkit_builtin_packs/<name>/ and contains:
pack.json— metadataname,version,descriptionagents_entry: relative path to the snippet inserted intoAGENTS.mdfiles: array of{ "source": "files/PLANS.md", "target": ".agent/PLANS.md" }
agents_snippet.md— the text dropped intoAGENTS.mdfiles/— tree of files copied to repo root respectingtargetpaths
Install metadata is recorded in .agent/promptkit/registry.json (per repo). AGENTS.md is updated inside a managed block <!-- promptkit:start --> ... <!-- promptkit:end -->, so multiple packs stay tidy.
Built-in pack: execplan
- Adds the ExecPlans rule to
AGENTS.md. - Writes
.agent/PLANS.mdcontaining the full Codex ExecPlan spec (living-plan guidance, milestones, validation, etc.).
Road to PyPI & npm
This repo is structured to publish both:
- PyPI: package name
promptkitexposes the Python CLI (promptkit). Works withuvx promptkit ...once published. - npm: package
promptkitexposes the Node CLI (promptkit). Works withnpx promptkit ....
Development notes
- Python package data lives in
src/promptkit_builtin_packs/and is included viaMANIFEST.in. - Node CLI reads the same pack data from
src/promptkit_builtin_packs/to stay in sync. - Quality tools:
- Make (recommended):
make lint,make format,make typecheck, ormake all(runs lint+typecheck). Requiresuvxavailable andnpm installfor JS dev deps. - Python direct:
uvx ruff check .,uvx black .,uvx mypy src(deps inoptional-dependencies.dev). - Node direct:
npm run lint,npm run format,npm run typecheck.
- Make (recommended):
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 promptkitx-0.1.2.tar.gz.
File metadata
- Download URL: promptkitx-0.1.2.tar.gz
- Upload date:
- Size: 14.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68e0e4f5c7b01f61f6e97a2f6ea3fd92140f6e92ec9d8af86c846dab0b975747
|
|
| MD5 |
2e165be61544d65bf7cea1f05e1ad503
|
|
| BLAKE2b-256 |
569659322ebce58a8a03a64ca16e911049a67f240cba8461c2922d2fb5e1aab5
|
File details
Details for the file promptkitx-0.1.2-py3-none-any.whl.
File metadata
- Download URL: promptkitx-0.1.2-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
106cc77e80ab9d3f42b0e7e83ce2cb13b3e78999cfd2ac5a116c9aeab9ceddca
|
|
| MD5 |
0633b58fff8e46dda6c33bb4b321838e
|
|
| BLAKE2b-256 |
c4fe595d2dc9cc233bb8e273ae2c372b6f05c38f319298ce611ac35d546bc522
|