Skip to main content

skill2framework — the chapter rung: a finished agent turned into a chapter of a SkillTome

skill2framework is the chapter rung of ChainCompiler, a compiler-compiler for cognition. It is the deterministic part of turning a finished agent into a chapter of its author's SkillTome. The skill2framework skills the ChainCompiler plugin ships write two posts about the agent — a narrative post and a deep dive — and this package does everything after them:

  • assemble_chapter(blog1, blog2, chapter_dir=…, framework_name=…) makes the two posts one self-contained chapter folder, its links, calls to action and manifest included;
  • package_plugin(framework_skill, chapter_dir, out_dir=…, name=…) packages the framework's skill and its chapter as an installable plugin, repathing the chapter's links into the bundle and checking that each resolves;
  • fold_into_tome(framework_skill_dir, volume=…, tome_root=…) folds the framework into the tome, through agent-skilltree's tome.fold;
  • JourneyCore and render_blog1 are the narrative post's model and its renderer, so the post is filled in and never written by hand.

Install

pip install skill2framework

It brings agent-skilltree from PyPI. To work on it, clone the repository and run ./install.sh, which installs all fifteen packages editable.

Use

from skill2framework import assemble_chapter, fold_into_tome, package_plugin

Each call takes the files the one before it wrote; the skill2framework skills in the plugin run them in order.

Its design

The repository's DESIGN.md §13.

License

MIT.

Metadata

Release files for skill2framework 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for skill2framework 0.3.1
File Size Uploaded Provenance Actions
skill2framework-0.3.1.tar.gz 9.5 kB Without provenance Details for skill2framework-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for skill2framework 0.3.1
File Interpreter ABI Platform Actions
skill2framework-0.3.1-py3-none-any.whl Python 3 none any Details for skill2framework-0.3.1-py3-none-any.whl

Total release size: 18.4 kB

Release files / skill2framework-0.3.1.tar.gz

Download URL skill2framework-0.3.1.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
12aabecedf58f328fa1b2ca287e3aa5e7fede0e2a18c853de34108e3b3423789
BLAKE2b-256 checksum
How to use checksums
edf9696cd9fc88b1ace8284733c121a4bb9c712a9c8c693f8baa2e54b50c2d22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.13

Release files / skill2framework-0.3.1-py3-none-any.whl

Download URL skill2framework-0.3.1-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b8437ff573aca5a1490e853a16a02fcf2f6c7b78b90e9e37a28c107904b3019a
BLAKE2b-256 checksum
How to use checksums
bf67062b8db6244ebbbc4e9622bf784fa8e536dfcf12fa2f733ca627be740e1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.13

Security for skill2framework 0.3.1

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page