algorithm-design
Design algorithms with LaTeX pseudocode and UML diagrams. Generate algorithmic environments,…
Discover scientific equations from data using LLM-guided evolutionary search (LLM-SR). Multi-island algorithm with softmax-based cluster sampling, island reset, and LLM-proposed equation mutations. Use for symbolic regression and equation discovery.
$ npx -y skills add lingzhi227/agent-research-skills --skill symbolic-equation --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/symbolic-equationContext preview
The summary Claude sees to decide when to auto-load this skill.
Discover scientific equations from data using LLM-guided evolutionary search (LLM-SR). Multi-island algorithm with softmax-based cluster sampling, island reset, and LLM-proposed equation mutations. Use for symbolic regression and equation discovery.
name: symbolic-equation description: Discover scientific equations from data using LLM-guided evolutionary search (LLM-SR). Multi-island algorithm with softmax-based cluster sampling, island reset, and LLM-proposed equation mutations. Use for symbolic regression and equation discovery. argument-hint: [data-and-variables]
Discover interpretable scientific equations from data using LLM-guided evolutionary search.
Create a specification with: 1. **Input variables**: Physical quantities with types (e.g., `x: np.ndarray`, `v: np.ndarray`) 2. **Output variable**: Target quantity to predict 3. **Evaluation function**: Fitness metric (typically negative MSE with parameter optimization) 4. **Physical context**: Domain knowledge to guide equation discovery
# Example specification
@equation.evolve
def equation(x: np.ndarray, v: np.ndarray, params: np.ndarray) -> np.ndarray:
"""Describe the acceleration of a damped nonlinear oscillator."""
return params[0] * xRepeat until convergence or max samples: 1. **Select island**: Random island selection 2. **Build prompt**: Sample top equations from clusters (softmax-weighted by score) 3. **LLM proposes**: Generate new equation as improved version 4. **Evaluate**: Execute on test data, compute fitness score 5. **Register**: Add to island's cluster if valid
Present previous equations as versioned sequence:
def equation_v0(x, v, params):
"""Initial version."""
return params[0] * x
def equation_v1(x, v, params):
"""Improved version of equation_v0."""
return params[0] * x + params[1] * v
def equation_v2(x, v, params):
"""Improved version of equation_v1."""
# LLM completes thisPeriodically (default: every 4 hours): 1. Sort islands by best score 2. Reset bottom 50% of islands 3. Seed each reset island with best equation from a surviving island 4. Restart cluster sampling temperature
After search completes: 1. Collect best equation from each island 2. Rank by fitness score 3. Simplify if possible (algebraic simplification) 4. Report with physical interpretation
Temperature-scheduled softmax over cluster scores:
temperature = T_init * (1 - (num_programs % period) / period) probabilities = softmax(cluster_scores / temperature)
31 skills for Claude Code covering the full academic research paper lifecycle — from literature search to slide generation — plus GitHub repository analysis for research topics. Extracted from 17 GitHub repos studying LLM-agent-driven research automation.
Design algorithms with LaTeX pseudocode and UML diagrams. Generate algorithmic environments,…
Decompose research ideas into atomic, self-contained concepts with bidirectional math-code…
Make every number in the final PDF traceable to the exact code line that produced it. Uses…
Manage BibTeX citations for LaTeX papers. Harvest missing citations from a draft using…
Debug experiment code with structured error analysis. Categorize errors, apply targeted fixes…
Generate statistical analysis code with 4-round review. Select appropriate statistical tests,…