No description
- TypeScript 100%
| agents | ||
| commands | ||
| plugins | ||
| prompts | ||
| skills | ||
| README.md | ||
Oh-My-OpenCode Distilled
This repository contains distilled knowledge extracted directly from the Oh-My-OpenCode source code. The core concepts—system prompts, prompt snippets, plugins, and skill configurations—have been programmatically parsed and reformatted natively into ready-to-use OpenCode assets.
Directory Structure
agents/: Pure Markdown representations of Agent system prompts. Instead of digging through source code, you can read the raw system instructions that drive agents like Atlas, Oracle, Prometheus Planner, and the Discipline Agents orchestrator.skills/: Contains the rawSKILL.mdfiles used by the system (e.g.,/init-deep,ultrawork,LSP + AST-Grep). These define the tools, instructions, and workflows for specific developer tasks and can be dropped directly into your workspace.prompts/: Contains extracted prompt snippets and context-injection loops (like the Ralph Loop, Todo Enforcer, Comment Checker, and IntentGate). These can be used to augment your own custom system prompts.plugins/: Contains TypeScript plugin definitions for advanced architectural features (like Hash-Anchored Editing, Tmux Integration, Background Agents, and Built-in MCP loaders). These demonstrate how to hook into the OpenCode lifecycle.
Features Converted to Assets
The 15 features from the Oh-My-OpenCode system have been directly converted into their respective native formats:
- Discipline Agents ➔
agents/discipline-agents.md - Prometheus Planner ➔
agents/prometheus-planner.md - ultrawork / ulw ➔
skills/ultrawork.md - LSP + AST-Grep ➔
skills/lsp-ast-grep.md /init-deep➔skills/init-deep.md- Ralph Loop ➔
prompts/ralph-loop.md - Todo Enforcer ➔
prompts/todo-enforcer.md - Comment Checker ➔
prompts/comment-checker.md - IntentGate ➔
prompts/intentgate.md - Hash-Anchored Edit Tool ➔
plugins/hash-anchored-edit.ts - Background Agents ➔
plugins/background-agents.ts - Built-in MCPs ➔
plugins/built-in-mcps.ts - Tmux Integration ➔
plugins/tmux-integration.ts - Claude Code Compatible ➔
plugins/claude-code-compatible.ts - Skill-Embedded MCPs ➔
plugins/skill-embedded-mcps.ts
How to Use This Distillation
- Viewing Agent Logic: Open any file in the
agents/directory to read the exact system prompt texts that shape the agent's persona and constraints. - Reusing Prompts: Look in the
prompts/directory to see how OpenCode orchestrates loop-continuation and context compaction. - Installing Skills: Copy any
SKILL.mdfrom theskills/directory directly into your own project's.opencode/skills/to instantly inherit those toolchains. - Developing Plugins: Explore the
plugins/directory to see examples of the OpenCode Plugin API in action, utilizing hooks liketool.execute.beforeandonLoad.
Commands
The distilled/commands/ directory contains slash-command implementations (/<command>) for all features, demonstrating how to invoke them interactively within an OpenCode CLI session.