Skip to content
Back to skills

Rocrate Metadata Bundle Starter

ASecurity

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.

  • 38 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 8, 2026
ai-agentspythonbash

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add ma-compbio-lab/SkillFoundry --skill rocrate-metadata-bundle-starter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rocrate Metadata Bundle Starter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rocrate Metadata Bundle Starter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ma-compbio-lab-rocrate-metadata-bundle-starter/badge)](https://www.skillsdirectory.com/skills/ma-compbio-lab-rocrate-metadata-bundle-starter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# 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.json` with 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

```bash
./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"`

Files in this skill

  • SKILL.md1.3 KB
  • assets/toy_bundle/ro-crate-metadata.json1 KB
  • assets/toy_bundle/toy_measurements.csv70 B
  • assets/toy_bundle_summary.json651 B
  • examples/toy_measurements.csv70 B
  • metadata.yaml1.4 KB
  • refs.md224 B
  • scripts/build_rocrate_metadata_bundle.py3.4 KB
  • tests/test_build_rocrate_metadata_bundle.py2.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…