跳到主要内容
    ↑↓ 选择↵ 打开esc 关闭
    中文English
    3xjn

    Ask Human

    v0.1.0其他
    opencode-ask-human

    OpenCode plugin that encourages asking a human instead of guessing when using the question tool.

    GitHub 星标

    0

    月装机量

    10

    近 7 天 2

    综合评分SCORE

    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"]
    }

    opencode 启动时会通过内嵌运行时自动加载 npm 依赖并缓存至本地目录,无需手动在全局环境执行安装。

    An OpenCode plugin that teaches agents to ask before they guess.

    Features

    • Rewrites the built-in question tool 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

    1. Install the plugin globally.
    2. Restart OpenCode.
    3. 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"
      ]
    }