wshobson/agents has 72 plugins, 146 skills. oh-my-claudecode has a plugin system with /plugin install. AO has a plugin architecture internally but no marketplace and no community-facing install commands. This task ships the public marketplace surface.
AgentRuntime interface.TrackerPlugin interface..claude-plugin — JSON manifest (name, version, description, type, entrypoint)agents/ — markdown files with agent system promptscommands/ — slash commands the plugin addsskills/ — reusable skill definitionsAdapt from wshobson's .claude-plugin format:
// .ao-plugin (JSON)
{
"name": "ao-plugin-security-roles",
"version": "1.0.0",
"description": "Security-focused agent roles: OWASP auditor, pen-tester, secret scanner",
"type": "agent-role", // agent-runtime | agent-role | tracker | workflow | hook
"author": "username",
"ao_version": ">=1.0.0",
"entrypoint": "./index.js", // for code-based plugins
"roles": ["./roles/owasp-auditor.md", "./roles/pen-tester.md"],
"commands": ["./commands/security-scan.md"],
"repository": "https://github.com/username/ao-plugin-security-roles"
}
Create github.com/composiohq/ao-plugins as the official registry. Structure:
ao-plugins/
registry.json # list of all verified plugins
plugins/
security-roles/ # curated plugins live here
goose-runtime/
gemini-runtime/
CONTRIBUTING.md # how to submit a plugin
PLUGIN_SPEC.md # plugin format spec
registry.json:
[
{
"name": "ao-plugin-security-roles",
"description": "Security-focused agent roles",
"version": "1.0.0",
"downloads": 142,
"verified": true,
"npm": "@ao-plugins/security-roles",
"repo": "https://github.com/username/ao-plugin-security-roles"
}
]
ao plugin CLI commandsao plugin list # list all available plugins from registry
ao plugin list --type agent-role # filter by type
ao plugin search security # search by keyword
ao plugin install security-roles # install a plugin
ao plugin install @ao-plugins/security-roles # by npm package name
ao plugin uninstall security-roles
ao plugin update security-roles
ao plugin list --installed # show installed plugins
ao plugin create # scaffold a new plugin interactively
Two install methods:
npm install @ao-plugins/security-roles + register in AO's plugin configao plugin install ./my-local-plugin — mounts from local path. Good for development.Plugins are stored in ~/.ao/plugins/. Config in ao.yaml:
plugins:
- security-roles
- "@ao-plugins/gemini-runtime"
- file:./my-local-plugin
On ao start, load all plugins from config:
async function loadPlugins(config: AoConfig): Promise<void> {
for (const pluginRef of config.plugins || []) {
const plugin = await resolvePlugin(pluginRef); // npm or local
const manifest = await loadManifest(plugin.path);
if (manifest.type === 'agent-role') {
await registerRoles(manifest.roles, plugin.path);
} else if (manifest.type === 'agent-runtime') {
await registerRuntime(manifest.entrypoint, plugin.path);
}
// etc.
}
}
@ao-plugins/security-roles — OWASP auditor, pen-tester, secret scanner (adapted from wshobson)@ao-plugins/goose-runtime — Goose (Block) as agent runtime@ao-plugins/gemini-runtime — Finish PR #474@ao-plugins/autopilot-workflow — Adapted from oh-my-claudecode's autopilot skill@ao-plugins/deep-interview — Adapted from oh-my-claudecode's deep-interview skillao plugin create — scaffolding toolInteractive wizard that generates a plugin template:
$ ao plugin create
? Plugin name: my-security-plugin
? Plugin type: (agent-role / agent-runtime / workflow / hook) › agent-role
? Description: Security-focused agents for OWASP compliance
? Author: your-username
✓ Created: my-security-plugin/
├── .ao-plugin (manifest)
├── roles/
│ └── example.md (role template)
├── README.md
└── package.json
Next: Edit roles/example.md, then run `ao plugin install ./my-security-plugin`
ao plugin list shows plugins from the registryao plugin install security-roles works and the role is available in the next sessionao plugin create generates a working plugin scaffold/plugin install command implementation