VE

vector-spaces

Automated problem-solving for vector spaces using SymPy and Z3 solvers for linear algebra tasks.

Install

mkdir -p .claude/skills/vector-spaces && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/2006" && unzip -o skill.zip -d .claude/skills/vector-spaces && rm skill.zip

Installs to .claude/skills/vector-spaces

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Problem-solving strategies for vector spaces in linear algebra
62 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Verifies subspace properties using Z3
  • Computes nullspaces to determine linear independence
  • Calculates basis and dimension using RREF
  • Computes inverse matrices for change of basis

How it works

The skill follows a decision tree to apply specific Python scripts for subspace verification, nullspace computation, and matrix reduction. It utilizes Z3 and SymPy for mathematical proofs and calculations.

Inputs & outputs

You give it
Matrix or vector set representation
You get back
Computed nullspace, RREF, or inverse matrix

When to use vector-spaces

  • Check if a set forms a subspace
  • Determine linear independence of vectors
  • Calculate the basis and dimension of a span
  • Find change of basis matrices

About this skill

Vector Spaces

When to Use

Use this skill when working on vector-spaces problems in linear algebra.

Decision Tree

  1. Check Subspace

    • Contains zero vector?
    • Closed under addition?
    • Closed under scalar multiplication?
    • Verify with z3_solve.py prove
  2. Linear Independence

    • Set up Ax = 0 where columns are vectors
    • sympy_compute.py nullspace "A"
    • Trivial nullspace = independent
  3. Basis and Dimension

    • Find spanning set, remove dependent vectors
    • sympy_compute.py rref "A" to find pivot columns
    • Dimension = number of pivots
  4. Change of Basis

    • Find transition matrix P
    • New coords = P^(-1) * old coords
    • sympy_compute.py inverse "P"

Tool Commands

Sympy_Nullspace

uv run python -m runtime.harness scripts/sympy_compute.py nullspace "[[1,2,3],[4,5,6]]"

Sympy_Rref

uv run python -m runtime.harness scripts/sympy_compute.py rref "[[1,2,3],[4,5,6]]"

Z3_Prove

uv run python -m runtime.harness scripts/z3_solve.py prove "subspace_closed"

Cognitive Tools Reference

See .claude/skills/math-mode/SKILL.md for full tool documentation.

When not to use it

  • When solving problems outside of linear algebra vector spaces

Limitations

  • Requires input matrices to be formatted as nested lists for script compatibility

How it compares

It provides a structured decision tree and automated command-line execution for linear algebra operations instead of manual calculation.

Compared to similar skills

vector-spaces side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
vector-spaces (this skill)27moReviewIntermediate
literature-review5592moReviewAdvanced
openalex-database487moReviewIntermediate
scientific-critical-thinking187moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

literature-review

K-Dense-AI

Conduct comprehensive, systematic literature reviews using multiple academic databases (PubMed, arXiv, bioRxiv, Semantic Scholar, etc.). This skill should be used when conducting systematic literature reviews, meta-analyses, research synthesis, or comprehensive literature searches across biomedical, scientific, and technical domains. Creates professionally formatted markdown documents and PDFs with verified citations in multiple citation styles (APA, Nature, Vancouver, etc.).

5591,298

openalex-database

davila7

Query and analyze scholarly literature using the OpenAlex database. This skill should be used when searching for academic papers, analyzing research trends, finding works by authors or institutions, tracking citations, discovering open access publications, or conducting bibliometric analysis across 240M+ scholarly works. Use for literature searches, research output analysis, citation analysis, and academic database queries.

48202

scientific-critical-thinking

davila7

Evaluate research rigor. Assess methodology, experimental design, statistical validity, biases, confounding, evidence quality (GRADE, Cochrane ROB), for critical analysis of scientific claims.

1888

biorxiv-database

lifangda

Efficient database search tool for bioRxiv preprint server. Use this skill when searching for life sciences preprints by keywords, authors, date ranges, or categories, retrieving paper metadata, downloading PDFs, or conducting literature reviews.

780

physics-validator

omriwen

Validate optical physics parameters including Fresnel numbers, diffraction regimes, and resolution limits. This skill should be used when configuring Telescope, Microscope, or Camera instruments to ensure physically realistic parameters.

664

fda-database

davila7

Query openFDA API for drugs, devices, adverse events, recalls, regulatory submissions (510k, PMA), substance identification (UNII), for FDA regulatory data analysis and safety research.

539

Search skills

Search the agent skills registry