wallacelw

Oh My Coding Maas Gateway — Communication skill for Claude Code

Communication community

LiteLLM proxy gateway to Huawei ModelArts MaaS for coding agents.

How to install Oh My Coding Maas Gateway

This entry records only its repository, not the path inside it, so there is no exact command to give. Open wallacelw/oh-my-coding-maas-gateway and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Oh My Coding Maas Gateway does

LiteLLM proxy gateway to Huawei ModelArts MaaS for coding agents. Supports opencode, Codex CLI, and Claude Code CLI with dual-format API deployments (OpenAI Chat Completions + Anthropic Messages), load balancing, virtual key management, and Prometheus + Grafana observability.

Alternatives in Communication

  • Lark Coding Agent Bridge — Bot that bridges Feishu/Lark messenger with a local Claude Code or Codex CLI 2.4k ★
  • YouTube Clipper Skill — Download videos, generate semantic chapters, clip segments, translate subtitles to bilingual format, and burn 1.6k ★
  • Openab — A lightweight, secure, cloud-native ACP harness that bridges Discord and any ACP-compatible coding CLI 321 ★

README

oh-my-coding-maas-gateway

LiteLLM proxy routing Huawei MaaS models to opencode, Codex CLI, Claude Code CLI, and Pi agent — with virtual keys, multi-key load balancing, dual-format endpoints, and Prometheus + Grafana observability.


What Is This?

A self-hosted gateway that sits between your coding tools and Huawei ModelArts MaaS, giving you load balancing, virtual keys, budget tracking, and observability — all through a single local proxy.

  Tools               LiteLLM (:4000)                  Huawei MaaS
  ─────               ───────────────                  ────────────

  opencode    ──→ /v1/chat/completions ──→ openai/ provider    ──→ MaaS OpenAI endpoint
  Codex CLI   ──→ /v1/responses        ──→ openai/ provider    ──→ MaaS OpenAI endpoint
  Claude Code ──→ /v1/messages         ──→ anthropic/ provider ──→ MaaS Anthropic endpoint
  Pi agent    ──→ /v1/chat/completions ──→ openai/ provider    ──→ MaaS OpenAI endpoint

  LiteLLM: load-balances across N MaaS keys · PostgreSQL (:5432)
  Observability: LiteLLM ──/metrics──→ Prometheus (:9090) ──→ Grafana (:3000)

**4 models:** glm-5.2, glm-5.1, deepseek-v4-pro, deepseek-v4-flash


Install

The bootstrap script is the only installation method. It handles everything — prerequisites, Docker stack, coding tools, virtual keys, validation, and optional companion skill.

curl -fsSL https://raw.githubusercontent.com/wallacelw/oh-my-coding-maas-gateway/main/scripts/bootstrap.sh | bash

Bootstrap will prompt for your Huawei MaaS API key, show an interactive menu to select which coding tools to install, auto-install prerequisites, deploy the proxy + observability stack, configure each tool with its own virtual key, run validation, and offer to install the companion skill.

Estimated time: ~5 min fresh, ~2 min upgrade. For flags and non-interactive usage, see [INSTALLATION.md](./INSTALLATION.md).

After install

opencode          # or:  codex  or:  claude --bare  or:  pi

M