Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add olgaiv39/claude-oss-skills --skill test-and-debuggit clone --depth 1 https://github.com/olgaiv39/claude-oss-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/olgaiv39/claude-oss-skills/test-and-debug)<a href="https://agentmods.dev/skills/olgaiv39/claude-oss-skills/test-and-debug"><img src="https://agentmods.dev/badge/skills/olgaiv39/claude-oss-skills/test-and-debug/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/olgaiv39/claude-oss-skills/test-and-debug"><img src="https://agentmods.dev/badge/skills/olgaiv39/claude-oss-skills/test-and-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00070 | $0.01131 |
| Opus 5.5 | $0.00028 | $0.00452 |
| Sonnet 5.5 | $0.00014 | $0.00226 |
| Haiku 4.5 | $0.00007 | $0.00113 |
Grade A, and why
test-and-debug scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.
test-and-debug
Diagnose a failure, isolate the narrowest reproduction, apply the smallest fix, and confirm with a targeted check. Do not add features or refactor unrelated code while using this skill.
Activate when
- A test, build, typecheck, or runtime path is failing
- The cause of a failure is not yet known
- A previously passing check now fails
Do not activate when
- The change is a new feature with no failure yet -> use
implement-minimal - No plan exists for a non-trivial change -> use
oss-plan - The failure is a dependency install or version conflict only ->
use
dependency-review
Required inputs
- The failing command or the observed error
- Access to the repository to reproduce and inspect
- Whether the failure is new or pre-existing, if known
Low-resource policy
Read the first of these that exists, then follow it:
${CLAUDE_PROJECT_DIR}/.claude/shared/LOW_RESOURCE.md$HOME/.claude/shared/LOW_RESOURCE.md
If neither exists, apply this fallback: run one expensive command at a time, prefer the narrowest validation, disable watch mode, reuse existing environments, and run full validation only at a milestone boundary. Do not scan the whole filesystem to locate the policy.
Context-efficiency policy
Read the first of these that exists, then follow it:
${CLAUDE_PROJECT_DIR}/.claude/shared/CONTEXT_EFFICIENCY.md$HOME/.claude/shared/CONTEXT_EFFICIENCY.md
If neither exists, apply this fallback: select files before reading; use targeted searches and bounded ranges; do not preload references; do not reread unchanged files; finish one atomic increment and stop; create a compact handoff before context is exhausted.
Facts that must not be assumed
- The test runner, package manager, or build tool
- That the failure is deterministic
- That the failure is caused by the most recent change
- That an external system the code calls is currently reachable
Preflight
git status --shortandgit diff --statto see uncommitted workgit log --oneline -5to see recent changes that may correlate- Discover the project's test and build commands -> references/test-discovery.md
- Capture the exact failing command and its output
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 140 lines · 70 tokens per session scan A 5e80ebf59a7e
test-and-debug is a skill published in the GitHub repository olgaiv39/claude-oss-skills (13 stars, last pushed 3mo ago), licensed MIT. It adds 70 tokens to every session and 1,131 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
test-and-debug compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| test-and-debugolgaiv39/claude-oss-skills | Skill | 13 | 3mo ago | MIT | A | 70 | Claude Code |
| doca-flowNVIDIA/skills | Skill | 4.0k | yesterday | Apache-2.0 | A | 224 | Claude Code, Codex |
| doca-debugNVIDIA/skills | Skill | 4.0k | yesterday | Apache-2.0 | A | 233 | Claude Code, Codex |
| compute-sanitizer-diagnose-cuda-bugsNVIDIA/skills | Skill | 4.0k | yesterday | Apache-2.0 | A | 213 | Claude Code, Codex |
| mcore-create-issueNVIDIA/skills | Skill | 4.0k | yesterday | Apache-2.0 | A | 26 | Claude Code |
| doca-dpa-hl-tracerNVIDIA/skills | Skill | 4.0k | yesterday | Apache-2.0 | A | 242 | Claude Code, Codex |
| holoscan-app-debug-build-runNVIDIA/skills | Skill | 4.0k | yesterday | Apache-2.0 | A | 38 | Claude Code, Codex |