Skip to content
Back to skills

Lightly

ASecurity

"Use LightlySSL for self-supervised computer-vision training, model

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
developmentpythonbashbackend

Works with

  • cli

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

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

Scanned September 8, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Lightly?

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

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

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: lightly
description: "Use LightlySSL for self-supervised computer-vision training, model
  components, CLIs, embeddings, data layout, evaluation, and repository
  maintenance."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# LightlySSL Repo Skill

Use this skill when a task names `lightly`, LightlySSL, self-supervised computer vision, Lightly's CLI commands, SSL transforms/losses/heads, image-folder embeddings, YOLO crop helpers, or maintenance of the LightlySSL repository.

## Quick setup

- Public install: `pip install lightly`
- Optional TIMM/ViT modules: `pip install "lightly[timm]"`
- Optional direct video support: `pip install "lightly[video]"`
- Minimal import check:

```bash
python - <<'PY'
import lightly
from lightly.loss import NTXentLoss
from lightly.transforms import SimCLRTransform
print(lightly.__version__, NTXentLoss, SimCLRTransform)
PY
```

For a richer environment smoke, run the bundled [environment checker](scripts/check_lightly_environment.py). It imports core modules, reports optional TIMM/video availability, and can do a tiny tensor check without downloads.

## Route map

| Need | Read |
|---|---|
| Assemble datasets, collates, transforms, losses, projection heads, memory banks, or method-to-component mappings. | [ssl-building-blocks](sub-skills/ssl-building-blocks/SKILL.md) |
| Adapt a bare PyTorch, PyTorch Lightning, or distributed Lightly SSL training recipe without downloading repo examples. | [training-workflows](sub-skills/training-workflows/SKILL.md) |
| Build or validate `lightly-version`, `lightly-ssl-train`, `lightly-embed`, `lightly-magic`, `lightly-crop`, Hydra overrides, input folders, embeddings CSVs, or YOLO crop labels. | [cli-data-embedding](sub-skills/cli-data-embedding/SKILL.md) |
| Use KNN/linear evaluation utilities or choose repository checks for changes to losses, transforms, examples, docs, notebooks, or distributed tests. | [evaluation-maintenance](sub-skills/evaluation-maintenance/SKILL.md) |

## Shared references

- [Package overview](references/package-overview.md) — public surfaces, optional extras, and workflow boundaries.
- [Troubleshooting](references/troubleshooting.md) — cross-cutting install/import/backend/data/config problems before routing deeper.
- [Repository provenance](references/repo-provenance.md) — source snapshot and refresh triggers.
- [Router metadata](references/repo-routing-metadata.json) — structured scenario placement used by the managed repo-skills router.

## Operating rules

1. Do not run training, embedding, crop, notebook, benchmark, or distributed commands until the user provides data paths, output policy, and runtime budget.
2. Prefer bundled scripts for safe preflight: environment checks, component smoke checks, CLI command construction, folder validation, tiny YOLO fixtures, and synthetic SimCLR steps.
3. Treat GPU, distributed, TIMM, and video support as optional unless the user explicitly asks for them; verify the relevant backend/extra before claiming it works.
4. Keep source-code maintenance guidance separate from package-use guidance. When editing the repository, use the maintenance sub-skill to select focused checks before broad `make all-checks`.

Files in this skill

  • SKILL.md3.2 KB
  • references/package-overview.md2.5 KB
  • references/repo-provenance.md1.7 KB
  • references/repo-routing-metadata.json514 B
  • references/troubleshooting.md2.8 KB
  • scripts/check_lightly_environment.py3.9 KB
  • sub-skills/cli-data-embedding/SKILL.md3.1 KB
  • sub-skills/cli-data-embedding/references/api-reference.md6.4 KB
  • sub-skills/cli-data-embedding/references/cli-reference.md6.7 KB
  • sub-skills/cli-data-embedding/references/data-formats.md4.9 KB
  • sub-skills/cli-data-embedding/references/troubleshooting.md6.2 KB
  • sub-skills/cli-data-embedding/scripts/build_cli_command.py9.1 KB
  • sub-skills/cli-data-embedding/scripts/create_tiny_yolo_crop_fixture.py6.9 KB
  • sub-skills/cli-data-embedding/scripts/validate_lightly_image_folder.py11 KB
  • sub-skills/evaluation-maintenance/SKILL.md4 KB
  • sub-skills/evaluation-maintenance/references/evaluation-and-benchmarks.md8.6 KB
  • sub-skills/evaluation-maintenance/references/maintenance-workflows.md9 KB
  • sub-skills/evaluation-maintenance/references/troubleshooting.md7.4 KB
  • sub-skills/evaluation-maintenance/scripts/check_repo_dev_commands.py14.1 KB
  • sub-skills/ssl-building-blocks/SKILL.md3.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.