Generates literature-grounded scientific theories about research questions. Uses the Theorizer agent to find papers, extract evidence, write theories, and evaluate novelty.
Ships in asta-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Uses the Theorizer agent (via asta-gateway) to find papers, extract evidence, write theories, and score novelty. Auth: asta auth login.
This skill is the hosted service, which runs on Asta credits. To run Theorizer on the person's own machine and their own OpenAI or Anthropic key, with no Asta account, use the run-workflow skill's theory generation workflow instead. Prefer it when the person says their own key, a local run, or papers of their own on disk, and when asta auth status shows they are not logged in.
The CLI is generated from the agent card — every subcommand, flag, and default. Discover the surface yourself:
asta generate-theories --help — list subcommands.asta generate-theories card — full agent card.asta generate-theories describe <skill-id> — input schema for one skill.This skill is in two halves. The first describes what Theorizer is — its three composable stages, the bundled end-to-end version, and the standalone subcommands. The second describes how to handle a generate-theories request end-to-end — choosing a mode, shaping the question, dispatching, checkpoints, handoff, and error handling.
Theorizer's literature-driven theory generation is three composable stages:
literature-theory-generation = find-and-extract → form-theory → evaluate-novelty
find-and-extract — searches papers for the research question and pulls theory-relevant findings (entities, variables, results) from each into a structured table via an extraction schema. Outputs: paper list + extraction findings. No theories yet.form-theory — writes a small set of theories from extraction results. Each theory is a few short laws (e.g. "X causes Y") with supporting and conflicting paper evidence attached. Accepts either a prior run's task_id or user-supplied extraction results.evaluate-novelty — scores each theory's statements against the retrieved literature, marking each claim as already established, derivable from known work, or genuinely new. Accepts either a prior run's task_id or user-supplied theories.literature-theory-generation is the bundled end-to-end version that runs all three back-to-back without pause. Convenient when the user wants results in one shot; less useful when the user wants to inspect or steer between stages.
Two more standalone subcommands round out the surface:
build-extraction-schema — normalizes the research question, drafts a paper search query, and generates the extraction schema that find-and-extract uses. Useful when the user wants to inspect or curate the schema before running the pipeline; pass the produced schema via the extraction_schema parameter on find-and-extract or literature-theory-generation.resume-extraction — add more papers to a prior run and extract findings from them. Useful after failed paper downloads, or to grow the evidence base of a prior run without starting over.The sections below describe the choreography for handling a generate-theories request — what to ask, what to surface, and when.
Because the pipeline is composable, the user has a choice: let it run straight through, or step through stage by stage.
literature-theory-generation call. Submit, wait, render results. Fastest path; user can't steer mid-run.On the user's first generate-theories request in a session, after shaping the question but before submitting, ask which mode they want via AskUserQuestion with the two options as choices. Briefly explain the trade-off in each option's description.
After they answer, remember the choice for the rest of the session. If they later signal they want the other mode ("actually, just run it" / "wait, let me see the papers first"), respect that without re-confirming.
Exception: if the user's original phrasing already commits ("just run it," "use defaults," "I'll review papers before extraction"), skip the question and honor the implied choice.
When running piecemeal, after each stage completes, surface a clear summary in chat oriented to the decision the user is about to make, then offer three options:
| Option | What happens |
|---|---|
| Continue | Run the next stage on this run's output |
| Stop | End here. Render whatever results exist via the Asta Artifacts handoff |
| Edit | Modify before continuing (see below) |
The summary should be tight and decision-oriented — not a dump of everything.
find-and-extract:form-theory:form-theory with a different generation_objective (accuracy-focused vs novelty-focused) or against a subset of the extractions.evaluate-novelty:find-literature to challenge specific claims.If the user picks Stop at any stage, hand off to Asta Artifacts as usual to export and index whatever was produced. Partial extractions and theories are valid artifacts.
This applies only when the next call generates or forms theories — specifically literature-theory-generation (full pipeline) or form-theory (standalone or continuation). Do NOT shape the query when the next call triggers find-and-extract, evaluate-novelty, or resume-extraction.
Theorizer works with both broad and specific questions. A lot of its value comes from taking a broad or exploratory question and searching broadly through the literature — surfacing variables, mechanisms, and scopes the user didn't think to name. A tightly-specified question is useful too, when the user already knows what they want, but it isn't a prerequisite. Don't treat under-specification as a problem to be fixed before the run can happen.
A Theorizer theory question might name some or all of the following four dimensions, and giving them helps the agent aim more precisely when the user already has opinions about them:
Three examples of fully-specified questions (the second includes an optional mechanism) — these are illustrations of one style Theorizer accepts, not a template every question must match:
A broad question like "what makes people trust AI?" is a perfectly valid input on its own. The offer to narrow it is a courtesy, not a gate.
Within a session, don't re-shape on subsequent runs unless the user changes their question substantively. Repeating the dance is friction.
Don't guess the dimensions (Intervention, Outcome, Scope) on the user's behalf and silently narrow the question — that commits the whole run to an angle the user never chose. If you want the question narrowed or changed in any way, ask; don't infer.
Audit first: Determine whether the user's question already names Intervention, Outcome, and Scope, or is broad/exploratory (one or more of those left open).
Then route:
**Your question:** What makes people trust AI?
That reads as a broad, exploratory question — Theorizer can work well with that; it'll dig through the literature and surface the variables and mechanisms that seem to matter. If you'd rather narrow it yourself first, I can factor in specifics like:
- **Intervention** — a variable you want to vary (e.g., source citations, response latency, anthropomorphic phrasing)
- **Scope** — a domain to focus on (e.g., consumer chatbots, medical AI, search assistants)
Want to keep it broad, or add some detail? You can also start broad, then narrow later based on what Theorizer finds.
If they add detail, reformulate and confirm:
**Reshaped:**
Build a theory of how source citations affect user trust in consumer AI chatbots.
_Approve, edit, or keep the original broad question?_
If they say to keep it broad, or don't engage with the offer, proceed with their original question verbatim.
**Your question:** What should I name my startup?
Theorizer generates scientific theories grounded in the published literature — questions like "how does X affect Y" that can be tested against evidence. Naming a startup isn't a testable hypothesis I can ground in papers.
Users may include additional steering context alongside their core research question. For example: "Please build theories about X. I'm particularly interested in Y, or Z. For additional context, I'm interested in A, B, and C."
This additional information helps steer the theory generation process — pass it all through verbatim in the query you submit, rather than truncating to just the core question. The only exception is when the question is not already framed as theory building: in that case, you may reframe the query to start with "Please build theories about...", but keep edits light and do not alter the substance or additional context provided.
Classify the user's request:
literature-theory-generation (automatic) or the three-stage pipeline (piecemeal).resume-extraction, or form-theory / evaluate-novelty with task_id of the prior run.Capture the research question. If the user hasn't supplied one, ask for it. This is the only universally required input.
Shape the question — but only when the next call generates theories (literature-theory-generation or form-theory). Skip for:
find-and-extract standalone — pass the literature topic through.evaluate-novelty, resume-extraction — no query input needed.See Shape the question for the rubric and the do-not-shape list.
Resolve mode (first run only). Skip if the user committed to a mode in their phrasing.
Resolve other inputs. Run asta generate-theories describe <skill-id> to see required and key optional fields. For any missing required fields and the 2–3 most impactful optionals (papers, objective, novelty), ask one AskUserQuestion question unless the user said "use defaults."
Surface what's being submitted. One line: "Using N papers, novelty evaluation on, accuracy-focused. Submitting — say 'tune' to change anything." This is the user-side half of the defaults-visibility pattern.
Submit.
asta generate-theories literature-theory-generation call.asta generate-theories find-and-extract first, then surface results and offer continue/stop/edit, then form-theory and evaluate-novelty in sequence with the same checkpoint pattern.Each subcommand takes a single JSON PAYLOAD argument. Inline JSON works for short payloads; for long queries, write to a file and use @path/to.json. Object-typed inputs also accept a URI (file://, s3://, https://).
The CLI streams progress to stderr and prints the final Task JSON to stdout when the task terminates. The CLI handles polling (5s/15s/60s backoff) — don't write your own loop. Use --no-wait only if the user explicitly asked for fire-and-forget. In an interactive session, run the submit with Bash(..., run_in_background=true) and wait for the completion notification.
Schema defaults. The runtime "Using: ..." line in dispatch step 6 surfaces whatever was actually resolved so the user can intervene before submission.
| Setting | Default | Effect | Tune when |
|---|---|---|---|
max_papers_to_retrieve | 10 | ~3–8 min runtime | Bump to 30 for medium runs, 100 for full coverage (15–25 min) |
generation_objective | accuracy-focused | Favors well-supported theories | Set novelty-focused if user emphasizes novelty or new theories |
do_qualified_novelty_evaluation | true | Adds 30–60 min and ~$5–10 | Skip for fast iteration. No effect in piecemeal mode (the evaluate-novelty stage runs separately) |
Hand off to the Asta Artifacts skill (asta-tools:artifacts) to export and index the result — it owns the path convention, manifest, and asta-documents registration. Pass generate-theories as the invoking skill and a slug shaped YYYY-MM-DD-<short-query-slug> derived from the theory query.
In piecemeal mode, export after each stage the user stops or completes at — don't wait for the full pipeline to finish.
Then write, in chat, in this order:
asta documents search command + open <absolute path>. Use absolute paths.No "let me know if you'd like…" tail — the search/open links cover it.
state=input-required → CLI prints a Continue with: … hint. Relay to the user; resend with asta generate-theories send-message --task-id <id> --context-id <ctx> '<reply>' and re-run the wait.state=failed → report status.message and stop.{error: …} on stderr.task_id to form-theory or evaluate-novelty.asta generate-theories card / asta generate-theories describe <skill-id>What SKILL.md sets; muted values are Claude Code's defaults
/asta-tools:generate-theoriesfrom asta-tools
npx claudepluginhub allenai/asta-plugins --plugin asta-tools17 skills in this plugin
/analyze-dataThis skill should be used when the user asks to "analyze this dataset", "run datavoyager", "run data voyager", "explore this data", "what's in this CSV", "statistical analysis of", "find patterns in", or wants an AI-driven, code-executing analysis of a tabular dataset that answers a specific research question./artifactsUse this skill to export and open A2A agent task outputs — "export the task results", "convert the task output to HTML", or work with the structured artifacts produced by an A2A agent task run./asta-cliInstall or update the `asta` CLI to the version pinned by this plugin. Invoke whenever `asta` is not on PATH (e.g. `command not found` for `asta`) or when a subcommand/flag appears missing — that signals a stale install needing an update./asta-documentsLocal document metadata index for files used by Asta skills and tools. Use this skill when the user asks to store a document "in Asta" or retrieve "from Asta". Use it when the user references an "Asta document" or anything with an `asta://` URI./autodiscoveryCreate, configure, and monitor AutoDiscovery runs — either via the hosted service (`asta autodiscovery`) or via the local CLI (`auto-discovery`). Use when the user asks about their runs, experiments, discoveries, wants to check status, or wants to start a new discovery run./check-claimsJudge whether factual claims in an evidence-backed research write-up are substantiated — which claims assert something checkable with no evidence attached, and whether an attached quote supports the claim as worded. Works over whatever scope the request names — a pull request diff, your own uncommitted change, one file, or a whole project audited end to end. Triggers on "check my claims", "is this claim supported", "evidence review", "audit the evidence", or review of research prose using `.ev` evidence.Other plugins' skills for the same job