matlab-data-analysis

matlab-data-analysis is a skill for Claude Code, Codex from wzyn20051216/matlab-agent-skills. It costs 95 tokens per session (2,780 once invoked), scanned A, original, MIT.

A MATLAB workflow for turning CSV, Excel, MAT, or similar data into checked results, figures, and reports. MATLAB is software for numerical computing and data analysis.

In plain words
What is it for?
Use it to load and clean data, calculate statistics, fit models, optimize results, create plots, reproduce paper figures, and save analysis artifacts.
Why use it?
It reduces errors caused by unclear data types, units, time zones, missing values, outliers, or unverified calculations.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to load and clean data, calculate statistics, fit models, optimize results, create plots, reproduce paper figures, and save analysis artifacts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wzyn20051216/matlab-agent-skills/matlab-data-analysis
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 wzyn20051216/matlab-agent-skills --skill matlab-data-analysis
Clone the repo
git clone --depth 1 https://github.com/wzyn20051216/matlab-agent-skills

Made for: Claude Code, Codex.

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 matlab-data-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/wzyn20051216/matlab-agent-skills/matlab-data-analysis/github.svg)](https://agentmods.dev/skills/wzyn20051216/matlab-agent-skills/matlab-data-analysis)
Your own site
<a href="https://agentmods.dev/skills/wzyn20051216/matlab-agent-skills/matlab-data-analysis"><img src="https://agentmods.dev/badge/skills/wzyn20051216/matlab-agent-skills/matlab-data-analysis/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 matlab-data-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/wzyn20051216/matlab-agent-skills/matlab-data-analysis"><img src="https://agentmods.dev/badge/skills/wzyn20051216/matlab-agent-skills/matlab-data-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,780 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.00095 $0.02780
Opus 5.5 $0.00038 $0.01112
Sonnet 5.5 $0.00019 $0.00556
Haiku 4.5 $0.00010 $0.00278

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

Security

Grade A, and why

matlab-data-analysis 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 9d 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/matlab-data-analysis/SKILL.md · 194 lines

How it starts

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

MATLAB Data Analysis

Use this skill when the deliverable is a validated number: an integral, a solution vector, a fit, a p-value, an uncertainty, or a figure whose axis is backed by arithmetic. The plot is never the evidence.

Skill Root

The installed directory containing this SKILL.md is the resource root. Add its helper folder for the current MATLAB session only — never through savepath, startup.m, or a global path edit:

skillRoot = '<absolute path to the installed matlab-data-analysis Skill directory>';
addpath(fullfile(skillRoot, 'scripts'));

Resolve references/, tests/, and helper calls from that root, not from the caller's working directory. If a shipped helper or reference is missing, report the exact path and reinstall the Skill; do not scan the disk for a substitute.

Workflow

  1. 任务识别 — State the quantity, its units, the tolerance that makes it acceptable, and what independent source could contradict it. A claim without a tolerance has no PASS.
  2. 能力选择 — r = mas_route(prompt); confirm this skill is primary, then read the matching tool contract below instead of the whole toolbox.
  3. 环境检查 — mas_precheck before toolbox-only APIs (fitlm, Statistics Toolbox). Missing toolbox degrades the method explicitly; it never silently swaps the method.
  4. MATLAB 执行 — build a small reproducible subset first; save intermediate arrays so a failing check can be inspected rather than guessed.
  5. 独立验收 — grade with the tools below. Every accepted number needs a second route: closed form, hand algebra, a different factorization, resampling, or Monte Carlo.
  6. 错误恢复 — a fail/UNDETERMINED is fixed for the named reason (add tolerance, improve the reference, raise precision, extend the record) and re-run; it is never skipped or relabelled.
  7. 结果交付 — report value, tolerance, condition/uncertainty, and verdict. SKIP/BLOCKED stays SKIP/BLOCKED.

Verification tools

q = mas_quad_check(@(x) 4./(1+x.^2), 0, 1, struct('value',pi,'tolRel',1e-8, ...
        'method','simpson','n',32,'derivAt',0.5,'derivValue',-2.56));
q.verdict  q.valueErr  q.orders  q.refGap  q.floorI

L = mas_linsolve_check(A, x, b, struct('tolRel',1e-10));
L.verdict  L.backwardError  L.errorBound  L.cond  L.rank  L.routeDiff

c = mas_converge_check(hist, struct('tolFinal',1e-10,'order',2,'rate',0.5));
c.verdict  c.observed.order  c.observed.rate  c.observed.final

r = mas_fit_check(X, y, beta, struct('tolRel',1e-8,'r2',0.98, ...
        'se',se,'holdout',struct('X',Xh,'y',yh)));
r.verdict  r.r2  r.rmse  r.ci  r.betaRef  r.condX

s = mas_stat_check(x, struct('mu0',5,'alpha',0.05,'tail','two-sided'));
s = mas_stat_check(x1, x2, struct('claimDiff',0));          % Welch
s.verdict  s.p  s.ci  s.decision  s.pResample  s.methodAgreement

u = mas_uncert_check(@(p) p(1).*p(2).^2, [2;3], [0.02;0.03], ...
        struct('value',18,'sigma',0.36,'sigmaTolRel',0.05));
u.verdict  u.sigmaLin  u.sigmaMC  u.mcSE  u.sensitivity  u.jacobianMethod

p = mas_repro_check(@() myExperiment(), struct('seed',20261021,'tol',0));
p.verdict  p.sameSeed  p.seedEffect  p.digest  p.diffSameSeed

o = mas_ode_check(@(t,y) [y(2);-y(1)], [0 2*pi], [1;0], struct( ...
        'reference', @(t) [cos(t);-sin(t)], 'refTolRel', 1e-8, ...
        'invariant', @(t,y) y(1)^2+y(2)^2, 'invTolRel', 1e-8, ...
        'finalValue', [1;0], 'finalTolRel', 1e-8));
o.verdict  o.levels  o.error.maxScaled  o.invariant.maxRelDrift  o.stiffness.classified

Read the full file on GitHub · 194 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. 9d ago Changed · +123 lines · +31 tokens per session ca4f761ae8bd
  2. 16d ago Changed · +23 lines · -4 tokens per session 02b8d27edc03
  3. 2mo ago First seen · 48 lines · 68 tokens per session scan A 2bc006c93c38

Subscribe to this mod's changes

matlab-data-analysis is a skill published in the GitHub repository wzyn20051216/matlab-agent-skills (30 stars, last pushed 8d ago), licensed MIT. It adds 95 tokens to every session and 2,780 once invoked, about $0.0004 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-08-30.

Related

matlab-data-analysis compared with skills from other repositories

matlab-data-analysis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
matlab-data-analysiswzyn20051216/matlab-agent-skillsSkill308d agoMITA95Claude Code, Codex
manim-videoWrongStack/WrongStackSkill404yesterdayMITA101Claude Code, Codex
ml-experiment-tracker0x-Professor/Agent-Skills-HubSkill118mo agoApache-2.0A33Codex
nature-paper-transYuan1z0825/nature-skillsSkill52k2d agoApache-2.0A68Codex
nature-statisticsYuan1z0825/nature-skillsSkill52k2d agoApache-2.0A53Codex
nature-citationYuan1z0825/nature-skillsSkill52k2d agoApache-2.0A58Codex
cuopt-numerical-optimization-formulationNVIDIA/skillsSkill3.9kyesterdayApache-2.0A42Claude Code, Codex