BF agents-debug
Use when your agent or environment is broken — wrong answers, errors, timeouts, tool failures, or CLI issues. Reads traces and logs to diagnose root causes. Also checks prerequisites when the CLI itself isn't working. Triggers on: "agent not working", "wrong answer", "agent error", "tool call failing", "debug agent", "check logs", "read traces", "broken", "500 error", "424 error", "model access denied", "command not found", "stuck in DELETING", "maxVms exceeded", "cold start diagnosis", "cold start slow", "agentcore create error", "create failed", "exit code 7", "connection refused local dev". Not for deploy failures — use agents-deploy. Not for performance tuning without errors — use agents-optimize. Not for VPC configuration — use agents-build. Not for observability setup or missing logs — use agents-optimize.
Reads traces and logs to diagnose root causes.
As a process F 71/100 · Will not run — References files that are not bundled: references/doctor.md, ../agents-build/references/vpc.md, ../agents-harden/references/limits.md
What is at stake
Medium-severity findings: the skill is probably honest, but read what alarmed the scanner.
Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.
The skill asks for more than the task needs: broad tool access, credential environment variables, binaries. Every extra permission widens the damage from a mistake or a compromise.
Narrow allowed-tools and the variable list to the minimum; replace binaries with readable sources or scripts.
How to improve
- The SKILL.md body is over 5,000 tokens: move reference detail into references/ and load it when needed.
- The text references files that are not there: add them or drop the references.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 1
✓ No critical or high findings
Medium and low: 1
-
medium Broad scope
meta-broad-allowed-toolsSKILL.md:1Broad tool permissions pre-approved: Bashallowed-tools: Read Grep Glob Bash
Files scanned: 1. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
body-longSKILL.md body ≈ 7477 tokens (recommended < 5000); move details to references/ - warning
missing-refreference to a missing file: references/doctor.md - warning
missing-refreference to a missing file: ../agents-build/references/vpc.md - warning
missing-refreference to a missing file: ../agents-harden/references/limits.md - warning
missing-refreference to a missing file: ../agents-build/references/memory.md - warning
missing-refreference to a missing file: ../agents-build/references/integrate.md - warning
missing-refreference to a missing file: ../agents-build/references/multi-agent.md - warning
missing-refreference to a missing file: ../agents-build/references/request-headers.md - warning
missing-refreference to a missing file: ../agents-connect/references/policy.md - warning
missing-refreference to a missing file: ../agents-optimize/references/observability.md - warning
missing-refreference to a missing file: references/vpc.md - warning
missing-refreference to a missing file: references/limits.md - warning
missing-refreference to a missing file: references/memory.md - warning
missing-refreference to a missing file: references/integrate.md - warning
missing-refreference to a missing file: references/multi-agent.md - warning
missing-refreference to a missing file: references/request-headers.md - warning
missing-refreference to a missing file: references/policy.md - warning
missing-refreference to a missing file: references/observability.md
Process rating: all ten parameters 71/100
- 0Tools and files. 17 referenced file(s) missing: references/doctor.md, ../agents-build/references/vpc.md, ../agents-harden/references/limits.md
- 60Result and completion. Output format stated, no completion criterion
- 70Inputs and preconditions. Inputs and preconditions are listed
- 70Execution cost. Instruction body is 7477 tokens
- 100Steps. 61 steps
- 100When it triggers. States when to use and when not to
- 100Failures and branches. 1 branches, has a failure section
- 100Consistency. Name and required fields are in place
- 100Running it twice. Mutating operations check current state
- 100Progress reporting. Reports progress
- low 21 top-level sections: this looks like several domains in one skill
- high The skill tells the model to perform an irreversible action with no human approval
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +3Description length 823: 120–800 characters recommended
- +1No license
- +2Single-language instructions
- +5Description quotes 20 example trigger phrases
- +4Description says when NOT to use the skill
- +4Structure: 29 headings
- +3Step-by-step instructions: 61 items
- +3Output format is stated explicitly
- +4Has examples (35 code blocks)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 71.