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

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

Built distribution (wheel)

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

Total release size: 18.4 kB

Release files / skill2framework-0.3.4.tar.gz

Download URL skill2framework-0.3.4.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
60751e8352ab81733f36bf9863bec3ef7400a3f88fabe5f9fe3f26164ada4a1d
BLAKE2b-256 checksum
How to use checksums
ace0991cd7350714f4014acb2fce0415c19967b4dcb514541386fdd3a78eb096
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.4-py3-none-any.whl

Download URL skill2framework-0.3.4-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
20b855c834e55ed199a111a70b0066f99b6f61438821c54dd4602b70269776f6
BLAKE2b-256 checksum
How to use checksums
aa0b49ec666161767bf6635adfc627200d705d2fee40a127e1e2a774e3065c3a
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.4

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