agent-plugin 是场景化智能体能力插件集合,为 agent-master + agent-image 体系提供可插拔的场景化能力扩展。遵循 OpenCode 官方插件格式,通过 opencode.json 配置动态加载。
当前能力覆盖:
等待添加场景化插件...
在 opencode.json 中添加:
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["agent-plugin@git+https://github.com/ArchAIHarness/agent-plugin.git"]
}重启 OpenCode。
插件会自动注册:
agents/*.md为 OpenCode agents。skills/**/SKILL.md为 OpenCode skills。tools/中的工具可被 OpenCode 自动发现。
| Agent | 定位 |
|---|
| Skill | 分组 | 定位 | 版本 |
|---|
| 目录 | 定位 |
|---|
agent-plugin/
├── package.json
├── README.md
├── AGENTS.md
├── LICENSE
├── .opencode/
│ └── plugins/
│ └── agent-plugin.js # OpenCode 插件入口
├── agents/
│ └── *.md # 场景化 Agent 定义
├── skills/
│ └── {domain}/
│ └── {skill-name}/
│ └── SKILL.md
└── tools/
└── {domain}/
└── *.js # 自定义工具实现
请参见 AGENTS.md 维护规则。
- agent-master - Agent 控制面服务
- agent-image - 无头 OpenCode Runtime 镜像
- agent-image-webui - 带 WebUI 的 Runtime 镜像(OpenCode + AionUi)
Engineered by Architects · Empowered by AI