benchflow-ai/skillsbench/finite-horizon-lqr
Claude Code and agent skill by benchflow-ai/skillsbench
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Solving finite-horizon LQR via dynamic programming for MPC.
Install
npx vskill@latest install benchflow-ai/skillsbench/finite-horizon-lqrSKILL.md
Finite-Horizon LQR for MPC
Problem Formulation
Minimize cost over horizon N:
Backward Riccati Recursion
Initialize: P_N = Q (or LQR solution for stability)
For k = N-1 down to 0:
Forward Simulation
Starting from x_0:
Python Implementation
MPC Application
At each timestep:
- Measure current state x
- Solve finite-horizon LQR from x
- Apply first control u_0
- Repeat next timestep
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtasks/r2r-mpc-control/environment/skills/finite-horizon-lqr/SKILL.md
Popularity
- Repository stars
- 1,474
- Repository forks
- 325
- 7-day trend score
- 36
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/benchflow-ai/skillsbench/finite-horizon-lqr)