Examples
The skrun repository includes small examples under examples/skills.
regex-finder
Section titled “regex-finder”regex-finder is a Rust binary skill that evaluates regular expressions over
provided text.
skrun skill build examples/skills/regex-finderskrun skill run \ --input '{"action":"match","input":{"pattern":"\\d+","text":"abc 123"}}' \ examples/skills/regex-finderExpected output:
{ "ok": true, "action": "match", "data": { "matched": true }, "error": null}cdp-browser
Section titled “cdp-browser”cdp-browser is a browser-control skill shape built around a strict
stdio-json command protocol.
skrun skill build examples/skills/cdp-browserskrun skill run --input '{"action":"describe"}' examples/skills/cdp-browserThe example demonstrates how an existing tool can become a skill by adding:
artifact.jsonSKILL.md- input and output JSON schemas
- a single stdin/stdout executable entrypoint
Release Assets
Section titled “Release Assets”Example skill release assets are published from tags such as:
git tag regex-finder@0.1.2git tag cdp-browser@0.1.3git push origin --tagsThe release workflow builds the binary, runs its smoke test, packages the skill
directory, and uploads a .tar.gz asset to GitHub Releases.