Repository navigation
feat(compile): compile to the Agent Plugins package format (11th, opt-in target) - #101
Merged
Merged
Conversation
…-in target) Agent Plugins v1.0 (agent-plugins.org, published 2026-08-06 by OpenAI, Amazon, Microsoft, Cursor, Vercel; Google core-maintaining) is the vendor-neutral skill package format now read by ChatGPT/Codex, Cursor, Copilot, Kiro and VS Code. It is a packaging standard only — it defines no permission model, trust, provenance, sandboxing, or measurement. That absence is exactly the layer Kitbash already is, so rather than fight the format, compile to it. `compile` now emits a spec-shaped plugin: `agent-plugin/plugin.json` (the required $schema + package name) plus one `agent-plugin/skills/<name>/SKILL.md` per skill, with name + description frontmatter so clients inject only the metadata and lazy-load the body. A skill compiled here drops into any Agent-Plugins client having already passed Kitbash's install gate, its declared token budget, and its drift check. The compiler owns plugin.json — one repo-level manifest, not per-skill, written only when it changes. The plugin's skills/ folder is pruned on removal like every other skill-dir target. Unlike the ten auto-detected targets this one is opt-in: enable it via [project].targets, or it self-detects once an agent-plugin/plugin.json exists. It is excluded from the standing-tax benchmark — it is an opt-in publishing target, lazy, with no always-on cost story to measure. Adds 10 tests, docs across README + site, and the changelog entry. 0.17.0.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
agent-plugins, the eleventh compile target: it emits the Agent Plugins v1.0 package format (agent-plugins.org) — the vendor-neutral skill package standard published 2026-08-06 by OpenAI, Amazon, Microsoft, Cursor and Vercel (Google core-maintaining), now read by ChatGPT/Codex, Cursor, Copilot, Kiro and VS Code.Why
Agent Plugins is a packaging standard by design: it defines no permission model, no trust or provenance, no sandboxing, and no measurement. That absence is exactly the layer Kitbash already is. Compiling to the standard — instead of treating it as a competing format — means a Kitbash skill drops into every Agent-Plugins client having already passed the install-gate safety lints, the declared token budget, and the drift check the format leaves out.
What it emits
agent-pluginsin[project].targets, or it self-detects once anagent-plugin/plugin.jsonexists.plugin.json(one repo-level manifest, not per-skill) and rewrites it only when it changes.SKILL.mdis pruned from the plugin'sskills/folder on the next compile, like every other skill-dir target.git diffgate stays green).Tests
10 new assertions: opt-out repo emits nothing; opt-in emits the plugin;
plugin.jsonis valid JSON declaring the spec$schema+ a name;SKILL.mdcarries the right frontmatter; auto-detection onceplugin.jsonexists;plugin.jsonnot rewritten when unchanged; removed skill pruned. Full suite green;node site/build.mjs --checkgreen;npm run benchdiff clean.Ships as 0.17.0.