Metadata-Version: 2.4
Name: skillpact
Version: 0.8.0b1
Summary: SkillPact: machine-readable contracts for Agent Skills (reference implementation)
Author: shogo kajiyama (SEVENTHWELL)
License-Expression: Apache-2.0
Project-URL: Homepage, https://kajisho5.github.io/skillpact/
Project-URL: Source, https://github.com/kajisho5/skillpact
Keywords: agent-skills,skill-md,security,supply-chain,claude-code,codex,cursor
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: NOTICE
Requires-Dist: jsonschema>=4.20
Requires-Dist: PyYAML>=6
Requires-Dist: cryptography>=42
Requires-Dist: rfc8785>=0.1.4
Provides-Extra: sigstore
Requires-Dist: sigstore>=4; extra == "sigstore"
Provides-Extra: test
Requires-Dist: pytest>=8; extra == "test"
Dynamic: license-file

# skillpact (reference validator, v0.1)

```
pip install -r requirements.txt
python3 -m skillpact.cli validate <skill_dir>            # SKILL.md frontmatter + skill.contract.json
python3 -m skillpact.cli test <skill_dir>                # run declared conformance tests (sandboxed with bubblewrap; the `unshare -rn` fallback isolates the network only and gives no L2)
python3 -m skillpact.cli hash <skill_dir>                # write integrity.files (sha256)
python3 -m skillpact.cli keygen key.pem ; ... sign <skill_dir> key.pem ; ... verify <skill_dir>
python3 -m skillpact.cli policy-check <skill_dir> policies/solo-dev.json      # allow/ask/deny per capability
python3 -m skillpact.cli policy-compile <skill_dir> policies/solo-dev.json --target claude-code|cursor|codex|gemini-cli
python3 -m pytest -q tests                                   # 19 tests
```
Exit code 0 = ok / not denied, 1 = failure / denied. Output is JSON.
Sample: `../samples/ffmpeg-skill/skill.contract.json` (copy of kajisho5/ffmpeg-skill @4334225, SKILL.md untouched).
