This implements LLM-SR, an evolutionary algorithm where Claude proposes equation mutations instead of random ones. You feed it data with variable names and physical context, and it runs a multi-island search where each island clusters equations by performance, samples top candidates via softmax, and asks the LLM to improve them in versioned prompts. Islands reset periodically to maintain diversity. It's designed for symbolic regression when you want interpretable scientific equations, not just black box fits. The evolutionary loop is clever, using temperature scheduling and Occam's razor within clusters, but you'll need decent computational budget since it evaluates many candidate equations with parameter optimization.

skills.sh installs
1.6K
GitHub stars
459
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/lingzhi227/agent-research-skills
Categories
AI & Agent Building, Data Science & ML, Sales & Marketing
First seen
Jun 3, 2026

More from lingzhi227/agent-research-skills

All 31
1lingzhi227 avatarexcalidraw-skilllingzhi227/agent-research-skillsProgrammatic canvas toolkit for creating, editing, and refining Excalidraw diagrams via MCP tools with real-time canvas sync. Use when an agent needs to (1) dra1.6Kskills.sh installs
2softaworks avatargepettosoftaworks/agent-toolkitCreates detailed, sectionized implementation plans through research, stakeholder interviews, and multi-LLM review. Use when planning features that need thorough1.6Kskills.sh installs
3K-Dense-AI avatarliteparseK-Dense-AI/scientific-agent-skillsLocal document and PDF parsing that returns spatial text with bounding boxes. Use for extracting text from PDFs, DOCX, Office files, and images; running OCR on 1.6Kskills.sh installs
4langchain-ai avatarskill-creatorlangchain-ai/deepagentsGuide for creating effective skills that extend agent capabilities with specialized knowledge, workflows, or tool integrations. Use this skill when the user ask1.3Kskills.sh installs
5mapbox avatarmapbox-location-groundingmapbox/mapbox-agent-skillsCompose Mapbox MCP tools to produce grounded, cited location-aware responses from live data instead of training data1.3Kskills.sh installs
6fluxcd avatargitops-knowledgefluxcd/agent-skillsFlux CD and Flux Operator expert — answers questions and generates schema-validated YAML for all Flux CRDs (not repo auditing or live cluster debugging). Use wh1.3Kskills.sh installs