trace-claude-code
Automatically trace Claude Code conversations to Braintrust for observability. Captures sessions, conversation turns, and tool…
Agent Context Isolation
Claude Code
$ npx -y skills add parcadei/Continuous-Claude-v3 --skill agent-context-isolation --agent claude-code
Codex
$ npx skills add parcadei/Continuous-Claude-v3 --skill agent-context-isolation -a codex -y
Cursor
$ npx skills add parcadei/Continuous-Claude-v3 --skill agent-context-isolation -a cursor -y
Gemini CLI
$ npx skills add parcadei/Continuous-Claude-v3 --skill agent-context-isolation -a gemini-cli -y
GitHub Copilot
$ npx skills add parcadei/Continuous-Claude-v3 --skill agent-context-isolation -a github-copilot -y
OpenCode
$ npx skills add parcadei/Continuous-Claude-v3 --skill agent-context-isolation -a opencode -y
Windsurf
$ npx skills add parcadei/Continuous-Claude-v3 --skill agent-context-isolation -a windsurf -y
name: agent-context-isolation description: Agent Context Isolation user-invocable: false
Prevent agent output from polluting the main context window.
# RIGHT - background agent writes to file, main reads file Task(subagent_type="...", run_in_background=true, prompt="... Output to: /path/to/file.md") # WRONG - foreground agent dumps full transcript into main context Task(subagent_type="...", run_in_background=false)
Background agents with `run_in_background=true` isolate their context. Have them write results to files in `.claude/cache/agents/<agent-type>/`.
# WRONG - dumps entire transcript (70k+ tokens) into context
TaskOutput(task_id="<id>")
TaskOutput(task_id="<id>", block=true)
# RIGHT - check expected output files
Bash("ls -la .claude/cache/agents/<agent-type>/")
Bash("bun test") # verify with testsTaskOutput returns the full agent transcript. Always use file-based coordination instead.
# System reminders come automatically: # "Agent a42a16e progress: 6 new tools used, 88914 new tokens" # To detect completion: # - Watch for progress reminders to stop arriving # - Poll for expected output files: find .claude/cache/agents -name "*.md" -mmin -5 # - Check task output file size growth: wc -c /tmp/claude/.../tasks/<id>.output
**Stuck agent detection:** 1. Progress reminders stop arriving 2. Task output file size stops growing 3. Expected output file not created after reasonable time
After agent work: 1. Run the test suite directly: `bun test` 2. Report pass/fail counts 3. Only investigate failures if tests fail
Research agent → .claude/cache/agents/oracle/output.md
↓
Plan agent → .claude/cache/agents/plan-agent/output.md (reads research)
↓
Validate agent → .claude/cache/agents/validate-agent/output.md (reads plan)
↓
Implement agent → src/module.ts (reads validated plan)Each agent reads the previous agent's file output, not TaskOutput.
Agent context isolation preserves the main conversation's context budget. Reading agent outputs via TaskOutput floods context, causing:
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
Automatically trace Claude Code conversations to Braintrust for observability. Captures sessions, conversation turns, and tool…
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
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.