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 Arcadi4/nerdy --skill matrix-operationsgit clone --depth 1 https://github.com/Arcadi4/nerdyWrote 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/arcadi4/nerdy/matrix-operations)<a href="https://agentmods.dev/skills/arcadi4/nerdy/matrix-operations"><img src="https://agentmods.dev/badge/skills/arcadi4/nerdy/matrix-operations/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/arcadi4/nerdy/matrix-operations"><img src="https://agentmods.dev/badge/skills/arcadi4/nerdy/matrix-operations.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.00058 | $0.03340 |
| Opus 5.5 | $0.00023 | $0.01336 |
| Sonnet 5.5 | $0.00012 | $0.00668 |
| Haiku 4.5 | $0.00006 | $0.00334 |
Grade A, and why
matrix-operations 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 325 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Matrix Operations
Overview
This skill turns matrix-operation questions into method choices with visible hypotheses. The core habit is: factor once, solve with triangular systems, state the rank or definiteness condition before using a shortcut, and never treat explicit inversion as the default way to solve a linear system.
Shared CLRS Conventions
Use the parent clrs skill for display-math-only formatting, theorem-precondition discipline, and CLRS answer tone. In this chapter skill, keep tables verbal; place every matrix equation, cost expression, or symbolic condition in display LaTeX blocks outside the table.
When to Use
Use this skill for:
- solving square linear systems by Gaussian elimination, LU decomposition, or LUP decomposition;
- reusing a factorization for many right-hand sides;
- deciding whether to compute an explicit inverse;
- explaining pivoting, permutation arrays, forward substitution, or back substitution;
- proving facts about symmetric positive-definite matrices and Schur complements;
- deriving least-squares normal equations and the full-column-rank pseudoinverse;
- recognizing tridiagonal linear systems and spline-style systems from the chapter problems.
Do not use this skill as the main guide for Strassen-style matrix multiplication; route those questions to divide-and-conquer unless the prompt is about its equivalence with inversion.
First Decision
| Situation | Choose | Why |
|---|---|---|
| Square nonsingular system | LUP decomposition, then triangular solves | Pivoting avoids zero pivots and is the practical chapter default |
| Many right-hand sides for the same matrix | Reuse one LUP factorization | Each additional solve is quadratic; explicit inverse is not needed |
| User asks for the inverse itself | Solve one system per identity-column after LUP | The inverse is the deliverable, not a shortcut for solving |
| Matrix is known symmetric positive-definite | LU without pivoting is theoretically safe | Leading submatrices and Schur complements remain positive-definite |
| Least-squares with more observations than basis functions | Build normal equations if full column rank holds | The normal-equation matrix is symmetric positive-definite under that hypothesis |
| Rectangular, rank-deficient, or numerically delicate prompt | State the chapter limit first | Do not invent unprovided QR, SVD, or rank-revealing claims unless asked beyond the chapter |
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.
- 1mo ago First seen · 325 lines · 58 tokens per session scan A c60161c46d26
matrix-operations is a skill published in the GitHub repository Arcadi4/nerdy (6 stars, last pushed 6mo ago), licensed MIT. It adds 58 tokens to every session and 3,340 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
build-interactive-explainers
A guide for building interactive explainers, calculators, and simulations driven by an executable model. Users change inputs, steps, states, or events to understand a rule or see how a process develops over time.
scaffold-exercises
Scaffold a graded problem set with sections, problems, worked solutions, and short "why this matters" explainers across analytical, empirical, and coding types. Use when user says "make a problem set on X", "scaffold exercises for this lecture", "create practice problems", "generate homework with a solution key"…
present-paper
Use when preparing an academic talk such as a journal club, grand rounds, seminar, conference presentation, or lecture/teaching deck. Analyzes the source, drafts audience-adapted speaker scripts, builds or augments the PPTX with speaker notes and prepares Q&A.
anatomy-quiz-master
Generate interactive anatomy quizzes for medical education with multiple.
sun-simiao-perspective
A historical medical-perspective skill based on research about Sun Simiao, a physician from China's Tang dynasty. It uses his clinical ideas and writings to discuss traditional Chinese medicine, health advice, medical ethics, and communication with patients.
paperlab_case_thread_continuity
Maintain consistency for recurring field, facility, and design cases across PaperLab books. Use when a book uses a repeated scenario as a teaching thread and assumptions must not drift silently.