blas_lapack

blas_lapack is a skill for Claude Code from datathings/marketplace. It costs 133 tokens per session (2,974 once invoked), scanned A, original, Apache-2.0.

A reference for the C interfaces to BLAS and LAPACK, libraries used for mathematical work with vectors and matrices. It covers operations such as solving equations, finding eigenvalues, and calculating singular value decompositions.

In plain words
What is it for?
Use it when writing C programs for matrix operations, equation solving, least-squares problems, eigenvalue calculations, matrix factorizations, or singular value decomposition.
Why use it?
It gives C developers one place to look up the available functions, arguments, return codes, and linking examples for numerical linear algebra.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the blas_lapack plugin — 1 skill shipped together

Good fit Use it when writing C programs for matrix operations, equation solving, least-squares problems, eigenvalue calculations, matrix factorizations, or singular value decomposition.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/datathings/marketplace/blas_lapack
Install

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.

Any agent
npx skills add datathings/marketplace --skill blas_lapack
Clone the repo
git clone --depth 1 https://github.com/datathings/marketplace

Made for: Claude Code.

Or install blas_lapack, the plugin that ships this one along with the rest of its 1 skill.

Wrote 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.

agentmods badge for blas_lapack

README.md
[![agentmods](https://agentmods.dev/badge/skills/datathings/marketplace/blas_lapack/github.svg)](https://agentmods.dev/skills/datathings/marketplace/blas_lapack)
Your own site
<a href="https://agentmods.dev/skills/datathings/marketplace/blas_lapack"><img src="https://agentmods.dev/badge/skills/datathings/marketplace/blas_lapack/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.

agentmods 80×15 button for blas_lapack

Your own site · 80×15
<a href="https://agentmods.dev/skills/datathings/marketplace/blas_lapack"><img src="https://agentmods.dev/badge/skills/datathings/marketplace/blas_lapack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 133 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,974 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00133 $0.02974
Opus 5 $0.00067 $0.01487
Sonnet 5 $0.00027 $0.00595
Haiku 4.5 $0.00013 $0.00297

Measured 8d ago against content hash 87784e451f72, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

blas_lapack 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 8d 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.

plugins/blas_lapack/skills/blas_lapack/SKILL.md · 248 lines

How it starts

The opening of the file, as written. The whole thing — 248 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CBLAS & LAPACKE API Reference

Complete C API documentation for BLAS (Basic Linear Algebra Subprograms) and LAPACK (Linear Algebra PACKage), version 3.12.1.

  • 152 CBLAS functions - Level 1/2/3 vector and matrix operations
  • 1,132 LAPACKE functions - Linear systems, eigenvalues, SVD, factorizations, and more
  • Source of truth: cblas.h and lapacke.h from Reference-LAPACK v3.12.1

Quick Start

1. Include Headers

#include <cblas.h>      // BLAS operations
#include <lapacke.h>    // LAPACK operations

2. Compile and Link

# GCC/Clang
gcc myprogram.c -o myprogram -llapacke -llapack -lcblas -lblas -lm

# With pkg-config (if available)
gcc myprogram.c -o myprogram $(pkg-config --cflags --libs lapacke)

# With OpenBLAS (optimized)
gcc myprogram.c -o myprogram -lopenblas -lm

# With Intel MKL
gcc myprogram.c -o myprogram -lmkl_rt -lm

3. Typical Workflow

  1. Allocate matrices/vectors as flat arrays (row-major or column-major)
  2. Call CBLAS for basic operations (multiply, solve triangular, etc.)
  3. Call LAPACKE for advanced operations (factorize, solve systems, eigenvalues, SVD)
  4. Check info return value (0 = success, <0 = bad argument, >0 = numerical issue)
  5. Free allocated memory

When to Use This Skill

  • API Lookup: Find the right CBLAS/LAPACKE function for a specific operation
  • Code Generation: Write correct C code using BLAS/LAPACK with proper parameters
  • Linking Help: Resolve compilation/linking issues with BLAS/LAPACK libraries
  • Solver Selection: Choose the right solver for your matrix type and problem
  • Performance: Select optimized routines for specific matrix structures

Core Concepts

Precision Prefixes

Every routine comes in up to 4 precision types:

Prefix Type C Type Description
s Single real float 32-bit floating point
d Double real double 64-bit floating point
c Single complex void* (lapack_complex_float) 2x32-bit complex
z Double complex void* (lapack_complex_double) 2x64-bit complex

Read the full file on GitHub · 248 lines

Changes

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.

  1. 8d ago First seen · 248 lines · 133 tokens per session scan A 87784e451f72

Subscribe to this mod's changes

blas_lapack is a skill published in the GitHub repository datathings/marketplace (11 stars, last pushed 11d ago), licensed Apache-2.0. It adds 133 tokens to every session and 2,974 once invoked, about $0.0007 per session on Opus 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-30.

Related

Other skills, from other repositories