diagnose-errors — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited diagnose-errors (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Read eval results and traces to understand what failed and why.
Setup → Design → Execute → ► Diagnose → IterateThis skill follows a completed eval run (kensa eval or kensa judge). It produces a diagnosis that feeds back into generate-scenarios or generate-judges for the next iteration.
Read the latest results file:
kensa report --format jsonOr read directly from .kensa/results/. Identify which scenarios failed and how:
Read the check_results array. The failed check tells you exactly what went wrong.
Present as:
weather_no_tool: FAIL,tools_calledcheck failed The agent answered without callingget_weather, likely hallucinating data. Fix: Check the system prompt; ensure it instructs the agent to use tools.
Read judge_result.reasoning and judge_result.evidence. The judge explains its verdict.
Present as:
weather_accuracy: FAIL, judge rejected "The agent returned weather for New York instead of Tokyo." Fix: Agent may not be passing the city parameter correctly to the tool.If the judge reasoning seems wrong (false negative), the judge criteria or prompt may need refinement. Suggest using generate-judges for structured criteria.
Read error field and scenario's stderr. Common causes:
kensa doctor to confirm which var is unset. Never open or print .env: it holds secrets.audit-evals)For deeper diagnosis, read trace files directly from .kensa/traces/:
kensa analyze --format jsonFocus on flagged_traces:
Read the actual trace JSONL files to understand why each was flagged. Group related flags to find patterns:
"3 of 5 error traces failed on the same tool call, the search_web tool is returning 404s."Based on the failure distribution, recommend ONE primary action:
kensa eval.generate-judges to add structured criteria with examples. If the judge reasoning looks right, recommend fixing the agent.audit-evals to re-verify setup.generate-scenarios to add targeted scenarios for each distinct failure pattern.State the recommendation. Mention alternatives briefly only if the diagnosis is ambiguous.
Be honest about signal quality:
"These are baseline results. The judge is unvalidated against human labels. Traces from this run are saved, iterate to improve."
Summarize findings as context for the next skill invocation:
Failed scenarios: weather_no_tool, weather_accuracy
Failure types: 1 check failure (tools_called), 1 judge rejection
Root cause: agent not using weather tool for direct queries
Fix category: agent bug, system prompt doesn't instruct tool use
Recommended action: fix agent, then re-run kensa evalThis summary should be passed to generate-scenarios (if adding/editing scenarios) or generate-judges (if calibrating the judge) as input context, so the next skill doesn't start from scratch.
exit_code=-1 entries in the manifest.max_cost check might be vacuous.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.