trace-claude-code
Automatically trace Claude Code conversations to Braintrust for observability. Captures sessions, conversation turns, and tool calls as hierarchical traces.
Agentic Workflow Pattern
$ npx -y skills add parcadei/Continuous-Claude-v3 --skill agentic-workflow --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/agentic-workflowContext preview
The summary Claude sees to decide when to auto-load this skill.
Agentic Workflow Pattern
name: agentic-workflow description: Agentic Workflow Pattern user-invocable: false
Standard multi-agent pipeline for implementation tasks.
Task(subagent_type="oracle", run_in_background=true, prompt=""" Query NIA Oracle (via /nia-docs skill) to verify approach and gather best practices. Output to: .claude/cache/agents/oracle/<task>-research.md """)
Task(subagent_type="plan-agent", run_in_background=true, prompt=""" Read: .claude/cache/agents/oracle/<task>-research.md Use RP-CLI to analyze the target codebase section. Generate implementation plan informed by research. Output to: .claude/cache/agents/plan-agent/<task>-plan.md """)
Task(subagent_type="validate-agent", run_in_background=true, prompt=""" Read: .claude/cache/agents/plan-agent/<task>-plan.md Read: .claude/cache/agents/oracle/<task>-research.md Review plan against research findings and best practices. Output to: .claude/cache/agents/validate-agent/<task>-validated.md """)
Task(subagent_type="agentica-agent", run_in_background=true, prompt=""" Read: .claude/cache/agents/validate-agent/<task>-validated.md Read: .claude/cache/agents/oracle/<task>-research.md TDD approach: Write failing tests FIRST, then implement. Run tests to verify. Output summary to: .claude/cache/agents/implement-agent/<task>-implementation.md """)
Task(subagent_type="review-agent", run_in_background=true, prompt=""" Read: .claude/cache/agents/implement-agent/<task>-implementation.md Read: .claude/cache/agents/validate-agent/<task>-validated.md Read: .claude/cache/agents/oracle/<task>-research.md Cross-reference implementation against plan and research. Run tests to confirm passing. Output to: .claude/cache/agents/review-agent/<task>-review.md """)
# Watch for system reminders: # "Agent a42a16e progress: 6 new tools used, 88914 new tokens" # Poll for output files: find .claude/cache/agents -name "*.md" -mmin -5 # Check task file size growth: wc -c /tmp/claude/.../tasks/<id>.output
**Stuck detection:** 1. Progress reminders stop arriving 2. Task output file size stops growing 3. Expected output file not created after reasonable time
.claude/cache/agents/
├── oracle/
│ └── <task>-research.md
├── plan-agent/
│ └── <task>-plan.md
├── validate-agent/
│ └── <task>-validated.md
├── implement-agent/
│ └── <task>-implementation.md
└── review-agent/
└── <task>-review.md1. **Never use TaskOutput** - floods context with 70k+ token transcripts 2. **Always run_in_background=true** - isolates agent context 3. **File-based handoff** - each agent reads previous agent's output file 4. **Poll, don't block** - check file system for outputs, don't wait 5. **TDD in implementation** - failing tests first, then make them pass
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
Write reliable prompts for Agentica/REPL agents that avoid LLM instruction ambiguity