Skip to content
Back to skills

Sublinear Solver

ASecurity

Solve large sparse diagonally dominant systems (Mx = b) and estimate single solution entries with sublinear-time-solver. Use when: Laplacian/graph systems with thousands of rows, only a few solution entries needed, a solver MCP server is wanted. Skip when: small graphs or plain PageRank (ruflo's built-in power iteration is far faster).

  • 82,861 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 9, 2026
ai-agentsgobashnode

Works with

  • mcp

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add ruvnet/ruflo --skill sublinear-solver --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sublinear Solver?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sublinear Solver
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ruvnet-sublinear-solver-604db32f/badge)](https://www.skillsdirectory.com/skills/ruvnet-sublinear-solver-604db32f)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sublinear-solver
description: >
  Solve large sparse diagonally dominant systems (Mx = b) and estimate single solution entries with sublinear-time-solver.
  Use when: Laplacian/graph systems with thousands of rows, only a few solution entries needed, a solver MCP server is wanted.
  Skip when: small graphs or plain PageRank (ruflo's built-in power iteration is far faster).
---

# Sublinear Solver Skill

## Purpose
`sublinear-time-solver` implements Neumann-series, random-walk and push solvers for diagonally dominant systems. It can estimate one entry of `M^-1 b` without solving the whole system. It is heavy (about 184 dependencies, 123 MB), so it is installed on demand, not with ruflo.

## When to Trigger
- matrix is row or column diagonally dominant and large
- you need a few entries of the solution, not the full vector

## When to Skip
- PageRank on ruflo's graph: use `agentdb_graph-pathfinder` (default personalized-pagerank). Measured `computePageRank` in sublinear-time-solver 1.7.2: 1.2 s at 500 nodes, 68 s at 2,000 nodes. The built-in takes milliseconds.
- matrices that are not diagonally dominant

## Commands

### Generate, analyze, solve
```bash
npx sublinear-time-solver generate -t diagonally-dominant -s 1000 -o M.json
npx sublinear-time-solver analyze -m M.json --full
npx sublinear-time-solver solve -m M.json -b b.json --method neumann --epsilon 1e-6 -o x.json
```

### Run as an MCP server
```bash
npx sublinear-time-solver serve
```

## Best Practices
1. Run `analyze --full` first: convergence depends on diagonal dominance
2. Matrix JSON: `{"rows","cols","format":"coo","values","rowIndices","colIndices"}` or dense `{"format":"dense","data":[[...]]}`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.