Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opencode-ops

Installable OpenCode ops stack: MCP servers, plugins, custom tools, runtime, system prompt. Drops into ~/.config/opencode/ and applies globally from any working directory.

See docs/SETUP.md for the full install guide and section-by-section reference.

What's included

  • MCP servers: codebase-memory-mcp (knowledge graph, 158 langs), neuledge/context (local docs DB), plus the standard slate (browsermcp, chrome-devtools, context7, deepwiki, playwright, sequential-thinking, unityMCP).
  • Plugins: ponytail (lazy senior dev ruleset), caveman (terse style, 65% fewer output tokens), opencode-voice-agent.
  • Custom tools (tools/): searxng web search, divagator mind-wander node DB, plugin loader for Open Plugins marketplaces, plugin runtime with Bun-based Claude Code shim.
  • Runtime (runtime/): bootstrap script that verifies the stack per session, plus the Bun driver for Claude Code plugins.
  • Skills (skills/): opencode-ops (system prompt for any agent), divagator (wandering recipe).
  • System prompt (prompts/opencode-ops.txt): loaded by the OpenCode build agent via {file:./prompts/opencode-ops.txt}.

Quick start

curl -fsSL https://bun.sh/install | bash
export PATH="$HOME/.bun/bin:$PATH"
git clone https://github.com/lucahttp/opencode-cod-black-ops.git /tmp/opencode-ops
SRC=/tmp/opencode-ops
DST=$HOME/.config/opencode
mkdir -p "$DST/tools" "$DST/runtime" "$DST/skills" "$DST/prompts"
cp -R "$SRC"/tools/* "$DST/tools/"
cp -R "$SRC"/runtime/* "$DST/runtime/"
cp -R "$SRC"/skills/opencode-ops "$DST/skills/"
cp -R "$SRC"/skills/divagator    "$DST/skills/"
cp "$SRC"/prompts/opencode-ops.txt "$DST/prompts/"
chmod +x "$DST/runtime/bootstrap.sh"
bash "$DST/runtime/bootstrap.sh"

Then install the upstream MCPs and plugins per the SETUP guide.

Repo layout

opencode-ops/
├── README.md
├── LICENSE                      # MIT
├── docs/
│   └── SETUP.md                 # full install + reference
├── tools/                       # opencode custom tools (.ts)
│   ├── searxng.ts
│   ├── divagator.ts
│   ├── plugin_loader.ts
│   └── plugin_runtime.ts
├── runtime/
│   ├── bootstrap.sh             # per-session verifier
│   ├── plugin_runner.ts         # bun driver
│   └── fixtures/sample-plugin/
│       └── index.ts
├── skills/
│   ├── opencode-ops/
│   │   └── SKILL.md             # system prompt (skill form)
│   └── divagator/
│       └── SKILL.md             # divagator recipe
└── prompts/
    └── opencode-ops.txt         # same content as the skill

License

MIT. See LICENSE.

About

OpenCode Code Black Ops is a configuration set for opencode to work in the day to day with a trustworthy agent setup

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages