360 Secure SkillHub
360 安全技能中心

skill-kannaka-constellation

该 Skill 通过 Kannaka CLI 汇总记忆、意识、集群、电台、观测站与预测市场的状态,支持查看 NATS 连接与代理数量、加入或同步集群、实时监听事件,并提供故障排查与跨服务问题诊断指引。

分类:自动化
nickflach
nickflach
热度 29.02
最近更新 2026-07-27 12:35:48

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add nickflach/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