matrices — Claude Code skill: linear algebra computations
matrices — a skill for matrix operations: identifies types, performs arithmetic, solves linear systems. Includes decompositions like LU, QR, SVD and works across Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode.
MIT 1 installs ★ 3,951 updated 2026-01-26
npx skills add parcadei/Continuous-Claude-v3 --skill matrices -a claude-codeWhat matrices does
Runs on all six supported platforms. The skill provides a decision tree: start by identifying matrix type (square, symmetric, orthogonal, diagonal), then pick your operation—from basic multiplication and inversion to full decompositions. Commands wrap sympy_compute.py and z3_solve.py, called via uv run python -m runtime.harness with shorthand like matmul "A" "B" for multiplication and linsolve "A" "b" for solving Ax = b.
You can compute determinants, check linear system consistency via constraint solving, and work with both numerical and symbolic matrices. Each command names its inputs: matrix references like "A" or inline arrays like "[[1,2],[3,4]]".
Requires Python and the uv package manager. Documentation lives in .claude/skills/matrices/SKILL.md (Claude Code), with platform-specific paths for other IDEs.
What it helps with
- compute matrix inverse and determinant
- solve linear systems Ax = b with consistency checks
- identify matrix properties and types
- perform LU, QR, and SVD decompositions
- run matrix multiplication and transposition
Example prompts for the agent
- Find the inverse of
[[1,2],[3,4]]using matrices - Solve the system A =
[[1,2],[3,4]], b =[5,6]with matrices linsolve - Decompose a matrix using SVD with matrices
How to install matrices
1Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill matrices -a claude-code2Manually: put the files in place
~/.claude/skills/matrices/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/matrices/
1Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill matrices -a codex2Manually: put the files in place
.agents/skills/matrices/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill matrices -a cursor2Manually: put the files in place
.cursor/skills/matrices/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install parcadei/Continuous-Claude-v3 .claude/skills/math/linear-algebra/matrices2Manually: put the files in place
.github/skills/matrices/SKILL.md1Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill matrices -a gemini-cli2Platform CLI
gemini skills install https://github.com/parcadei/Continuous-Claude-v3 --path .claude/skills/math/linear-algebra/matricesManually: put the files in place
.devin/skills/matrices/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill matrices -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about matrices
How do I install matrices in Claude Code?
Run npx skills add parcadei/Continuous-Claude-v3 --skill matrices -a claude-code, then check ~/.claude/skills/matrices/SKILL.md.
What does matrices do?
The skill provides matrix operations: type detection, arithmetic (multiplication, inversion, transpose), solving linear systems Ax = b, and three decompositions—LU, QR, and SVD.
What dependencies does matrices need?
Python, the uv package manager, and SymPy. Commands invoke sympy_compute.py through uv run python -m runtime.harness.
Source text
SKILL.md · MIT
--- name: matrices description: "Problem-solving strategies for matrices in linear algebra" allowed-tools: [Bash, Read] --- # Matrices ## When to Use Use this skill when working on matrices problems in linear algebra. ## Decision Tree 1. **Identify Matrix Type** - Square, symmetric, orthogonal, diagonal? - Check properties with `sympy_compute.py matrix_type` 2. **Basic Operations** - Multiplication: `sympy_compute.py matmul "A" "B"` - Inverse: `sympy_compute.py inverse "A"` - Transpose: `sympy_compute.py transpose "A"` 3. **Solve Linear Systems** - Ax = b: `sympy_compute.py linsolve "A" "b"` - Check consistency with `z3_solve.py sat` 4. **Decompositions** - LU: `sympy_compute.py lu "A"` - QR: `sympy_compute.py qr "A"` - SVD: `sympy_compute.py svd "A"` ## Tool Commands ### Sympy_Inverse ```bash uv run python -m runtime.harness scripts/sympy_compute.py inverse "[[1,2],[3,4]]" ``` ### Sympy_Det ```bash uv run python -m runtime.harness scripts/sympy_compute.py det "[[a,b],[c,d]]" ``` ### Sympy_Linsolve ```bash uv run python -m runtime.harness scripts/sympy_compute.py linsolve "[[1,2],[3,4]]" "[5,6]" ``` ## Cognitive Tools Reference See `.claude/skills/math-mode/SKILL.md` for full tool documentation.
© parcadei · MIT · parcadei/Continuous-Claude-v3