CrewCode ships local plugin templates under examples/plugins/. They are intentionally copyable folders, not a CLI generator yet.
Terminology: no-build plugins are plain HTML/CSS/JS copied as-is. Bundled plugins are authored with TypeScript/React/Vite and built to static assets before CrewCode loads them.
- Copy a folder from
examples/plugins/into~/.crewcode/plugins/. - Open Settings → Plugins.
- Refresh the plugin registry.
- Approve the plugin after reviewing permissions.
- Edit the copied folder and refresh again.
- No-build panel:
examples/plugins/static-panel-template- No build step.
- Best for workspace dashboards, lightweight repo lenses, and proof-of-concept panels.
- TypeScript/React panel:
examples/plugins/typescript-panel-template- Includes checked-in
compiled/assets so it runs immediately after copying. - Vendors the official
crewcode-plugin-apityped source until the package is published. - Rebuilds TypeScript/React source into
compiled/after edits. - Best for richer UI while keeping iframe isolation.
- Includes checked-in
- Agent provider:
examples/plugins/mock-agent-providerfor registry/selector/lifecycle validation only.examples/plugins/company-agent-http-adapterfor brokered HTTP providers.examples/plugins/openai-compatible-providerfor OpenAI-compatible model gateways.examples/plugins/github-copilot-cli-providerfor brokered CLI providers.
- MCP server:
examples/plugins/mcp-server-template- Declares
contributes.mcpServersand a local stdio server skeleton.
- Declares
- Browser action:
examples/plugins/browser-docs-grabber- Validates explicit browser action placement without automatic page data access.
- Git lens:
examples/plugins/git-risk-lens- Validates git/sidebar review placement and read-only workspace scanning.
- Current supported plugin API:
crewcode.apiVersion: "0.1". - Use
packages/crewcode-plugin-apias the canonical API source: no-build plugins vendorbrowser/crewcode-plugin-api.js, bundled plugins import or vendor the typed package source. - Plugin panels load through
crewcode-plugin://and run in sandboxed iframes. - Plugin UI never receives
window.electronAPI. - Remote SSH workspaces remain denied for plugin capability calls in v0.
- Network and secrets are not general iframe capabilities. Provider runtimes, CLI auth, local endpoints, and
apiKeyEnvare the current safe paths.