From b2c712596dba867448ca8b982565dc049c33670c Mon Sep 17 00:00:00 2001 From: skovtunenko <14869404+skovtunenko@users.noreply.github.com> Date: Wed, 2 Dec 2026 04:58:16 +0100 Subject: [PATCH] Release v2026.12.01.1 --- .agents/plugins/marketplace.json | 20 ++++++++++++++++++ .claude-plugin/marketplace.json | 16 +++++++++++++++ .mise/tasks/check.sh | 21 +++++++++++++++++++ README.md | 34 ++++++++++++++++++++++++++++--- site/index.html | 14 ++++++++----- skills/.claude-plugin/plugin.json | 13 ++++++++++++ skills/.codex-plugin/plugin.json | 20 ++++++++++++++++++ skills/skillflow/SKILL.md | 2 +- skills/skillflow/flow.kdl | 2 +- 9 files changed, 132 insertions(+), 10 deletions(-) create mode 100644 .agents/plugins/marketplace.json create mode 100644 .claude-plugin/marketplace.json create mode 100644 skills/.claude-plugin/plugin.json create mode 100644 skills/.codex-plugin/plugin.json diff --git a/.agents/plugins/marketplace.json b/.agents/plugins/marketplace.json new file mode 100644 index 0000000..8f893e3 --- /dev/null +++ b/.agents/plugins/marketplace.json @@ -0,0 +1,20 @@ +{ + "name": "skillflow", + "interface": { + "displayName": "SkillFlow" + }, + "plugins": [ + { + "name": "skillflow", + "source": { + "source": "local", + "path": "./skills" + }, + "policy": { + "installation": "AVAILABLE", + "authentication": "ON_INSTALL" + }, + "category": "Productivity" + } + ] +} diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json new file mode 100644 index 0000000..de177da --- /dev/null +++ b/.claude-plugin/marketplace.json @@ -0,0 +1,16 @@ +{ + "name": "skillflow", + "owner": { + "name": "skovtunenko", + "url": "https://github.com/skovtunenko" + }, + "description": "SkillFlow: a declarative language for the intent of an agent skill.", + "plugins": [ + { + "name": "skillflow", + "source": "./skills", + "description": "Describes the workflow of a skill as a KDL flow file, checks and syncs the skill against it, and renders it as an HTML page.", + "category": "productivity" + } + ] +} diff --git a/.mise/tasks/check.sh b/.mise/tasks/check.sh index e766066..aee8b74 100755 --- a/.mise/tasks/check.sh +++ b/.mise/tasks/check.sh @@ -5,3 +5,24 @@ set -euo pipefail # Browser tests skip without Chrome, unless CI or SKILLFLOW_BROWSER=required makes Chrome mandatory. node --test "build/**/skillflow/tests/*.test.mjs" + +# The plugin files: each one parses, and the four plugin names are equal (Codex refuses a marketplace entry with another name). +# The version of each plugin manifest is the version of the skill: Claude Code updates a plugin only when its version changes. +node -e ' +const fs = require("fs"), read = (f) => JSON.parse(fs.readFileSync(f, "utf8")); +const manifests = [read("skills/.claude-plugin/plugin.json"), read("skills/.codex-plugin/plugin.json")]; +const entries = [read(".claude-plugin/marketplace.json").plugins[0], read(".agents/plugins/marketplace.json").plugins[0]]; +const names = [...manifests, ...entries].map((p) => p.name); +if (!names[0] || new Set(names).size !== 1) throw new Error(`plugin names differ: ${names}`); +// metadata.version of the frontmatter only: the body of SKILL.md can show another version in an example +const text = fs.readFileSync("skills/skillflow/SKILL.md", "utf8").replace(/\r\n/g, "\n"); +const front = /^---\n([\s\S]*?)\n---/.exec(text)?.[1] ?? ""; +// strict, not a YAML parser: the version is the line right under metadata, and the frontmatter has no other version line +// shortcut: reads line shapes, so text that copies these lines inside a multi-line quoted value passes; use a YAML parser when the frontmatter stops being flat key lines +const first = /^metadata:[ \t]*\n[ \t]+version:[ \t]*"([^"]+)"[ \t]*$/m.exec(front)?.[1]; +const skill = (front.match(/^[ \t]*version:/gm) ?? []).length === 1 ? first : undefined; +const versions = manifests.map((p) => p.version); +if (!skill || versions.some((v) => v !== skill)) throw new Error(`plugin versions ${versions} differ from the skill version ${skill}`); +// plugin.json wins over a marketplace entry, so a version there would only mislead +if (entries.some((p) => "version" in p)) throw new Error("a marketplace entry has a version: keep it in plugin.json only"); +' diff --git a/README.md b/README.md index 8ff569b..d15cffd 100644 --- a/README.md +++ b/README.md @@ -79,9 +79,11 @@ The flow of SkillFlow itself is ## Install -Pick one: the [skills CLI](https://skills.sh/) or -[kasetto](https://kasetto.dev/). The skill needs Node.js 22 or later; its -scripts use no packages and no network. +Pick one: the [skills CLI](https://skills.sh/), +[kasetto](https://kasetto.dev/), or a plugin for +[Claude Code](https://code.claude.com/docs/en/discover-plugins) or +[Codex](https://developers.openai.com/codex/plugins). The skill needs +Node.js 22 or later; its scripts use no packages and no network. ```bash # skills CLI (skills.sh): installs into the current project @@ -89,8 +91,31 @@ npx skills add skovtunenko/skillflow # kasetto: --project, because its default scope is global kst add https://github.com/skovtunenko/skillflow --skill skillflow --project + +# Claude Code plugin: this repository is its own marketplace +claude plugin marketplace add skovtunenko/skillflow +claude plugin install skillflow@skillflow + +# Codex plugin: the repository is its marketplace too +codex plugin marketplace add skovtunenko/skillflow +codex plugin add skillflow@skillflow +``` + +The plugin holds only the skill, and its version is the version of the +skill. To get the latest release: + +```bash +# Claude Code: refresh the marketplace, then update the plugin +claude plugin marketplace update skillflow +claude plugin update skillflow@skillflow + +# Codex +codex plugin marketplace upgrade skillflow ``` +A plugin loads in the next session of the agent, also after an update. +It keeps the skill folder in the plugin cache of the tool. + By hand: copy `skills/skillflow` into the skills folder of your agent. ## Use it through your agent @@ -128,8 +153,11 @@ unreadable input. `skillflowctl --help` lists all commands and options. ```text skills/skillflow/ the skill: SKILL.md, flow.kdl, skillflowctl, scripts, references, assets +skills/ the plugin: the skill, and a plugin manifest for Claude Code and for Codex build/skillflow/ tests, the eval kit, and the tool that vendors the KDL parser site/ website sources and the examples it shows +.claude-plugin/ plugin marketplace for Claude Code +.agents/plugins/ plugin marketplace for Codex ``` This repository receives releases from a private source repository. diff --git a/site/index.html b/site/index.html index 4bfa352..504bef3 100644 --- a/site/index.html +++ b/site/index.html @@ -304,7 +304,7 @@ .ig-t>p:last-child{margin:0} .iterm{min-width:0;border-radius:16px;background:color-mix(in srgb,var(--ink) 92%,var(--bg));color:var(--bg);box-shadow:var(--shadow-2);overflow:hidden} .iterm-h{display:flex;align-items:center;gap:12px;padding:0 12px 0 20px;border-bottom:1px solid color-mix(in srgb,var(--bg) 14%,transparent)} -.itabs{display:flex;gap:22px;min-width:0;overflow-x:auto;scrollbar-width:none} +.itabs{display:flex;flex-wrap:wrap;gap:0 22px;min-width:0} .itabs button{flex:none;padding:14px 0 12px;border:0;border-bottom:2px solid transparent;background:none;color:color-mix(in srgb,var(--bg) 62%,transparent);font:500 var(--fs-14)/1 var(--sans);cursor:pointer} @media (hover:hover){.itabs button:hover{color:var(--bg)}} .itabs button[aria-selected=true]{border-bottom-color:var(--accent-fill);color:var(--bg)} @@ -628,12 +628,16 @@
Adds SkillFlow to Claude Code, Codex, Cursor, and more, through skills.sh or kasetto. Needs Node.js 22 or later.
-Then type skillflow help in your agent.
Adds SkillFlow to Claude Code, Codex, Cursor, and more, through skills.sh or kasetto. Claude Code and Codex can also install it as a plugin. Needs Node.js 22 or later.
+Then type skillflow help in a new session of your agent.
npx skills add skovtunenko/skillflow kst add https://github.com/skovtunenko/skillflow --skill skillflow --project claude plugin marketplace add skovtunenko/skillflow
+claude plugin install skillflow@skillflow codex plugin marketplace add skovtunenko/skillflow
+codex plugin add skillflow@skillflow git clone https://github.com/skovtunenko/skillflow
cp -R skillflow/skills/skillflow <skills-folder>/ skillflow helpEach message spends model tokens. All modes.
A script in the skill folder. No agent, no tokens.
.claude/skills/skillflow/skillflowctl page my-skill Claude Code keeps the skills of a project in .claude/skills; another agent uses its own folder. With no command, the script shows a menu.
.claude/skills/skillflow/skillflowctl page my-skill Claude Code keeps the skills of a project in .claude/skills; another agent or a plugin uses its own folder. With no command, the script shows a menu.