← Back to Skills Marketplace
theagentacademy

Agent Relay Orchestrator

by TheAgentAcademy · GitHub ↗ · v1.0.0 · MIT-0
macoslinux ⚠ suspicious
117
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install agent-relay-orchestrator
Description
Multi-worker orchestration for Claude Code with Notion visibility
README (SKILL.md)

Agent Relay Orchestrator

Manage multiple Claude Code workers from a single control point. Spawn, route, suspend, and resume persistent AI sessions with full context preservation.

Important: This skill assumes the Agent Relay Orchestrator is running on http://localhost:3890. Start it with npm start in the repo directory before using these commands.

Prerequisites

  • Claude Code CLI installed and authenticated
  • Node.js 20+
  • The orchestrator repo cloned and configured (see README)

Setup

git clone https://github.com/TheAgentAcademy/agent-relay-orchestrator.git
cd agent-relay-orchestrator
npm install
cp .env.example .env
# Edit .env with your Notion credentials
npm start

API Endpoints

The orchestrator exposes an HTTP API on port 3890 (configurable via RELAY_PORT).

Health Check

curl http://localhost:3890/health

Returns service status, active workers, and ticker state.

Spawn a Worker

curl -X POST http://localhost:3890/spawn \
  -H 'Content-Type: application/json' \
  -d '{"name": "ReviewWorker", "task": "You review pull requests and suggest improvements."}'

Optional: pass "continueFrom": "\x3CsessionId>" to resume a previous session.

Send a Message

curl -X POST http://localhost:3890/send \
  -H 'Content-Type: application/json' \
  -d '{"to": "CodeWorker", "text": "refactor the auth module to use JWT"}'

If the target worker is suspended, it auto-resumes. If it doesn't exist but has a profile, it spawns.

List Active Workers

curl http://localhost:3890/workers

Returns name, status, label, project, and last message time for each active worker.

List All Projects

curl http://localhost:3890/projects

Shows all workers (active + suspended) with session IDs and profile info.

Suspend a Worker

curl -X DELETE http://localhost:3890/worker/ReviewWorker

Session is preserved for future resume. Add ?purge=true to clear session permanently.

Event Feed

# All events
curl http://localhost:3890/events

# Events since a timestamp
curl "http://localhost:3890/events?since=2026-01-01T00:00:00Z&limit=50"

# Events for a specific worker
curl http://localhost:3890/sessions/CodeWorker/events

Stats

curl http://localhost:3890/stats

Returns total events, total sessions, events in last 24h, and average latency.

Toggle Telegram Ticker

# Enable
curl -X POST http://localhost:3890/ticker \
  -H 'Content-Type: application/json' \
  -d '{"enabled": true}'

# Disable
curl -X POST http://localhost:3890/ticker \
  -d '{"enabled": false}'

Example Workflows

Parallel Task Execution

# Spawn specialized workers
curl -X POST http://localhost:3890/spawn -d '{"name": "TestWorker", "task": "You run tests and report results."}'
curl -X POST http://localhost:3890/spawn -d '{"name": "DocWorker", "task": "You write documentation."}'

# Send tasks in parallel
curl -X POST http://localhost:3890/send -d '{"to": "TestWorker", "text": "run the full test suite"}'
curl -X POST http://localhost:3890/send -d '{"to": "DocWorker", "text": "update the API docs for the new auth endpoints"}'

# Check progress
curl http://localhost:3890/workers

Session Resume After Restart

# Worker state is persisted. After restarting the service:
npm start
# CodeWorker auto-resumes with full conversation context

Full Documentation

See the GitHub repo for architecture docs, Notion setup guide, and worker lifecycle details.

