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

    Yolo

    v0.1.2其他
    @frankhommers/opencode-yolo

    OpenCode plugin that auto-replies to assistant messages so you don't have to manually confirm or approve

    GitHub 星标

    5

    月装机量

    147

    近 7 天 34

    综合评分SCORE

    31.8

    生态多维模型

    最近提交

    4 个月前

    2026-03-25

    快速安装与配置

    opencode.json

    写入当前项目的 opencode.json,只对这个仓库生效。

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["@frankhommers/opencode-yolo@0.1.2"]
    }

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

    OpenCode plugin that auto-replies to assistant messages so you don't have to manually confirm, approve, or answer clarification questions.

    Install

    Add to your OpenCode config (~/.config/opencode/opencode.json for global, or .opencode/opencode.json for per-project):

    {
      "plugin": ["@frankhommers/opencode-yolo"]
    }
    

    OpenCode installs the plugin automatically on next startup. Updates are picked up automatically too.

    To pin a specific version: "@frankhommers/opencode-yolo@0.1.2"

    Add the command definition to ~/.config/opencode/commands/yolo.md (or .opencode/commands/yolo.md):

    ---
    name: yolo
    description: Toggle or inspect YOLO mode (on/off/aggressive/status)
    subtask: false
    arguments:
      - name: action
        description: "One of: on, off, aggressive, status, start"
        required: false
    ---
    

    Modes

    • off — Plugin is passive. No auto-replies.
    • on — Replies to detected questions, proceed statements, and soft permission asks.
    • aggressive — Everything on does, plus sends a continuation prompt for any assistant message that doesn't match a pattern.

    Replies

    Trigger Reply
    Proceed/ready statements ("I'll proceed", "Ik ga verder", "Ready for feedback") "Please execute it, so that we reach the final result in the best way possible. Just execute don't ask."
    Questions, action requests, soft permission asks ("Should I?", "Kies", "If you want") "You choose what's best and please execute it so that we reach the final result in the best way possible. Just execute, don't ask."
    No match (aggressive only) "What can we do now to reach the final result in the best way possible?"

    Pattern matching is bilingual: English and Dutch.

    Commands

    • /yolo — Toggle on/off
    • /yolo on — Enable normal mode
    • /yolo aggressive — Enable aggressive mode
    • /yolo off — Disable
    • /yolo status — Show current mode
    • /yolo start — Kick off work with current mode

    Config file

    YOLO stores its mode per project in .yolo.json. Add it to your .gitignore.

    Development

    npm install
    npm test
    npm run build
    

    License

    MIT