Installs, starts, and routes agent traffic through the standalone `modeio-middleware` product repo. Use this thin skill wrapper to connect Codex, OpenCode, O...
Use this skill when you want an agent to install, start, verify, monitor, or wire up the standalone modeio-middleware runtime from https://github.com/mode-io/mode-io-middleware.
https://github.com/mode-io/mode-io-middlewarehttps://github.com/mode-io/mode-io-middleware/blob/main/QUICKSTART.mdhttps://github.com/mode-io/mode-io-middleware/blob/main/ARCHITECTURE.mdhttps://github.com/mode-io/mode-io-middleware/blob/main/MODEIO_PLUGIN_PROTOCOL.mdPOST /v1/chat/completionsPOST /v1/responsesPOST /connectors/claude/hooksGET /healthzGET /modeio/dashboardGET /modeio/api/eventsGET /modeio/api/events/{request_id}GET /modeio/api/statsGET /modeio/api/events/liveFrom GitHub:
python -m pip install git+https://github.com/mode-io/mode-io-middleware
From a local checkout:
python -m pip install /path/to/mode-io-middleware
export MODEIO_GATEWAY_UPSTREAM_API_KEY="<your-upstream-key>"
modeio-middleware-gateway \
--host 127.0.0.1 \
--port 8787 \
--upstream-chat-url "https://api.openai.com/v1/chat/completions" \
--upstream-responses-url "https://api.openai.com/v1/responses"
modeio-middleware-setup --health-check
Codex CLI:
export OPENAI_BASE_URL="http://127.0.0.1:8787/v1"
OpenCode:
modeio-middleware-setup --apply-opencode --create-opencode-config
OpenClaw:
modeio-middleware-setup --apply-openclaw --create-openclaw-config
Claude Code:
modeio-middleware-setup --apply-claude --create-claude-settings
curl -s http://127.0.0.1:8787/healthz
open http://127.0.0.1:8787/modeio/dashboard
curl -s http://127.0.0.1:8787/modeio/api/events
http://127.0.0.1:8787/modeio/dashboard/modeio/api/events for recent requests, /modeio/api/stats for summary counters, and /modeio/api/events/live for SSE updatesmodeio-middleware-new-plugin my-policy
modeio-middleware-validate-plugin /path/to/manifest.json
modeio-middleware-plugin-conformance /path/to/manifest.json python3 /path/to/plugin.py
unset OPENAI_BASE_URL
modeio-middleware-setup --uninstall --apply-opencode --apply-openclaw --apply-claude
stdio-jsonrpc; legacy_inprocess remains internal-only in the product repo.references/standalone-product.md — standalone repo handoff, install commands, and operator notesZIP package — ready to use