humanerd-drew/opencode-drewgent/brain-dashboard-system

Claude Code and agent skill by humanerd-drew/opencode-drewgent

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install humanerd-drew/opencode-drewgent/brain-dashboard-system

SKILL.md

The same SKILL.md was published earlier as humanerd-drew/opencode-drewgent/brain-dashboard-system.

space: outcome type: document

Brain Dashboard System

{{AGENT_NAME}}의 NeuronFS Brain 상태를 실시간으로 모니터링하는 통합 시스템.

아키텍처

┌─────────────────────────────────────────────────────┐
│ {{AGENT_NAME}} Brain │
│ │
│ ┌─────────────┐ ┌──────────────────────────────┐ │
│ │ Brain Rules │ │ Scripts (~/.{{AGENT_NAME_LOWER}}/scripts) │ │
│ │ .neuron │──│ brain_nodes.py (ASCII 뇌) │ │
│ │ files │ │ brain_html_dashboard.py (WEB) │ │
│ └─────────────┘ │ brain_rule_monitor.py │ │
│ │ session_end_hook.py │ │
│ └──────────────────────────────┘ │
│ │ │
│ ┌────────────────────┼────────────┐ │
│ ▼ ▼ ▼ │
│ ┌────────────┐ ┌──────────────┐ ┌───────────┐ │
│ │ Cron 6h │ │ Cron 5min │ │ Discord │ │
│ │ Growth Rep │ │ Session End │ │ Alert │ │
│ └────────────┘ └──────────────┘ └───────────┘ │
└─────────────────────────────────────────────────────┘

핵심 스크립트

1. brain_nodes.py (ASCII 뇌 시각화)
bash
python3 ~/.{{AGENT_NAME_LOWER}}/scripts/brain_nodes.py

실제 뇌 해부학 구조를 반영한 ASCII 아트:

  • P6 Prefrontal (맨 위/앞) → P0 Brainstem (맨 아래)
  • Synapse Signal Flow: P0→P1→P2→P3→P4→P5→P6
  • Spinal Cord 포함
  • Stats + Growth delta 표시
2. brain_html_dashboard.py (웹 대시보드)
bash
python3 ~/.{{AGENT_NAME_LOWER}}/scripts/brain_html_dashboard.py

출력: ~/.{{AGENT_NAME_LOWER}}/brain_dashboard.html

  • SVG 뇌 시각화 (애니메이션 시냅스 신호)
  • Stats 카드 4개 (Brain Rules, Skills, Knowledge, Sessions)
  • Layer Detail 테이블
  • Skills 라이브러리
  • 5분 자동 리프레시
3. brain_rule_monitor.py (성장 모니터)
bash
python3 ~/.{{AGENT_NAME_LOWER}}/scripts/brain_rule_monitor.py # 실행
python3 ~/.{{AGENT_NAME_LOWER}}/scripts/brain_rule_monitor.py --check # 상태 확인
  • brain_rule_state.json 와 비교하여 신규 규칙 탐지
  • 새 규칙 발견 시 Discord 알림 (webhook)
  • Discord 설정: ~/.{{AGENT_NAME_LOWER}}/config/discord.json (webhook_url 필요)
4. session_end_hook.py (세션 종료 감시)
bash
python3 ~/.{{AGENT_NAME_LOWER}}/scripts/session_end_hook.py # 실행
python3 ~/.{{AGENT_NAME_LOWER}}/scripts/session_end_hook.py --check # 상태 확인
  • session_checkpoint.json 수정시간 감시
  • 세션 종료 (5분 이상 비활성 후 재접속) 감지
  • Dashboard 자동 실행 → ~/.{{AGENT_NAME_LOWER}}/logs/ 저장

Cron Jobs

JobScheduleScriptDeliver
Brain Growth Monitor6h 마다brain_rule_monitor.py + brain_html_dashboard.pyDiscord #n8n-cotroltower
Session End Hook5min 마다session_end_hook.pyorigin (Discord thread)

상태 파일

File용도
~/.{{AGENT_NAME_LOWER}}/brain_snapshot.jsonbrain_nodes.py 성장 delta 저장
~/.{{AGENT_NAME_LOWER}}/brain_rule_state.jsonbrain_rule_monitor.py 신규 규칙 탐지용
~/.{{AGENT_NAME_LOWER}}/.last_hook_runsession_end_hook.py 마지막 실행 시간
~/.{{AGENT_NAME_LOWER}}/brain_dashboard.html웹 대시보드 출력

Discord Notification 설정

Discord webhook URL을 ~/.{{AGENT_NAME_LOWER}}/config/discord.json에 저장:

json
{
"webhook_url": "https://discord.com/api/webhooks/..."
}

실행 예시

bash
# 전체 대시보드 실행 (콘솔)
python3 ~/.{{AGENT_NAME_LOWER}}/scripts/brain_nodes.py
# 웹 대시보드 생성
python3 ~/.{{AGENT_NAME_LOWER}}/scripts/brain_html_dashboard.py
# 성장 모니터 수동 실행
python3 ~/.{{AGENT_NAME_LOWER}}/scripts/brain_rule_monitor.py
# 세션 종료 감지 확인
python3 ~/.{{AGENT_NAME_LOWER}}/scripts/session_end_hook.py --check

성장 알림 동작

  1. brain_rule_monitor.py가 6시간마다 실행
  2. brain_rule_state.json의 layers vs 현재 .neuron 파일 비교
  3. 신규 규칙 발견 → Discord Embed 알림:
  • Layer별 신규 규칙 목록
  • 총 규칙 수
  • Dashboard 시놉시스

확장

  • P0 Brainstem 규칙 (禁*): 안전 관련 규칙으로 다른 레이어보다 우선
  • 새 규칙 추가 시: 새 .neuron 파일을 ~/.{{AGENT_NAME_LOWER}}/brain/{{AGENT_NAME}}-brain/<layer>/에 추가하면 자동 탐지
  • Layer 추가 시: LAYER_ORDER 배열에 새 layer ID 추가하면 자동 반영

Related

  • [[@action/skills/SKILL-INDEX]]

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/humanerd-drew/opencode-drewgent/brain-dashboard-system/badge)](https://verified-skill.com/skills/humanerd-drew/opencode-drewgent/brain-dashboard-system)

Something wrong with this skill or its page? Tell us.