summarize
Skill14 starsChanged 57 days agoMIT-0View on GitHub
Summarize a /swe benchmark run for a given repo/problem/model triple. Reports artifact completion status (github-issue.md, lld.md, review.md, testing.md), error signals captured during the run, and a token-and-themes summary derived from the matching session JSONL files under ~/.claude/projects/. Output is a single markdown report saved next to the artifacts.
47 other projects use a version of this.
Adopted by
Most recently taken up by
- domengabrovsek/agent-configtheir own version, first seen Oct 2, 2026
- cyrusagents/cyrustheir own version, first seen Sep 24, 2026
- dafaalz/agent-skillstheir own version, first seen Sep 22, 2026
- xopcai/xopctheir own version, first seen Sep 16, 2026
- joker1point/agent-skill-frameworktheir own version, first seen Sep 6, 2026
- SerhiiKorniienko/bullshit-detectortheir own version, first seen Sep 2, 2026
Used with
Projects with it also use node-connect, gh-issues and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
indranilbanerjeeSkillnode-connect
Diagnose DMClaw node connection and pairing failures for Android, iOS, and macOS companion apps. Use when QR/setup code/manual connect fails, local Wi-Fi works but VPS/tailnet does not, or errors mention pairing required, unauthorized, bootstrap token invalid or expired, gateway.bind, gateway.remote.url, Tailscale, or plugins.entries.device-pair.config.publicUrl.
Also in 4 projects that use this
GoogleSkillgh-issues
Fetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]
Also in 6 projects that use this
iceyccSkillcron
Schedule reminders and recurring tasks.
Also in 3 projects that use this
overkillkultureSkillhealthcheck
Host security hardening and risk-tolerance configuration for OpenClaw deployments. Use when a user asks for security audits, firewall/SSH/update hardening, risk posture, exposure review, OpenClaw cron scheduling for periodic checks, or version status checks on a machine running OpenClaw (laptop, workstation, Pi, VPS).
Also in 7 projects that use this
UseAI-proSkillskill-vetter
Security-first vetting for OpenClaw skills. Use before installing any skill from ClawHub, GitHub, or other sources.
Also in 4 projects that use this
halthelobsterSkillproactive-agent
Transform AI agents from task-followers into proactive partners that anticipate needs and continuously improve. Now with WAL Protocol, Working Buffer for context survival, Compaction Recovery, and battle-tested security patterns. Part of the Hal Stack 🦞
Also in 3 projects that use this
Other versions47 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 47
- cashew-labs/libretto★ 904same name
- sangrokjung/claude-forge★ 847same name
- cyrusagents/cyrus★ 846same name
- swarmclawai/swarmclaw★ 690same name
- reysu/ai-life-skills★ 269same name
- SerhiiKorniienko/bullshit-detector★ 151same name
- cohen-liel/hivemind★ 110same name
- aaronnat23/disp8ch★ 99same name
- seedprod/openclaw-prompts-and-skills★ 93same name
- oakreader/oakreader★ 39same name
37 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- benchmarkSkill
- implementSkill
- onboard-benchmarkSkill
- release-notesSkill
- security-checkSkill
- setup-machineSkill
- swe2Skill
- swe3Skill
- sweSkill
- throughputSkill
- vllm-setupSkill
- writingSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. 0 are common, 3 are distinctive, and 16 are very specific to this project.
0
Common
Most of the 38 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
16
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Use this skill after a /swe benchmark run to evaluate how that run went.
- Very specific: line 14
Artifact pass: - check the benchmarks/swe-benchmark-data/{repo-name}/{problem-name}/{model-name}/ folder and report which of the four …
- Very specific: line 15
Session pass: - read the JSONL files from ~/.claude/projects/<encoded-cwd>/ for the session(s) that produced the artifacts, and summarize …
- Very specific: line 25
Artifact Pass: - Check existence, size, and quality of github-issue.md, lld.md, review.md, testing.md
- Distinctive: line 43
If any are missing, ask explicitly:
- Very specific: line 65
If $ART_DIR does not exist, stop and report it as a hard failure: there is nothing to summarize.
- Very specific: line 141
If --session-id <uuid> is provided, use only that session
- Very specific: line 146
Check the cwd field in user events to ensure it matches the repo path
- Very specific: line 147
If multiple sessions overlap in time, use the one with matching cwd
- Very specific: line 149
If no JSONL file matches, mark the session pass as Not Available in the report and continue - the artifact pass alone is still useful.
- Very specific: line 322
After writing summary.md, print the report (or a tightened version) back to the user and ask:
- Distinctive: line 324
Should I open the relevant artifact(s) so you can inspect the issues yourself?
- Very specific: line 325
Should I diff this run against another {model-name} run for the same problem?
- Very specific: line 328
Do not modify any artifact, re-run /swe, open issues, or commit anything unless the user explicitly authorizes it as a separate request.
- Very specific: line 339
Do not guess inputs: If --repo, --problem, or --model are missing, ask.
- Very specific: line 340
Do not hardcode
/home/ubuntu/...: Use git rev-parse --show-toplevel and $HOME. - Very specific: line 349
Important: When the session was run from a subdirectory, the session directory may be encoded differently (e.g.
- Very specific: line 362
If no matching sessions found, also check $HOME/.claude/projects/-home-ubuntu-repos-sample-claude-code-multi-model-*/
- Distinctive: line 374
Naming: always "Amazon Bedrock" (never "AWS Bedrock").
“Common” is measured: kept by at least 6 in 10 of the 38 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Summarize Skill
Use this skill after a /swe benchmark run to evaluate how that run went. It performs two passes:
- Artifact pass - check the
benchmarks/swe-benchmark-data/{repo-name}/{problem-name}/{model-name}/folder and report which of the four expected files exist, are non-empty, and are well-formed; surface any error/diagnostic content found in those files. - Session pass - read the JSONL files from
~/.claude/projects/<encoded-cwd>/for the session(s) that produced the artifacts, and summarize token usage (per model, broken down by input / output / cache-create / cache-read), tool-call mix, error events, and recurring themes from user prompts and assistant turns.
The result is written as a single markdown report next to the artifacts and printed back to the user.
This skill stops at reporting. It does not modify the artifacts, re-run /swe, or open issues.
Workflow
- Gather Inputs - Capture
--repo,--problem, and--model(never guess them); optionally--session-idto narrow the JSONL pass - Locate Artifacts Folder - Resolve
benchmarks/swe-benchmark-data/{repo}/{problem}/{model}/ - Artifact Pass - Check existence, size, and quality of
github-issue.md,lld.md,review.md,testing.md - Locate Session JSONL Files - Resolve
~/.claude/projects/<encoded-cwd>/*.jsonland filter by session/time - Session Pass - Aggregate token usage, tool calls, errors, and themes
- Write Report - Save
summary.mdnext to the artifacts and print it - Present Summary & Seek Guidance
Step 1: Gather Inputs
NEVER guess --repo, --problem, or --model. Either the user passes them as command-line parameters or you ask explicitly. Do not infer them from the current working directory, recent files, or memory.
1.1 Required Inputs
--repo(kebab-case, e.g.mcp-gateway-registry) - matches the{repo-name}folder underbenchmarks/swe-benchmark-data/.--problem(kebab-case, e.g.remove-faiss) - matches the{problem-name}folder.--model(kebab-case, e.g.claude-opus-4-7) - matches the{model-name}folder.
If any are missing, ask explicitly:
The
/summarizeskill requires three inputs that I will not guess. Please provide:
--repo <repo-name>--problem <problem-name>--model <model-name>
1.2 Optional Inputs
--session-id <uuid>- limit the session pass to a specific JSONL file. If not given, the skill picks every JSONL whosecwdmatches this repository and whosegitBranch/ time window overlaps with the artifact mtimes.--since <ISO timestamp>/--until <ISO timestamp>- further narrow the session pass.--out <path>- override the default report path (summary.mdinside the artifacts folder).
Step 2: Locate the Artifacts Folder
Resolve the artifact folder using the repo root - never hardcode /home/ubuntu/...:
REPO_ROOT="$(git rev-parse --show-toplevel)"
ART_DIR="$REPO_ROOT/benchmarks/swe-benchmark-data/{repo}/{problem}/{model}"If $ART_DIR does not exist, stop and report it as a hard failure: there is nothing to summarize.
Step 3: Artifact Pass
For each of the four expected artifacts, record:
| Field | How to Compute |
| Exists | test -f "$ART_DIR/<file>" |
| Size (bytes) | stat -c %s "$ART_DIR/<file>" |
| Lines | wc -l < "$ART_DIR/<file>" |
| Last modified | stat -c %y "$ART_DIR/<file>" |
| Looks well-formed | Heuristic checks below |
Expected Files and Heuristics
| File | Heuristic for "looks well-formed" |
github-issue.md | Contains ## Title, ## Description, and at least one ### Acceptance Criteria checkbox |
lld.md | Contains # Low-Level Design, a Table of Contents, and at least the Architecture, Data Models, and File changes headings |
review.md | Contains all five reviewers (Pixel, Byte, Circuit, Cipher, Sage) and a Verdict: line for each |
testing.md | Contains # Testing Plan, ## 1. Functional Tests, and a ## 6. Test Execution Checklist |
Error Signals to Capture
While scanning each artifact, also surface lines that suggest the run was incomplete:
- Lines containing
TODO,TBD,FIXME,{...}placeholder fences left in by the model - Lines starting with
Error:,Traceback, or# Aborted - Headings present in the template but with empty bodies (e.g. a
### Strengthsimmediately followed by another heading)
Record up to 10 such hits per file with line numbers.
Output of the Artifact Pass
Build an in-memory dict shaped like:
{
"artifacts": {
"github-issue.md": {"exists": true, "bytes": 1840, "lines": 56, "well_formed": true, "issues": []},
"lld.md": {"exists": true, "bytes": 12930, "lines": 410, "well_formed": true, "issues": [{"line": 312, "snippet": "TODO: pick algorithm"}]},
"review.md": {"exists": true, "bytes": 4220, "lines": 130, "well_formed": false, "issues": [{"line": 88, "snippet": "Verdict: NEEDS REVISION"}]},
"testing.md": {"exists": false}
}
}Step 4: Locate Session JSONL Files
Claude Code stores per-project session transcripts under ~/.claude/projects/<encoded-cwd>/*.jsonl. The encoded directory is the absolute project path with / replaced by - and a leading - (e.g. /home/ubuntu/repos/sample-claude-code-multi-model becomes -home-ubuntu-repos-sample-claude-code-multi-model).
The encoded path is derived from git rev-parse --show-toplevel, not necessarily from the current working directory. This means if you run from a subdirectory (e.g. repo/bedrock), the encoded path will still be for the repo root.
Session File Selection Algorithm
- Get the repo root and encoded path:
REPO_ROOT="$(git rev-parse --show-toplevel)" ENCODED="$(echo "$REPO_ROOT" | sed 's|/|-|g')" SESSIONS_DIR="$HOME/.claude/projects/$ENCODED" - Check for subdirectory sessions: Also check for sessions in directories that start with
$ENCODED-(these represent runs from subdirectories):# For REPO_ROOT=/home/ubuntu/repos/sample-claude-code-multi-model # ENCODED=-home-ubuntu-repos-sample-claude-code-multi-model # Also check: -home-ubuntu-repos-sample-claude-code-multi-model-bedrock SHADOW_DIRS=$(ls -d ${SESSIONS_DIR}-* 2>/dev/null || true) - Build list of session directories:
- Primary:
$SESSIONS_DIR - Shadow (subdirectory runs): Any
${SESSIONS_DIR}-*directories
- Primary:
- Find matching sessions:
- If
--session-id <uuid>is provided, use only that session - Otherwise, list all
*.jsonlfiles in all session directories - Filter to sessions whose timestamps overlap with artifact mtimes (1-hour grace window)
- If
- Verify session by cwd (if needed):
- Check the
cwdfield in user events to ensure it matches the repo path - If multiple sessions overlap in time, use the one with matching
cwd
- Check the
If no JSONL file matches, mark the session pass as Not Available in the report and continue - the artifact pass alone is still useful.
Step 5: Session Pass
Each line in a session JSONL is a JSON object. The relevant types are:
type | What it carries | What we extract |
assistant | message.usage, message.model, message.content (text + tool_use blocks) | Tokens (input / output / cache-create / cache-read), model id, tool calls |
user | message.content (text or tool_result) | User prompt text; tool_result error strings |
system | System reminders, hook output | Error / warning lines |
attachment | File attachments | Filenames referenced |
Pseudocode for the aggregation:
import json
from collections import Counter, defaultdict
import re
totals = defaultdict(lambda: {
"input_tokens": 0,
"output_tokens": 0,
"cache_creation_input_tokens": 0,
"cache_read_input_tokens": 0,
"messages": 0,
})
tool_calls = Counter()
errors = []
user_prompts = []
for path in selected_jsonl_files:
with open(path) as f:
for line in f:
obj = json.loads(line)
t = obj.get("type")
msg = obj.get("message") or {}
if t == "assistant" and isinstance(msg, dict):
model = msg.get("model", "unknown")
u = msg.get("usage") or {}
bucket = totals[model]
bucket["input_tokens"] += u.get("input_tokens", 0) or 0
bucket["output_tokens"] += u.get("output_tokens", 0) or 0
bucket["cache_creation_input_tokens"] += (
u.get("cache_creation_input_tokens", 0) or 0
)
bucket["cache_read_input_tokens"] += (
u.get("cache_read_input_tokens", 0) or 0
)
bucket["messages"] += 1
for block in msg.get("content", []) or []:
if isinstance(block, dict) and block.get("type") == "tool_use":
tool_calls[block.get("name", "?")] += 1
elif t == "user" and isinstance(msg, dict):
content = msg.get("content")
if isinstance(content, str):
user_prompts.append(content)
elif isinstance(content, list):
for block in content:
if isinstance(block, dict):
if block.get("type") == "text":
user_prompts.append(block.get("text", ""))
elif block.get("type") == "tool_result" and block.get("is_error"):
errors.append(str(block.get("content", ""))[:500])
elif t == "system":
text = obj.get("content") or obj.get("text") or ""
if any(s in text for s in ("Error", "error", "failed", "Traceback")):
errors.append(text[:500])Themes
Extract recurring topics from user_prompts:
- Lowercase, strip punctuation, drop stopwords.
- Take the top 15 most frequent 1-3 word phrases. (Use a simple counter; no NLP libs required.)
- Cluster verbs ("update", "remove", "add", "review", "ask") to label intent.
Themes go in the report as a short bullet list, e.g.:
- folder structure / repo layout (12 mentions)
- gitignore / submodule discussion (5 mentions)
- "do not guess" inputs (4 mentions)
- skill rewrite (testing, lld, review) (4 mentions)Step 6: Write the Report
Save summary.md next to the artifacts (or to --out if provided):
# Summary: {repo} / {problem} / {model}
*Created: {iso-timestamp}*
*Artifacts: `benchmarks/swe-benchmark-data/{repo}/{problem}/{model}/`*
## Run Status
| Artifact | Exists | Bytes | Lines | Well-formed | Issues |
|----------|--------|-------|-------|-------------|--------|
| github-issue.md | yes | 1840 | 56 | yes | 0 |
| lld.md | yes | 12930 | 410 | yes | 1 |
| review.md | yes | 4220 | 130 | no | 3 |
| testing.md | no | - | - | - | - |
**Overall:** {GREEN / YELLOW / RED} - {one-line headline}
### Issues Captured in Artifacts
- `lld.md:312` `TODO: pick algorithm`
- `review.md:88` `Verdict: NEEDS REVISION`
- ...
## Session Token Usage
| Model | Messages | Input | Output | Cache Create | Cache Read | Total |
|-------|----------|-------|--------|--------------|------------|-------|
| claude-opus-4-7 | 97 | 12,403 | 28,192 | 145,200 | 312,800 | 498,595 |
| claude-haiku-4-5 | 8 | 432 | 980 | 0 | 0 | 1,412 |
| **All models** | 105 | 12,835 | 29,172 | 145,200 | 312,800 | 500,007 |
*Cache hit ratio:* `cache_read / (cache_read + input)` = 96.2%
## Tool Call Mix
| Tool | Count |
|------|-------|
| Bash | 41 |
| Read | 33 |
| Edit | 14 |
| Agent | 5 |
| Write | 4 |
| Grep | 3 |
## Errors and Warnings
- `tool_result is_error: ENOENT: no such file ...` (truncated)
- `system: Error: pre-commit hook failed - ruff check exited 1`
- ...
## Themes from User Prompts
- folder structure / repo layout (12 mentions)
- "do not guess" inputs (4 mentions)
- skill rewrite (4 mentions)
- ...
## Sessions Included
| Session | First event | Last event | Lines |
|---------|-------------|------------|-------|
| 9afad8af-a121-4047-b07b-fb8b8556eb55 | 2026-06-05T15:43Z | 2026-06-05T17:10Z | 257 |
| 6e8e145a-b043-4722-af15-68841a6853cb | 2026-06-05T17:11Z | 2026-06-05T17:55Z | 88 |
## Next Steps
- {Auto-generated: e.g. "Re-run /swe to regenerate testing.md (missing)."}
- {e.g. "Resolve the NEEDS REVISION verdict in review.md before implementing."}Overall Status Rule
Pick GREEN, YELLOW, or RED using these thresholds:
| Status | Rule |
| GREEN | All four artifacts exist, all four well-formed, no errors in session pass |
| YELLOW | All four artifacts exist but at least one has issues, OR session pass shows non-fatal errors |
| RED | One or more artifacts missing, OR a fatal error stopped the run |
Step 7: Present Summary & Seek Guidance
After writing summary.md, print the report (or a tightened version) back to the user and ask:
- Should I open the relevant artifact(s) so you can inspect the issues yourself?
- Should I diff this run against another
{model-name}run for the same problem? (e.g.claude-opus-4-7vsclaude-sonnet-4-6) - Anything else you want me to dig into from the session JSONL files (e.g. specific tool errors, specific time window)?
Do not modify any artifact, re-run /swe, open issues, or commit anything unless the user explicitly authorizes it as a separate request.
Important Guidelines
Read-Only Posture
- This skill is strictly read-only with respect to the artifact folder and the session JSONL files. Never edit them.
- The only file the skill writes is
summary.mdin the artifacts folder (or the--outoverride).
Hard Stops
- Do not guess inputs. If
--repo,--problem, or--modelare missing, ask. - Do not hardcode
/home/ubuntu/.... Usegit rev-parse --show-topleveland$HOME. - Do not modify the artifact files. Reading them is the whole point.
- Do not implement code, run tests, or open PRs. Out of scope.
Session JSONL Caveats
- Token counts come from
message.usage. Onlyassistantevents carry it. User events do not. - A single session may span multiple models if
/modelwas used mid-run; group totals bymessage.model. cache_creation_input_tokensandcache_read_input_tokensare real billable tokens; include them in the totals.- The
web_search_requests/web_fetch_requestsunderusage.server_tool_useare billable separately - call them out if non-zero. - Important: When the session was run from a subdirectory, the session directory may be encoded differently (e.g.
-home-ubuntu-repos-sample-claude-code-multi-model-bedrockinstead of-home-ubuntu-repos-sample-claude-code-multi-model). Always check shadow directories.
Heuristics, Not Verdicts
The "well-formed" checks are heuristics. If a heuristic fails, report the failure transparently rather than declaring the artifact bad. The user is the final judge.
Example Usage
User: "/summarize --repo mcp-gateway-registry --problem remove-faiss --model claude-opus-4-7"
- Resolve
$ART_DIR=benchmarks/swe-benchmark-data/mcp-gateway-registry/remove-faiss/claude-opus-4-7/ - Confirm
$ART_DIRexists - Artifact pass: stat each of the four expected files; record sizes, line counts, well-formed checks, and any TODO/error snippets
- Resolve
$SESSIONS_DIR=$HOME/.claude/projects/-home-ubuntu-repos-sample-claude-code-multi-model/ - If no matching sessions found, also check
$HOME/.claude/projects/-home-ubuntu-repos-sample-claude-code-multi-model-*/ - Session pass: walk every
*.jsonlwhose timestamps overlap the artifact mtimes; aggregate tokens by model, count tool calls, capture errors, extract themes - Write
$ART_DIR/summary.md - Print the report and ask whether to diff against another model
Constraints
- Read-only over artifacts and JSONL - the only output write is
summary.md. - No execution of the cloned
repo/tree. - No emojis, clever code, or em-dashes in any output.
- Naming: always "Amazon Bedrock" (never "AWS Bedrock").
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

