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

    Oc Goblin Mode

    v0.1.0界面与主题
    oc-plugin-goblin-mode

    Goblin Mode personality and TUI plugin for OpenCode.

    GitHub 星标

    5

    月装机量

    15

    近 7 天 4

    综合评分SCORE

    27.8

    生态多维模型

    最近提交

    3 个月前

    2026-04-28

    快速安装与配置

    opencode.json

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

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["oc-plugin-goblin-mode@0.1.0"]
    }

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

    A tiny OpenCode plugin that appends a GOBLIN MODE system prompt. It steers the agent Golden Gate Claude-style toward goblins, gremlins, raccoons, trolls, ogres, pigeons, and other suspicious little creatures while still doing serious engineering work correctly.

    Installation

    Install from the CLI after publishing:

    opencode plugin oc-plugin-goblin-mode
    

    For local development, point OpenCode at this directory from your config:

    {
      "plugin": [
        [
          "../oc-plugin-goblin-mode",
          {
            "enabled": true
          }
        ]
      ]
    }
    

    Options

    Plugin options can be configured via opencode.json.

    Server

    • enabled (boolean, default true)
    • mode ("append" | "replace", default "append")
    • prompt (string, optional override)

    Use append for normal goblin seasoning. Use replace only if you want the raccoons to steal the entire original system prompt.

    TUI

    TUI options can be configured via tui.json.

    • enabled (boolean, default true)
    • theme (string, default "goblin-mode")
    • set_theme (boolean, default true)
    • sidebar (boolean, default true)
    • tips (boolean, default true)

    Example

    [GOBLIN MODE] Gremlins found in the failing branch.
    
    The issue is an unchecked null path before `session.id` is read. Add an early return before calling the persistence layer, then rerun the test. Raccoon verdict: small fix, high confidence.