scientific-toolkit-skill — Claude Code skill: what it does, install
A skill for research computing: MATLAB/Octave, scientific Python, statistics and publication figures. Useful when you need to compute something, plot a spectrum or check a formula.
npx skills add zLanqing/codex-claude-academic-skills --skill scientific-toolkit-skill -a claude-codeWhat scientific-toolkit-skill does
The skill covers the computing side of research work: MATLAB/Octave scripts, scientific Python with NumPy, SciPy, pandas, matplotlib and scikit-learn, plus statistics, optimisation, discrete-event simulation, citation lookup and BibTeX. It ships a pile of bundled references and loads only the one that fits: sympy, pymoo, simpy, qutip, pymatgen, networkx, astropy, statsmodels, timesfm-forecasting. MATLAB details live in references/scientific-skills/matlab/SKILL.md.
By default it leans on examples from optoelectronics and fiber sensing: BOTDR/BOTDA, BGS, dispersion, noise, deconvolution, calibration and uncertainty. Stochastic runs get an rng call, figures come out as .png and .svg, and your original data, code and plots are never overwritten — new versions go alongside.
It will not install packages or call cloud services on its own. Some references mention optional uv pip install ... steps and API keys for higher rate limits, and both need your agreement first. So the first run on a fresh machine will stall on missing libraries. Check the environment before you start, not afterwards.
What it helps with
- debug a MATLAB signal-filtering script
- export a paper figure as
.pngand.svg - run statistics over a sensor time series
- check a formula and its units in SymPy
- pull citation metadata into a BibTeX entry
Example prompts for the agent
- Walk through
BGS_demod.m: where does the dimension drop, and why does the noise rise after deconvolution? - Plot the spectrum from
sensor_series.csvand export it as.pngand.svgfor the paper. - Compare the dispersion formula in
model.pyagainst SymPy and show which units were substituted.
How to install scientific-toolkit-skill
1Skills CLI (Vercel)
npx skills add zLanqing/codex-claude-academic-skills --skill scientific-toolkit-skill -a claude-code2Manually: put the files in place
~/.claude/skills/scientific-toolkit-skill/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/scientific-toolkit-skill/
1Skills CLI (Vercel)
npx skills add zLanqing/codex-claude-academic-skills --skill scientific-toolkit-skill -a codex2Manually: put the files in place
.agents/skills/scientific-toolkit-skill/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add zLanqing/codex-claude-academic-skills --skill scientific-toolkit-skill -a cursor2Manually: put the files in place
.cursor/skills/scientific-toolkit-skill/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install zLanqing/codex-claude-academic-skills scientific-toolkit-skill2Manually: put the files in place
.github/skills/scientific-toolkit-skill/SKILL.md1Skills CLI (Vercel)
npx skills add zLanqing/codex-claude-academic-skills --skill scientific-toolkit-skill -a gemini-cli2Platform CLI
gemini skills install https://github.com/zLanqing/codex-claude-academic-skills --path scientific-toolkit-skillManually: put the files in place
.devin/skills/scientific-toolkit-skill/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add zLanqing/codex-claude-academic-skills --skill scientific-toolkit-skill -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about scientific-toolkit-skill
How do I install scientific-toolkit-skill in Claude Code?
Run npx skills add zLanqing/codex-claude-academic-skills --skill scientific-toolkit-skill -a claude-code. The skill file then sits at ~/.claude/skills/scientific-toolkit-skill/SKILL.md.
What does scientific-toolkit-skill do?
It handles scientific code: MATLAB/Octave, the Python analysis stack, signal and image processing, statistics, optimisation, simulation, publication figures and reference checks. References load per task.
Does it install packages or need API keys?
Some bundled references mention optional uv pip install commands and keys for higher rate limits. The skill installs nothing and sends no data out unless the task calls for it and you agree.
Source text
SKILL.md · MIT
--- name: scientific-toolkit-skill description: Research computing toolkit for optoelectronic information science and engineering, MATLAB/Octave, Python scientific analysis, signal processing, image processing, statistics, simulation, optimization, publication figures, sensor/time-series data, citation lookup, and common scientific libraries. Use when the user asks for MATLAB code, scientific Python, data analysis, plots, simulations, formulas, statistics, machine learning, optical/physical/materials computation, or reproducible research workflows. --- # Scientific Toolkit Skill ## Scope Use this skill for科研计算 and software-assisted research: - MATLAB/Octave scripts, debugging, refactoring, signal/image processing, FFT, filtering, matrix computation, simulation, and figure export. - Python scientific workflows with NumPy, SciPy, pandas, matplotlib, seaborn, scikit-learn, statsmodels, SymPy, and related tools. - Statistics, exploratory data analysis, sensor/time-series forecasting, optimization, discrete-event simulation, quantum optics/open quantum systems, materials data, and graph/network analysis. - Literature lookup, citation metadata, BibTeX, and reference verification when it supports coding or research analysis. Use `research-writing-skill` for manuscript prose. Use `office-academic-skill` for Word/PPT deliverables. ## Domain Defaults The user's field is光电信息科学与工程. Prefer examples and checks relevant to: - Optics, optoelectronics, optical communication, optical sensing, fiber sensing, BOTDR/BOTDA, BGS, SPM, dispersion, noise, and deconvolution. - Signal processing, image processing, spectroscopy, detector data, sensor time series, calibration, and uncertainty. - MATLAB simulation and reproducible figure generation for论文/答辩. Do not fabricate physical parameters, material constants, software menu operations, experimental results, or paper conclusions. When uncertain, ask for the source file or mark the assumption. ## General Workflow 1. Read the provided code, data, README, docs, and project instructions before changing anything. 2. Identify variables, dimensions, units, input/output paths, random seeds, and expected figures. 3. Make small, verifiable changes and avoid unrelated refactors. 4. Prefer mature libraries over hand-rolled numerical methods. 5. Run a script-level or test-level verification when possible. 6. Report environment, commands, output paths, generated figures, and known limitations. ## MATLAB And Figures - Preserve the original code structure when possible. - Add concise comments for physical meaning, units, assumptions, or formula sources. - Centralize key parameters and avoid hardcoded absolute paths. - Add `rng` for stochastic simulations when reproducibility matters. - For publication figures, export both high-resolution `.png` and vector `.svg` when feasible. - Check axes, units, legends, sampling rate, line width, font, color, and image resolution. For MATLAB/Octave details, use `references/scientific-skills/matlab/SKILL.md`. ## Python Scientific Modules Load only the relevant bundled reference: - Plotting and publication figures: `matplotlib`, `seaborn`, `scientific-visualization`. - Statistics and time series: `statistical-analysis`, `statsmodels`, `timesfm-forecasting`. - Machine learning: `scikit-learn`. - Symbolic math and formulas: `sympy`. - Exploratory data analysis: `exploratory-data-analysis`. - Optimization: `pymoo`. - Simulation: `simpy`. - Quantum optics/open quantum systems: `qutip`. - Materials/crystal/band/DOS workflows: `pymatgen`. - Graphs/networks/citation graphs: `networkx`. - FITS or astronomical/optical imaging style data: `astropy`. - Spreadsheet/PDF utilities: `xlsx`, `pdf`. - Literature/citation support: `paper-lookup`, `citation-management`, `literature-review`. Some bundled references mention optional installs such as `uv pip install ...` or optional API keys for higher rate limits. Do not install packages, use cloud APIs, or send user data to external services unless the current task requires it and the user agrees. ## Safety Rules - Never expose or commit API keys, tokens, private data, or unpublished paper content. - Do not overwrite original data, code, Word/PPT, or figures. Write versioned outputs. - Do not delete or recursively clean user files without explicit confirmation. - For external lookups, prefer open APIs and official documentation; clearly distinguish live lookup results from local inference. ## Verification For code: - Run the relevant script or a minimal example. - Check generated files exist and are readable. - Inspect plots for axes, units, legends, and plausible dimensions. For research analysis: - State software versions when known. - List input files and commands. - Mark assumptions and uncertain parameters.
© zLanqing · MIT · zLanqing/codex-claude-academic-skills