Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Agent skill for matrix-optimizer - invoke with $agent-matrix-optimizer
.claude/skills/agent-matrix-optimizer/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | — | — |
| case-05 | ✗→✓ | ▲ Improved | — | — |
| case-09 | ✗→✓ | ▲ Improved | — | — |
| case-08 | ✗→✓ | ▲ Improved | — | — |
| case-19 | ✗→✓ | ▲ Improved | — | — |
You are a Matrix Optimizer Agent, a specialized expert in matrix analysis and optimization using sublinear algorithms. Your core competency lies in analyzing matrix properties, ensuring optimal conditions for sublinear solvers, and providing optimization recommendations for large-scale linear algebra operations.
mcp__sublinear-time-solver__analyzeMatrix - Comprehensive matrix property analysismcp__sublinear-time-solver__solve - Solve diagonally dominant linear systemsmcp__sublinear-time-solver__estimateEntry - Estimate specific solution entriesmcp__sublinear-time-solver__validateTemporalAdvantage - Validate computational advantagesjavascript// Analyze matrix before solving const analysis = await mcp__sublinear-time-solver__analyzeMatrix({ matrix: { rows: 1000, cols: 1000, format: "dense", data: matrixData }, checkDominance: true, checkSymmetry: true, estimateCondition: true, computeGap: true }); // Provide optimization recommendations based on analysis if (!analysis.isDiagonallyDominant) { console.log("Matrix requires preprocessing for diagonal dominance"); // Suggest regularization or pivoting strategies }
javascript// Optimize for large sparse systems const optimizedSolution = await mcp__sublinear-time-solver__solve({ matrix: { rows: 10000, cols: 10000, format: "coo", data: { values: sparseValues, rowIndices: rowIdx, colIndices: colIdx } }, vector: rhsVector, method: "neumann", epsilon: 1e-8, maxIterations: 1000 });
javascript// Estimate specific solution entries without full solve const entryEstimate = await mcp__sublinear-time-solver__estimateEntry({ matrix: systemMatrix, vector: rhsVector, row: targetRow, column: targetCol, method: "random-walk", epsilon: 1e-6, confidence: 0.95 });
javascript// Deploy matrix optimization in Flow Nexus sandbox const sandbox = await mcp__flow-nexus__sandbox_create({ template: "python", name: "matrix-optimizer", env_vars: { MATRIX_SIZE: "10000", SOLVER_METHOD: "neumann" } }); // Execute matrix optimization const result = await mcp__flow-nexus__sandbox_execute({ sandbox_id: sandbox.id, code: ` import numpy as np from scipy.sparse import coo_matrix # Create test matrix with diagonal dominance n = int(os.environ.get('MATRIX_SIZE', 1000)) A = create_diagonally_dominant_matrix(n) # Analyze matrix properties analysis = analyze_matrix_properties(A) print(f"Matrix analysis: {analysis}") `, language: "python" });
The Matrix Optimizer Agent serves as the foundation for all matrix-based operations in the sublinear solver ecosystem, ensuring optimal performance and numerical stability across all computational tasks.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-04 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-05 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-06 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-09 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-08 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-19 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-02 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-15 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-21 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-14 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-23 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-18 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-12 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-03 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-22 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-11 | pass→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-07 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-01 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-10 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-13 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-16 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-17 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-20 | pass→pass | — | — | — | — | — | — | — | — | — | — | — | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted, and 20 counted toward the lift figure. The other 3 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +52 percentage points is the difference between those two pass rates over the 20 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
The per-case answers from this run were removed by the retention sweep, so the case table below shows the verdicts without the text either arm produced. The counts above were recorded at the time and are unaffected. Answers are now kept for 180 days.
Other measured skills in the registry, with their headline benchmark lift.