Scientific Toolkit Skill

zLanqing/codex-claude-academic-skills/scientific-toolkit-skill

作者 zLanqing7ed6377f0efb6a38951b48ef03b19d996e454b1f无许可证收录于 2026年10月9日更新于 2026年10月9日

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.

AI 生成的概览

面向 MATLAB/Octave 与科学 Python 的科研计算工具包,涵盖分析、仿真、信号与图像处理、统计及论文图表。

功能
为科学计算任务提供指导与随附参考:MATLAB/Octave 脚本、Python 科学计算库、信号与图像处理、统计、时间序列预测、优化、仿真,以及量子光学或材料计算。还涉及出版级图表导出、引文与文献检索,以及可复现研究工作流。它强调先阅读现有代码与数据,做小而可验证的改动,并报告环境、命令、输出与已知限制。
适用场景
当用户需要 MATLAB 或 Octave 代码、科学 Python 分析、数据分析、绘图、仿真、公式、统计、机器学习,或光学、物理与材料计算时使用。它也用于可复现研究工作流,以及支持编码或分析的引文与参考文献核验。不适用于稿件正文或 Word/PPT 交付物,这些会转由其他技能处理。
运行要求
仅为说明性内容,不附带脚本。它引用可选的随附参考模块,以及可选的软件包安装或用于提高速率限制的 API 密钥,但说明只有在任务需要且用户同意时才应使用软件包、云 API 和外部数据服务。

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/codex-claude-academic-skills位于scientific-toolkit-skill提交7ed6377

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架