Skip to content
Back to skills

Runtime Data

ASecurity

"Guides SecretFlow local runtime setup, device objects, and

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
devopspythonapi

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill runtime-data --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Runtime Data?

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

Security grade badge for Runtime Data
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-runtime-data/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-runtime-data)

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
---
name: runtime-data
description: "Guides SecretFlow local runtime setup, device objects, and
  federated data containers such as FedNdarray and federated dataframes."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Runtime and data

Use this sub-skill when the task is about getting SecretFlow running locally,
creating devices, moving objects between devices, or shaping data into the
federated containers used by later model or component workflows.

## Owns

- `sf.init`, `sf.shutdown`, and the basic local simulation flow
- `PYU`, `SPU`, `HEU`, `TEEU`
- `reveal`, `to`, `wait`, and device-object transfer rules
- `FedNdarray`, `HDataFrame`, `VDataFrame`, `MixDataFrame`, `partition`
- CSV/ORC IO and small data-loading helpers
- common direct-device and partition-alignment failures

## Does not own

- component CLI / evaluation / export workflows — use `component-cli`
- preprocessing/statistics/model training — use `analytics`
- PSI, Kuscia, TEEU deployment, or production orchestration — use `privacy-orchestration`

## Trigger phrases

Use this route when a user asks things like:
- how to start SecretFlow locally
- how to reveal or transfer objects between devices
- how to build a vertical or horizontal dataframe
- how to read CSV or ORC into a federated structure
- why `to(SPU)` or `to(HEU)` failed
- how to align partitions or select columns across parties

## Reading order

1. Read `references/runtime-data.md` for the API map and flow choices.
2. Read `references/troubleshooting.md` in the root skill when install/runtime
   symptoms are not clearly local to this workflow.
3. Use `scripts/local_quickstart.py` as the tiny smoke helper when you need to
   confirm that a local runtime works from the target environment.

## Workflow

1. Confirm the party/device layout first. Decide whether the workflow is a
   simple local simulation or an explicit multi-party cluster config.
2. Put data on a plain device first, then move it onward. Direct placement on
   SPU or HEU is intentionally rejected by the runtime.
3. For federated dataframes, verify which party owns each partition before you
   start selecting, joining, or assigning columns.
4. If a task only needs a tiny end-to-end proof, run the bundled quickstart
   smoke helper and inspect its output before moving on to a larger workflow.
5. When the task later needs component evaluation or model training, hand off
   to the sibling sub-skill rather than expanding this one.

## Common decisions

- Use `address='local'` for the fastest local simulation proof.
- Use `cluster_config` only when the task truly depends on explicit party
  addresses and ports.
- Prefer `PYU` as the staging device for plain Python objects and small data.
- Treat `reveal` as a last-mile inspection tool, not as the default data path.

## Bundled files

- `references/runtime-data.md` — API table, quick-start flow, and runtime caveats.
- `scripts/local_quickstart.py` — minimal local hello-world smoke helper.

Files in this skill

  • SKILL.md3 KB
  • references/benchmark-notes.md802 B
  • references/runtime-data.md4.1 KB
  • scripts/local_quickstart.py668 B

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.