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.2

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.2
File Size Uploaded Provenance Actions
skill2framework-0.3.2.tar.gz 9.5 kB Without provenance Details for skill2framework-0.3.2.tar.gz

Built distribution (wheel)

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

Total release size: 18.4 kB

Release files / skill2framework-0.3.2.tar.gz

Download URL skill2framework-0.3.2.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
16504f543af35b4b64c4cf24cb68e5778c0ce1910cf608425d0cd3c58e9ee084
BLAKE2b-256 checksum
How to use checksums
fdd481c0aae2d6925a1e7687bf5804b7f47d3625cad06710f84dfc1599748992
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.2-py3-none-any.whl

Download URL skill2framework-0.3.2-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e4bc875d84fb60609e8f6fb4ef057daaef77df2d6f8d4bde0f14fb626872ee98
BLAKE2b-256 checksum
How to use checksums
6f630496e7b059ad93bc58e4fa775658e7cddf9ce9e46472b59851bd5ce1ce16
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.2

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