Install
openclaw skills install @snake-fan/04-theoretical-groundingUse when the user has a research problem but needs theoretical foundations, conceptual lineage, or research traditions that support the problem framing.
openclaw skills install @snake-fan/04-theoretical-groundingUse this skill to run a Theoretical Grounding Workflow: route to exactly one Research Question Card and its completed Problem Reality Check Report, decompose the checked problem into theory-bearing components, extract Theory Hooks, run Targeted Theory Search, select 2-4 theoretical traditions with the user, and write a claim-centered Theoretical Grounding Report.
This skill does not decorate a research question with famous theories. It identifies which precise claims need theoretical support and which theoretical traditions can safely support those claims.
Set {workspace-root} before creating, scanning, or updating artifacts:
{workspace-root} to workspace (the repo-local workspace/ directory).workspace/ layer.{workspace-root} from that path and keep related artifacts under the same root.{workspace-root}/theoretical-groundings/{field-slug}/.source_research_question_checks.md.{workspace-root}/theoretical-groundings/{field-slug}/groundings/{question-slug}/.groundings/{question-slug}/source_problem.md.groundings/{question-slug}/problem_theory_decomposition.md.groundings/{question-slug}/theory_hooks.md.groundings/{question-slug}/candidate_theoretical_traditions.md.groundings/{question-slug}/selected_theoretical_traditions.md.groundings/{question-slug}/theoretical_grounding.md.theoretical_groundings.md.If a Theoretical Grounding Workspace already exists, read its current artifacts before continuing. Preserve user edits and update existing files instead of overwriting them blindly.
The workflow must be routed to exactly one Research Question Card and its completed Problem Reality Check Report.
If the user provides a card path, inspect it directly and find the corresponding Problem Reality Check Report. If the user provides a field slug, inspect {workspace-root}/research-questions/{field-slug}/cards/ and {workspace-root}/research-question-checks/{field-slug}/checks/. If the user does not provide a card, scan {workspace-root}/research-question-checks/ for completed check reports and list candidate cards.
The Theoretical Grounding Source Gate is passed only when all of the following are recorded:
Record the gate in groundings/{question-slug}/source_problem.md using references/source-problem-template.md.
Hard routing rules:
paper-reading-problem-reality-check; do not invent problem-reality findings.reject, do not write Theoretical Pillars. Write the Source Problem record and explain why the problem should not be theoretically grounded in its current form.Theoretical grounding cannot fix a weak problem by citation.
Handle the source Problem Reality Verdict as follows:
problem-solid: continue toward a final Theoretical Grounding Report.needs-evidence: continue, but mark the grounding as provisional unless the evidence needs do not affect the Theory-Support Claims.motivation-fragile: continue, but record which fragilities theory can reframe and which remain unresolved.reject: stop after source routing and explain why the current problem should not be theorized further.The final report must preserve unresolved fragilities from the Problem Reality Check. Do not imply that theoretical grounding resolves an empirical, saturation, or scope weakness unless the report has evidence for that narrower claim.
Create durable artifacts at:
{workspace-root}/theoretical-groundings/{field-slug}/
Use this structure:
source_research_question_checks.mdgroundings/{question-slug}/source_problem.mdgroundings/{question-slug}/problem_theory_decomposition.mdgroundings/{question-slug}/theory_hooks.mdgroundings/{question-slug}/candidate_theoretical_traditions.mdgroundings/{question-slug}/selected_theoretical_traditions.mdgroundings/{question-slug}/theoretical_grounding.mdtheoretical_groundings.mdUse references/workspace-structure.md as the structure guide.
The workspace may contain many per-card grounding folders over time, but each workflow run grounds exactly one checked Research Question Card.
Before writing the Problem-Theory Decomposition, inspect the source problem context:
source_card.mdinterrogation_transcript.md when availableresearch_question_cards.mdcandidate_angles.mdwriting_intent.mdresearch_opportunities.mdresearch_clusters.mdDo not treat missing local artifacts as an invitation to invent context. Record the missing paths in source_problem.md and narrow the Theoretical Grounding Report accordingly.
Write problem_theory_decomposition.md before searching for theories.
Decompose the checked problem into:
phenomenon: the observed or hypothesized phenomenon that makes the problem worth studying.mechanism: the process, causal route, interaction, or conceptual mechanism that may explain why the phenomenon happens.failure: the condition under which current systems, practices, assumptions, or literature fail.Theory-Support Claims: the exact claims in the paper or project that need theory to support them.boundary: the objects, stakeholders, tasks, settings, time scales, and claims that are in or out of scope.A Theory-Support Claim is not the Research Question Card's single Core Claim. It is a key judgment that theory must support. Each Theory-Support Claim must include:
Interaction rule:
After the decomposition is confirmed, write theory_hooks.md.
A Theory Hook is a concept relationship extracted from the decomposition. It is not a keyword, theory name, or citation label.
Each Theory Hook must record:
Good Theory Hooks look like concept relationships:
Avoid using broad keywords as hooks:
Run Targeted Theory Search by default before finalizing Selected Theoretical Traditions, unless the user explicitly says not to search or search is unavailable.
Targeted Theory Search is narrow. It verifies Candidate Theoretical Traditions and representative sources for specific Theory Hooks or Theory-Support Claims. It is not a Field Map Workflow, broad literature review, or general theory brainstorm.
For each search, derive queries from:
For each Candidate Theoretical Tradition, prefer sources in this order:
Do not ask the user to find sources before the agent has made a reasonable targeted search attempt. If search is unavailable, restricted, or insufficient, record a Theory Evidence Need.
Generate 5-8 Candidate Theoretical Traditions in candidate_theoretical_traditions.md.
Candidates may come from classic theory, adjacent fields, or theory-like conceptual traditions already used in the current research area. Selection is based on claim support, not fame.
For each candidate, record:
verified, plausible, weak, or unsupportedselect, keep as secondary lens, reject, or needs searchReject a famous theory if it does not support a Theory-Support Claim. Keep a less famous tradition if it directly supports a claim and has a clear boundary.
Recommend 2-4 Selected Theoretical Traditions in selected_theoretical_traditions.md.
Each selected tradition must explain:
Minimum evidence standard for a Selected Theoretical Tradition:
provisional statusOverall sufficiency standard:
Do not write theoretical_grounding.md until the Theoretical Tradition Selection Gate is passed.
The gate is passed only when the user confirms, revises, replaces, or explicitly delegates the 2-4 Selected Theoretical Traditions and their rationale.
When asking for confirmation, show:
If the user says the agent can decide, continue, but record the selection rationale in selected_theoretical_traditions.md and theoretical_grounding.md.
Before writing the final report, internally check whether relationships among Selected Theoretical Traditions materially affect the research positioning.
Do not create a separate Theory Intersection Map, relationship audit, or theory-relationship artifact.
Use these rules:
The goal is to help the user recognize the research position, not to create an elegant theory map.
Write theoretical_grounding.md only after the decomposition and tradition-selection gates are passed.
The report is organized by Theory-Support Claim, not by theory name.
It must include:
Do not modify the original Research Question Card by default. If the final report recommends card revision, record it under Recommended Card Revision. Only rewrite the card if the user explicitly asks. If the card is rewritten in a way that changes its motivation, recommend rerunning or updating relevant Problem Reality Check dimensions.
Use a Theory Evidence Need only after Targeted Theory Search is unavailable, explicitly deferred, or insufficient.
For each Theory Evidence Need, record:
Do not launch another workflow automatically. Recommend paper-reading-research-framing, paper-reading-field-map, or another paper-reading skill only when the next step is outside narrow theory verification.
Do not skip these gates:
Use the reference templates in this directory:
references/workspace-structure.mdreferences/source-research-question-checks-template.mdreferences/source-problem-template.mdreferences/problem-theory-decomposition-template.mdreferences/theory-hooks-template.mdreferences/candidate-theoretical-traditions-template.mdreferences/selected-theoretical-traditions-template.mdreferences/theoretical-grounding-report-template.mdreferences/theoretical-groundings-summary-template.mdStop when exactly one selected Research Question Card has:
theoretical_groundings.md updated.