linear-algebra-applications
Skill by brycewang-stanford
Applies linear algebra concepts to research computing and data analysis. It gives Python functions for solving linear systems, matrix decompositions, PCA and least squares fitting, using NumPy and SciPy.
Install linear-algebra-applications
Built from the published package, never by AI.
git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills /tmp/Auto-Empirical-Research-Skills && mkdir -p ~/.claude/skills && cp -r /tmp/Auto-Empirical-Research-Skills/skills/43-wentorai-research-plugins/skills/domains/math/linear-algebra-applications ~/.claude/skills/linear-algebra-applicationsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install linear-algebra-applications in Claude Code
git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills /tmp/Auto-Empirical-Research-Skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Auto-Empirical-Research-Skills/skills/43-wentorai-research-plugins/skills/domains/math/linear-algebra-applications ~/.gemini/antigravity-cli/skills/linear-algebra-applicationsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install linear-algebra-applications in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Linear Algebra Applications is an agent skill that gives an AI assistant Python functions for common linear algebra tasks in research computing. The SKILL.md file covers solving linear systems with a condition number check, LU factorization for solving with multiple right-hand sides, and singular value decomposition. It also covers eigendecomposition, principal component analysis, and least squares regression using QR decomposition.
The code is written with NumPy and SciPy. The file lists numerical stability practices, such as avoiding explicit matrix inverses, checking condition numbers, and using float64 for most research computing. It also points to sparse matrices, iterative solvers and randomized SVD for very large matrices. The skill is aimed at researchers and data analysts who work with matrix methods.
Written from the project's SKILL.md and checked against it.
What it can do
- solve_linear_systemSolves Ax = b and reports rank and condition number, with least squares for rank-deficient systems.
- lu_factorizationComputes an LU decomposition so new right-hand side vectors can be solved efficiently.
- svd_analysisComputes a singular value decomposition with rank, condition number and energy ratio.
- eigen_analysisComputes eigenvalues and eigenvectors, sorted by magnitude, with symmetry and definiteness checks.
- pca_from_scratchRuns principal component analysis from the covariance matrix and projects the data.
- least_squares_fitFits a linear regression with QR decomposition and returns coefficients and R squared.
What you need
- Python
- NumPy
- SciPy
Try asking
- Solve Ax = b for my matrix and check its condition number first.
- Run PCA on my dataset and keep the top 2 components.
- Fit a least squares regression of y on X using QR decomposition.
Good to know
- Condition numbers above 10^10 suggest the solution may be unreliable.
- Float32 can lose precision in large-scale computations and should be monitored.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/43-wentorai-research-plugins/skills/domains/math/linear-algebra-applications/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB
Alternatives to linear-algebra-applications
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
linear-algebra-applications: common questions
What does the linear-algebra-applications skill include?
It includes functions for solving linear systems, LU factorization, SVD, eigendecomposition, PCA and least squares regression.
Which libraries does the skill use?
The source says it is implemented in NumPy and SciPy.
How does it suggest handling ill-conditioned systems?
It suggests checking condition numbers before solving and considering regularization such as Tikhonov or ridge.
How do I install linear-algebra-applications?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is linear-algebra-applications free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is linear-algebra-applications safe to use?
It scores 76 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to linear-algebra-applications?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
