
Symbolic Equation
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-codeInstalls 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:
- Input variables: Physical quantities with types (e.g.,
x: np.ndarray,v: np.ndarray) - Output variable: Target quantity to predict
- Evaluation function: Fitness metric (typically negative MSE with parameter optimization)
- 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- Excalidraw Skill1.6K
- Literature Review4.1K
- Literature Search2.7K
- Figure Generation2.3K
- Latex Formatting2.3K
- Backward Traceability2.3K
- Math Reasoning2.2K
- Citation Management2.2K
- Data Analysis2K
- Deep Research2K
- Idea Generation1.9K
- Novelty Assessment1.9K
- Paper Writing Section1.8K
- Paper Revision1.8K
- Experiment Design1.8K
- Github Research1.8K
- Research Planning1.8K
- Survey Generation1.8K
- Algorithm Design1.7K
- Rebuttal Writing1.7K
- Code Debugging1.7K
- Related Work Writing1.7K
- Table Generation1.7K
- Self Review1.7K