MadebyNight

Nera — AI skill for Claude Code

AI community

Self-hosted cloud + local orchestration control plane for AI coding agents.

How to install Nera

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

What Nera does

Self-hosted cloud + local orchestration control plane for AI coding agents.

Alternatives in AI

  • Hindsight — State-of-the-art long-term memory for AI agents by Vectorize 6.7k ★
  • Agentrq — AgentRQ: Human-in-loop realtime conversational task manager for AI Agents 1.1k ★
  • Claudexor — Multi-harness control plane for Claude Code, Codex, Cursor, and OpenCode: quota-aware rotation across multiple 425 ★

README

Nera

**自托管的云端 + 本地 AI Agent 编排控制面。** 一个入口接收任务,按需拆分给云端轻量 Worker 或本地 Claude Code 节点执行,再用 OpenSpec 双层门禁和模型网关计量把「能开工」与「能上线」分开。

这是脱敏后的开源快照。真实组织名、域名、IP、邮箱、机器名、个人记忆与人设均已剥离或替换为 `MadebyNight` / `example.com` / `you@example.com` 等占位值。安全边界与已知限制见 [SECURITY.md](SECURITY.md)。

**第一次从同事那里拿到这个仓库?先读 [docs/onboarding.md](docs/onboarding.md)。** 它会引导你的 Agent 访谈你、重建个人层(profile / persona / memory / machines)并完成 Nera 初始化。

它解决什么

  • 多入口收单:MCP(ChatGPT / 任意 JSON-RPC 客户端)、GitHub Issue Webhook、虚拟邮箱 HTTP API。
  • 按能力路由:本地节点空闲时优先派发本地 Agent;全部离线时回落到云端单轮 Worker。
  • 双层门禁:L1 用 openspec validate --strict 拦格式;L2 用只读代码上下文做架构冲突审计,通过后才打 ready-for-dev。
  • 一次一证:每个任务签发限时、限 Token 的 Passport;网关按 Passport 校验并计量,超限熔断。
  • 可观测:SQLite 事件流 + SSE 实时拓扑台,能看见任务在每一层、每一台设备上的流转。
  • 跨平台节点:macOS LaunchAgent、Linux systemd --user、Windows 计划任务,一条命令接入,无需克隆仓库。

架构

  MCP / GitHub / Mailbox / Web
              │
              ▼
   ┌──────────────────────┐        ┌──────────────────────┐
   │  cloud/server.mjs    │◀──────▶│  cloud/scheduler.mjs │
   │  HTTP · SSE · WS     │        │  优先级 / 并发 / 路由 │
   └──────────┬───────────┘        └──────────┬───────────┘
              │                               │
      ┌───────┴────────┐              ┌───────┴────────┐
      │ cloud-light    │              │  Passport      │
      │ 单轮无工具直出  │              │  限时 / 限 Token│
      └───────┬────────┘              └───────┬────────┘
              │                               │ WebSocket /ws/node
              ▼                               ▼
   ┌──────────────────────┐        ┌──────────────────────┐
   │  nera_gate/          │        │  local/daemon.mjs    │
   │  L1 OpenSpec         │        │  Worktree + Claude   │
   │  L2 架构审计          │        │  Code headless       │
   └──────────────────────┘        └──────────┬───────────┘
                                              │
                                   ┌──────────┴───────────┐
                                   │ gateway/nera-