oc-plugin-goblin-modeGoblin Mode personality and TUI plugin for OpenCode.
5
15
4 in 7 days
27.8
Multi-signal model
3 months ago
2026-04-28
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["oc-plugin-goblin-mode@0.1.0"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["oc-plugin-goblin-mode@0.1.0"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D oc-plugin-goblin-modeopencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
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, defaulttrue)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, defaulttrue)theme(string, default"goblin-mode")set_theme(boolean, defaulttrue)sidebar(boolean, defaulttrue)tips(boolean, defaulttrue)
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.