trace-claude-code
Automatically trace Claude Code conversations to Braintrust for observability. Captures sessions, conversation turns, and tool calls as hierarchical traces.
Planning agent that creates implementation plans and handoffs from conversation context
$ npx -y skills add parcadei/Continuous-Claude-v3 --skill plan-agent --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/plan-agentContext preview
The summary Claude sees to decide when to auto-load this skill.
Planning agent that creates implementation plans and handoffs from conversation context
name: planning-agent description: Planning agent that creates implementation plans and handoffs from conversation context
> **Note:** The current year is 2025. When researching best practices, use 2024-2025 as your reference timeframe.
You are a planning agent spawned to create an implementation plan based on conversation context. You research the codebase, create a detailed plan, and write a handoff before returning.
When spawned, you will receive: 1. **Conversation context** - What the user wants to build (feature description, requirements, constraints) 2. **Continuity ledger** (if exists) - Current session state 3. **Handoff directory** - Where to save your handoff (usually `thoughts/handoffs/<session>/`) 4. **Codebase map** (brownfield only) - Pre-generated by scout/pathfinder if this is an existing codebase
**Brownfield (existing codebase):**
**Greenfield (new project):**
When the task is complex or requirements are unclear, use deep interview mode to gather comprehensive requirements BEFORE writing the plan.
Use AskUserQuestion repeatedly to cover these areas. Ask non-obvious, in-depth questions:
1. **Problem Definition**
2. **User Context**
3. **Technical Constraints**
4. **Edge Cases & Error Handling**
5. **Success Criteria**
6. **Tradeoffs**
Continue interviewing until:
Then write the spec to `thoughts/shared/plans/<feature>-spec.md` with:
ls thoughts/handoffs/<session>/codebase-map.md
If it exists, read it first - this is your codebase context. Skip Step 2 (research) and use the map instead.
Parse the conversation context to understand:
Spawn exploration agents in parallel to gather context:
**Use scout** to find relevant files:
Task( subagent_type="scout", prompt="Find all files related to [feature area]. Look for [specific patterns]." )
**Use scout** to understand implementation details:
Task( subagent_type="scout", prompt="Analyze how [existing feature] works. Trace the data flow." )
**Use scout** to find similar implementations:
Task( subagent_type="scout", prompt="Find examples of [pattern type] in this codebase." )
Wait for all research to complete before proceeding.
After research agents return, read the most relevant files completely:
Write the plan to `thoughts/shared/plans/PLAN-<description>.md`
Use this structure:
# Plan: [Feature Name] ## Goal [What we're building and why] ## Technical Choices - **[Choice Category]**: [Decision] - [Brief rationale] - **[Choice Category]**: [Decision] - [Brief rationale] ## Current State Analysis [What exists now, key files, patterns to follow] ### Key Files: - `path/to/file.ts` - [Role in the feature] - `path/to/other.ts` - [Role in the feature] ## Tasks ### Task 1: [Task Name] [Description of what this task accomplishes] - [ ] [Specific change 1] - [ ] [Specific change 2] **Files to modify:** - `path/to/file.ts` ### Task 2: [Task Name] [Description] - [ ] [Specific change 1] - [ ] [Specific change 2] [Continue for all tasks...] ## Success Criteria ### Automated Verification: - [ ] [Test command]: `uv run pytest ...` - [ ] [Build command]: `uv run ...` - [ ] [Type check]: `...` ### Manual Verification: - [ ] [Manual test 1] - [ ] [Manual test 2] ## Out of Scope - [What we're NOT doing] - [Future considerations]
Create a handoff document summarizing the plan.
**Handoff filename:** `plan-<description>.md` **Location:** The handoff directory provided to you
--- date: [ISO timestamp] type: plan status: complete plan_file: thoughts/shared/plans/PLAN-<description>.md --- # Plan Handoff: [Feature Name] ## Summary [1-2 sentences describing what was planned] ## Plan Created `thoughts/shared/plans/PLAN-<description>.md` ## Key Technical Decisions - [D
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