Skip to content
Back to skills

Mars

ASecurity

"Routes Mars and pymars users to the right local compute, remote

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

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

Installs into .claude/skills of the current project.

Are you the author of Mars?

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

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

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: mars
description: "Routes Mars and pymars users to the right local compute, remote
  execution, learning, and deployment workflows with verified install, import,
  and backend guidance."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Mars

Use this skill for the `mars` / `pymars` package when a user asks about
Mars tensor, DataFrame, remote functions, Mars Learn, local sessions,
cluster/back-end startup, or optional Ray / GPU / Kubernetes / YARN paths.

Mars is a tensor-based unified framework for large-scale data computation that
scales NumPy-, pandas-, and scikit-learn-style workflows. The package exposes
`mars`, `mars.tensor as mt`, `mars.dataframe as md`, `mars.remote as mr`, and
`mars.config.options` as the main public entry points.

## Start here

- Install the public package with `pip install pymars`.
- If you are working from a local checkout, use `NO_WEB_UI=1 python -m pip install .`
  to avoid the optional web UI build.
- Minimal import check: `python -I -c "import mars; print(mars.__version__)"`.
- Use `python -m pip check` after installation.

Read `references/repo-provenance.md` if you need to know whether this skill is
current for the active checkout, or before refreshing it against a newer commit.

## Route map

### `sub-skills/tensor-dataframe-core/`
Use this for local Mars sessions, lazy/eager execution, tensor and DataFrame
creation, execute/fetch patterns, and small file-backed IO workflows.
Typical signals: `new_session`, `execute`, `fetch`, `stop_server`, `mt.*`,
`md.*`, `option_context`, `eager_mode`, `read_csv`, `to_pandas`, `to_numpy`.

### `sub-skills/remote-and-scripts/`
Use this for `mars.remote.spawn`, `ExecutableTuple`, nested remote DAGs,
`fetch_log`, and script-run workflows.
Typical signals: remote fan-out/fan-in, dependency passing, log retrieval, or
`run_script`.

### `sub-skills/learn-and-integrations/`
Use this for Mars Learn estimators and optional integrations such as Dask,
PyTorch, TensorFlow, XGBoost, LightGBM, Statsmodels, Joblib, and Proxima.
Typical signals: `KMeans`, `PCA`, `NearestNeighbors`, `make_blobs`, `fit`,
`predict`, `mars_scheduler`, or integration import questions.

### `sub-skills/deployment-and-backends/`
Use this for `mars-supervisor`, `mars-worker`, Ray sessions, CUDA/GPU notes,
`mars.deploy.kubernetes`, and `mars.deploy.yarn`.
Typical signals: CLI flags, cluster endpoints, `backend='ray'`, `gpu=True`,
`to_gpu`, `to_cpu`, Kubernetes, YARN, or service prerequisites.

## Shared references

- `references/workflows.md` for the high-level workflow map.
- `references/troubleshooting.md` for cross-cutting install/import/build issues.
- `scripts/check_mars_install.py` for a safe import and smoke helper.

## Quick usage rules

- Prefer CPU/local guidance unless the user explicitly asks for Ray, GPU,
  Kubernetes, YARN, or an external ML framework.
- Do not tell future agents to run original repo tests, notebooks, or scripts
  that are not bundled in this skill tree.
- Keep path references inside this skill tree only.
- Optional backends may be documented even when uninstalled, but do not claim
  them as verified unless a backend-specific smoke has passed.

## Common failures

- Editable installs may fail on newer packaging backends because the project
  does not expose a PEP 660 `build_editable` hook. Use a normal install from a
  checkout instead.
- `mars.dataframe` import can trip over a shadowed or partial `ray` module;
  run from a neutral directory and check the optional Ray path if that happens.
- Set `NO_WEB_UI=1` when the checkout does not have the web UI toolchain.

For deeper guidance, open the sub-skill that matches the user’s request.

Files in this skill

  • SKILL.md3.6 KB
  • references/repo-provenance.md1.5 KB
  • references/repo-routing-metadata.json508 B
  • references/troubleshooting.md3.9 KB
  • references/workflows.md2.9 KB
  • scripts/check_mars_install.py4.4 KB
  • sub-skills/deployment-and-backends/SKILL.md3 KB
  • sub-skills/deployment-and-backends/references/backends.md3.9 KB
  • sub-skills/deployment-and-backends/references/cli-reference.md2.8 KB
  • sub-skills/deployment-and-backends/references/troubleshooting.md3.6 KB
  • sub-skills/deployment-and-backends/scripts/check_mars_cli.py2.5 KB
  • sub-skills/learn-and-integrations/SKILL.md2.7 KB
  • sub-skills/learn-and-integrations/references/api-reference.md3.9 KB
  • sub-skills/learn-and-integrations/references/troubleshooting.md3.4 KB
  • sub-skills/learn-and-integrations/references/workflows.md3 KB
  • sub-skills/learn-and-integrations/scripts/check_mars_learn.py3.5 KB
  • sub-skills/remote-and-scripts/SKILL.md2.4 KB
  • sub-skills/remote-and-scripts/references/api-reference.md2.4 KB
  • sub-skills/remote-and-scripts/references/troubleshooting.md2.1 KB
  • sub-skills/remote-and-scripts/references/workflows.md1.8 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.