Agent Skills

atomic-decomposition

researchlingzhi2271.5K installs

Decompose research ideas into atomic, self-contained concepts with bidirectional math-code mapping. For each concept, extract the math formula from papers and find code implementations. Use for complex system papers requiring formal grounding.

Install

npx skills add https://github.com/lingzhi227/agent-research-skills --skill atomic-decomposition
SKILL.md

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

Related skills

researchmattpocock575KInvestigate a question against high-trust primary sources and capture the findings as a Markdown file in the repo. Use when the user wants a topic researched, docs or API facts gathered, or reading legwork delegated to a background agent.paper-context-resolverlllllllama451KRigor Paper Context helper for README-first deep learning repo reproduction. Use only when the README and repository files leave a narrow reproduction-critical gap and the task is to resolve a specific paper detail such as dataset split, preprocessing, evaluation protocol, checkpoint mapping, or runtime assumption from primary paper sources while recording conflicts. Do not use for general paper summary, repo scanning, environment setup, command execution, title-only paper lookup, or replacing Renv-and-assets-bootstraplllllllama450KRigor Setup skill for README-first deep learning repo reproduction. Use when the task is specifically to prepare a conservative conda-first environment, checkpoint and dataset path assumptions, cache location hints, and setup notes before any run on a README-documented repository. Do not use for repo scanning, full orchestration, paper interpretation, final run reporting, or generic environment setup that is not tied to a specific reproduction target.ai-research-explorelllllllama311KRigor Explore compatible skill slug for meaningful and potentially novel deep learning research candidates. Use when the researcher has chosen the task family, dataset, benchmark, evaluation method, provided SOTA references, and wants candidate-only exploration on top of `current_research` with auditable repo understanding, idea gating, fair comparison, and governed experiments written to `explore_outputs/`. Do not use for README-first trusted reproduction, open-ended direction finding, narrow c

Search skills and MCP servers

Fuzzy search across 23,137 skills and servers