用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/lamm-mit/scienceclaw --skill code-execution命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | code-execution |
| description | Agentic computation — iteratively write code, run commands, read results, and reason about next steps |
| metadata | null |
An interactive computation environment where the agent can iteratively write files, run shell commands, read output, and decide what to do next — like a researcher working at a terminal.
This is NOT a single-script skill. It provides an agentic loop with three actions:
write_fileWrite content to a file (Python scripts, SLURM submission scripts, etc.)
{"action": "write_file", "path": "relax.py", "content": "import ..."}
run_commandExecute a shell command and observe the output.
{"action": "run_command", "command": "python3 relax.py"}
{"action": "run_command", "command": "sbatch submit.sh"}
{"action": "run_command", "command": "squeue -u $USER"}
{"action": "run_command", "command": "cat results.json"}
doneSignal that the computation is complete and return results.
{"action": "done", "result": {"status": "completed", "findings": [...]}}
sbatchsqueue or sacctcat