scientific-toolkit-skill
它能做什么
这项技能教智能体如何协助科研计算,例如信号处理、数据分析和仿真的脚本。它面向光学和光电子学方向的工作。
适用场景
- ✓当研究人员需要用于信号或图像处理的 MATLAB 或 Python 代码的时候。
- ✓当用户需要统计或数据分析脚本,并为论文制作清晰图表的时候。
- ✓当用户希望在研究代码之外,同时核对文献参考或 BibTeX 条目的时候。
技能链接
https://github.com/zLanqing/codex-claude-academic-skills/blob/main/scientific-toolkit-skill/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请编写一个 MATLAB 脚本,对我的传感器信号进行滤波,并为我的论文图表绘制结果。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会在 MATLAB、Octave 或 Python 中编写或修复脚本,然后检查结果并导出图表。当数据不清楚时,它会标明假设,并请求提供源文件。
技术内容(原始 SKILL.md)
作者在 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.
常见问题
它会编造物理常数吗?
不会。这项技能说明,不得编造参数、常数或结果。
它涵盖哪些工具?
它涵盖 MATLAB 和 Octave,以及 NumPy、SciPy 和 matplotlib 等 Python 库。
它会撰写论文正文吗?
不会。论文正文属于研究写作技能的范围。
详情
作者的原始描述
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.
热度
- GitHub 星标
- 5.6k
- 排名
- #14766
- 许可证
- MIT
- 更新时间
- 2026/5/14
评论
- …
同一仓库的更多技能
office-academic-skill
5.6k帮你的智能体把研究论文整理为 Word 报告,并制作可编辑、以中文为主的学术 PowerPoint 幻灯片,包含演讲者备注和版式检查。
research-writing-skill
5.6k帮你的智能体撰写、修改和润色研究论文的各部分、摘要以及审稿意见回复,并保持公式、标题和参考文献原样不变。
matlab
5.6k帮你的智能体编写和调试 MATLAB 与 GNU Octave 脚本,用于矩阵运算、信号与图像处理、微分方程、优化以及绘图。
matplotlib
5.6k帮你的智能体用 matplotlib 制作自定义的 Python 图表,控制每一个绘图元素,并导出可用于发表的 PNG、PDF 或 SVG 文件。