How to: validate skill runs¶
This guide defines how to evaluate whether a BioMCP skill run is complete and trustworthy. Validation is checklist-driven and attached directly to each skill markdown file.
Check the installed guidance¶
Before reviewing a run, compare the installed managed skill with the running binary:
current means the recorded BioMCP version, canonical rendered SKILL.md hash,
managed path set, and managed file bytes match. missing, unmanaged, stale,
and locally_modified are diagnostic states, not reasons to overwrite files
implicitly. Follow the returned recovery command only when you intend to replace
BioMCP-managed files; biomcp skill install --force <dir> preserves unrelated
files.
The canonical prompt hash uses the exact UTF-8 bytes from biomcp skill render:
terminal newlines are normalized to exactly one LF before SHA-256 hashing.
Validation Model¶
Each skill should provide:
- Quick Check to confirm command path health.
- Full Workflow with explicit step intent.
- Validation Checklist with concrete expected outcomes.
A run is considered valid when checklist items can be traced to command output.
Reviewer Checklist¶
Use this short rubric when reviewing a skill execution log:
| Criterion | Pass condition |
|---|---|
| Command fidelity | Steps match the skill workflow commands |
| Evidence traceability | Output includes IDs (PMID/NCT/variant IDs) where relevant |
| Clinical relevance | Summary ties findings back to disease/variant/drug context |
| Constraint awareness | Eligibility/safety/limitations noted when applicable |
| Reproducibility | Another reviewer can rerun commands and get equivalent structure |
Common Failure Patterns¶
- Commands run out of order and lose context.
- Final summary omits the evidence IDs returned by commands.
- Trial matching lacks criterion-level explanation.
- Resistance and alternative-treatment claims are made without supporting queries.
Practical Tips¶
- Keep raw output snippets for each checklist line item.
- Prefer explicit command reruns over inferred claims.
- Mark no-result cases clearly (for example, no recruiting trials found) rather than leaving gaps.