Skip to main content
skill CX Codex

symbolic-equation — Claude Code skill: what it does, how to install

Discovers scientific equations from numerical datasets using LLM-guided evolutionary search. Useful for symbolic regression and extracting interpretable physical laws.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add lingzhi227/agent-research-skills --skill symbolic-equation -a claude-code
Open on GitHub

What symbolic-equation does

The skill implements the LLM-SR approach to discover mathematical equations from data. It expects input arrays such as np.ndarray, target variables, and physical context. The language model generates candidate formulas as versioned Python functions, checking each against negative MSE.

Candidate solutions live across independent populations called islands, with 10 islands by default. The system clusters formulas by score signatures and samples them using a temperature-controlled softmax. Higher temperatures promote early exploration. Later iterations focus strictly on the top clusters.

Parameter tuning requires scipy BFGS or Adam. Discovered expressions must use standard mathematical operations, and recursive functions are strictly forbidden. Every 4 hours, the bottom half of the islands resets to prevent convergence traps. The search favors shorter equations when accuracy is equal.

What it helps with

  • discover an analytical equation from experimental data points
  • model physical oscillator dynamics using input arrays
  • optimize equation parameters using scipy BFGS or Adam
  • extract interpretable mathematical laws instead of black-box models

Example prompts for the agent

  • Find an acceleration equation for a damped oscillator using input arrays x and v
  • Run symbolic regression to predict pressure from temperature and volume data
  • Discover a mathematical relation for target variable y given features x1 and x2

How to install symbolic-equation

1Skills CLI (Vercel)

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

2Manually: put the files in place

~/.claude/skills/symbolic-equation/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/symbolic-equation/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about symbolic-equation

How do I install symbolic-equation in Claude Code?

Run npx skills add lingzhi227/agent-research-skills --skill symbolic-equation -a claude-code. The files will be placed in ~/.claude/skills/symbolic-equation/SKILL.md.

What does symbolic-equation do?

It discovers interpretable mathematical equations from datasets using LLM-guided evolutionary search. The tool maintains multi-island populations and optimizes fitness via negative MSE.

What constraints apply to the generated equations?

Formulas must rely only on standard math operations without recursion. Free parameters are fitted using scipy BFGS or Adam, and simpler expressions are preferred over complex ones.

Similar skills

Everything for Science and research →

From the same set23

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor