Plantcv plant phenotyping starter
A framework for discovering, compiling, and validating reusable skills for scientific agents.From the repository description
npx -y skills add ma-compbio-lab/SkillFoundry --skill plantcv-plant-phenotyping-starterAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- runs commandsInstructs the agent to run 3 commands, including `slurm/envs/plant-science/bin/python skills/agriculture-food-and-plant-science/plantcv-plant-phenotyping-starter/scripts/run_plantcv_plant_phenotyping.py --image-out scratch/plantcv/toy_plant.png --mas` and 2 more.
SKILL.md
1.2 KB, 288 tokens by cl100k_base, as published. Nobody here has run it
PlantCV Plant Phenotyping Starter
Use this skill to generate a tiny synthetic plant image, segment it with PlantCV, and summarize simple morphology-style phenotyping measurements.
What it does
- Builds a small deterministic RGB image containing one synthetic plant-like region.
- Uses
PlantCVHSV conversion plus binary thresholding to produce a foreground mask. - Reports foreground area, bounding box, and a simple saturation-based phenotype summary.
When to use it
- You need a runnable starter for
Plant phenotyping. - You want a local segmentation and mask-summary example before scaling to real greenhouse or field images.
Example
slurm/envs/plant-science/bin/python skills/agriculture-food-and-plant-science/plantcv-plant-phenotyping-starter/scripts/run_plantcv_plant_phenotyping.py \
--image-out scratch/plantcv/toy_plant.png \
--mask-out scratch/plantcv/toy_plant_mask.png \
--out scratch/plantcv/toy_plant_summary.json
Verification
- Skill-local tests:
python3 -m unittest discover -s skills/agriculture-food-and-plant-science/plantcv-plant-phenotyping-starter/tests -p 'test_*.py' - Repository smoke:
python3 -m unittest tests.smoke.test_phase30_empty_domain_seed_skills -v
What ships with it: 7 files
7.0 KB alongside SKILL.md, 2 of them executable
assets/
- README.md90 B
- toy_plant_summary.json277 B
examples/
- README.md120 B
scripts/
- run_plantcv_plant_phenotyping.pyruns2.9 KB
tests/
- test_run_plantcv_plant_phenotyping.pyruns2.1 KB
- metadata.yaml1.4 KB
- refs.md170 B