opencode-ask-humanOpenCode plugin that encourages asking a human instead of guessing when using the question tool.
0
10
近 7 天 2
23.8
生态多维模型
1 个月前
2026-06-27
快速安装与配置
opencode.json写入当前项目的 opencode.json,只对这个仓库生效。
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-ask-human@0.1.0"]
}写入 ~/.config/opencode/opencode.json,对所有项目生效。
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-ask-human@0.1.0"]
}若你要在本地改造这个插件,先装到项目里再从本地路径引用。
shell
pnpm add -D opencode-ask-humanopencode 启动时会通过内嵌运行时自动加载 npm 依赖并缓存至本地目录,无需手动在全局环境执行安装。
An OpenCode plugin that teaches agents to ask before they guess.
Features
- Rewrites the built-in
questiontool description - Encourages concise questions for product intent, private APIs, environments, business rules, and acceptance criteria
- Keeps custom answers enabled
- Does not add UI, intercept messages, or force questions
Requirements
- OpenCode
>=1.17.7
Install
Copy and paste:
opencode plugin --global opencode-ask-human
This installs the plugin globally so it works across projects.
For project-only install, omit --global:
opencode plugin opencode-ask-human
Usage
- Install the plugin globally.
- Restart OpenCode.
- Continue working normally.
When an agent needs context that only you probably know, the question tool description now nudges it to ask one small question instead of guessing.
Config
Prefer editing config yourself? Add this to opencode.json or opencode.jsonc:
{
"$schema": "https://opencode.ai/config.json",
"plugin": [
"opencode-ask-human"
]
}