dimensionality-reduction

dimensionality-reduction is a skill for Claude Code from ChrisGVE/localdata-mcp. It costs 40 tokens per session (566 once invoked), scanned A, original, Apache-2.0.

A data analysis method reduces many measured features to a smaller number of components for simpler viewing or further modeling. PCA, t-SNE, and UMAP are methods for doing this.

In plain words
What is it for?
Use it to inspect feature quality, create two- or three-dimensional views, discover groups or patterns, and build simpler features.
Why use it?
It helps reveal patterns in data with many columns and makes complex datasets easier to visualize or use as model inputs.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the localdata-mcp plugin — 18 skills, 11 agents, 1 MCP server shipped together

Good fit Use it to inspect feature quality, create two- or three-dimensional views, discover groups or patterns, and build simpler features.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chrisgve/localdata-mcp/dimensionality-reduction
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 ChrisGVE/localdata-mcp --skill dimensionality-reduction
Clone the repo
git clone --depth 1 https://github.com/ChrisGVE/localdata-mcp

Made for: Claude Code.

Or install localdata-mcp, the plugin that ships this one along with the rest of its 18 skills, 11 agents, 1 MCP server.

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 dimensionality-reduction

README.md
[![agentmods](https://agentmods.dev/badge/skills/chrisgve/localdata-mcp/dimensionality-reduction/github.svg)](https://agentmods.dev/skills/chrisgve/localdata-mcp/dimensionality-reduction)
Your own site
<a href="https://agentmods.dev/skills/chrisgve/localdata-mcp/dimensionality-reduction"><img src="https://agentmods.dev/badge/skills/chrisgve/localdata-mcp/dimensionality-reduction/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 dimensionality-reduction

Your own site · 80×15
<a href="https://agentmods.dev/skills/chrisgve/localdata-mcp/dimensionality-reduction"><img src="https://agentmods.dev/badge/skills/chrisgve/localdata-mcp/dimensionality-reduction.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 566 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.00040 $0.00566
Opus 5 $0.00020 $0.00283
Sonnet 5 $0.00008 $0.00113
Haiku 4.5 $0.00004 $0.00057

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

Security

Grade A, and why

dimensionality-reduction 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 10d 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.

skills/modeling/dimensionality-reduction/SKILL.md · 38 lines

How it starts

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

Dimensionality Reduction

Reduce data to fewer dimensions for visualization, pattern discovery, or feature engineering.

Steps

  1. Explore features. Call describe_database with the database name from $ARGUMENTS. Identify all numeric columns. Call get_data_quality_report to check for nulls and assess feature distributions.

  2. Extract data. Call execute_query to select the numeric feature columns. Note the number of rows and features. High-dimensional data (10+ features) benefits most from reduction.

  3. Run PCA first. Call reduce_dimensions with algorithm "pca" and 2-3 components. Review:

    • Explained variance ratio per component (how much information each captures)
    • Cumulative explained variance (target > 70% in 2-3 components for good visualization)
    • Component loadings (which original features contribute most to each component)
  4. Interpret PCA components. Describe each component by its top-loading features. Name the components in domain terms when possible (e.g., "size factor" if height, weight, and volume all load heavily on PC1).

  5. Try t-SNE or UMAP for visualization. If PCA explains less than 50% of variance in 2D (data has complex nonlinear structure), call reduce_dimensions with "tsne" or "umap". These methods preserve local structure better but:

    • Distances between distant points are not meaningful
    • Results depend on hyperparameters (perplexity for t-SNE, n_neighbors for UMAP)
    • Not suitable for downstream modeling, only for visualization
  6. Compare methods. Assess which reduction best reveals structure: clusters, gradients, or outliers in the 2D view. PCA is interpretable; t-SNE/UMAP reveal groupings.

  7. Present results. Provide:

    • Method selected and rationale
    • Explained variance (PCA) or stress metric
    • Component interpretation with feature loadings
    • Visual description of the 2D structure (clusters, gradients, outliers)
    • Recommendations: use PCA components as features in /localdata-mcp:regression, or use groupings visible in t-SNE as input to /localdata-mcp:cluster-analysis

Read the full file on GitHub · 38 lines

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. 10d ago First seen · 38 lines · 40 tokens per session scan A fedad7280157

Subscribe to this mod's changes

dimensionality-reduction is a skill published in the GitHub repository ChrisGVE/localdata-mcp (4 stars, last pushed 27d ago), licensed Apache-2.0. It adds 40 tokens to every session and 566 once invoked, about $0.0002 per session on Opus 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-08-31.

Related

Other skills, from other repositories

wingman-mcp

Add persistent, interactive task plan management to your agent. Wingman tracks plans and tasks across a long conversation — Claude creates plans, ticks tasks after completing work, and a live panel renders inline in the chat. Install the MCP server first, then use these tools to manage plans and tasks throughout any…

adeoluwaadesina/wingman-mcp · 68 tokens

statistical-analyzer

Run statistical analyses — hypothesis tests, regressions, ANOVA, confidence intervals, and power calculations.

inbharatai/claude-skills · 25 tokens

skills-installer

Install, list enabled, validate, or package LiveAgent skills. Use when you need to inspect the skills enabled in the current conversation, import a local skill directory or package, search/install from ClawHub, install from a GitHub repo/tree URL, or reconcile conflicts during an upgrade.

Stack-Cairn/LiveAgent · 62 tokens

thinking-scientific-method

When a symptom has several plausible causes, rank falsifiable hypotheses and run the cheapest discriminating observation first; prefer least-assumptive survivors only after evidence fit.

tjboudreaux/cc-thinking-skills · 38 tokens

environmental-analysis

Research climate, sun, flood, seismic, soil, contamination, and topography for a site. Use for environmental site analysis or hazard questions tied to a location.

AlpacaLabsLLC/skills-for-architects · 37 tokens

liucixin-perspective

A science-fiction writing aid focused on using scientific ideas to imagine large-scale consequences for people and civilizations. It combines technical detail with stories spanning different time periods, places, and levels of society.

momozi1996/awesome-ai-persona-skills · 118 tokens