Agent Plugins

Mini-A can consume Agent Plugins 1.0.0: a portable directory format that packages skills and MCP servers together. Mini-A treats a loaded plugin as additional skill roots and ordinary MCP connections, so there is no separate plugin runtime to learn.

Plugin layout

Each plugin has a required plugin.json manifest and may include skills/ and mcp.json:

my-plugin/
├── plugin.json
├── skills/
│   └── my-skill/
│       └── SKILL.md
└── mcp.json

plugin.json must include the 1.0 schema URL and a plugin name:

{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "my-plugin",
  "version": "1.0.0"
}

Loading plugins

Use explicit directories with plugins=, or point Mini-A at a root that contains one level of plugin directories:

# Load named plugin directories
mini-a goal="use the available plugin skills" \
  plugins="~/plugins/reports,~/plugins/issue-tracker"

# Discover every plugin directly under this root
mini-a goal="summarize this repository" pluginsroot=~/team-plugins

pluginsroots= accepts additional comma-separated roots. Without an explicit root, Mini-A discovers plugins in ~/.openaf-mini-a/plugins (adjusted by homedir=).

Plugins compose with extraskills and mcp=. Skill roots are ordered user/default, extraskills, plugin, then bundled; the first matching name wins. Plugins cannot shadow user/extra skills, but can override bundled names. Collision diagnostics identify winning and ignored paths. The shared skill runtime applies to plugin skills too. fileallow also constrains plugin manifests and local skill content; executable plugin code is not sandboxed by that list.

MCP servers

An optional mcp.json declares named servers. Mini-A supports stdio, streamable-http, and deprecated sse transports.

{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/mcp.schema.json",
  "mcpServers": {
    "my-server": {
      "type": "stdio",
      "command": "./server.sh",
      "args": ["${PLUGIN_ROOT}/data"],
      "env": { "MODE": "prod" },
      "cwd": "${PLUGIN_DATA}"
    }
  }
}

For every plugin stdio server, Mini-A sets PLUGIN_ROOT (the canonical plugin directory) and PLUGIN_DATA (a managed persistent directory at ~/.openaf-mini-a/plugin-data/<plugin-name>/). Only these placeholders are expanded in arguments, environment values, and cwd. A working directory must stay within one of these boundaries; ./ paths are plugin-root-relative. Commands must be a bare executable name or a ./-relative executable, with arguments declared separately.

Remote plugin servers must use HTTPS, except for localhost HTTP. At present, only an Authorization: Bearer <token> header is passed through; other custom headers are dropped with a warning.

Compatibility and failures

Full stdio cwd and environment support requires an OpenAF runtime with native MCP pwd/envs support. Older runtimes still launch servers, but ignore those two settings.

Mini-A isolates plugin failures: an invalid manifest skips only that plugin; an invalid mcp.json leaves its skills usable; and an invalid server entry skips only that server. Warnings are logged so a broken extension does not prevent the rest of the agent configuration from starting.

Manage installed plugins

Use the guided mini-a pluginman=true manager, /plugins, or Plugins in Advanced web. The web screen supports server folders, browser ZIP uploads and converted ZIP downloads. Management supports Agent Plugins plus compatible Codex, Claude, OpenCode and Copilot bundles.

mini-a pluginop=inspect pluginsource=/path/to/plugin.zip
mini-a pluginop=install pluginsource=/path/to/plugin.zip
mini-a pluginop=list
mini-a pluginop=enable pluginid=my-plugin
mini-a pluginop=disable pluginid=my-plugin

Installations start disabled under ~/.openaf-mini-a/managed-plugins. Enable explicitly for new sessions. Removal retains files used by active sessions and retains plugin data. Reinstalling a retained identity may need manual cleanup after all sessions end.

pluginop=create pluginspec=plugin-spec.json pluginout=/tmp/my-plugin creates a bundle from metadata, a skills, mcp or combined template, and selected components. The guided console/web forms help collect these fields; Advanced JSON remains available. inventory lists managed and configured components. convert writes a Mini-A directory; export writes destination ZIPs:

mini-a pluginop=export pluginsource=/tmp/my-plugin \
  plugintarget=all pluginout=/tmp/plugin-targets.zip

Targets are minia, claude, chatgpt, opencode, copilot, universal and all. all contains five destination ZIPs. Exports do not alter destination configuration; extract and merge OpenCode configuration yourself. Inspection reports component IDs/blockers. Explicit pluginexclude values can omit unsupported components. Agent profiles, executable OpenCode plugins, general VSIX execution and unverified hook mappings remain unsupported.

Compatible Markdown commands become /plugin-name:command. The supported synchronous command-hook subset needs useshell=true; it does not implement every vendor lifecycle or permission protocol. Inspect conversion reports before enabling executable components. ZIP limits are 25 MiB compressed, 100 MiB expanded and 10,000 entries; links, traversal and duplicate paths are rejected.

Acquire public packages

The manager can download public HTTPS ZIP/VSIX URLs, npm tarballs, github:owner/repo and npm:package@version. Downloads do not run package scripts, hooks or MCP servers. GitHub sources resolve to a fixed commit; private credentials/sources are unsupported.

mini-a pluginop=sources
mini-a pluginop=search pluginsource=claude pluginquery=review
mini-a pluginop=acquire pluginsource=github:owner/repository
mini-a pluginop=inspect pluginacquisition=ACQUISITION_ID
mini-a pluginop=install pluginacquisition=ACQUISITION_ID

Reuse the returned acquisition ID to install the exact inspected bytes. Installations remain disabled. export-original exports the acquired artifact; acquisitions lists the cache and acquisition-remove frees a slot without removing installed copies. The cache holds 20 artifacts. Unsupported packages remain inspectable/exportable, but conversion requires compatible components. VS Code Marketplace browsing is unavailable; provide a public artifact URL instead.

See the pinned plugin manual for creation specifications, hook compatibility and destination details.