trace-claude-code
Automatically trace Claude Code conversations to Braintrust for observability. Captures sessions, conversation turns, and tool calls as hierarchical traces.
Show users how Continuous Claude works - the opinionated setup with hooks, memory, and coordination
$ npx -y skills add parcadei/Continuous-Claude-v3 --skill system_overview --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/system_overviewContext preview
The summary Claude sees to decide when to auto-load this skill.
Show users how Continuous Claude works - the opinionated setup with hooks, memory, and coordination
name: system-overview description: Show users how Continuous Claude works - the opinionated setup with hooks, memory, and coordination
Show users how Continuous Claude works - the opinionated setup with hooks, memory, and coordination.
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)| 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` | | Store learning | `opc/scripts/core/store_learning.py` | | Symbol index builder | `opc/scripts/build_symbol_index.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 |
A persistent, learning, multi-agent development environment built on Claude Code Continuous Claude transforms Claude Code into a continuously learning system that maintains context across sessions, orchestrates specialized agents, and eliminates wasting
Repo: parcadei/Continuous-Claude-v3
Automatically trace Claude Code conversations to Braintrust for observability. Captures sessions, conversation turns, and tool calls as hierarchical traces.
Guide for integrating Agentica SDK with Claude Code CLI proxy
Reference guide for Agentica multi-agent infrastructure APIs