codeprobe-interpret
This skill analyzes results from codeprobe benchmark runs by comparing configurations, computing statistical rankings, and generating actionable…
Identity proven by GitHub's verified organisation badge (sourcegraph)
- Agents
- Claude Code
- License
- Apache-2.0 (permissive)
- Pin
- 349658apinned Oct 9, 2026
- Context cost
- about 920 tokenswhen the skill loads
- GitHub stars
- 2on sourcegraph/codeprobe
- Scripts
- None found
What it does
“Analyze eval results from codeprobe runs. Compares configurations statistically, ranks by score and cost-efficiency, and produces actionable recommendations in JSON or pretty text. Triggers on interpret results, analyze eval results, compare configurations, rank agents, score regression, plot regression. Use this when the agent needs to turn a `codeprobe run` output directory into structured analysis.”
Generated summary from the skill's own text
This skill analyzes results from codeprobe benchmark runs by comparing configurations, computing statistical rankings, and generating actionable recommendations. It outputs structured JSON envelopes containing per-configuration summaries, ranked comparisons, and per-task details, along with optional HTML and CSV reports.
When to use it
- Turning codeprobe run output directories into structured performance analysis
- Comparing multiple agent configurations statistically by score and cost-efficiency
- Generating ranked reports of configuration performance across test tasks
- Analyzing per-task score trends over commit history in regression mode
When not to
- Modifying or writing back to results directories, this skill is read-only
- Fixing corrupt codeprobe state, run codeprobe doctor and validate first
- Running benchmarks themselves, use codeprobe run for that instead
Install
These commands install from the publisher's repository and need no account.
skills CLI
npx skills add sourcegraph/codeprobe --skill codeprobe-interpretInstalls from the repository's default branch, which may have changed since the commit we checked.
GitHub CLI 2.90 or later
gh skill install sourcegraph/codeprobe codeprobe-interpret@349658a0c14622dccccc9be038cabca63a1e4a0bInstalls the commit we checked (349658a).
Copy by hand
Download the folder at 349658a and put it in .claude/skills/codeprobe-interpret for Claude Code and in .agents/skills/codeprobe-interpret for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.
Claude Code plugin
/plugin install sourcegraph@claude-plugins-officialThe publisher's plugin in Claude's official marketplace. It may hold more than this skill, and we have not pinned it.
Copy for your agent
A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.
Prompt
Install the agent skill "codeprobe-interpret" by Sourcegraph. Source, pinned to commit 349658a0c14622dccccc9be038cabca63a1e4a0b: https://github.com/sourcegraph/codeprobe/tree/349658a0c14622dccccc9be038cabca63a1e4a0b/src/codeprobe/skills_data/codeprobe-interpret 1. Download that folder at exactly this commit. Do not use the default branch. 2. Copy every file unchanged, keeping the folder structure, into .claude/skills/codeprobe-interpret/ for Claude Code and .agents/skills/codeprobe-interpret/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist. 3. Do not edit the files, and do not run any script in the folder unless I ask you to. 4. When you are done, list the files you copied and where you put them. Listing and checks: https://www.agentnative.dev/skills/sourcegraph/codeprobe-interpret
SKILL.md at the pin
---
name: codeprobe-interpret
description: Analyze eval results from codeprobe runs. Compares configurations statistically, ranks by score and cost-efficiency, and produces actionable recommendations in JSON or pretty text. Triggers on interpret results, analyze eval results, compare configurations, rank agents, score regression, plot regression. Use this when the agent needs to turn a `codeprobe run` output directory into structured analysis.
user-invocable: false
---
# codeprobe interpret (autonomous agent contract)
Turn a results directory (or mined-tasks directory in `--regression` mode) into
a structured analysis envelope. Reporting-only: no side effects on the target
data.
## Environment (pre-loaded)
- !`codeprobe doctor --json`
`doctor` is the single source of truth for environment readiness. Interpret is
read-only, so most doctor failures (missing backends, credentials) do NOT block
this command. Still, if doctor reports a corrupt `.codeprobe` state, resolve it
before interpreting.
## Bare invocation
```bash
codeprobe interpret <results_path> --json
```
Regression mode (per-task score over commit history from `codeprobe mine --refresh`):
```bash
codeprobe interpret <tasks_path> --json --regression --results <results_path>
```
Alternative serialization via `--format`:
```bash
codeprobe interpret <results_path> --format csv # CSV on stdout (pretty mode)
codeprobe interpret <results_path> --format html # writes <experiment>_report.html
```
`--format html` writes the HTML report file in every output mode. In envelope
mode (the non-TTY default, or `--json`) the envelope carries the file's
location as `data.html_report_path`; the key is present even on a
`VALIDITY_FAILED` (exit 2) envelope, so the validity-stamped report is still
discoverable. `--format csv` and `--format json` shape stdout in pretty mode
only; the envelope's report payload is always JSON.
## JSON fields to parse
Top-level keys are exactly:
```json
{
"record_type": "envelope",
"ok": true,
"command": "interpret",
"version": "<codeprobe version>",
"schema_version": "1",
"exit_code": 0,
"data": {
"command_schema_version": "1",
"experiment": "...",
"has_results": true,
"is_partial": false,
"completion_ratio": 1.0,
"validity": { "passed": true },
"report": { "summaries": [], "rankings": [], "comparisons": [], "tasks": [] }
},
"error": null,
"warnings": [],
"next_steps": []
}
```
Parse `ok`. On `false`, inspect `error.code`; `error` is a single object
(`code` / `message` / `kind` / `terminal` / `diagnose_cmd` / ... fields),
not an array. On `true`, branch on `data.has_results`: when `false`, `data`
carries only a `message` ("Run 'codeprobe run' first"); when `true`,
`data.report` holds the full JSON report (per-config `summaries`, sorted
`rankings` with `rank == 1` on top, pairwise `comparisons`, per-task rows in
`tasks`). Gate on `data.validity.passed` before quoting any score: a
failing infra-validity gate emits `ok: false` with `exit_code: 2` and the
same `data` block spliced in.
## Error handling
Interpret is reporting-only, so the error surface is small. Only the codes
below may surface. At runtime the envelope's `error` object carries the
authoritative message and remediation for whichever code fired.
| Code | Kind | Retryable? | Action |
|---|---|---|---|
| NO_TASKS | diagnostic | no | Target results dir has no tasks; check the path. |
| METADATA_MISSING | diagnostic | no | Structural integrity problem; stop and surface. |
| METADATA_INVALID | diagnostic | no | Structural integrity problem; run `codeprobe validate --strict` first. |
| INTERRUPTED | diagnostic | **TERMINAL — do not retry** | Signal halted the run; stop. |
## Retry policy
- Maximum retry depth per error chain: **2**. After two consecutive errors
sharing the same code, stop and surface the envelope to the caller.
- Terminal errors (INTERRUPTED) are **never** retried.
- Because interpret is read-only, "retry" almost always means the upstream data
is wrong. Fix the data (re-run `codeprobe run` or `codeprobe validate`)
rather than loop on the same inputs.
From sourcegraph/codeprobe at 349658a, shown as plain text under its license: Apache-2.0 (permissive). The license text is in LICENSE.
View SKILL.md on GitHub at 349658aFiles
- SKILL.md4.1 KB · 59e61f4c1043
1 file, 4.1 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.
Skill folder on GitHub at 349658aMore from Sourcegraph
searching-sourcegraph
This skill enables agents to search and navigate codebases using Sourcegraph, with guided workflows for finding implementations, understanding systems…
Claude Code, Codex, Cursor +4 · about 2.2K tokens · pinned 6 days ago
codeprobe-calibrate
This skill runs a validation gate for a curator version by comparing it against a holdout dataset and a reference curator.
Claude Code · about 870 tokens · pinned 6 days ago
codeprobe-check-infra
This skill diagnoses whether mined task directories can run safely by checking for capability drift and verifying credential time-to-live against expected…
Claude Code · about 970 tokens · pinned 6 days ago
codeprobe-mine
Extracts reusable eval tasks from a repository's merge history using the codeprobe CLI.
Claude Code · about 1.6K tokens · pinned 6 days ago
codeprobe-run
Execute eval task suites against an AI coding agent using codeprobe, spawning isolated sessions and scoring each task with automated tests.
Claude Code · about 1.5K tokens · pinned 6 days ago
sourcegraph-nav
Navigates code using Sourcegraph to locate where symbols are defined and find all places they are used.
Contains scripts
Claude Code, Codex, Cursor +3 · about 580 tokens · pinned 6 days ago
Related in AI and agents
agent-builder
Agent Builder orchestrates the creation, modification, testing, and publishing of n8n Agents.
by n8nOfficial publisher
Claude Code, Codex, Cursor +3 · about 2.3K tokens · pinned 6 days ago
intent-recognition
Classifies automation requests by determining which primitive owns the top-level control flow (workflow, agent, needs clarification, or out-of-scope) and…
by n8nOfficial publisher
Claude Code, Codex, Cursor +4 · about 6.9K tokens · pinned 6 days ago
planned-task-runtime
This skill manages follow-up interactions with a background task execution system, handling task completion synthesis, failure replanning, workflow building…
by n8nOfficial publisher
Claude Code, Codex, Cursor +3 · about 2.2K tokens · pinned 6 days ago
skill-creator
This skill guides agents through creating new skills that extend Gemini CLI with specialized knowledge, workflows, and tool integrations.
by GoogleOfficial publisher
Contains scripts
Gemini CLI · about 5K tokens · pinned 6 days ago
-21risk-automation
This skill automates 21risk operations by connecting to the 21risk toolkit through Composio's Rube MCP server.
by ComposioOfficial publisher
Claude Code, Codex, Cursor +3 · about 690 tokens · pinned 6 days ago
-2chat-automation
This skill automates 2chat tasks by integrating with Composio's 2chat toolkit through Rube MCP.
by ComposioOfficial publisher
Agents not labelled yet · about 680 tokens · pinned 6 days ago
Open roles at Sourcegraph
2 open roles on the jobs board
- ML & Agentic Systems Engineer [IC4]
Remote (Europe or North America) (Remote)
- Tech Lead - Code Plane [IC5]
Remote (Remote)