Skip to content

Build plugins

Prepared, unreleased authoring contract. This public page documents a reviewed future authoring workflow. Future authoring commands described here are not available in current releases; they do not claim that plugin-kit-ai@2 is available. Existing installer examples are identified separately. Public activation remains pending.

Your jobJourneyResult
Install someone else's packageUse pluginsManaged client installation and activation instructions.
Write a new portable packageContinue belowRoot plugin.json, Skills and/or MCP configuration.
Keep an existing YAML/runtime project workingHistorical v1Version-pinned 1.2.4 context; no v2 migration.

This journey describes the prepared future authoring contract at source revision 070663efb27f69ecae8609e6b839f86f843efbb0. It is not installation advice for a published v2 package. Use the accepted release supplied by the release owner before running these examples; an older executable may have different semantics.

Choose the smallest useful package

NeedTemplateInputs beyond destination and identity
Instructions an agent can followStandalone Skill--template skill; optional explicit Skill name.
Connect to an existing serviceRemote MCP--template mcp-remote --url with an explicit endpoint.
Provide a local MCP processStdio MCP--template mcp-stdio --runtime node.
Instructions plus toolsHybrid--template hybrid --mcp-template plus the selected MCP inputs.

A standalone Skill here means a standard package whose portable component is a Skill. It still has root plugin.json; it is not an external Skills installer. Add more instructions later with extra Skills.

Two equivalent authoring entrypoints

Choose one spelling and use it consistently:

Shared authoring jobInstaller executableAuthoring executable
Create a packageagentplugins author initplugin-kit-ai init
Validateagentplugins author validateplugin-kit-ai validate
Inspectagentplugins author inspectplugin-kit-ai inspect
Static testagentplugins author testplugin-kit-ai test
Static client compatibilityagentplugins author compatplugin-kit-ai compat
Project doctoragentplugins author doctorplugin-kit-ai doctor
Engine capabilitiesagentplugins author capabilitiesplugin-kit-ai capabilities
Add or validate Skillsagentplugins author skillsplugin-kit-ai skills

The table names jobs, not complete invocations. The tutorials supply explicit paths and template inputs. Both entrypoints use the same prepared authoring engine; neither is a second YAML implementation.

Follow the authoring loop

  1. Choose a template and an absent destination under an existing parent.
  2. Review and edit the resulting package files.
  3. Run validate, inspect, and static test against the exact root.
  4. Evaluate explicit target compatibility and inspect project doctor evidence.
  5. Send the package and its limits to the installer planner.

Creating files is local mutation. Validation, inspection, static test, and compatibility do not install into clients or launch package code. A passing static report is useful evidence, but it does not establish runtime success.

What this journey does not expose

Runtime execution, dev loops, dependency bootstrap, import, normalization, project migration, client generation, export/bundle, and publication are deferred from the v2 journey. Their retained v1 source and documentation remain useful; they are not runnable v2 features. Hooks remain client-specific extensions.

Do not add legacy --platform, --strict, --typescript, --output, or --force flags to these examples. Select destinations positionally and read command boundaries before adapting automation.

Public docs for plugin authors and integrators.