
Atomic Decomposition
- 1.2k installs
- 255 repo stars
- Updated February 27, 2026
- lingzhi227/agent-research-skills
atomic-decomposition is a research skill for breaking questions into testable atomic claims.
About
The atomic-decomposition skill breaks broad research questions into atomic claims, hypotheses, and experiment units that can be tested independently. It guides agents to split literature gaps, proposed methods, and evaluation criteria into small verifiable pieces before paper assembly or coding experiments. Each atom links to required evidence type such as benchmark, ablation, or user study so downstream experiment-code and paper-assembly skills inherit a traceable structure. The workflow reduces vague research plans by forcing explicit success metrics per atomic unit.
- Splits research questions into atomic testable claims.
- Links each atom to required evidence types and metrics.
- Feeds experiment-code and paper-assembly downstream skills.
- Forces explicit hypotheses before implementation starts.
- Reduces vague research plans into verifiable units.
Atomic Decomposition by the numbers
- 1,228 all-time installs (skills.sh)
- +37 installs in the week ending Aug 5, 2026 (Skillselion tracking)
- Ranked #925 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Security screen: MEDIUM risk (skills.sh audit)
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/lingzhi227/agent-research-skills --skill atomic-decompositionAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1.2k |
|---|---|
| repo stars | ★ 255 |
| Security audit | 2 / 3 scanners passed |
| Last updated | February 27, 2026 |
| Repository | lingzhi227/agent-research-skills ↗ |
How should I decompose this research question into testable units?
Decompose research questions into atomic testable claims and experiment units.
Who is it for?
Researchers planning experiments and papers in agent-research-skills pipeline.
Skip if: Skip when the research question is already fully specified with metrics.
When should I use this skill?
User decomposes research topics into hypotheses and experiment units.
What you get
Atomic claims with evidence types linked for experiments and writing.
- atomic concept library
- math-formula mappings
- code implementation links
By the numbers
- References decomposition prompts in references/decomposition-prompts.md
- Derived from the AI-Researcher Survey Agent workflow pattern
Files
Atomic Decomposition
Decompose research ideas into atomic concepts with math formula <-> code implementation mapping.
Input
$0— Research idea, paper, or method description
References
- Decomposition prompts and workflow:
~/.claude/skills/atomic-decomposition/references/decomposition-prompts.md
Workflow (from AI-Researcher Survey Agent)
Step 1: Break Down into Atomic Definitions
Analyze the research idea and decompose into atomic, self-contained concepts:
- Each atom should be a single concept
- Must have clear mathematical foundations
- Must be implementable in code
- Must be traceable to specific papers
Step 2: For Each Atomic Definition
A. Paper Survey (Math Formula)
- Search papers for the mathematical formulation
- Extract the exact LaTeX formula
- Note assumptions and constraints
- Record reference papers
B. Code Survey (Implementation)
- Search codebases for implementations
- Extract the corresponding code
- Note implementation details and variations
- Record reference repositories
C. Create Knowledge Entry
{
"definition": "Kernelized Gumbel-Softmax Operator",
"math_formula": "Z = \\text{softmax}((\\log \\pi + g) / \\tau), g \\sim \\text{Gumbel}(0,1)",
"code_implementation": "def gumbel_softmax(logits, tau=1.0): ...",
"reference_papers": ["Paper Title 1"],
"reference_codebases": ["github_user/repo_name"],
"assumptions": ["Differentiable relaxation of discrete sampling"],
"connections": ["Used in Component X of the proposed method"]
}Step 3: Compile Knowledge Base
- Merge all atomic definitions into a structured knowledge base
- Verify consistency: every math formula has a code implementation
- Verify completeness: every code module traces to a formal definition
- Identify any gaps (formulas without code, or code without theory)
Rules
- Each atomic definition must be specific enough to trace to concrete formulas and code
- Do not skip or combine definitions — analyze each separately
- If unsure about atomicity, err on the side of breaking down further
- Document breakdown reasoning before analysis
- Every mathematical concept in the paper must have verified code
- Every code module must trace back to a formal mathematical definition
Related Skills
- Upstream: research-planning, idea-generation
- Downstream: experiment-code, algorithm-design
- See also: math-reasoning
Atomic Decomposition Prompts
Extracted from AI-Researcher (survey_agent.py) — the core innovation of atomic concept decomposition.
Decomposition System Prompt
You are an expert research analyst. Your task is to decompose a research
idea or method into atomic, self-contained concepts.
Each atomic concept must:
1. Be a single, well-defined concept
2. Have a clear mathematical formulation (extractable from papers)
3. Be implementable as a code module
4. Be traceable to specific reference papers
Do not combine multiple concepts into one atom.
If unsure about atomicity, break down further.Step 1: Initial Decomposition
Given the research idea:
"{idea_description}"
Break this down into atomic definitions. For each atom:
- Name: A concise, specific name
- Definition: One-sentence description
- Category: {mathematical_concept, algorithm, loss_function,
architecture_component, training_technique, data_processing}
- Dependencies: Which other atoms this depends on
Example decomposition for "Graph Attention Network":
1. Message Passing → Graph convolution operation
2. Attention Coefficient → Learnable edge weights
3. Multi-Head Attention → Parallel attention mechanisms
4. Softmax Normalization → Attention weight normalizationStep 2A: Paper Survey (Math Formula Extraction)
For the atomic concept: "{atom_name}"
Definition: "{atom_definition}"
Search academic papers to find:
1. The original paper that introduced this concept
2. The exact mathematical formulation (LaTeX)
3. Key assumptions and constraints
4. Any important variants or extensions
Output format:
{
"math_formula": "Z = \\text{softmax}((\\log \\pi + g) / \\tau)",
"formula_explanation": "Gumbel-Softmax reparameterization trick",
"reference_papers": [
{"title": "...", "year": 2017, "where_in_paper": "Equation 3"}
],
"assumptions": ["Differentiable relaxation of discrete sampling"],
"variants": ["Straight-through estimator variant"]
}Step 2B: Code Survey (Implementation Extraction)
For the atomic concept: "{atom_name}"
Math formula: "{math_formula}"
Search code repositories to find:
1. A clean, reference implementation
2. Key implementation details not in the paper
3. Common pitfalls and workarounds
4. Popular library implementations (PyTorch, TensorFlow, JAX)
Output format:
{
"code_implementation": "def gumbel_softmax(logits, tau=1.0): ...",
"language": "Python/PyTorch",
"reference_codebases": ["github_user/repo_name"],
"implementation_notes": ["Use log-sum-exp trick for numerical stability"],
"common_pitfalls": ["Temperature must be > 0"]
}Step 2C: Knowledge Entry Template
{
"definition": "Kernelized Gumbel-Softmax Operator",
"category": "mathematical_concept",
"math_formula": "Z = \\text{softmax}((\\log \\pi + g) / \\tau), g \\sim \\text{Gumbel}(0,1)",
"formula_source": "Equation 3 in Jang et al., 2017",
"code_implementation": "def gumbel_softmax(logits, tau=1.0):\n gumbels = -torch.log(-torch.log(torch.rand_like(logits)))\n y = (logits + gumbels) / tau\n return F.softmax(y, dim=-1)",
"reference_papers": ["Categorical Reparameterization with Gumbel-Softmax"],
"reference_codebases": ["jang-e/gumbel-softmax"],
"assumptions": [
"Differentiable relaxation of discrete sampling",
"Temperature τ controls smoothness of approximation"
],
"connections": ["Used in Component X of the proposed method"],
"dependencies": ["softmax_function", "gumbel_distribution"]
}Step 3: Consistency Verification
Verify the knowledge base:
1. Math → Code completeness:
For every math formula, verify there is a corresponding code implementation.
Flag any formulas without code.
2. Code → Math completeness:
For every code module, verify it traces to a formal mathematical definition.
Flag any code without theory.
3. Cross-reference consistency:
- Variable names in code match notation in formulas
- Parameter counts match between formula and code
- Input/output dimensions are consistent
4. Dependency graph:
- No circular dependencies
- All dependencies are satisfied
- Topological order is well-definedGap Analysis Template
After decomposition, identify gaps:
| Atom | Has Math? | Has Code? | Gap Type |
|------|-----------|-----------|----------|
| atom_1 | ✓ | ✓ | None |
| atom_2 | ✓ | ✗ | Needs implementation |
| atom_3 | ✗ | ✓ | Needs formalization |
| atom_4 | ✗ | ✗ | Needs both |
Priority: Address "Needs both" first, then "Needs formalization",
then "Needs implementation".Related skills
Forks & variants (2)
Atomic Decomposition has 2 known copies in the catalog totaling 12 installs. They canonicalize to this original listing.
- lingzhi227 - 11 installs
- lingzhi227 - 1 installs
How it compares
Choose atomic-decomposition when formal math-to-code traceability per concept matters more than a high-level paper summary.
FAQ
What is an atomic claim?
A small testable unit with explicit evidence type such as benchmark or ablation.
Which skills follow this?
experiment-code and paper-assembly in the research pipeline.
Why decompose first?
To force verifiable success metrics before coding or writing.
Is Atomic Decomposition safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.