From cc-llm-wiki
vault/02_wiki/topics/ 의 reviewed/published 페이지 1건 또는 .claude/queue/graph.txt 의 누적 변경분을 Neo4j 그래프에 upsert 한다. services/graph/ingest_graph.py 를 호출하며 dry-run 옵션 지원. PostToolUse hook 이 큐를 채우고 sleep-maintenance routine 또는 사용자가 명시적으로 호출했을 때 발동한다. graph_synced_at frontmatter 를 갱신한다.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cc-llm-wiki:graph-syncThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
`vault/02_wiki/topics/` 의 wiki 페이지를 Neo4j 그래프에 동기한다. 두 가지 호출 경로:
vault/02_wiki/topics/ 의 wiki 페이지를 Neo4j 그래프에 동기한다. 두 가지 호출 경로:
/graph-sync <topic_path>): 사용자가 특정 토픽을 즉시 동기/graph-sync --queue 또는 sleep-maintenance routine): PostToolUse hook 이 .claude/queue/graph.txt 에 누적한 변경 path 들을 한 번에 처리topic_path (선택): 단일 파일 절대경로 또는 vault 상대경로--queue (선택): 큐 모드 (.claude/queue/graph.txt 일괄 처리).claude/queue/graph.txt 자동 비우기 전 upsert 성공 검증 필수. 실패 시 큐 그대로 유지.status 가 draft 인 페이지는 동기 거부 (reviewed 이상만 그래프 진입)vault/02_wiki/self/ 페이지는 동기 거부 (외부 노출 금지 폴더, CLAUDE.md §3-⑤)vault/02_wiki/_drafts/·_lint/ 는 동기 대상 아님ingest_graph.py 만 통과topic_path 인자가 있으면 그 1건--queue 모드면 cat .claude/queue/graph.txt 로 path 목록 수집 (중복 제거)status 확인 → draft 또는 self 폴더는 목록에서 제거python3 services/graph/ingest_graph.py <path> --dry-run 실행.env 의 NEO4J_URI, NEO4J_PASSWORD 존재 확인python3 services/graph/ingest_graph.py <path> (dry-run 없이)graph_synced_at 을 현재 ISO8601 으로 갱신Edit 도구로 1줄 변경updated_at 은 건드리지 않음 (그래프 동기는 wiki 본문 변경 아님)--queue 모드 성공 시: 처리된 path 만 큐에서 제거 (실패분은 유지)vault/log.md 1줄 append:
- <ISO8601> | [graph-sync] | (cc-session|routine:sleep-maintenance) | sources=<n> nodes=<n> rels=<n> | <path 또는 queue>
upsert 후 query_graph.py orphan_audit 자동 실행 → 신규 orphan 노드가 발견되면:
사용자: /graph-sync vault/02_wiki/topics/2026-05-17-graphrag-poc-with-neo4j.md
Claude: [Step 1~6] upsert 18 statements, orphan 0, log 갱신 → ✓
ingest_graph.py 가 외부 vault path 도 자동 허용 (REPO_ROOT 밖 OK).
환경변수 override 로 인증·DRY_RUN 조정:
# 사용자 cwd 가 ~/my-knowledge-base 일 때
DRY_RUN=0 python3 ~/Workspace2/cc-llm-wiki/services/graph/ingest_graph.py \
02_wiki/topics/<slug>.md \
--env .env
# .env 의 NEO4J_PASSWORD 가 컨테이너 비번과 불일치면 override
NEO4J_PASSWORD='<container-pw>' DRY_RUN=0 python3 ... 02_wiki/topics/<slug>.md --env .env
env 우선순위 (v0.3.8+): 환경변수 > .env. 옛 .env 만 쓰던 동작과 호환.
사용자: /graph-sync --queue
Claude: [Step 1] 큐에 3건. status 검증 후 3건 모두 통과.
... (Step 2-6 반복)
✓ 3 path 동기. 큐 비움.
매일 03:00 KST 의 sleep-maintenance routine 이 /graph-sync --queue 자동 호출 + orphan_audit + aliases-candidates 발견.
자세한 routine 명세: .claude/routines/sleep-maintenance.md
pip install neo4j 안내.claude/settings.json 의 PostToolUse hook (P5 후속 작업)/graph-sync --queue 호출query Skill (P3~P5) 이 의도 분류 후 query_graph.py 에 위임npx claudepluginhub gaebalai/cc-llm-wiki --plugin cc-llm-wikiFetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Applies a firm's KYC/AML rules grid to parsed onboarding records: assigns risk rating, checks required documents, outputs rule outcomes with citations, and routes for escalation.
Generates daily or weekly digests of activity from connected sources (chat, email, docs, tasks, CRM), highlighting action items, decisions, mentions, and project updates.