0xMaxMa

Claude Gateway — Development skill for Claude Code

Development community

Self-hosted multi-agent gateway for Claude Code — agents that self-improve, manage their memory through nightly dreaming, and build their own knowledge base.

How to install Claude Gateway

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

What Claude Gateway does

Self-hosted multi-agent gateway for Claude Code — agents that self-improve, manage their memory through nightly dreaming, and build their own knowledge base.

Alternatives in Development

  • Microsandbox — Open-source self-hosted MicroVM sandboxes with sub-200ms startup, hardware-level isolation via libkrun 5k ★
  • Harnessrouter — HarnessRouter Community Edition: the self-hosted, Apache-2.0 edition of the unified interface for agent harnes 618 ★
  • Netclode — Self hosted cloud coding agent with k3s + kata containers + cloud hypervisor microVMs + tailscale + any harnes 249 ★

README

Claude Gateway

A self-hosted multi-agent gateway for Claude Code — with agents that improve themselves, manage their own memory through nightly dreaming, and build a searchable knowledge base from what they learn.

Claude Gateway


Features

  • 🧠 Skill self-improvement — agents learn reusable skills from their own work: after a substantive turn a background reviewer creates or updates a skill, hot-reloaded for the next turn. Provenance-guarded (never overwrites human-written skills), capped per day, and audited to SKILLS_LEARNED.md. See `gateway.skillLearning`
  • 📚 Knowledge base (two-lane memory) — per-agent SQLite/FTS5 searchable archive exposed through memory_search / memory_get MCP tools, so agents recall notes that don't fit the always-injected core; chunks carry fail-closed provenance and the index is refreshed off the gateway event loop. See `gateway.knowledge`
  • 🌙 Nightly dreaming — background consolidation of long-term memory: a print-only reviewer proposes ops that a safe applier writes to MEMORY.md / USER.md (backup, bounded-loss, net-negative when over budget). Deterministic compaction, budget-scaled pruning, and staleness GC keep memory near budget without forgetting — archived entries stay searchable. See `gateway.dreaming`
  • 🤖 Multi-agent — run multiple bots from a single gateway, each with isolated sessions
  • 🔌 Multi-channel MCP — modular tool system per channel (Telegram, Discord, LINE, Slack, Cron, Skills, extensible to more)
  • 🧩 Agent skills — extensible skill system via SKILL.md files; agents can create, delete, and install skills from URLs at runtime with hot-reload
  • 🎭 Agent identity — define personality, tone, and rules via workspace markdown files
  • 📡 Live status messages — real-time status updates showing tool usage, thinking, and pro