CLI to resolve, compose, and install agent protocol packs for Cursor and similar targets.
Project description
Protocol Pack
CLI to resolve, compose, and stage agent protocol packs for Cursor (more targets later). Tool pointer: docs/protocol_pack_tool.md. Agent model (Rule-0): docs/agent_protocol_spec.md. Release polish: docs/polish_and_publish_plan.md.
Install
pipx install protocol-pack
# or, from a clone:
pip install -e ".[dev]"
Quickstart
protocol-pack init
# Optional: protocol-pack init --profile cursor.cursor_subtree
# Edit protocol-pack.toml [provides] globs, then:
protocol-pack build
protocol-pack doctor
Build output is written to .protocol-pack/build/ (adds .protocol-pack/ to .gitignore on init).
--merge-report path.json— JSON provenance (rules, protocols, packages).--generate-router— emitprotocol-pack-router.mdc(Rule-0 text for the active layout profile).--merge-router— merge that router text into stagedprotocol-first-workflow.mdcwhen it exists (idempotent marker block).--emit-provenance— prepend an HTML comment with package + source path on each emitted concrete protocol.--no-validate-rules— skip.mdcfrontmatter checks (legacy packs); by default rules must have valid Cursor frontmatter.- Tarball packages —
source = { url = "https://.../pack.tgz" }(zip or tar.gz), optionalsha256andpath(root inside archive). install --link— symlink installed files to the staging tree (dev).
For pack authors
Drop-in README text for consumers: docs/pack_readme_authoring_snippet.md. Example CI workflow: docs/ci/github-actions.example.yml.
Status
Core CLI features described in the README are implemented (resolve, compose, Cursor emit, lockfile, tarball sources, router merge, provenance, skills, install --link). Further work is release/packaging and optional product hardening—see docs/polish_and_publish_plan.md.
Develop
Requires Python 3.11+. .github/workflows/ci.yml runs 3.11, 3.12, and 3.13 on every push and pull request.
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
pytest -q
ruff check src tests && ruff format --check src tests
mypy src/protocol_pack
Changelog
Release notes: CHANGELOG.md.
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 protocol_pack-0.1.0.tar.gz.
File metadata
- Download URL: protocol_pack-0.1.0.tar.gz
- Upload date:
- Size: 27.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df31a840939d38e57e860acd47abe52b1413b78a5438fdf7bb68eb1377552c8f
|
|
| MD5 |
99f00cfdb58f6fd85938f4205294f7e1
|
|
| BLAKE2b-256 |
915f1cd257f5198f0fc3544a4e79207516ed669d0721d6eef357ef1e14fa5c3c
|
Provenance
The following attestation bundles were made for protocol_pack-0.1.0.tar.gz:
Publisher:
publish-pypi.yml on bursonic/ai-protocols
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
protocol_pack-0.1.0.tar.gz -
Subject digest:
df31a840939d38e57e860acd47abe52b1413b78a5438fdf7bb68eb1377552c8f - Sigstore transparency entry: 1155365793
- Sigstore integration time:
-
Permalink:
bursonic/ai-protocols@5c0a2022c964e687dad3eaf58de994a71ff52133 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/bursonic
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@5c0a2022c964e687dad3eaf58de994a71ff52133 -
Trigger Event:
push
-
Statement type:
File details
Details for the file protocol_pack-0.1.0-py3-none-any.whl.
File metadata
- Download URL: protocol_pack-0.1.0-py3-none-any.whl
- Upload date:
- Size: 43.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c24e270633b403a0e2c975e874d4d7efc5e74f424c06dc35145dcf5b31d32c54
|
|
| MD5 |
1028b1b4cdcc9b7da6e8cd5aa2b2707b
|
|
| BLAKE2b-256 |
76d832a16e43b28eb785cd155c0e6b23826baeeb8daaf28f29e21c28620f206f
|
Provenance
The following attestation bundles were made for protocol_pack-0.1.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on bursonic/ai-protocols
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
protocol_pack-0.1.0-py3-none-any.whl -
Subject digest:
c24e270633b403a0e2c975e874d4d7efc5e74f424c06dc35145dcf5b31d32c54 - Sigstore transparency entry: 1155365796
- Sigstore integration time:
-
Permalink:
bursonic/ai-protocols@5c0a2022c964e687dad3eaf58de994a71ff52133 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/bursonic
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@5c0a2022c964e687dad3eaf58de994a71ff52133 -
Trigger Event:
push
-
Statement type: