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

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

Built distribution (wheel)

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

Total release size: 18.4 kB

Release files / skill2framework-0.3.3.tar.gz

Download URL skill2framework-0.3.3.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
586c49def1a8979dbf0711e2830b82d093e9e3a6aab23c9ad401ae164127833d
BLAKE2b-256 checksum
How to use checksums
db5258662df055a535a6313ad927e0644db9f3ea6a88945b5ea838725ffa1e06
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.3-py3-none-any.whl

Download URL skill2framework-0.3.3-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3bbaa02df642c9987fbcfbdbca5709283daabf690a7ade4948e6b93beb6a155c
BLAKE2b-256 checksum
How to use checksums
033e71435469ffd59a67200f6dd0d5cb69bb5ddc38888f19a3a0f8213865b2b0
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.3

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