mcpField
S
system-overview

system-overview

github.com/parcadeiAgent 工作流3.9k473 次安装39 周前更新
代码仓库

关于 system-overview

system-overview 是介绍 Continuous Claude 工作方式的技能,涵盖其钩子、记忆和协调设置,适用于询问系统机制或记忆内容的用户。

主要功能

  1. 01说明记忆层
  2. 02介绍会话结束时自动提取学习内容
  3. 03列出钩子、规则和技能的位置
  4. 04记录设置与回忆脚本
  5. 05说明配置用环境变量

适用场景

  1. 01介绍 Continuous Claude 的设置
  2. 02回答有关记忆内容的问题
  3. 03查找钩子和规则实现
  4. 04查看数据库及可选服务配置

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/parcadei/continuous-claude-v3 --skill system-overview

安装后在 Claude Code 中输入/system-overview确认已加载。

详细介绍

系统概览

向用户介绍 Continuous Claude 的工作方式——这套包含钩子、记忆和协作机制的约定式配置。

适用场景

  • 用户询问“这是怎么运作的?”
  • 用户询问“你能记住什么?”
  • 用户询问“这套配置有什么不同?”
  • 用户运行 /system_overview

响应

CONTINUOUS CLAUDE SYSTEM OVERVIEW
=================================

MEMORY LAYER (PostgreSQL + pgvector)
------------------------------------
- 78,000+ temporal facts from past sessions
- Learnings extracted automatically at session end
- Semantic search with embeddings

RECALL: uv run python opc/scripts/recall_temporal_facts.py --query "your topic"

HOOKS (9 event types registered)
--------------------------------
SessionStart    → Load continuity ledger, rebuild symbol index
UserPromptSubmit → Skill activation check, context injection
PreToolUse      → Smart search routing (Grep → TLDR for code)
PostToolUse     → File claims, compiler feedback
PreCompact      → Save state before context compaction
Stop            → Extract learnings, create handoffs
SubagentStart   → Register spawned agents
SubagentStop    → Coordination, handoff creation
SessionEnd      → Cleanup

CONTINUITY SYSTEM
-----------------
Ledger:   thoughts/ledgers/CONTINUITY_CLAUDE-{session}.md
Handoffs: thoughts/shared/handoffs/{session}/*.yaml

Commands:
  /resume_handoff <path>  - Continue from handoff
  /create_handoff         - Create snapshot for transfer

TLDR CODE INTELLIGENCE
----------------------
5-layer analysis: AST → Call Graph → CFG → DFG → PDG
95% token savings vs reading raw files
Auto-intercepts Grep for .py/.ts/.go/.rs files

Pre-built index: /tmp/claude-symbol-index/symbols.json

SETUP
-----
Run: uv run python opc/scripts/setup/wizard.py

Options:
  [1] SQLite only (simple, offline)
  [2] PostgreSQL + pgvector (semantic search)

关键文件

组件位置
钩子注册.claude/settings.json
钩子实现.claude/hooks/src/*.ts
规则(自动注入).claude/rules/*.md
技能.claude/skills/*/SKILL.md
设置向导opc/scripts/setup/wizard.py
回忆脚本opc/scripts/recall_temporal_facts.py
存储学习内容opc/scripts/core/store_learning.py
符号索引构建器opc/scripts/build_symbol_index.py

环境变量

变量用途
CONTINUOUS_CLAUDE_DB_URLPostgreSQL 连接
VOYAGE_API_KEY嵌入(可选)
BRAINTRUST_API_KEY跟踪(可选)
CLAUDE_PROJECT_DIR由 Claude Code 自动设置

评论

支持 Markdown