umap-learn

umap-learn is a skill for Claude Code from sandbaseai/sandbase-skills. It costs 43 tokens per session (623 once invoked), scanned A, original, Apache-2.0.

A Python library for reducing complex data to a smaller set of dimensions while preserving useful relationships. This skill applies it in a reproducible local data workflow and validates the result.

In plain words
What is it for?
Use it to explore or visualize high-dimensional datasets with UMAP, a technique that maps many variables into fewer dimensions.
Why use it?
It helps avoid misleading analysis caused by unchecked data types, missing values, sampling choices, or irreproducible settings. Results are compared with a baseline or independent calculation.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the sandbase-skills plugin — 244 skills shipped together

Good fit Use it to explore or visualize high-dimensional datasets with UMAP, a technique that maps many variables into fewer dimensions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sandbaseai/sandbase-skills/umap-learn
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sandbaseai/sandbase-skills --skill umap-learn
Clone the repo
git clone --depth 1 https://github.com/sandbaseai/sandbase-skills

Made for: Claude Code.

Or install sandbase-skills, the plugin that ships this one along with the rest of its 244 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for umap-learn

README.md
[![agentmods](https://agentmods.dev/badge/skills/sandbaseai/sandbase-skills/umap-learn/github.svg)](https://agentmods.dev/skills/sandbaseai/sandbase-skills/umap-learn)
Your own site
<a href="https://agentmods.dev/skills/sandbaseai/sandbase-skills/umap-learn"><img src="https://agentmods.dev/badge/skills/sandbaseai/sandbase-skills/umap-learn/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for umap-learn

Your own site · 80×15
<a href="https://agentmods.dev/skills/sandbaseai/sandbase-skills/umap-learn"><img src="https://agentmods.dev/badge/skills/sandbaseai/sandbase-skills/umap-learn.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 623 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.00623
Opus 5.5 $0.00017 $0.00249
Sonnet 5.5 $0.00009 $0.00125
Haiku 4.5 $0.00004 $0.00062

Measured 11d ago against content hash 1bdfaadcc726, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

umap-learn scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

marketing/umap-learn/SKILL.md · 47 lines

How it starts

The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.

UMAP-learn

Use this Skill to produce a bounded, verifiable UMAP-learn outcome. Preserve the user's chosen stack, source material, and authorization boundaries.

Read the SandBase API map only when the task genuinely needs an external data source or generative model.

Workflow

  1. Inspect the available files, runtime, versions, inputs, and existing conventions before deciding what to change.
  2. Restate the requested outcome, constraints, acceptance checks, and any assumption that could change the result.
  3. Produce the smallest complete implementation, analysis, or artifact that satisfies those checks.
  4. Verify the real output with appropriate tests, previews, calculations, or source comparison; do not infer success from file creation alone.
  5. Return the deliverable, evidence of validation, material assumptions, and unresolved limitations.

Quality gates

  • Inspect shapes, types, units, missing values, sampling, target leakage, and train/test boundaries before modeling or transformation.
  • Pin or record relevant library versions, random seeds, parameters, and environment assumptions for reproducibility.
  • Validate against a baseline or independent calculation and report diagnostics, uncertainty, failure modes, and resource use.

Focus checks

  • Scale features as appropriate, choose metric, neighbors, and minimum distance from the goal, fix seeds for comparison, and never treat a 2D embedding as proof of clusters.

SandBase boundary

Keep the core UMAP-learn work local. Use SandBase only for an explicitly requested external dataset or model inference step that is not part of the local analysis.

  1. Call sandbase_discover with a short capability query.
  2. Call sandbase_inspect for viable candidates and compare the live schema, coverage, limits, output, execution mode, and price.
  3. Prefer a dedicated tool or API the user already has. Send only the minimum necessary data.
  4. Before any paid call, show the endpoint, important arguments, current unit price, call count, and total estimate or uncertainty, then obtain confirmation.
  5. Use sandbase_account before an approved multi-call batch and call sandbase_run only with current schema-defined arguments.
  6. Poll asynchronous work with sandbase_run_get using the same run ID; never resubmit merely because it is pending.
  7. Use sandbase_runs only to recover status or reconcile observed cost.

Read the full file on GitHub · 47 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 47 lines · 43 tokens per session scan A 1bdfaadcc726

Subscribe to this mod's changes

umap-learn is a skill published in the GitHub repository sandbaseai/sandbase-skills (201 stars, last pushed 11d ago), licensed Apache-2.0. It adds 43 tokens to every session and 623 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-27.

Related

Other skills, from other repositories

quantum-vqe

A runnable guide to the variational quantum eigensolver (VQE), a quantum algorithm that estimates the lowest energy of a mathematical system by adjusting a parameterized circuit. It uses Pauli Hamiltonians, a specified circuit form, and SciPy optimization.

xi-zhao/OpenQuantum · 53 tokens

quantum-vqls

A runnable guide to the variational quantum linear solver (VQLS), a quantum method that estimates a solution to a system of linear equations by optimizing a parameterized circuit. It uses Qiskit and reports the numerical residual and why optimization stopped.

xi-zhao/OpenQuantum · 56 tokens

flask-expert

Expert-level Flask web development, REST APIs, extensions, and production deployment. Use when the user mentions Python, web framework, REST APIs, or Jinja2, or when the task involves Flask Fundamentals or Flask Extensions.

personamanagmentlayer/pcl · 49 tokens

python-expert

Expert-level Python programming with PEP 8 standards and modern best practices. Use when writing Python code, debugging Python issues, explaining Python concepts, or reviewing Python code.

personamanagmentlayer/pcl · 38 tokens

code_runner

Execute Python code snippets safely in an isolated subprocess with timeout protection. Use when: the user asks to run, test, or evaluate Python code, calculate expressions, or prototype logic. NOT for: running shell commands, executing other languages, or code that needs filesystem/network access.

ericwang915/PythonClaw · 58 tokens

frappe-backend

Frappe backend guidance for Python and backend-adjacent JavaScript surfaces such as client interaction patterns, hooks, APIs, patches, scheduler logic, reports, and server-side review. Use when implementing or reviewing Frappe backend behavior.

Dkm0315/frappe-agent · 53 tokens