Skip to content

Evolutionary search that proposes and scores scientific equations from data using LLM-guided mutations.

CCM score
50 of 100
skills.sh installs
1.6K
GitHub stars
483
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the LLM-SR workflow: problem specification, multi-island buffer setup, evolutionary search loop, prompt construction, and best-equation extraction
  • Includes softmax-weighted cluster sampling with a temperature schedule, periodic island reset that reseeds the bottom half, and BFGS or Adam parameter fitting
  • Enforces standard math operations only, no recursive equations, timeouts on evaluation, and a preference for shorter, physically interpretable forms
  • Designed for symbolic regression and equation discovery tasks that pair data analysis with downstream paper writing

Install

$ npx -y skills add lingzhi227/agent-research-skills --skill symbolic-equation -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Symbolic Equation Discovery

Discover interpretable scientific equations from data using LLM-guided evolutionary search.

Input

  • $0 — Dataset description, variable names, and physical context

References

  • LLM-SR patterns (prompts, evolution, sampling): ~/.claude/skills/symbolic-equation/references/llmsr-patterns.md

Workflow (from LLM-SR)

Step 1: Define Problem Specification

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] * x

Step 2: Initialize Multi-Island Buffer

  • Create N islands (default: 10) for population diversity
  • Each island maintains independent clusters of equations
  • Clusters group equations by performance signature

Details

Repository
github.com/lingzhi227/agent-research-skills
Categories
Data Science & Analytics, Research & Academic
First seen
Jun 3, 2026

Questions

What does the symbolic-equation skill do?

symbolic-equation discovers interpretable scientific equations from data using LLM-guided evolutionary search, following the LLM-SR approach. It runs a multi-island search with softmax-based cluster sampling, island reset, and LLM-proposed equation mutations, with fitness set as negative MSE after parameter optimization.

How do I install the symbolic-equation skill?

Run npx -y skills add lingzhi227/agent-research-skills --skill symbolic-equation -y in a project to install it. Once installed, symbolic-equation lets the agent propose and score candidate equations against your dataset.

Where does symbolic-equation sit in its category?

symbolic-equation is listed under Data Science & Analytics on Claude Marketplaces, alongside azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation. It focuses on symbolic regression and equation discovery rather than general analytics queries.

Is symbolic-equation a good fit for physics or science datasets?

symbolic-equation is built for discovering scientific equations, so it suits datasets where you can describe variables and their physical context. Its workflow asks you to define input variables, an output variable and a fitness function, and it prefers physically interpretable results over pure fit.

More from lingzhi227/agent-research-skills

All 31

Similar to Symbolic Equation

More Data Science & Analytics