Skip to content
Back to skills

Traceback Condensing

ASecurity

Condense a failing test run into a minimal failure digest before retrying.

  • 15 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 20, 2026
ai-agentsgo

Security analysis

A100/100

Scanned November 20, 2026

npx -y skills add usecastor/castor --skill traceback-condensing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Traceback Condensing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Traceback Condensing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/usecastor-traceback-condensing/badge)](https://www.skillsdirectory.com/skills/usecastor-traceback-condensing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: traceback-condensing
description: Condense a failing test run into a minimal failure digest before retrying.
keywords: [traceback, stack trace, error digest, trace_repair, assertion failure, pytest, failed test]
---
# Traceback Condensing

When a test run or build fails, do NOT paste the raw multi-hundred-line
traceback into your reasoning. Condense it into a compact failure digest
first, then act on the digest.

## Checklist
1. Identify the FIRST user-code frame (skip site-packages, stdlib, and
   framework internals). That is where the real bug lives.
2. Extract the exact file, line, and symbol from that frame.
3. Capture the assertion message or exception type + message verbatim.
4. Reduce the digest to at most ~100 tokens:
   `[FailureDigest] <type> at <file>:<line> in <symbol>: <message>`
5. Use the digest (not the raw traceback) to form your next hypothesis.

## Rules
- Never re-emit the full traceback into a tool call or the final answer.
- If the digest points at a test file (not source), the bug is likely in the
  code under test — go read that source file next.
- If the digest is a network/timeout error, that is an environment issue, not
  a code bug — say so and do not "fix" unrelated code.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.