system-overview by parcadei/continuous-claude-v3
npx skills add https://github.com/parcadei/continuous-claude-v3 --skill system-overview向用户展示 Continuous Claude 的工作原理——包含钩子、记忆和协调的预设配置。
/system_overview 命令CONTINUOUS CLAUDE 系统概览
=================================
记忆层 (PostgreSQL + pgvector)
------------------------------------
- 来自过往会话的 78,000+ 条时序事实
- 会话结束时自动提取学习内容
- 基于嵌入向量的语义搜索
回忆:uv run python opc/scripts/recall_temporal_facts.py --query "你的主题"
钩子 (已注册 9 种事件类型)
--------------------------------
SessionStart → 加载连续性账本,重建符号索引
UserPromptSubmit → 技能激活检查,上下文注入
PreToolUse → 智能搜索路由 (Grep → TLDR 用于代码)
PostToolUse → 文件声明,编译器反馈
PreCompact → 上下文压缩前保存状态
Stop → 提取学习内容,创建交接记录
SubagentStart → 注册派生的智能体
SubagentStop → 协调,创建交接记录
SessionEnd → 清理工作
连续性系统
-----------------
账本: thoughts/ledgers/CONTINUITY_CLAUDE-{session}.md
交接记录: thoughts/shared/handoffs/{session}/*.yaml
命令:
/resume_handoff <路径> - 从交接记录继续
/create_handoff - 创建用于转移的快照
TLDR 代码智能分析
----------------------
5 层分析:AST → 调用图 → CFG → DFG → PDG
相比阅读原始文件节省 95% 的令牌
自动拦截对 .py/.ts/.go/.rs 文件的 Grep 操作
预构建索引:/tmp/claude-symbol-index/symbols.json
设置
-----
运行:uv run python opc/scripts/setup/wizard.py
选项:
[1] 仅 SQLite (简单,离线)
[2] PostgreSQL + pgvector (语义搜索)
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 组件 | 位置 |
|---|---|
| 钩子注册 | .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_URL | PostgreSQL 连接 |
VOYAGE_API_KEY | 嵌入向量 (可选) |
BRAINTRUST_API_KEY | 追踪 (可选) |
CLAUDE_PROJECT_DIR | 由 Claude Code 自动设置 |
每周安装量
198
代码仓库
GitHub 星标数
3.6K
首次出现
2026年1月24日
安全审计
安装于
opencode190
codex189
gemini-cli188
cursor186
github-copilot185
amp182
Show users how Continuous Claude works - the opinionated setup with hooks, memory, and coordination.
/system_overviewCONTINUOUS 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)
| Component | Location |
|---|---|
| Hook registration | .claude/settings.json |
| Hook implementations | .claude/hooks/src/*.ts |
| Rules (auto-injected) | .claude/rules/*.md |
| Skills | .claude/skills/*/SKILL.md |
| Setup wizard | opc/scripts/setup/wizard.py |
| Recall script | opc/scripts/recall_temporal_facts.py |
| Variable | Purpose |
|---|---|
CONTINUOUS_CLAUDE_DB_URL | PostgreSQL connection |
VOYAGE_API_KEY | Embeddings (optional) |
BRAINTRUST_API_KEY | Tracing (optional) |
CLAUDE_PROJECT_DIR | Auto-set by Claude Code |
Weekly Installs
198
Repository
GitHub Stars
3.6K
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode190
codex189
gemini-cli188
cursor186
github-copilot185
amp182
AI Elements:基于shadcn/ui的AI原生应用组件库,快速构建对话界面
62,200 周安装
| Store learning | opc/scripts/core/store_learning.py |
| Symbol index builder | opc/scripts/build_symbol_index.py |