Skip to content
Back to skills

Cream

ASecurity

"Routes DisCo Researcher to Cream-family vision NAS, compression,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
toolspythonbashgitapibackend

Works with

  • cli
  • api

Security analysis

A96/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 cream --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cream?

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

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

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: cream
description: "Routes DisCo Researcher to Cream-family vision NAS, compression,
  distillation, and relative-position-encoding workflows across the AutoFormer,
  AutoFormerV2, Cream, CDARTS, EfficientViT, MiniViT, TinyCLIP, TinyViT, and
  iRPE project families."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Cream

Use this skill when the user is working with the **Cream** monorepo or one of its vision-model subprojects.
It is a router, not a manual: pick the matching sub-skill first, then read the bundled references and run the bundled checks.

## What this skill covers

- AutoFormer and AutoFormerV2 search / evaluation / subImageNet workflows.
- Cream and CDARTS NAS, retrain, test, and dataset-prep workflows.
- EfficientViT classification plus downstream detection / segmentation.
- MiniViT Mini-DeiT and Mini-Swin distillation / compression workflows.
- TinyCLIP OpenCLIP-based inference, evaluation, and pretraining.
- TinyViT model creation, evaluation, sparse-logit saving, and training.
- iRPE integration for DeiT and DETR.

## Quick setup

Use a CUDA-capable inspection environment with the shared packages validated for this repo family:

```bash
python -m pip install torch torchvision timm==0.4.12 yacs easydict termcolor ftfy regex tqdm huggingface_hub webdataset braceexpand pandas psutil tensorboard tensorboardX graphviz scikit-image opencv-python thop fvcore submitit onnx onnxruntime pytest open_clip_torch
```

For legacy NAS routes, the bundled compatibility notes explain the `torch._six` shim and other historical-dependency caveats.

## Minimal environment check

```bash
python scripts/check_environment.py --modules torch,torchvision,timm,open_clip,yacs,easydict,ftfy,regex,webdataset,huggingface_hub,submitit,fvcore
python scripts/check_dataset_layout.py --help
```

## Route map

| Route | Read this sub-skill for | Typical user phrases |
| --- | --- | --- |
| `sub-skills/nas-search/` | AutoFormer, AutoFormerV2, Cream, and CDARTS search / retrain / test / dataset prep | "AutoFormer", "S3", "Cream NAS", "CDARTS", "subImageNet", "search architecture" |
| `sub-skills/efficientvit/` | EfficientViT classification and downstream detection / segmentation | "EfficientViT", "ImageNet eval", "COCO downstream", "RetinaNet", "Mask R-CNN" |
| `sub-skills/minivit/` | Mini-DeiT and Mini-Swin distillation / compression workflows | "MiniViT", "Mini-DeiT", "Mini-Swin", "weight multiplexing" |
| `sub-skills/tinyclip/` | TinyCLIP inference, evaluation, and pretraining | "TinyCLIP", "OpenCLIP", "zero-shot", "pretrain", "weight inheritance" |
| `sub-skills/tinyvit/` | TinyViT evaluation, sparse-logit saving, finetuning, and training | "TinyViT", "save logits", "22k to 1k", "higher resolution" |
| `sub-skills/irpe/` | iRPE for DeiT and DETR | "iRPE", "relative position encoding", "DeiT with iRPE", "DETR with iRPE" |

## Shared helpers

- `scripts/check_environment.py` — import and backend smoke check for the shared Python environment.
- `scripts/check_dataset_layout.py` — validate ImageNet, ImageNet-22k, subImageNet, and COCO-style layouts.
- `scripts/check_custom_ops.py` — report whether the optional `rpe_ops` extensions are built.
- `scripts/check_legacy_imports.py` — probe the legacy NAS modules under a modern-torch compatibility shim.

## Cross-cutting references

- `references/compatibility.md` — read when you need the verified environment baseline, legacy-torch caveats, or the TinyCLIP package note.
- `references/dataset-layouts.md` — read when you need the canonical ImageNet, ImageNet-22k, subImageNet, or COCO folder shapes.
- `references/troubleshooting.md` — read first for repo-wide failure patterns before you narrow the issue to a specific sub-skill.

## Read provenance before refreshing

Read `references/repo-provenance.md` when you need to decide whether this skill still matches a Cream checkout.
If the repository commit, dirty state, or major evidence paths changed, refresh the skill instead of reusing it blindly.

## Notes

- The generated skill is self-contained. Do not rely on the original repository checkout at runtime.
- Project-specific commands, API signatures, model names, and troubleshooting details live in the sub-skill references.
- Do not run the source repository's heavy training, search, or download commands unless the user explicitly asks for them.

Files in this skill

  • SKILL.md4.3 KB
  • references/compatibility.md1.8 KB
  • references/dataset-layouts.md1.8 KB
  • references/repo-provenance.md2.3 KB
  • references/repo-routing-metadata.json481 B
  • references/troubleshooting.md2.9 KB
  • scripts/check_custom_ops.py1.7 KB
  • scripts/check_dataset_layout.py3.2 KB
  • scripts/check_environment.py2.6 KB
  • scripts/check_legacy_imports.py2.5 KB
  • sub-skills/efficientvit/SKILL.md2.5 KB
  • sub-skills/efficientvit/references/api-reference.md2.5 KB
  • sub-skills/efficientvit/references/troubleshooting.md2.1 KB
  • sub-skills/efficientvit/references/workflows.md1.5 KB
  • sub-skills/efficientvit/scripts/benchmark_efficientvit.py3.1 KB
  • sub-skills/efficientvit/scripts/build_efficientvit_command.py3.6 KB
  • sub-skills/irpe/SKILL.md2.2 KB
  • sub-skills/irpe/references/api-reference.md1.8 KB
  • sub-skills/irpe/references/troubleshooting.md2 KB
  • sub-skills/irpe/references/workflows.md1.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.