Home / Subagents / braintrust-analyst

braintrust-analyst

parcadei/Continuous-Claude-v3Subagent

Analyze Claude Code sessions using Braintrust logs

ScannedSubagentSource: GitHub
3,946 stars +5 this week Updated 9mo ago License MIT Context ≈17 tokens in your chat
53popular

Why this score

Stars15/35
Usage (forks)4/15
Upkeep9/25
License15/15
Owner history10/10

This repo hosts 32 subagents, so its 3,946 stars are split between them (about 123 each) for scoring.

Popularity score: 53/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank

What it can use

  • Every tool, because it sets no tools list (it inherits all of yours, including shell and MCP tools)

Model: opus

This agent can act outside your files. Read it before installing, and narrow its tools: line if it needs less.

The agent file

---
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:

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

## Step 2: Execute Analysis

Run analysis IMMEDIATELY using Bash tool:

```bash
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

MIT license, from parcadei/Continuous-Claude-v3 at commit d07ff4b06b62.

Security

Scanned Oct 21, 2026 at commit d07ff4b06b62, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan

Alternatives

Other makers' add-ons that do the same job, next to this one.

NameScoreStarsContextUpdated
This onebraintrust-analyst parcadei/Continuous-Claude-v3 · Subagent 53★ 3.9k≈17 in chat9mo ago
analyst Yeachan-Heo/oh-my-claudecode · Subagent Both about analyst 83★ 40k≈16 in chat16d ago
braintrust-agent-evals githits-com/githits-cli · Skill Both about braintrust 61★ 115≈38 always16d ago
report-analyst hoangsonww/Claude-Code-Agent-Monitor · Subagent Both about analyst 67★ 1.1k≈22 in chat17d ago
session-ask-analyst w-winter/dot314 · Subagent Both about analyst 67★ 139≈22 in chat20d ago
review-analyst athola/claude-night-market · Subagent Both about analyst 58★ 342≈23 in chat19d ago