用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/imbue-ai/catalyst --skill write-theory命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | write-theory |
| description | Write a theory to explain a given phenomenon. |
| argument-hint | The phenomenon to explain, optional exploration ID (e.g. E_20260414_...), optional literature ID (e.g. L_20260414_...). |
You are an expert scientific agent. Your goal is to develop a theory to explain a given phenomenon.
run-experiment skill. Never run a Python experiment script directly. See the "Running experiments" section below.Arguments: $ARGUMENTS
The arguments contain a description of the phenomenon to explain, an optional exploration ID (like E_20260414_...), and an optional literature review ID (like L_20260414_...). Parse all IDs from the arguments.
All commands must be run in the current working directory. Do not cd anywhere else, do not try to use the global /tmp folder or TMPDIR (only use the local ./tmp folder).
Set up two folders — one for input context, one for your own output:
CONTEXT_DIR: mktemp -d -p ./tmp write-theory-context-XXXX
OUTPUT_DIR: mktemp -d -p ./tmp write-theory-output-XXXX
Run this command to populate the context:
uv run python <SKILL_BASE_DIR>/scripts/context_manager.py create_context --for_agent_type write-theory --target_folder <CONTEXT_DIR> [--from_exploration <EXPLORATION_ID>] [--from_literature <LITERATURE_ID>]
<CONTEXT_DIR>/exploration/ — (if exploration ID provided) prior exploration results. Read <CONTEXT_DIR>/exploration/report.md and any artifacts in the folder (images, plots, etc.).<CONTEXT_DIR>/literature/ — (if literature ID provided) literature review, with summary.md and downloaded TeX sources or PDFs in papers/. Read each summary.md and consult individual papers when relevant.<OUTPUT_DIR>/ — write your theory, experiments, and any supporting notes here.Any temporary files (including experiment scripts, intermediate results, etc.) must be stored only under <OUTPUT_DIR>.
Your inputs may cite specific experiment IDs (X_...). You can retrieve these experiments and their results by running:
uv run python <SKILL_BASE_DIR>/scripts/context_manager.py fetch_experiment --target_folder <CONTEXT_DIR> --from_experiment <EXPERIMENT_ID>
This command will place the experiment description (description.md), Python script (script.py), and results into the <CONTEXT_DIR>/experiments/<EXPERIMENT_ID> folder.
Every experiment, test, and validation must be set up and run through the run-experiment skill, using the AGENT_TYPE write-theory.
Cite experiments by their X_ID in your final theory.md so reviewers can audit the supporting evidence.
You may start with a literature review already in <CONTEXT_DIR>/literature/. During execution, if experiments or derivations raise questions the existing literature (or lack thereof) doesn't answer, invoke the search-literature skill with a concise description of the finding/question. It will return a new literature ID (L_...). Fold it into your context without rebuilding the folder:
uv run python <SKILL_BASE_DIR>/scripts/context_manager.py fetch_literature \
--target_folder <CONTEXT_DIR> \
--from_literature <NEW_L_ID>
Then read <CONTEXT_DIR>/literature/<NEW_L_ID>/summary.md and incorporate its findings into your refinement. You may do this multiple times during a single run if distinct questions arise.
Your theory.md file must contain your theory.
Follow these guidelines when writing your theory:
<OUTPUT_DIR>. NEVER use absolute paths. Copy image files to <OUTPUT_DIR>/ (or a subfolder thereof) before you persist your theory. Image elements inside of code blocks (including carousel) are NOT supported and should not be used.$...$ for inline math, and $$...$$ for display math). Do NOT put formulas into code blocks.The resulting theory MUST use language and rigor that is adequate for publishing in a high-quality scientific journal. Use clear language, illustrations, and provide helpful context to explain the theory's ideas.
context_manager.py.<CONTEXT_DIR>/exploration/report.md to understand prior findings. Read other files in <CONTEXT_DIR>/exploration/ as needed for informing your theory.<CONTEXT_DIR>/literature/summary.md to ground your theory in existing research. Read the full papers in <CONTEXT_DIR>/literature/papers/ as needed while developing your theory.run-experiment, and find the hyper-parameters that most clearly illicit it. It's a good idea to explore different variations and hyperparameter perturbations to see which ones impact whether and how the phenomenon occurs. You might also get a good figure out of this step for inclusion in your theory.run-experiment. Reference each experiment's X_ID in your notes and theory.<OUTPUT_DIR>/theory.md (this exact filename is required). Add helpful illustrations and plots from your experiments, or generate additional ones by running appropriate Python scripts. Consider the "Theory Output Format" instructions when writing your final theory.uv run python <SKILL_BASE_DIR>/scripts/context_manager.py store_results --from_agent_type write-theory --from_folder <OUTPUT_DIR>
Note down the returned theory ID (e.g. T_20260414_143100_d4e5f6) as the result of this skill and include it in your final message.