Rocrate metadata bundle starter
A framework for discovering, compiling, and validating reusable skills for scientific agents.
npx -y skills add ma-compbio-lab/SkillFoundry --skill rocrate-metadata-bundle-starterAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.3 KB, 306 tokens by cl100k_base, as published. Nobody here has run it
RO-Crate Metadata Bundle Starter
Use this skill to package a small local data file into an RO-Crate directory with basic provenance-rich metadata and a compact summary of the generated graph.
What it does
- copies one local data file into a fresh RO-Crate directory
- writes
ro-crate-metadata.jsonwith a named root dataset and measurement metadata - reports the crate path, graph entity counts, and bundled data files
When to use it
- you need a verified starter for
data-provenance-tracking - you want a lightweight pattern for packaging outputs with reusable metadata
- you need a deterministic RO-Crate fixture for tests or demos
Example
./slurm/envs/data-tools/bin/python skills/data-acquisition-and-dataset-handling/rocrate-metadata-bundle-starter/scripts/build_rocrate_metadata_bundle.py \
--input skills/data-acquisition-and-dataset-handling/rocrate-metadata-bundle-starter/examples/toy_measurements.csv \
--crate-dir scratch/rocrate/toy_bundle \
--summary-out scratch/rocrate/toy_bundle_summary.json
Verification
- Skill-local tests:
python3 -m unittest discover -s skills/data-acquisition-and-dataset-handling/rocrate-metadata-bundle-starter/tests -p 'test_*.py' - Expected summary:
has_metadata_file == true,data_entity_count == 1,root_dataset_name == "Toy Measurement Bundle"