CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

debug-runs

Find and read the agent chat runs behind a run id, a user's email, or an object id or link (deck, design, dashboard, document, plan, recording, …) in any app, then work out what failed or why the object looks the way it does. Use when someone reports a broken chat, a failed run, or a bad result and gives you any of those instead of a thread.

Quality

90%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Quality

Content

96%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A dense, fully actionable internal debugging guide: executable commands, per-input matching semantics, ordered diagnostic paths, retention limits, and production-safety guardrails, with essentially no wasted tokens. The only structural gap is that the script the entire skill depends on is not bundled alongside SKILL.md.

Suggestions

Bundle `scripts/debug-runs.ts` with the skill (or state its location relative to the skill directory) — every command in the body invokes it, but no scripts/ directory exists in the bundle, so the reference does not resolve.

Make the `sentry-cli` cross-reference concrete (one line on how to invoke it for the provider ERROR ID lookup) so the Sentry diagnosis path is fully navigable without guessing.

DimensionReasoningScore

Conciseness

The body explains nothing Claude already knows; every paragraph carries non-obvious internal specifics ("Design's table alone is over 1 GB, and an unfiltered scan times out against production", "Their conversation lives in that client; only the calls reached us"). Lean throughout with no trimmable over-explanation.

5 / 5

Actionability

Two copy-paste commands with flags ("pnpm exec tsx scripts/debug-runs.ts find <input> [--app NAME] [--days 30] [--limit 20]"), an input-matching table with concrete examples for every input type, and ordered diagnostic steps ("Start at the failed run's `error`, then the last tool call before it"). Fully executable guidance covering the common cases.

5 / 5

Workflow Clarity

Clear numbered sequence (Find the runs → Read a thread → Diagnose) with explicit error-recovery loops: "`auditError`: the audit scan timed out; rerun with a smaller `--days`", the error-entry disambiguation ("it was not searched, which is not the same as 'nothing found'"), and the fallback "Threads created before May 2026 have no run ids, so `runs[]` is empty and only the transcript is available". The workflow is read-only, so the destructive/batch validation cap does not apply.

5 / 5

Progressive Disclosure

A single well-organized file with clear sections (Find / Read a thread / Diagnose / Retention / Rules) and nothing inlined that belongs in a separate file, but its sole external reference — `scripts/debug-runs.ts`, invoked by every command — is not present in the bundle (no scripts/ directory exists), so the reference does not resolve. Not 5 because a clearly signaled one-level-deep reference is broken relative to the provided bundle; not 3 because structure and signaling are otherwise good.

4 / 5

Total

19

/

20

Passed

Description

87%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: it states a concrete dual capability (locate/read runs, then diagnose) across all identifier forms, and gives an explicit, natural-language Use-when clause with concrete trigger phrases. Remaining upside is broader synonym coverage and a slightly fuller enumeration of what the skill can do once the runs are found.

Suggestions

Add natural trigger synonyms users say when reporting problems — e.g. 'stuck', 'wrong output', 'weird result', 'debug this run' — to broaden trigger matching beyond 'broken chat, failed run, bad result'.

Name one or two more concrete capabilities (e.g. 'show the full transcript' or 'list the versions a thread wrote') so the capability list reads as comprehensive rather than several actions with gaps.

DimensionReasoningScore

Specificity

"Find and read the agent chat runs behind a run id, a user's email, or an object id or link … then work out what failed or why the object looks the way it does" names several concrete actions with enumerated input types and object kinds. Not 3 because more than 1–2 concrete actions are given with only minor gaps; not 5 because the action list is not comprehensive (e.g., reading full transcripts or listing versions/external sessions are unnamed capabilities).

4 / 5

Completeness

Both halves are explicit: the what is "Find and read the agent chat runs … then work out what failed or why the object looks the way it does", and the when is "Use when someone reports a broken chat, a failed run, or a bad result and gives you any of those instead of a thread". This matches the anchor with concrete trigger phrases on both sides; not 4 because the when-clause is already explicit and specific rather than merely present.

5 / 5

Trigger Term Quality

Natural reporter phrases are present — "broken chat", "failed run", "bad result" — alongside concrete trigger forms (run id, email, object id or link; deck, design, dashboard, document, plan, recording). Good coverage, but common synonyms such as "stuck", "wrong output", or "debug this run" are missing, so it falls short of the comprehensive-synonym anchor at 5.

4 / 5

Distinctiveness Conflict Risk

"agent chat runs behind a run id, a user's email, or an object id or link … in any app" carves out a clear niche, and the trigger is tightly bounded by "gives you any of those instead of a thread", so it is unlikely to fire for unrelated debugging or document skills. Minimal overlap risk.

5 / 5

Total

18

/

20

Passed

Validation

75%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 12 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

metadata_field

'metadata' should map string keys to string values

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

referenced_paths_exist

Referenced path issues: 3 missing

Warning

Total

12

/

16

Passed

Repository

BuilderIO/agent-native

Path

.agents/skills/debug-runs/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.