scientific-toolkit-skill
What it does
This skill teaches an agent how to help with research computing, such as scripts for signal processing, data analysis, and simulations. It is aimed at optics and optoelectronics work.
When to use it
- ✓When a researcher needs MATLAB or Python code for signal or image processing.
- ✓When a user needs a statistics or data analysis script with clear plots for a paper.
- ✓When a user wants a literature reference or BibTeX entry checked alongside research code.
Skill link
https://github.com/zLanqing/codex-claude-academic-skills/blob/main/scientific-toolkit-skill/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Write a MATLAB script that filters my sensor signal and plots the result for my thesis figure.”
5 new skills a week. 1 minute to read.
How it works
The agent writes or fixes scripts in MATLAB, Octave, or Python, then checks the results and exports figures. It marks assumptions and asks for the source file when the data is unclear.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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
- Read the provided code, data, README, docs, and project instructions before changing anything.
- Identify variables, dimensions, units, input/output paths, random seeds, and expected figures.
- Make small, verifiable changes and avoid unrelated refactors.
- Prefer mature libraries over hand-rolled numerical methods.
- Run a script-level or test-level verification when possible.
- 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
rngfor stochastic simulations when reproducibility matters. - For publication figures, export both high-resolution
.pngand vector.svgwhen 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.
FAQ
Will it make up physical constants?
No. The skill says not to fabricate parameters, constants, or results.
Which tools does it cover?
It covers MATLAB and Octave, plus Python libraries such as NumPy, SciPy, and matplotlib.
Does it write the paper text?
No. Manuscript prose belongs to the research writing skill.
Details
Original description by the author
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.
Popularity
- GitHub stars
- 5.6k
- Ranking position
- #14766
- License
- MIT
- Updated
- 5/14/2026
Comments
- …
More skills from this repository
office-academic-skill
5.6kHelps your agent turn research papers into Word reports and build editable Chinese-first academic PowerPoint slides, with speaker notes and layout checks.
research-writing-skill
5.6kHelps your agent write, revise, and polish research paper sections, abstracts, and reviewer responses, keeping formulas, titles, and citations exactly as given.
matlab
5.6kHelps your agent write and debug MATLAB and GNU Octave scripts for matrix math, signal and image processing, differential equations, optimization, and plots.
matplotlib
5.6kHelps your agent make custom Python charts with matplotlib, controlling every plot element and exporting publication-quality PNG, PDF, or SVG files.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.