Skip to content
Back to skills

Moss

ASecurity

"Routes OpenMOSS/MOSS workflows for local LLM inference, model

  • 247 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 8, 2026
toolspythongobashfastapiapibackend

Works with

  • cli
  • api

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 moss --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Moss?

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

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

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: moss
description: "Routes OpenMOSS/MOSS workflows for local LLM inference, model
  runtime checks, API or UI serving, and SFT data/fine-tuning preparation."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# MOSS repo skill

Use this skill for OpenMOSS/MOSS tasks involving the MOSS conversational language
model release: model/runtime readiness, local chat inference, FastAPI/Gradio or
Streamlit serving, and supervised fine-tuning data preparation. The generated
helpers are self-contained and dry-run by default; heavyweight checkpoint
loading, service launch, or training must be an explicit task decision.

## When to read

- The task names MOSS, OpenMOSS, `moss-moon-003`, MOSS tokenizer/model classes,
  INT4/INT8 MOSS checkpoints, MOSS prompt markers, or MOSS plugin transcripts.
- You need to choose a checkpoint precision or GPU plan for MOSS inference.
- You need to validate MOSS environment imports or CUDA availability without
  downloading model weights.
- You need a safe FastAPI request payload, serving plan, or UI deployment recipe.
- You need to validate MOSS SFT JSON/JSONL conversations or plan a DeepSpeed SFT
  launch.

## First decisions

1. **Workflow type** — route to a sub-skill below. Do not collapse serving,
   inference, and training data into one generic recipe.
2. **Checkpoint/runtime cost** — distinguish dry-run planning from real model
   execution. Full MOSS generation can download large Hugging Face checkpoints
   and allocate tens of GB of GPU memory.
3. **Precision and device** — FP16 supports model parallelism; INT4/INT8 are
   documented as single-GPU only.
4. **Data/license constraints** — code, model weights, and data have separate
   licenses. Check constraints before redistribution, external serving, or
   commercial data use.

## Sub-skill routes

| Task | Read |
| --- | --- |
| Import/check `MossConfig`, `MossTokenizer`, `MossForCausalLM`; inspect model defaults; reason about quantization, CUDA, Triton, checkpoint families, memory. | [sub-skills/model-runtime/SKILL.md](sub-skills/model-runtime/SKILL.md) |
| Build MOSS prompts, plan chat generation, validate model/GPU choices, use a dry-run-first generation template, or reason about optional Jittor generation. | [sub-skills/inference/SKILL.md](sub-skills/inference/SKILL.md) |
| Build API request payloads, plan FastAPI/Gradio/Streamlit service launch, handle `uid` history and UI parameters, debug service startup. | [sub-skills/serving/SKILL.md](sub-skills/serving/SKILL.md) |
| Validate MOSS SFT records, plugin/no-plugin transcripts, no-loss spans, Accelerate/DeepSpeed config, and fine-tuning command plans. | [sub-skills/fine-tuning-data/SKILL.md](sub-skills/fine-tuning-data/SKILL.md) |

## Shared references

- [references/repo-provenance.md](references/repo-provenance.md) — source commit
  and evidence baseline; read before deciding whether this skill is stale.
- [references/install-and-dependencies.md](references/install-and-dependencies.md)
  — Python/dependency, CUDA, optional UI/training/Jittor guidance.
- [references/model-overview.md](references/model-overview.md) — checkpoint
  catalog, memory table, backend and license constraints.
- [references/prompt-format.md](references/prompt-format.md) — canonical MOSS
  meta instruction, turn markers, plugin sections, and tool APIs.
- [references/api-reference.md](references/api-reference.md) — verified public
  class/function signatures and runtime facts.
- [references/cli-reference.md](references/cli-reference.md) — bundled helper
  commands and safe-versus-heavy execution notes.
- [references/serving-and-ui.md](references/serving-and-ui.md) — API/UI request,
  response, and state behavior.
- [references/fine-tuning-data.md](references/fine-tuning-data.md) — SFT data
  schema and training-plan summary.
- [references/troubleshooting.md](references/troubleshooting.md) — cross-cutting
  install, checkpoint, CUDA, service, and data failures.

## Shared safe helper

Run [scripts/check_moss_env.py](scripts/check_moss_env.py) to check imports and
optional CUDA availability without loading MOSS checkpoints:

```bash
python path/to/moss/scripts/check_moss_env.py --repo-root /path/to/MOSS --json
python path/to/moss/scripts/check_moss_env.py --repo-root /path/to/MOSS --require-cuda --json
```

The `--repo-root` argument is supplied by the user for their own checkout. Do not
hard-code the checkout that was used to create this skill.

## Non-negotiable operating constraints

- Do not claim full MOSS inference, serving, or fine-tuning works unless that
  heavyweight path was actually run in the target environment.
- Do not use a CPU import check as proof of CUDA generation, quantized Triton
  kernels, or multi-GPU training.
- Do not recommend model parallelism for quantized INT4/INT8 MOSS checkpoints.
- Do not tell a future agent to rely on original repository scripts; use the
  bundled helpers and references in this generated skill tree.
- Keep model downloads, public network exposure, training writes, and license
  implications explicit before executing.

Files in this skill

  • SKILL.md5 KB
  • references/api-reference.md4 KB
  • references/cli-reference.md4 KB
  • references/fine-tuning-data.md2.7 KB
  • references/install-and-dependencies.md4.1 KB
  • references/model-overview.md3 KB
  • references/prompt-format.md3.8 KB
  • references/repo-provenance.md2.5 KB
  • references/repo-routing-metadata.json536 B
  • references/serving-and-ui.md2.7 KB
  • references/troubleshooting.md3.1 KB
  • scripts/check_moss_env.py3.7 KB
  • sub-skills/fine-tuning-data/SKILL.md4.2 KB
  • sub-skills/fine-tuning-data/references/data-formats.md3.2 KB
  • sub-skills/fine-tuning-data/references/troubleshooting.md3.1 KB
  • sub-skills/fine-tuning-data/references/workflows.md3.9 KB
  • sub-skills/fine-tuning-data/scripts/plan_finetune_command.py4 KB
  • sub-skills/fine-tuning-data/scripts/validate_sft_json.py4.8 KB
  • sub-skills/inference/SKILL.md4.8 KB
  • sub-skills/inference/references/cli-catalog.md3.3 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.