@geck-dev/opencode-squad
v0.1.1
Published
OpenCode plugin that packages the Squad agent, tools, and hooks runtime.
Maintainers
Readme
opencode-squad
OpenCode plugin that packages the Squad agent and tool runtime.
[!WARNING] Early alpha:
opencode-squadis still evolving quickly. Expect breaking changes in configuration, bundled agents, tools, commands, and runtime behavior before a stable release. For production or shared setups, pin a concrete package version instead of using@latest.
What it provides
opencode-squad extends OpenCode with:
- primary agents with stable routing keys such as
primary/alpha,primary/architect,primary/developer, andprimary/orchestrator - hidden slash-command agents such as
betafor/betasecond-opinion reviews, with stablesquad/*routing keys for configuration - specialized subagents for codebase analysis, code review, project documentation, web research, and council-style reasoning
- custom tools for container inspection, isolated execution, external repository research, SearXNG search, scratchpad state, handoffs, review context, file inspection, and diagnostics
- bundled container definitions used by containerized tools
- strict JSON configuration through
squad.json
Local usage
{
"plugin": ["/absolute/path/to/opencode-squad"]
}Or with inline plugin options:
{
"plugin": [
[
"/absolute/path/to/opencode-squad",
{
"models": {
"providers": {
"gpt": ["openai/gpt-5.5", "opencode/gpt-5.2-codex"]
},
"handlers": {
"primary": "@provider/gpt"
}
}
}
]
]
}For npm/package usage, add the package name instead of a local path:
{
"plugin": ["@geck-dev/opencode-squad@latest"]
}Configuration
The plugin reads squad.json from:
- global OpenCode config dir:
$OPENCODE_CONFIG_DIR/squad.jsonor~/.config/opencode/squad.json - project config:
<project>/.opencode/squad.json - plugin tuple options in
opencode.json— highest priority
See docs/dev/configuration.md.
For editor validation in squad.json, use the raw schema URL:
{
"$schema": "https://raw.githubusercontent.com/geck-dev/opencode-squad/main/schema/squad.schema.json"
}Do not use GitHub's /blob/ URL for $schema; it returns an HTML page, not raw JSON.
Documentation
- Public main manual: https://geck.dev/opencode-squad/
- Internal architecture and development docs:
docs/dev - Architecture
- Agents
- Tools
- Containers
- Configuration
- Development
- Roadmap
Development
bun install
bun run checkBuild the optional static manual into the ignored root manual/ directory:
bun run manual:build