Skip to content

enowdev/oh-my-china

 
 

Repository files navigation

Oh My China

A China-compatible fork of oh-my-opencode

Modified system prompts to pass through China-based AI proxy providers. All agents renamed to Chinese historical and political figures for maximum cultural immersion.

English | Bahasa Indonesia


What is this?

Oh My China is a fork of oh-my-opencode (by @code-yeongyu) with two modifications:

  1. System prompts adjusted to pass through China-based AI proxy content filters
  2. All agents renamed to Chinese historical/political figures

Agent Roster

Original Oh My China Role
Sisyphus Xi Jinping Main orchestrator. Leads the code.
Hephaestus Zhuge Liang Autonomous deep worker. The legendary strategist.
Oracle Confucius Read-only consultant. Wisdom without action.
Librarian Cai Lun External docs search. Inventor of paper.
Explore Sun Wukong Codebase search. The Monkey King scouts everything.
Atlas Mao Zedong Todo orchestrator. The Great Organizer.
Prometheus Laozi Strategic planner. The Way before the work.
Metis Sun Tzu Pre-planning consultant. The Art of War Planning.
Momus Lu Xun Plan reviewer/critic. China's greatest critic.
Sisyphus-Junior Red Guard Task executor. Follows orders.
Multimodal Looker Zheng He Vision/PDF analysis. The great explorer.

Content Filter Fix

The phrase "Powerful AI Agent" combined with identity override directives triggers China proxy content filters. This fork replaces it with softer phrasing that passes through.


Installation

From npm

bun add -g oh-my-china

Or with npm:

npm install -g oh-my-china

Configure OpenCode

Edit ~/.config/opencode/opencode.json (or opencode.jsonc):

{
  "plugin": ["oh-my-china"]
}

Configure your China proxy provider

{
  "provider": {
    "your-proxy": {
      "type": "openai",
      "url": "http://your-china-proxy:port/v1",
      "key": "your-api-key"
    }
  }
}

Verify

opencode
# Type "ultrawork" to activate all agents

Install from source

git clone https://github.com/enowdev/oh-my-china.git
cd oh-my-china
bun install
bun run build
bun link

Then add "oh-my-china" to your opencode.json plugin array.


Upstream Features

This fork inherits all features from oh-my-opencode:

Feature Description
Discipline Agents Xi Jinping orchestrates Zhuge Liang, Confucius, Cai Lun, Sun Wukong in parallel
ultrawork / ulw One word activates every agent. Runs until done
IntentGate Analyzes true user intent before acting
Hash-Anchored Edits LINE#ID content hash validates every change. Zero stale-line errors
LSP + AST-Grep IDE-precision refactoring for agents
Background Agents 5+ specialists running in parallel
Built-in MCPs Exa (web search), Context7 (docs), Grep.app (GitHub search)
Ralph Loop Self-referential loop until 100% done
Laozi Planner Interview-mode strategic planning before execution
Claude Code Compatible All hooks, commands, skills, MCPs work unchanged

For full documentation, see the upstream project.


Credits

This project is a fork of oh-my-opencode / oh-my-openagent by @code-yeongyu (YeonGyu Kim).

All credit for the original architecture, agents, tools, hooks, and features goes to the upstream project and its contributors. This fork modifies system prompt phrasing and agent display names.


License

This fork follows the same SUL-1.0 license as the upstream project.

About

omo - china friendly version

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

No contributors

Languages

  • TypeScript 95.6%
  • HTML 4.1%
  • Other 0.3%