GitHub 星标
0
月装机量
78
近 7 天 13
综合评分SCORE
30.3
生态多维模型
最近提交
1 个月前
2026-07-19
快速安装与配置
opencode.json写入当前项目的 opencode.json,只对这个仓库生效。
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["be-brief-opencode-plugin@1.0.1"]
}写入 ~/.config/opencode/opencode.json,对所有项目生效。
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["be-brief-opencode-plugin@1.0.1"]
}若你要在本地改造这个插件,先装到项目里再从本地路径引用。
shell
pnpm add -D be-brief-opencode-pluginopencode 启动时会通过内嵌运行时自动加载 npm 依赖并缓存至本地目录,无需手动在全局环境执行安装。
README.md
查看原始文件→An opencode plugin that appends **BE BRIEF** to the
end of every user message before it's sent to the LLM.
Install
{
"plugin": ["be-brief-opencode-plugin"]
}
Add that to your opencode.json (project or global,
~/.config/opencode/opencode.json), then restart opencode.
How it works
Hooks into opencode's chat.message plugin hook and appends the text to the
last text part of the outgoing user message.