跳到正文
Skillpedia
分析与电子表格5.6k · #14766

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/zLanqing/codex-claude-academic-skills/blob/main/scientific-toolkit-skill/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

  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.
常见问题

它会编造物理常数吗?

不会。这项技能说明,不得编造参数、常数或结果。

它涵盖哪些工具?

它涵盖 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.

repo: zLanqing/codex-claude-academic-skills

热度

GitHub 星标
5.6k
排名
#14766
许可证
MIT
更新时间
2026/5/14

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能