Skip to content

Latest commit

 

History

History
209 lines (159 loc) · 6.88 KB

File metadata and controls

209 lines (159 loc) · 6.88 KB

Chunk Your Skills

Quick Start License No Telemetry

version discord FOSSA Status Snyk Vulnerabilities

Rust Python TypeScript Go C Shell

Rust-first library for decomposing agent SKILL.md files into page-indexed nodes and recomposing skinny skills — only the sections you select.

This repository is the chunk-your-skills SDK monorepo. The former clear-your-tools proxy application layer has been removed; use clear-your-tools for the MCP tool-gating proxy.

What it does

  1. Chunk/Decompose — parse SKILL.md into a tree of nodes (frontmatter, preamble, heading sections).
  2. Cache — write metadata.json, nodes/page_index.json, and nodes/n{id}.md under a catalog directory.
  3. Recompose — rebuild a skinny SKILL.md from selected node IDs.

Packages C/Go/Rust/TypeScript/Python

Published packages

Windows macOS Linux

chunk-your-skills (crates.io)

Rust library and CLI

crates.io chunk-your-skills

crates.io downloads

chunk-your-skills (PyPI)

Python SDK (import chunk_your_skills)

PyPI chunk-your-skills

PyPI downloads

chunk-your-skills (npm)

TypeScript SDK

npm chunk-your-skills

npm downloads

libchunk_your_skills (Release)

C library via CMake / build-c-lib.sh

GitHub sdk/c

sdk/go (pkg.go.dev)

Go SDK via cgo (import chunkyourskills)

pkg.go.dev sdk/go

Quick start

Install the CLI:

cargo install chunk-your-skills

Or build locally: cargo build -p chunk-your-skills --release.

Library installs:

cargo add chunk-your-skills
pip install chunk-your-skills
npm install chunk-your-skills

Try the bundled walkthrough — decompose a sample skill, then recompose skinny variants:

./examples/decompose.sh
export PATH="$PWD/target/release:$PATH"
./examples/recompose.sh

See examples/README.md for node IDs, output paths, and CLI flags.

SDKs

SDK Path Docs
Python sdk/python README
TypeScript sdk/typescript README
Go sdk/go README
C sdk/c README
Rust src README

Development

See DEV.md for local workflow, version sync, and publish notes.

License

Apache-2.0 — see LICENSE.