Skip to content
Agentmart
Submit a tool

asteroid

Route Asteroid tasks to the right sub-skill for pretrained inference, training recipes, custom model building, and model sharing.

Skill by VectorSpaceLab

IndexedMIT★ 341
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vectorspacelab-asteroid

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Route Asteroid tasks to the right sub-skill for pretrained inference, training recipes, custom model building, and model sharing.

Use cases: ml

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/asteroid

What's inside

Skill name
asteroid
Description
Route Asteroid tasks to the right sub-skill for pretrained inference, training recipes, custom model building, and model sharing.
License
MIT
Metadata
disco-role: operating
Instructions
90 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (31)

  • SKILL.md
  • installation.md · references/
  • package-overview.md · references/
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • runtime-entrypoints.md · references/
  • troubleshooting.md · references/
  • inspect_versions.py · scripts/
  • install_runtime.py · scripts/
  • runtime_requirements.txt · scripts/
  • smoke_training.py · scripts/
  • SKILL.md · sub-skills/custom-models/
  • api-reference.md · sub-skills/custom-models/references/
  • jit-and-tracing.md · sub-skills/custom-models/references/
  • troubleshooting.md · sub-skills/custom-models/references/
  • smoke_building_blocks.py · sub-skills/custom-models/scripts/
  • SKILL.md · sub-skills/model-sharing/
  • cli-reference.md · sub-skills/model-sharing/references/
  • publishable-models.md · sub-skills/model-sharing/references/
  • troubleshooting.md · sub-skills/model-sharing/references/
  • smoke_publishable.py · sub-skills/model-sharing/scripts/
  • SKILL.md · sub-skills/pretrained-inference/
  • cli-reference.md · sub-skills/pretrained-inference/references/
  • pretrained-models.md · sub-skills/pretrained-inference/references/
  • troubleshooting.md · sub-skills/pretrained-inference/references/
  • smoke_pretrained_inference.py · sub-skills/pretrained-inference/scripts/
  • SKILL.md · sub-skills/training-recipes/
  • datasets-and-losses.md · sub-skills/training-recipes/references/
  • recipes.md · sub-skills/training-recipes/references/
  • troubleshooting.md · sub-skills/training-recipes/references/
  • smoke_system_training.py · sub-skills/training-recipes/scripts/

SKILL.md (first lines)

# Asteroid

Asteroid is a PyTorch audio source-separation toolkit for researchers. Use this repo skill when a task mentions Asteroid models, separation, enhancement, recipes, metrics, datasets, DSP blocks, or model sharing.

## Start here

Install the runtime from a clean environment, then read the sub-skill that matches the user intent.

From this skill directory, use the bundled `scripts/install_runtime.py` helper to bootstrap the public Asteroid runtime packages from the skill-local `scripts/runtime_requirements.txt` file without depending on the source checkout.

```bash
python scripts/install_runtime.py
python scripts/smoke_training.py --device cpu
```

If you want a tiny training sanity check after installation, run `scripts/smoke_training.py`.

If you only need a quick environment sanity check, read `references/installation.md`, `references/package-overview.md`, and `references/runtime-entrypoints.md`, then run the bundled `scripts/inspect_versions.py` helper.

## Route by task family

### Pretrained inference and separation
Read `sub-skills/pretrained-inference/SKILL.md` when the task is about:

- `asteroid-infer`
- `BaseModel.from_pretrained`
- `separate(...)`, `file_separate(...)`, `numpy_separate(...)`, `torch_separate(...)`
- Torch Hub or Hugging Face model loading
- `available_models()` or `show_available_models()`
- long-file overlap-add inference with `LambdaOverlapAdd`

This sub-skill covers loading pretrained checkpoints from local files, Zenodo URLs, and hub IDs, then separating audio tensors or files.

### Training recipes and evaluation
Read `sub-skills/training-recipes/SKILL.md` when the task is about:

- `System`, `Trainer`, optimizers, schedulers, or callbacks
- recipe `run.sh`, `train.py`, `eval.py`, `local/` data prep scripts, and stage-based experiment flows
- datasets such as `WhamDataset`, `LibriMix`, `Wsj0mixDataset`, `DNSDataset`, `MUSDB18Dataset`, `FUSSDataset`, `AVSpeechDataset`, `SmsWsjDataset`, or `KinectWsjMixDataset`
- losses and metrics such as `PITLossWrapper`, `SinkPITLossWrapper`, `MetricTracker`, or `get_metrics`

This sub-skill is the right entry point for dataset-backed training, evaluation, and recipe debugging. For a checkout-free training sanity check, use the bundled `scripts/smoke_training.py` entry point.

### Custom model building and core APIs
Read `sub-skills/custom-models/SKILL.md` when the task is about:

- `asteroid.models` constructors or custom subclasses of `BaseModel`
- filterbanks, encoders, decoders, or model registries
- mask blocks, recurrent blocks, normalization, complex-number helpers, or DSP modules
- shape, tracing, or serialization issues
- `asteroid.utils` parser helpers and other reusable building blocks

This sub-skill is the right place for new architectures, custom blocks, or low-level API inspection.

### Model sharing and publishing
Read `sub-skills/model-sharing/SKILL.md` when the task is about:

- `save_publishable(...)` or `upload_publishable(...)`
- `asteroid-upload` or `asteroid-register-sr`
- Zenodo metadata, model cards, or publishable artifacts
- sample-rate fixes for legacy checkpoints

This sub-skill covers preparing release-ready model artifacts and the safe local smoke checks around them.

## Common signals

Use the following as routing hints:

- `infer`, `separate`, `pretrained`, `hub`, `checkpoint`, `model list`, or `long file` → pretrained inference
- `train`, `evaluate`, `recipe`, `dataset`, `loss`, `metric`, `scheduler`, or `optimizer` → training recipes
- `filterbank`, `mask network`, `complex`, `beamforming`, `JIT`, `trace`, or `custom model` → custom model building
- `publish`, `upload`, `Zenodo`, `model card`, or `register sample rate` → model sharing

## Public package surfaces worth remembering

- `asteroid.models` exposes the ready-to-use model families and sharing helpers.
- `asteroid.data` exposes dataset loaders for the supported speech, music, and audio-visual corpora.
- `asteroid.losses` exposes PIT, MixIT, SinkPIT, SDR/MSE/STOI/PMSQE, and other loss helpers.
- `asteroid.metrics` exposes separation metrics and the `MetricTracker` helper.
- `asteroid.engine` exposes the Lightning `System` wrapper plus optimizer and scheduler helpers.
- `asteroid.dsp`, `asteroid.masknn`, `asteroid.complex_nn`, and `asteroid.utils` provide the reusable building blocks that custom-model tasks usually need.
- `scripts/install_runtime.py`, `scripts/smoke_training.py`, and `scripts/inspect_versions.py` provide self-contained runtime bootstrap and smoke-test entry points from the skill output.

## Read before editing or routing

- `references/repo-provenance.md` for the source snapshot.
- `references/repo-routing-metadata.json` for router placement.
- `references/troubleshooting.md` for cross-cutting failures.

From VectorSpaceLab/AREX-Skill, MIT.

More from VectorSpaceLab/AREX-Skill

Signals

Stars
341
Forks
26
Open issues
0
Last commit (this folder)
Aug 26, 2026 (2 months ago)
Last release
Sep 2, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from VectorSpaceLab

Cite this page

asteroid skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-asteroid (last updated 2026-10-24)