dsifry

Metarelay — AI skill for Claude Code

AI community

Event-driven orchestration for Claude Code.

How to install Metarelay

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

What Metarelay does

Event-driven orchestration for Claude Code. GitHub webhooks → Supabase → local daemon → AI agents.

Alternatives in AI

  • Guaardvark — The self-hosted AI studio: local video, image, music, voice, LoRA training, coding swarms, RAG and screen agen 211 ★
  • Devchain — Run a team of AI coding agents 97 ★
  • Echook — 🔊 echook — AI-operated audio notifications for Claude Code, Cursor IDE & Codex CLI — 26 hooks, voice + chime 85 ★

README

Metarelay

[GitHub](https://github.com/dsifry/metarelay) | [Documentation](https://dsifry.github.io/metarelay/) | [License](LICENSE)

**Event-driven orchestration for Claude Code.** Metarelay replaces GitHub API polling with a lightweight webhook relay — GitHub pushes events to Supabase, and your local daemon dispatches AI agents in response.

CI fails? An agent investigates and pushes a fix. PR review posted? An agent addresses the feedback. No polling, no manual intervention.

How It Works

GitHub webhooks ──→ Supabase Edge Function ──→ PostgreSQL
                                                   │
                                          Realtime WebSocket
                                                   │
                                            Local daemon
                                                   │
                              ┌─────────────────────┼──────────────────────┐
                              ▼                                            ▼
                     ~/.metarelay/events.jsonl                    One-shot handlers
                              │                                   (claude -p, curl,
                        tail -f (push)                             any command)
                              │
                    Persistent subagent
                    wakes up and acts

Metarelay supports two dispatch models:

  • File-based (recommended): The daemon appends events to .metarelay/events.jsonl in each repo's local checkout. A persistent subagent runs tail -f on the file — zero polling, zero latency, zero process spawns. When an event lands, the agent wakes up, acts, and goes back to waiting.
  • Subprocess: The daemon runs a shell command per event (e.g., claude -p '...'). Simple for one-shot handlers like Slack notifications or custom scripts.

**On startup**, the daemon catches up on any events it missed (cursor-based pagination). Then it subscribes to live events via WebSocket. Events are