Skip to content
Back to skills

Pfllib

ASecurity

"Routes PFLlib tasks for dataset preparation, federated-learning

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
toolspythongo

Works with

  • cli

Security analysis

A100/100

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

Scanned September 8, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Pfllib?

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

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

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: "pfllib"
description: "Routes PFLlib tasks for dataset preparation, federated-learning
  experiments, and library extension."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# PFLlib

Use this skill for PFLlib dataset generation, experiment execution, and code
extension tasks.

## Start here

1. Create or verify a Python 3.11 environment with the PFLlib runtime stack:
   PyTorch, torchvision, torchtext, cvxpy, NumPy < 2, and the scientific stack
   used by the repository.
2. Run `scripts/check_install.py --repo-root <checkout>` to confirm imports and
   CUDA availability.
3. Run `scripts/scan_registry.py --repo-root <checkout>` when you need a quick
   view of the supported dataset, model, and algorithm surface.
4. Pick the sub-skill that matches the task family below.

## Routes

### `data-preparation`

Use this route to generate or validate client-split datasets such as MNIST,
AG News, Amazon Review, HAR, and the other built-in scenario generators.
Read `sub-skills/data-preparation/SKILL.md` first.

### `experiments`

Use this route to launch FL runs, tune CLI flags, inspect results, or check
privacy/system-condition settings. Read `sub-skills/experiments/SKILL.md`
first.

### `extension`

Use this route when you need to add a new algorithm, dataset, model, or
optimizer to the repo. Read `sub-skills/extension/SKILL.md` first.

## Shared helpers

- `scripts/check_install.py` — run this first when the environment or CUDA
  stack is in doubt.
- `scripts/scan_registry.py` — use this to inspect the supported registry before
  editing or launching.

## Read these references

- `references/repo-provenance.md` when you need to compare the skill against a
  checkout or decide whether it should be refreshed.
- `references/troubleshooting.md` for cross-cutting install, import, CUDA,
  cvxpy, and working-directory problems.
- `references/repo-routing-metadata.json` for the router placement data used by
  the live repo-skills router.

## Notes

- This repository is script-driven rather than a packaged library; use the
  bundled check and launch helpers against a local checkout.
- If a dataset tree is missing, route to `data-preparation` before launching an
  experiment.
- If the task is to change the codebase, not just run it, route to
  `extension`.

Files in this skill

  • SKILL.md2.3 KB
  • references/repo-provenance.md1.4 KB
  • references/repo-routing-metadata.json547 B
  • references/troubleshooting.md2.6 KB
  • scripts/check_install.py3.5 KB
  • scripts/scan_registry.py3.7 KB
  • sub-skills/data-preparation/SKILL.md2.6 KB
  • sub-skills/data-preparation/references/data-formats.md3 KB
  • sub-skills/data-preparation/references/troubleshooting.md2.3 KB
  • sub-skills/data-preparation/references/workflows.md1.5 KB
  • sub-skills/data-preparation/scripts/run_dataset_generator.py2.6 KB
  • sub-skills/data-preparation/scripts/validate_dataset_layout.py5.2 KB
  • sub-skills/experiments/SKILL.md2.8 KB
  • sub-skills/experiments/references/cli-reference.md5.2 KB
  • sub-skills/experiments/references/model-overview.md1.6 KB
  • sub-skills/experiments/references/results-and-logs.md1.3 KB
  • sub-skills/experiments/references/troubleshooting.md2.9 KB
  • sub-skills/experiments/references/workflows.md1.9 KB
  • sub-skills/experiments/scripts/run_experiment.py1.6 KB
  • sub-skills/experiments/scripts/summarize_results.py3.1 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…

Newsletter

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