بنقرة واحدة
integrate-interpretations
Integrate recent interpretations from the interpretation log into the associated theory.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Integrate recent interpretations from the interpretation log into the associated theory.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Design and propose the next step: either a regular data-gathering experiment, literature search, or a concrete solution candidate.
Determine the type of proposal given, execute/delegate accordingly, and return the appropriate resulting ID (experiment ID, literature search ID, or solution ID).
Score and rank solution candidates relative to the research goal, and update parent theory scores.
Rank the given experiments based on their importance for evaluating theories.
Interpret the results of newly run experiments, literature searches, or solution candidates, and append the findings as new sections to the interpretation log inside the theory folder.
Compare and rank multiple proposals (experiments, literature searches, and solution candidates), separating solution candidates from other proposals.
| name | integrate-interpretations |
| description | Integrate recent interpretations from the interpretation log into the associated theory. |
| argument-hint | theory ID, and optionally whether to branch into two distinct theories |
You are an expert scientific agent. We are working on a theory in order to solve a particular research goal. Recently, some additional data has become available (such as experiment results, new literature findings, or competing solution candidates). Your current task now is to update your theory to integrate the new insights from these recent findings.
theory.md file should encompass the entirety of your research progress and current best understanding so far.Arguments: $ARGUMENTS
The arguments contain a theory ID (like T_20260414_...). Parse the theory ID from the arguments.
It might additionally contain an instruction to indicate that you should BRANCH into two distinct theories.
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 integrate-interpretations-context-XXXX
OUTPUT_DIR: mktemp -d -p ./tmp integrate-interpretations-output-XXXX
Run this command to populate the context, and then initialize the output folder with the original theory files:
uv run python <SKILL_BASE_DIR>/scripts/context_manager.py create_context \
--for_agent_type integrate-interpretations \
--target_folder <CONTEXT_DIR> \
--from_theory <THEORY_ID>
cp -r "<CONTEXT_DIR>/theory/"* "<OUTPUT_DIR>/"
<CONTEXT_DIR>/theory/ — the original theory (read-only input). Read <CONTEXT_DIR>/theory/theory.md, <CONTEXT_DIR>/theory/interpretation_log.md, and any artifacts.<OUTPUT_DIR>/ — write your updated theory, experiments, and any supporting notes here.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.
Your inputs may cite specific solution IDs (U_...). You can retrieve these solutions and their contents by running:
uv run python <SKILL_BASE_DIR>/scripts/context_manager.py fetch_solution --target_folder <CONTEXT_DIR> --from_solution <SOLUTION_ID>
This command will place the solution candidate description (solution.md) and any related files into the <CONTEXT_DIR>/solutions/<SOLUTION_ID> folder.
Your theory.md file must be: A revised theory that integrates the new interpretations from the interpretation log.
The revised theory must be a fully self-contained, updated version of the original theory. Do NOT add any notes inside the file about the adherence review or the improvement process itself. The file should read like a standalone document that presents the final improved theory.
Please maintain the following guidelines for the improved theory:
goal.txt in the current working directory to read the research goal again if you need to.X_..., literature citations, or mathematical reasoning). For each observation or insight, add a tag that expresses your confidence in that statement as high, medium, or low, depending on the strength of the evidence that has been seen so far. Be conservative in your confidence assessments: Typically, you'll need many independent experiments or at least one reliable literature source to warrant a confidence level that's medium or high!U_...) and verification experiment ID (X_...) for easy lookup.<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.# ... whenever the direction of the theory has changed and its current title is no longer representative.If the input tells you to branch into two distinct theories, do this as follows:
<OUTPUT_DIR>/theory.md at the time).<OUTPUT_DIR>/theory.md, save the second theory to the database as well.context_manager.py.<CONTEXT_DIR>/theory/theory.md and additionally <CONTEXT_DIR>/theory/interpretation_log.md to understand the research goal, current integrated theory we have developed so far, and the additional recent interpretation notes that have not yet been integrated back into the theory.
interpretation_log.md file does not exist or is empty, stop here. Simply report back the original theory ID from your inputs, together with a note that no changes were needed. You DO NOT need to read the theory.md or store a new result in this case. Simply report your input theory ID back unchanged.interpretation_log.md, identify the necessary updates and additions to the theory's observations and conclusions. Especially look out for any conflicting statements or ideas that need to be revised. In extreme cases, a complete restructuring of the theory may be needed.<OUTPUT_DIR>/theory.md to apply your improvements. Then, delete the interpretation_log.md file in <OUTPUT_DIR>/ (or clear its contents) since all of the interpretations have now been integrated back into the theory.uv run python <SKILL_BASE_DIR>/scripts/context_manager.py store_results --from_agent_type integrate-interpretations --from_folder <OUTPUT_DIR> --parent_theory <THEORY_ID>
Note down the returned theory ID (e.g. T_20260414_150000_x1y2z3) as the result of this skill and include it in your final message.<OUTPUT_DIR>/theory.md in-place. Make sure to update the title of the second theory to reflect its new direction. Then, run the previous step a second time to store the alternative theory in the database, and note down its returned theory ID (e.g. T_20260414_150000_a1b2c3) as well. In this case, you should return both theory IDs in your final message.