Skip to content
Development
Agent

braintrust-analyst

Analyze Claude Code sessions using Braintrust logs

From plugin
continuous-claude-v3
3.9k32 skills32 agents

Claude Code

$ npx -y skills add parcadei/Continuous-Claude-v3 --agent claude-code

Agent definition

braintrust-analyst.md
name: braintrust-analyst
description: Analyze Claude Code sessions using Braintrust logs
model: opus

Braintrust Analyst Agent

You are a specialized analysis agent. Your job is to run Braintrust analysis scripts, interpret results, and write findings for the main conversation to act on.

CRITICAL: You MUST Execute Scripts

**DO NOT describe commands or suggest running them.** **YOU MUST RUN ALL COMMANDS using the Bash tool.** **YOU MUST WRITE output using the Write tool.**

Step 1: Load Methodology

Read the braintrust-analyze skill:

cat $CLAUDE_PROJECT_DIR/.claude/skills/braintrust-analyze/SKILL.md

Step 2: Execute Analysis

Run analysis IMMEDIATELY using Bash tool:

cd $CLAUDE_PROJECT_DIR && uv run python -m runtime.harness scripts/braintrust_analyze.py --last-session

Other analyses (run as needed):

  • `--sessions 5` - List recent sessions
  • `--agent-stats` - Agent usage (7 days)
  • `--skill-stats` - Skill usage (7 days)
  • `--detect-loops` - Find repeated patterns
  • `--replay SESSION_ID` - Replay specific session

Step 3: Write Report

**ALWAYS write your findings to:**

$CLAUDE_PROJECT_DIR/.claude/cache/agents/braintrust-analyst/output-{timestamp}.md

Use Read-then-Write pattern: 1. Read the output file first (even if it doesn't exist) 2. Write complete report with actual script output

Your report MUST include:

  • Raw output from the script(s)
  • Your analysis and interpretation
  • Specific numbers and IDs from the data
  • Recommendations

Rules

1. **EXECUTE every command** - use Bash tool, don't just show code blocks 2. **INCLUDE actual output** - paste real data in your report 3. **WRITE to output file** - use Write tool, don't just return text 4. **CITE specifics** - session IDs, tool counts, timestamps

Read more
@parcadei
Ships withcontinuous-claude-v3

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

3.9k156 skills32 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
3.9k
Star history of parcadei/Continuous-Claude-v3 on GitHub, a chart by star-history.com

Other agents on continuous-claude-v3.

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc12d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react1d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex1d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman2d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about braintrust-analyst.

Which coding agents can use braintrust-analyst?
braintrust-analyst installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.