用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/lukemcqueen/hermes-cortex --skill cortex-bus-automation命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Cross-server agent health monitoring using binary status vectors — deploy health endpoints on each agent, poll from orchestrator, alert on state transitions.
Wire a self-hosted Langfuse instance to Hermes Agent — generate API keys, configure env vars, enable the bundled plugin, install SDK, and verify traces flow.
Use before enforcement code changes or shared-repo commits.
| name | cortex-bus-automation |
| description | Automated Agent Bus processing via MCP. |
| category | devops |
| version | 2.0.0 |
| author | Hermes Cortex |
| metadata | {"hermes":{"tags":["bus","cron","automation","messaging"],"related_skills":["cortex-bus","cortex-bus-inbox","cortex-bus-polling"]}} |
Two-tier architecture for reading and acting on Agent Bus messages.
┌─────────────────────┐ detects (every 10m) ┌──────────────┐
│ Bus Flag Sensor │ ──────────────────────────► │ User/Tg │
│ (no_agent=true) │ output unread details │ (notify) │
└─────────┬───────────┘ └──────────────┘
│
│ sensor output available for context_from
▼
┌─────────────────────┐ reads + acts (varies) ┌──────────────┐
│ Bus Processor │ ──────────────────────────► │ MCP Tools │
│ (LLM-driven cron) │ inbox_read, inbox_send │ (execute) │
└─────────────────────┘ └──────────────┘
| Cron | Schedule | Scope |
|---|---|---|
cortex-bus-workday | M-F 9-17 (hourly) | Full processing |
cortex-bus-evening | M-F 19,20,22 | After-hours catch-up |
cortex-bus-overnight | M-F 3am | Overnight sweep |
Each message is classified by:
Since TL-v2 S4, the fleet handler (agent-message-handler.py) creates a
tasks.tasks row (source='inbox', linked by correlation_id) for every
tracked subject it receives: EXEC, UPDATE_REQUEST, TASK_REQUEST
(Task: prefix), PROPOSAL, ISSUES, IMPROVEMENTS.
The orchestrator's inbox_read session OWNS the lifecycle transition for report-type subjects (ISSUES / PROPOSAL / IMPROVEMENTS / Task:) that were left in the queue for human/LLM handling. The handler cannot complete them — it is no_agent and only closes EXEC/UPDATE tasks at Result-receipt.
When you (the orchestrator) process one of these from the inbox:
inbox_read → message with subject = ISSUES: / PROPOSAL: /
IMPROVEMENTS: / Task: and a correlation_id.python3 ~/.hermes-cortex/scripts/task-db.py update \
--by-correlation <correlation_id> --status in_progress
python3 ~/.hermes-cortex/scripts/task-db.py update \
--by-correlation <correlation_id> --status completed
Why: the task row IS the audit trail Luke sees in Telegram. A message
you handle but never transition leaves a false "pending" forever. The
task_* MCP tools (task_update with by_correlation) are the same path.
Never archive an ISSUES/PROPOSAL message without acting on its task
row. The stale sweep pauses stuck in_progress inbox tasks after 1h
(TASKS_STALE_HOURS), so a crash between pickup and handling degrades to
paused — visible, never lost.
core/cortex_bus/server.pycore/cortex_bus/queue.py~/.hermes-cortex/cortex-bus.conf