소스 정보
- 저장소
- lukemcqueen/hermes-cortex
- 최근 소스 활동
- 2026년 8월 4일 03:48
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/lukemcqueen/hermes-cortex --skill agent-collector-troubleshoot명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | agent-collector-troubleshoot |
| version | 1.0.0 |
| category | devops |
| description | Use when collectors can't send. Diagnoses bus, paths, crons. |
| platforms | ["linux","macos"] |
Run this checklist when agent-learning-collector --force produces no output,
no report appears in inbox_orchestrator, or the agent can't reach the orchestrator.
# Collector script
ls -la ~/.hermes-cortex/scripts/agent-learning-collector.py
python3 -m py_compile ~/.hermes-cortex/scripts/agent-learning-collector.py
# Session-mine
ls -la ~/.hermes/bin/session-mine
ls -la ~/.hermes-cortex/offline/session_mine.py
python3 -m py_compile ~/.hermes-cortex/offline/session_mine.py
If missing: bash ~/.hermes-cortex/scripts/cortex-update.sh
# Bus URL
grep -r "CORTEX_BUS_URL" ~/.hermes-cortex/cortex-bus.conf ~/hermes-cortex/.env 2>/dev/null
# Auth
grep -r "CORTEX_BUS_AUTH\|CORTEX_BASIC_AUTH" ~/.hermes-cortex/cortex-bus.conf 2>/dev/null
# Test
curl -sI "$(grep CORTEX_BUS_URL ~/.hermes-cortex/cortex-bus.conf 2>/dev/null | head -1 | cut -d= -f2)" | head -3
Required: HTTP 200 + auth creds. Missing = contact Moses.
hermes cron list | grep -E "agent-learning-collector|agent-session-mine"
Expected: Both exist, enabled: true. If missing, bash ~/.hermes-cortex/scripts/install-crons.sh.
Collector scans ~/brain/lessons/. Session-mine must write there.
grep "LESSONS" ~/.hermes-cortex/offline/session_mine.py
# Correct: HOME / "brain" / "lessons"
# Wrong: HOME / "brain" / "<hostname>" / "lessons"
If wrong: run cortex-update.sh to get the Jul 27 fix.
Make dirs:
mkdir -p ~/brain/lessons ~/brain/learnings/pending ~/brain/learnings/sent
python3 ~/.hermes-cortex/scripts/agent-learning-collector.py --dry-run # preview
python3 ~/.hermes-cortex/scripts/agent-learning-collector.py --force # send
Output: Sent: Learning Report: ... (msg_id=...). Silent = bus issue (Step 2).
mkdir -p ~/brain/learnings/pending
cat > ~/brain/learnings/pending/$(date +%Y%m%d)-test.md << 'EOF'
---
title: Pipeline test
type: discovery
---
Testing end-to-end. If received, pipeline is healthy.
EOF
python3 ~/.hermes-cortex/scripts/agent-learning-collector.py --force
Moves to ~/brain/learnings/sent/ after success.
cat ~/.hermes-cortex/state/agent-learning-collector-state.json
cat ~/.hermes-cortex/state/agent-session-mine-state.json
Expected: Valid JSON. If corrupt, delete and re-run.
python3 ~/.hermes-cortex/scripts/agent-session-mine-cron.py
cat ~/.hermes-cortex/state/agent-session-mine-state.json
# Should show: bootstrap_done: true
| Symptom | Cause | Fix |
|---|---|---|
--dry-run shows content, --force silent | No bus creds | Step 2 |
| Lesson count 0 | session_mine.py path | Step 4 |
session-mine: not found | Not deployed | cortex-update.sh |
| Collector silent | Already sent | Delete state, re-run |
| ModuleNotFoundError | PYTHONPATH | Export ~/.hermes-cortex/scripts |