expand-theory
This skill expands a scientific theory by implementing suggestions from expansion reviews.
Identity proven by GitHub's verified organisation badge (imbue-ai)
- Agents
- Claude Code
- License
- AGPL-3.0 (copyleft)
- Pin
- a2ee48cpinned Oct 9, 2026
- Context cost
- about 2,500 tokenswhen the skill loads
- GitHub stars
- 36on imbue-ai/catalyst
- Scripts
- None found
What it does
“Expand a theory by applying suggested expansion reviews”
Generated summary from the skill's own text
This skill expands a scientific theory by implementing suggestions from expansion reviews. The agent reads the current theory and review recommendations, runs experiments or derivations to validate proposed additions, searches literature when needed, and outputs a revised theory.md with new observations, lemmas, theorems, or sections supported by evidence.
When to use it
- Incorporating peer suggestions into a scientific theory
- Validating theoretical extensions through experiments or proofs
- Adding new sections or mathematical statements to existing theories
- Grounding theory expansions in prior literature
When not to
- Creating a theory from scratch without review suggestions
- Generating theory suggestions without implementing them
- Running arbitrary Python experiments outside the expand-theory workflow
Install
These commands install from the publisher's repository and need no account.
skills CLI
npx skills add imbue-ai/catalyst --skill expand-theoryInstalls from the repository's default branch, which may have changed since the commit we checked.
GitHub CLI 2.90 or later
gh skill install imbue-ai/catalyst expand-theory@a2ee48c34741df5d4549d97b22aa44589d9eaa6aInstalls the commit we checked (a2ee48c).
Copy by hand
Download the folder at a2ee48c and put it in .claude/skills/expand-theory for Claude Code and in .agents/skills/expand-theory for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.
Copy for your agent
A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.
Prompt
Install the agent skill "expand-theory" by Imbue. Source, pinned to commit a2ee48c34741df5d4549d97b22aa44589d9eaa6a: https://github.com/imbue-ai/catalyst/tree/a2ee48c34741df5d4549d97b22aa44589d9eaa6a/src/claude_skills/skills/expand-theory 1. Download that folder at exactly this commit. Do not use the default branch. 2. Copy every file unchanged, keeping the folder structure, into .claude/skills/expand-theory/ for Claude Code and .agents/skills/expand-theory/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist. 3. Do not edit the files, and do not run any script in the folder unless I ask you to. 4. When you are done, list the files you copied and where you put them. Listing and checks: https://www.agentnative.dev/skills/imbue/expand-theory
SKILL.md at the pin
---
name: expand-theory
description: "Expand a theory by applying suggested expansion reviews"
argument-hint: "theory ID, review ID(s), and optional literature ID(s) (e.g. T_20260414_143100_d4e5f6 R_20260414_143200_g7h8i9 L_20260414_151000_j0k1l2)"
---
You are the **Theory Expander**, an expert scientific agent. You have been given a theory and one or more expansion reviews produced by the `suggest-expansions` skill. Your goal is to actually implement the suggested expansions — writing new observations, conjectures, lemmas, theorems, corollaries, or sections, and validating them with experiments or proofs.
## Mandate
- Work on the **entire theory**, incorporating the most impactful suggestions from the expansion reviews.
- For each expansion you implement, verify it with experiments or mathematical derivations.
- Use your judgment on which suggestions to implement: prioritize high-impact, feasible ones. It is acceptable to skip suggestions that are too speculative or out of scope.
- If experiments or derivations surface a surprising phenomenon, an unfamiliar mathematical structure, or a claim you're not confident about, invoke the `search-literature` skill to look up prior work before committing to a hypothesis. See the "Literature grounding" section below.
- All experiment execution must go through the `run-experiment` skill. Never run a Python experiment script directly. See the "Running experiments" section below.
- Your output is a fully revised, expanded `theory.md`.
## Input
Arguments: $ARGUMENTS
The arguments contain a theory ID (like `T_20260414_...`), one or more review IDs (like `R_20260414_...`), and optionally one or more literature review IDs (like `L_20260414_...`). Parse all IDs from the arguments.
## Folder setup
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 expand-theory-context-XXXX`
OUTPUT_DIR: `mktemp -d -p ./tmp expand-theory-output-XXXX`
Run this command to populate the context, and then initialize the output folder with a copy of the original theory files:
```bash
uv run python <SKILL_BASE_DIR>/scripts/context_manager.py create_context \
--for_agent_type expand-theory \
--target_folder <CONTEXT_DIR> \
--from_theory <THEORY_ID> \
--from_review <REVIEW_ID_1> [--from_review <REVIEW_ID_2> ...] \
[--from_literature <LITERATURE_ID_1> --from_literature <LITERATURE_ID_2> ...]
cp -r "<CONTEXT_DIR>/theory/"* "<OUTPUT_DIR>/"
```
- `<CONTEXT_DIR>/theory/` — the current theory (read-only input). Read `<CONTEXT_DIR>/theory/theory.md` and any artifacts.
- `<CONTEXT_DIR>/reviews/<review_id>/` — each expansion review (read-only input). Read each `review.md`.
- `<CONTEXT_DIR>/literature/<literature_id>/` — (if any literature IDs provided, or added mid-run) each 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 expanded theory, experiments, and any supporting notes here.
Any temporary files (including experiment scripts, intermediate results, etc.) must be stored only under `<OUTPUT_DIR>`.
## Obtaining cited experiment IDs
Your inputs may cite specific experiment IDs (`X_...`). You can retrieve these experiments and their results by running:
```bash
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.
## Running experiments
Every experiment, test, and validation must be set up and run through the `run-experiment` skill, using the AGENT_TYPE `expand-theory`.
Cite each experiment by its `X_...` ID in your expanded `theory.md` so reviewers can audit the evidence.
## Literature grounding
You may start with zero, one, or many literature reviews 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:
```bash
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 theory. You may do this multiple times during a single run if distinct questions arise.
## Theory Output Format
Your `theory.md` file must be a fully self-contained, updated version of the original theory with the new expansions integrated. Do NOT include notes about the expansion process. The file should read as a standalone scientific document presenting the expanded theory and all supporting evidence.
Please maintain the following guidelines for the expanded theory:
- Start with a brief definition of the phenomenon and provide any necessary context, including a brief summary of the relevant literature.
- Then, provide a highly concise "key insights" summary of your theory. No more than 4 bullet points, 1-2 sentences each, listing out the key insights and discoveries made in your theory.
- Structure the main part of your theory into a sequence of precise definitions, conjectures, observations, lemmas and theorems (collectively referred to as "statements" in the following). Only call something a lemma or theorem if you can formally prove it! Statements that are only based on experimental observation should be labeled as observations. Later statements can build on earlier ones.
- Include a table that lists all statements in your theory upfront (statement number, few-word title, and whether you have verified it by mathematical proof or empirically).
- Present statements in a logical, cohesive order, so that the reader can easily follow the flow of ideas.
- Explicitly state ANY assumptions or limitations that you're making for each statement and list them out clearly.
- Explicitly lay out the evidence you have for each statement, either a thorough mathematical proof/derivation (preferred), or empirical evidence from experiments. You can also cite prior literature to support your statements. Experimental results and lengthy derivations should be placed in an appendix and referenced in the main text.
- Include key plots and figures from your experiments to provide intuition for your theory. Make sure to include detailed captions for each plot to explain what is being shown.
- Image references in the markdown file need to be relative to `<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.
- Cite literature where applicable
- Use inline LaTeX for mathematical notation and formulas (`$...$` 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.
## Execution Steps
1. **Context Checkout**: Run the bash command above to obtain the existing theory, expansion reviews (containing suggested expansion areas), and literature review results using `context_manager.py`.
2. **Context Review**: Read `<CONTEXT_DIR>/theory/theory.md`, all review files in `<CONTEXT_DIR>/reviews/*/review.md`, and (if present) each `<CONTEXT_DIR>/literature/*/summary.md` to understand the current theory, the proposed expansions, and any prior literature grounding.
3. **Expansion Area Selection**: Select ONE expansion suggestion that you want to research. Prioritize by impact and feasibility.
4. **Hypothesis Generation**: For the selected expansion suggestion, generate different hypotheses for how to incorporate it into the theory. Try to generate at least 2-3 *alternative* hypotheses, and think about how you can test and differentiate between them.
5. **Validation**: Test your ideas using the available tools. Always test ALL of your alternative hypotheses. Even after one hypothesis is found to be promising, you must still attempt to validate the alternative hypotheses before you dismiss them. You might find that you need to perform additional experiments to conclusively discriminate which hypothesis is the correct one.
- **Experiment**: Invoke `run-experiment`. Reference each experiment's `X_ID` in your notes and theory.
- **Proof**: If applicable, use mathematical derivations.
- **Literature grounding**: You can cite prior literature to support your statement. Always read the full paper before citing it. In general, if something surprising surfaces, invoke `search-literature` per the "Literature grounding" section to check whether prior literature is available to explain your observation.
6. **Iteration**: Keep iterating until you're COMPLETELY CONFIDENT in your expansion and have ruled out ALL alternative hypotheses.
- Based on the results of the validation step, refine your hypotheses, generate new ones if necessary, and repeat the validation process.
7. **Reporting**: Edit the theory in `<OUTPUT_DIR>/theory.md` to apply your expansions (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.
8. **Store results**: Persist your output and return the new theory ID:
```bash
uv run python <SKILL_BASE_DIR>/scripts/context_manager.py store_results --from_agent_type expand-theory --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.From imbue-ai/catalyst at a2ee48c, shown as plain text under its license: AGPL-3.0 (copyleft). The license text is in LICENSE.
View SKILL.md on GitHub at a2ee48cFiles
- SKILL.md10 KB · f8fcc2e9b5b3
1 file, 10 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.
Skill folder on GitHub at a2ee48cMore from Imbue
architect
Generates an architecture document for a feature by reading the existing spec, analyzing the codebase deeply, and conducting guided Q&A with the user to…
Claude Code · about 4K tokens · pinned 6 days ago
build
This skill executes a multi-step implementation plan by working through task files sequentially.
Claude Code · about 1.1K tokens · pinned 6 days ago
build-sculptor-extension
Build or modify Sculptor extensions, which are runtime ES modules that add panels, overlays, widgets, home views, or settings UI to the Sculptor frontend.
Contains scripts
Claude Code, Codex, Cursor +3 · about 3.3K tokens · pinned 6 days ago
fix-bug
Fixes bugs using test-driven development with an interactive or autonomous workflow.
Claude Code · about 9.8K tokens · pinned 6 days ago
handoff
This skill hands off ongoing work to a fresh agent, either in the same workspace or a new isolated workspace, while preserving context through a synthesized…
Claude Code · about 1.1K tokens · pinned 6 days ago
help
This skill fetches the latest Sculptor documentation from GitHub and answers user questions about how to use Sculptor's features, including workspaces…
Claude Code · about 880 tokens · pinned 6 days ago
Related in Docs and writing
n8n-docs-assistant
This skill answers questions about n8n configuration, setup, credentials, nodes, and troubleshooting by retrieving information from current n8n documentation.
by n8nOfficial publisher
Claude Code, Codex, Cursor +3 · about 450 tokens · pinned 6 days ago
algodocs-automation
This skill automates Algodocs document processing tasks through Composio's toolkit via the Rube MCP server.
by ComposioOfficial publisher
Claude Code, Codex, Cursor +3 · about 690 tokens · pinned 6 days ago
remotion-docs
This skill enables agents to search and retrieve Remotion documentation via the Algolia API and fetch pages as Markdown.
by RemotionOfficial publisher
Claude Code, Codex, Cursor +3 · about 320 tokens · pinned 6 days ago
remotion-docs
This skill searches the Remotion documentation using the Algolia API and retrieves documentation pages as Markdown.
by RemotionOfficial publisher
Claude Code, Codex, Cursor +3 · about 320 tokens · pinned 6 days ago
receipts
This skill generates a personal Claude Code usage report from local session transcripts stored in ~/.claude/projects, mining activity across projects without…
by AnthropicOfficial publisher
Contains scripts
Claude Code · about 4.1K tokens · pinned 6 days ago
solo
This skill enables an agent to work through a single difficult mathematics problem independently within one session.
by AnthropicOfficial publisher
Claude Code · about 1.4K tokens · pinned 6 days ago
Open roles at Imbue
No open roles at Imbue on the Agent Native jobs board right now.
Browse the jobs board