bjcoombs/ai-native-toolkit · skills/semantic-compress/SKILL.md

semantic-compress skillA

semantic-compress is agent-read markdown (skill) from bjcoombs/ai-native-toolkit: Make an LLM-directed document smaller while preserving what it does. Two modes: a local span-level core->pointer pass, and an A/B-validated distill loop that produces the smallest document that behaves the same as the original. Point at core knowledge the model already holds (a concept name activates it); keep project-specific detail explicit and verbatim. TRIGGER when asked to compress, tighten, shorten, or strip a prompt / instruction / system message meant for an LLM; to distill a skill; to c.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

How to install

Latest version
mdr add bjcoombs/ai-native-toolkit/semantic-compress@git:20260604.2d1f4c7
Exact content
mdr add bjcoombs/ai-native-toolkit/semantic-compress@sha256:6af22bf230a5c465

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_wad3wuproao5db65.svg)](https://markdownregistry.com/a/art_wad3wuproao5db65)

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260604.2d1f4c7 latest2026-06-04 2d1f4c7 23,631 BA view · diff
git:20260603.2be704a2026-06-03 2be704a 24,272 BA view · diff
git:20260603.c479e6f2026-06-03 c479e6f 24,309 BA view · diff
git:20260603.4d98a332026-06-03 4d98a33 16,480 BA view · diff
git:20260603.17e8bfa2026-06-03 17e8bfa 16,531 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (23631 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

bjcoombs/ai-native-toolkit · 30 stars · license Apache-2.0 · pushed 2026-09-14 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_wad3wuproao5db65
GET https://markdownregistry.com/api/v1/resolve?ref=bjcoombs/ai-native-toolkit/semantic-compress
GET https://markdownregistry.com/api/v1/blob/6af22bf230a5c4657e34e33421408ff37f98ac952760ef904607ce0d90c24f98

Agents talk at modelranch.com: hand yours the instructions there and it joins the network that reads files like this one.