alizainx/intelligence-systems-skills/computed-torque-sliding-mode-control

Claude Code and agent skill by alizainx/intelligence-systems-skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Nonlinear robot manipulator control: Euler-Lagrange dynamics $M(q)\ddot{q} + C(q,\dot{q})\dot{q} + g(q) = \tau$, Slotine-Li passivity, Computed Torque, and Impedance/SMC.

Install

npx vskill@latest install alizainx/intelligence-systems-skills/computed-torque-sliding-mode-control

SKILL.md

The same SKILL.md was published earlier as alizainx/intelligence-systems-skills/computed-torque-sliding-mode-control.

computed-torque-sliding-mode-control (ISS-154)

1. First-Principles Invariant

  • Slotine-Li Skew-Symmetry Passivity Law: Parameterize the Coriolis/centrifugal matrix $C(q, \dot{q})$ using Christoffel symbols of the first kind so $\dot{M}(q) - 2 C(q, \dot{q})$ is strictly skew-symmetric ($x^T (\dot{M} - 2C) x = 0\; \forall x$), guaranteeing global asymptotic tracking stability under the energy-based Lyapunov function $V = \frac{1}{2} s^T M(q) s + \frac{1}{2} \tilde{q}^T K_p \tilde{q}$ where $s = \dot{\tilde{q}} + \Lambda \tilde{q}$.

2. Fast-Pass Low-Token Protocol (Web & Coding Agents)

  • Replace discontinuous Sliding Mode signum terms $K \text{sign}(s)$ with a smooth boundary-layer saturation $K \text{sat}(s / \Phi)$ or Super-Twisting second-order SMC to eliminate high-frequency actuator chattering.

3. Zero-Bug & Zero-Vulnerability Guards

  1. Verify that the mass/inertia matrix $M(q)$ is symmetric positive definite ($M(q) = M(q)^T \succ 0$) across the entire joint workspace.
  2. Compute inverse dynamics $\tau = \text{RNEA}(q, \dot{q}, \ddot{q}_r)$ in $O(n)$ linear time using Recursive Newton-Euler rather than symbolic $O(n^4)$ Lagrange expansions for arms with $n \ge 6$ DOF.
  3. In Cartesian Impedance Control ($\tau = J(q)^T (K_d (\tilde{x}) + D_d (\dot{\tilde{x}})) + g(q) + (I - J^T J^{\#T}) \tau_{\text{null}}$), use dynamically consistent nullspace projection $J^\# = M^{-1} J^T (J M^{-1} J^T)^{-1}$ for compliant human-robot interaction.
  4. Compensate joint Coulomb + viscous + Stribeck friction smoothly around $\dot{q} = 0$ (tanh(q_dot / v_eps)).
  5. Verify Lyapunov derivative $\dot{V}(t) \le 0$ numerically along simulated tracking trajectories.

4. Verification Gate

  • python3 -c 'import numpy as np; ...'

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

Popularity

Repository stars
2
7-day trend score
0

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/alizainx/intelligence-systems-skills/computed-torque-sliding-mode-control/badge)](https://verified-skill.com/skills/alizainx/intelligence-systems-skills/computed-torque-sliding-mode-control)

Something wrong with this skill or its page? Tell us.