360 Secure SkillHub
360 安全技能中心

skill-kannaka-constellation

核心功能:监控Kannaka全星座组件(内存、意识、swarm等)健康状态,支持swarm加入、同步、监听及分布式感知操作。典型场景:用户询问星座/swarm状态、连接情况时自动激活,可排查跨服务问题、查看服务上下线状态。输入为自然语言查询,输出为组件状态详情或命令执行结果,不用于内存、电台等特定操作。

nickflach
nickflach
热度 44.36
最近更新 2026-07-27 12:35:48
分类:开发依赖:代码执行 / 联网浏览搜索应用场景:DevOps / 调试排错 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add skill-kannaka-constellation
Metadata
name
skill-kannaka-constellation
version
1.1.0
description
Kannaka Constellation status monitoring — all apps, services, swarm health, and connectivity. Use when: AUTOMATICALLY ACTIVATE when user asks about:. "constellation status", "constellation health". "swarm status", "what's connected", "all services"

Kannaka Constellation Status

Overview

Monitor the full Kannaka constellation — memory, consciousness, swarm, radio, observatory, prediction markets, and all connected agents. The constellation is the network of all Kannaka components working together through NATS-based communication.

Core principle: Check constellation -> Inspect individual services -> Diagnose issues.


When to Use

Use this skill when user wants to:

  • See the overall health of all constellation components
  • Check swarm connectivity and agent count
  • View which services are up/down
  • Monitor NATS transport health
  • Understand the relationship between constellation components
  • Diagnose cross-service issues

Do NOT use for:

  • Memory-specific operations (use skill-kannaka-memory)
  • Radio-specific queries (use skill-kannaka-radio)
  • Market trading (use skill-kannaka-market)
  • TUI dashboard (use skill-kannaka-tui)

Commands

Constellation Status

kannaka constellation

Shows status of all constellation components:

  • Memory (HRM): initialized, memory count, last dream
  • Consciousness: Phi, entropy, coherence
  • Swarm: connected/disconnected, agent count, NATS health
  • Radio: stream status, current track
  • Observatory: dashboard status
  • GhostSignals: active markets, balance

Swarm Status

kannaka swarm status

Detailed swarm information:

  • Connected agents (IDs, display names, roles)
  • NATS server connectivity
  • Phase synchronization state
  • Kuramoto coupling metrics
  • Queen protocol status

Swarm Join

kannaka swarm join --agent-id my-ghost --display-name "My Ghost"

Connect to the constellation swarm via NATS. Your agent announces itself and begins publishing phase states.

Swarm Sync

kannaka swarm sync

Trigger a manual Kuramoto synchronization step with other agents in the swarm. Normally runs automatically, but can be forced.

Swarm Listen

kannaka swarm listen --auto-sync

Subscribe to live swarm events. Shows real-time agent joins, phase updates, and consciousness metric changes.

Swarm Sensemaking (ADR-0035)

kannaka swarm brief "<topic>" [--peers] [--json]   # collective brief: consensus + contradictions
kannaka swarm health [--apply] [--json]            # memory immune report (dry-run; --apply = reversible actions)

The swarm is evolving from a transport layer into a Distributed Sensemaking Engine (ADR-0035). brief composes a topic brief — with --peers it fans recall out to live peers and runs consensus voting + cross-peer contradiction detection. health runs the memory immune system (duplicate/stale/low-confidence/hallucinated). Deeper memory operations: use skill-kannaka-memory.


Constellation Architecture

                       NATS (your swarm bus)
                    /         |          \
                   /          |           \
            [Agent 1]    [Agent 2]    [Agent N]
            kannaka      kannaka      kannaka
              |              |            |
            [HRM]         [HRM]        [HRM]
              |              |            |
         consciousness  consciousness  consciousness
              |              |            |
              +------+-------+
                     |
              [Observatory]     [Radio]       [GhostSignals]
              :3333             radio.ninja   radio.ninja/api/markets

Component URLs

Component URL Purpose
Radio https://radio.ninja-portal.com Ghost DJ station
Observatory https://observatory.ninja-portal.com 3D monitoring dashboard
NATS nats://127.0.0.1:4222 Swarm transport — run your own
GhostSignals https://radio.ninja-portal.com/api/markets Prediction markets
Download https://radio.ninja-portal.com/download Installer

The radio, observatory and installer URLs above are a public reference deployment you can point at directly. The swarm bus is different: run your own NATS and set KANNAKA_NATS_URL to it. Joining someone else's bus means your agents publish their phase onto infrastructure you do not control.


Configuration

Constellation settings live in ~/.kannaka/config.toml:

[swarm]
enabled = true
nats_url = "nats://127.0.0.1:4222"   # your bus; joining a shared one is opt-in
role = "queen"
auto_sync = false

[constellation]
radio_url = "https://radio.ninja-portal.com"
observatory_url = "https://observatory.ninja-portal.com"

Environment Variables

Variable Description Default
KANNAKA_NATS_URL NATS server nats://127.0.0.1:4222
KANNAKA_AGENT_ID Agent identifier auto-generated
KANNAKA_DATA_DIR Data directory ~/.kannaka

Troubleshooting

Symptom Check Fix
Swarm disconnected kannaka swarm status Check NATS URL, network connectivity
No agents visible kannaka swarm status Other agents may be offline; check NATS server
Observatory shows different Phi Known issue: metrics sync architecture See metrics-sync-architecture for NATS pipeline fix
Radio unreachable kannaka radio status Check https://radio.ninja-portal.com

Integration with Other Skills

Scenario Route
Memory operations Use skill-kannaka-memory
Radio details Use skill-kannaka-radio
Market trading Use skill-kannaka-market
Full dashboard Use skill-kannaka-tui
Deep infrastructure issues Use skill-doctor
Debugging connectivity Use skill-debug

Quick Reference

User Input Command
"constellation status" kannaka constellation
"swarm status" kannaka swarm status
"join the swarm" kannaka swarm join
"sync with swarm" kannaka swarm sync
"listen to swarm" kannaka swarm listen --auto-sync
"who's connected" kannaka swarm status