trace-claude-code
Automatically trace Claude Code conversations to Braintrust for observability. Captures sessions, conversation turns, and tool calls as hierarchical traces.
Parallel Agent Orchestration
$ npx -y skills add parcadei/Continuous-Claude-v3 --skill parallel-agents --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/parallel-agentsContext preview
The summary Claude sees to decide when to auto-load this skill.
Parallel Agent Orchestration
name: parallel-agents description: Parallel Agent Orchestration user-invocable: false
When launching multiple agents in parallel, follow this pattern to avoid context bloat.
1. **No TaskOutput calls** - TaskOutput returns full agent output, bloating context 2. **Run in background** - Always use `run_in_background: true` 3. **File-based confirmation** - Agents write status to files, not return values 4. **Append, don't overwrite** - Multiple agents can write to same status file
For tasks where agents just need to confirm completion:
# Agent writes to shared status file echo "COMPLETE: <task-name> - $(date)" >> .claude/cache/<batch-name>-status.txt
For tasks requiring detailed findings:
.claude/cache/agents/<task-type>/<agent-id>/ ├── output.md # Main findings ├── artifacts/ # Any generated files └── status.txt # Completion confirmation
# Task: <TASK_NAME> ## Your Mission <clear objective> ## Output When done, write confirmation: \`\`\`bash echo "COMPLETE: <identifier> - $(date)" >> .claude/cache/<batch>-status.txt \`\`\` Do NOT return large output. Complete work silently.
// Launch all in single message block (parallel)
Task({
description: "Task 1",
prompt: "...",
subagent_type: "general-purpose",
run_in_background: true
})
Task({
description: "Task 2",
prompt: "...",
subagent_type: "general-purpose",
run_in_background: true
})
// ... up to 15 parallel agents# Check completion status cat .claude/cache/<batch>-status.txt # Count completions wc -l .claude/cache/<batch>-status.txt # Watch for updates tail -f .claude/cache/<batch>-status.txt
# Status file .claude/cache/provider-backfill-status.txt # Each agent appends on completion echo "COMPLETE: anthropic - Thu Jan 2 12:34:56 2025" >> .claude/cache/provider-backfill-status.txt echo "COMPLETE: openai - Thu Jan 2 12:35:12 2025" >> .claude/cache/provider-backfill-status.txt
Check progress:
cat .claude/cache/provider-backfill-status.txt # COMPLETE: anthropic - Thu Jan 2 12:34:56 2025 # COMPLETE: openai - Thu Jan 2 12:35:12 2025
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