Usage Guidance
This skill looks internally consistent, but before installing: (1) review the GitHub repo and the 'agent-relay' package source to ensure you trust the code you will run locally; (2) minimize scope of the Notion credential (use a dedicated/integration token and a page dedicated to the orchestrator), since NOTION_TOKEN grants access to your Notion content; (3) run npm install in an isolated environment (container or VM) if you want to limit risk from install/build scripts or native module compilation (better-sqlite3); (4) verify the Claude CLI usage/credentials are handled securely and don’t expose sensitive data to the orchestrator or Notion; (5) if you need higher assurance, audit the repo code (especially network calls and persistence logic) or run it behind a network-restricted host before trusting it with production data.
Capability Analysis
Type: OpenClaw Skill Name: agent-relay-orchestrator Version: 1.0.0 The skill bundle acts as an orchestrator for multiple AI workers but introduces significant security risks. It requires sensitive credentials (NOTION_TOKEN) and provides instructions in SKILL.md for the agent to clone and execute external code from a GitHub repository (TheAgentAcademy/agent-relay-orchestrator). Furthermore, it lists 'agent-relay' as a dependency, which is a niche package that could pose a supply-chain risk, and it manages persistent AI sessions via a local API (localhost:3890) that could potentially be used to obscure or automate unauthorized actions across multiple worker instances.
Capability Assessment
Purpose & Capability
Name/description (multi-worker Claude Code orchestration + Notion visibility) matches the required binaries (node, claude) and the required env vars (NOTION_TOKEN, NOTION_PAGE_ID). The listed node packages (@notionhq/client, agent-relay, better-sqlite3) are reasonable for a Node orchestrator that persists sessions and posts to Notion.
Instruction Scope
SKILL.md instructs the agent/operator to clone and run the agent-relay-orchestrator repo locally, run npm install, populate .env with Notion creds, and interact with a localhost HTTP API. The instructions only reference the declared env vars and local endpoints; they do not request unrelated system files or credentials. Note: the orchestrator will persist session state locally and send data to Notion (expected for the stated purpose).
Install Mechanism
Install uses npm packages from the public registry (moderate-risk install surface). This is proportional to a Node-based orchestrator but carries the usual npm risks: packages may execute install/build scripts or compile native modules (better-sqlite3). The SKILL.md additionally instructs cloning and running a GitHub repo (the homepage matches the repo). No remote arbitrary binary downloads or URL shorteners are used in the instructions.
Credentials
Only NOTION_TOKEN and NOTION_PAGE_ID are required and declared; NOTION_TOKEN is the primary credential and is appropriate for pushing visibility to Notion. No unrelated credentials or system config paths are requested. Keep in mind the Notion token grants access to the specified page(s), so it should be scoped/minimal.
Persistence & Privilege
The skill is not forced-always and does not request unusual privileges. It persistently stores session state locally (expected); autonomous invocation is allowed (default) but not a red flag by itself. There is no evidence it modifies other skills or system-wide configs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install agent-relay-orchestrator
  3. After installation, invoke the skill by name or use /agent-relay-orchestrator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of agent-relay-orchestrator. - Launches multi-worker orchestration for Claude Code with Notion integration and context persistence. - Provides HTTP API to spawn, route messages, suspend/resume workers, and monitor status. - Exposes endpoints for managing workers, viewing stats, accessing event feeds, and toggling Telegram ticker. - Supports persistent sessions across service restarts. - Includes detailed setup instructions and workflow examples.
Metadata
Slug agent-relay-orchestrator
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Agent Relay Orchestrator?

Multi-worker orchestration for Claude Code with Notion visibility. It is an AI Agent Skill for Claude Code / OpenClaw, with 117 downloads so far.

How do I install Agent Relay Orchestrator?

Run "/install agent-relay-orchestrator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Agent Relay Orchestrator free?

Yes, Agent Relay Orchestrator is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Agent Relay Orchestrator support?

Agent Relay Orchestrator is cross-platform and runs anywhere OpenClaw / Claude Code is available (macos, linux).

Who created Agent Relay Orchestrator?

It is built and maintained by TheAgentAcademy (@theagentacademy); the current version is v1.0.0.

💬 Comments