Install
$ agentstack add skill-nvidia-medtech-medical-ai-skills-ct-segmentation-finetune-quality-v1 ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
ctsegmentationfinetunequalityv1
Purpose
- Audits
nv_segment_ct_finetuneevidence packs for checkpoint integrity, training trajectory, baseline comparison, dataset-audit consistency, and label coverage. - Use this after a finetune smoke, sanity, or user-data run has produced an evidence pack. Engineering verification only.
- Manifest I/O: inputs are
nv_segment_ct_finetune_evidence_pack; outputs arect_segmentation_finetune_quality_report.
Instructions
- Run
scripts/grade.pyon the finetune evidence-pack directory. - If a host agent exposes
run_script, userun_script("scripts/grade.py", args=["RUNS/FINETUNE_PACK"]). - Prefer the eval-engine command when you need a verifier evidence pack; use the direct Python command for quick local inspection.
Available Scripts
| Script | Purpose | Arguments | |---|---|---| | scripts/grade.py | Primary verifier entrypoint declared by skill_manifest.yaml. | EVIDENCE_PACK_DIR |
Prerequisites
- The target pack must contain
manifest.json,validation_summary.json, andoutput.json. - Recorded checkpoint paths must still resolve if checkpoint integrity should be assessed.
- Side effects: optional
--outwrites a small JSON audit report to the caller-provided path.
Limitations
- CPU-only audit; it does not re-run training or load the MONAI network.
- Smoke mode is treated as a plumbing oracle, not a model-quality claim.
- Not for clinical validation, regulatory submission, or patient-care decisions.
Troubleshooting
| Error | Cause | Fix | |---|---|---| | Missing checkpoint | The source pack did not preserve output.finetuned_ckpt. | Keep checkpoint artifacts with the pack before auditing. | | Empty training trajectory | The source wrapper did not record epoch metrics. | Inspect the finetune run output and stderr before trusting the pack. | | Dataset audit failure | Input labels/images violate recorded engineering assumptions. | Review the input.dataset_audit block and rerun with corrected dataset metadata. |
Second-pass auditor for evidence packs produced by skills/nv-segment-ct-finetune. The wrapper proves a finetune run completed, emitted a checkpoint, and recorded a training trajectory plus a domain audit of the training dataset. This verifier asks whether what was recorded crosses an engineering floor:
- Checkpoint integrity. The path under
output.finetuned_ckptresolves
to an on-disk file of plausible size. When torch is available the verifier additionally loads the checkpoint with map_location='cpu' and reports parameter count and key shape, without instantiating the model.
- Training trajectory.
output.val_dice_per_epochis non-empty, runs the
full declared epoch budget, train_loss_finite==true, and oom==false. Smoke mode skips the Dice floor because it is only a plumbing oracle. In --sanity mode the floor is the manifest-declared sanity threshold; in real runs it is set high enough to catch silent regressions but low enough to avoid conflating with publication-quality numbers.
- Improvement over baseline. When both
output.baseline_val_diceand
output.best_val_dice are recorded, improvement_over_baseline must be non-negative (>= 0). In sanity mode sanity_recovery_demonstrated==true is the required signal.
- Dataset audit consistency. The recorded
input.dataset_auditblock
must be internally consistent: when image_looks_like_ct==true the HU range must include negative values; when anatomy is named and bounds are declared, anatomy_volume_all_in_range==true; orientation across samples is consistent.
- Label coverage. Every label declared in
input.label_mappings.default
must have shown up at least once in input.dataset_audit.label_uniques_sampled unless the run is in smoke mode (smoke fixture sampling is intentionally shallow).
The verifier is CPU-only, does not re-run training, does not require GPU, and does not load the upstream MONAI bundle's network. A v2 that re-runs the bundle's evaluate config against a held-out split is planned but out of scope here.
python verifiers/ct_segmentation_finetune_quality_v1/scripts/grade.py \
runs/
Engineering verification only. Not for clinical interpretation, regulatory submission, or any decision about the suitability of the finetuned model for patient care.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: NVIDIA-Medtech
- Source: NVIDIA-Medtech/medical-AI-skills
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.