用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/yi-huang-1/evo-metaoptics --skill learning-context命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | learning-context |
| description | Code-generation context for metaoptics inverse-design MCE runs. |
Use rollout telemetry to improve inverse-design code-generation context and reduce repeated failures.
The agent writes a Python function:
def solve_inverse_design(*, device: str = "cuda") -> SolverResults:
device parameter (string, defaults to "cuda") specifying compute device placement.torchrdit.results.SolverResults object from solver.solve(source)..py file via the write_file tool.solve_inverse_design from the written file and executes it with an explicit device parameter.uv run python ... instead of bare python ... so commands run inside the repo-managed environment.evaluate_gt_eval() evaluates Python lambda expressions against the returned SolverResults.success_goal as primary metric; use success_exec to isolate runtime failures..with_device(device) early in the builder chain to ensure all solver tensors are placed on the correct compute device.success_goal=true and avoid broad rewrites.The context/ folder contains accumulated knowledge from previous training iterations:
rules.txt - Actionable rules for handling common failure patternsanalysis.md - Root cause analysis from training dataexamples.json - Examples of successful patternsBefore implementing interfaces: