Self-hosted Node.js gateway — route Telegram messages and emails to Claude, Gemini CLI, or Codex with git ops, live streaming, and persistent memory
2 files for Codex, OpenCode and Claude Code: ai-gateway AGENTS.md, ai-gateway CLAUDE.md — 358 tokens loaded in every session.
AGENTS.md A 353 tok CLAUDE.md A 5 tok These files are masternazz/ai-gateway's own configuration — they tell Codex, OpenCode and Claude Code how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.