Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add xuansenpa1/skillrevise --skill state-space-linearizationgit clone --depth 1 https://github.com/xuansenpa1/skillreviseWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/xuansenpa1/skillrevise/state-space-linearization)<a href="https://agentmods.dev/skills/xuansenpa1/skillrevise/state-space-linearization"><img src="https://agentmods.dev/badge/skills/xuansenpa1/skillrevise/state-space-linearization/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/xuansenpa1/skillrevise/state-space-linearization"><img src="https://agentmods.dev/badge/skills/xuansenpa1/skillrevise/state-space-linearization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00016 | $0.00324 |
| Opus 5.5 | $0.00006 | $0.00130 |
| Sonnet 5.5 | $0.00003 | $0.00065 |
| Haiku 4.5 | $0.00002 | $0.00032 |
Grade A, and why
state-space-linearization scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
100% identical to state-space-linearization — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
What it actually says
State-Space Linearization
Jacobian Computation
For nonlinear dynamics dx/dt = f(x, u), linearize around (x_ref, u_ref):
A = ∂f/∂x |_{x_ref} (n×n matrix)
B = ∂f/∂u |_{x_ref} (n×m matrix)
Discretization
For discrete-time control with timestep dt:
Euler method (simple, first-order accurate):
A_d = I + dt * A_c
B_d = dt * B_c
Matrix exponential (exact for LTI):
A_d = expm(A_c * dt)
B_d = inv(A_c) @ (A_d - I) @ B_c
For R2R Systems
The Jacobian depends on current tensions and velocities. Key partial derivatives:
∂(dT_i/dt)/∂T_i = -v_i / L
∂(dT_i/dt)/∂v_i = EA/L - T_i/L
∂(dv_i/dt)/∂T_i = -R²/J
∂(dv_i/dt)/∂u_i = R/J
Tips
- Linearize around the reference operating point
- Update linearization if operating point changes significantly
- Check stability via eigenvalue analysis
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 49 lines · 16 tokens per session scan A 1cd18b96f4f5
state-space-linearization is a skill published in the GitHub repository xuansenpa1/skillrevise (58 stars, last pushed 2mo ago), licensed MIT. It adds 16 tokens to every session and 324 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to state-space-linearization, differing in 0 lines, and is treated as a copy.
state-space-linearization compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| state-space-linearizationxuansenpa1/skillrevise | Skill | 58 | 2mo ago | MIT | A | 16 | Claude Code, Codex |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 37k | 4d ago | Apache-2.0 | A | 123 | Claude Code |
| matlabK-Dense-AI/scientific-agent-skills | Skill | 59k | 7d ago | MIT | A | 44 | Claude Code |
| exploratory-data-analysisK-Dense-AI/scientific-agent-skills | Skill | 59k | 7d ago | MIT | A | 83 | Claude Code |
| phylogeneticsK-Dense-AI/scientific-agent-skills | Skill | 59k | 7d ago | MIT | A | 71 | Claude Code, Codex |
| research-engineerdavila7/claude-code-templates | Skill | 34k | today | MIT | A | 43 | Claude Code, Codex |
| mapping-to-snomedmaziyarpanahi/openmed | Skill | 5.9k | today | Apache-2.0 | A | 205 | Claude Code |