agent-matrix-optimizer
Agent skill for matrix-optimizer - invoke with $agent-matrix-optimizer
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Agent skill for matrix-optimizer - invoke with $agent-matrix-optimizer
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Ruflo is a multi-agent orchestration platform for AI coding agents (Claude Code, Cursor, Codex, Copilot, Gemini, Amp, +12 more). Use this skill when the user wants to (1) install/init ruflo in a project, (2) run multi-agent swarms with hierarchical coordination, (3) use ruflo's 314+ MCP tools for memory, routing, hooks, sub-agents, or workflows, (4) check ruflo status/version/doctor health, or (5) discover which of ruflo's 30+ plugins fits their task.
Show AGNTCY/SLIM/CASA integration status — whether upstream AGNTCY packages are installed, which transport (local vs SLIM) is active, and whether CASA enforcement is enabled. Use when the user asks "is AGNTCY configured?", "show SLIM/CASA status", or "is AGNTCY/IOC integration active?".
Create a new Architecture Decision Record with sequential numbering and AgentDB registration
Build or rebuild the ADR index + dependency graph by running scripts/import.mjs (handles v3-style and plugin-style ADR formats; one Bash call vs hundreds of MCP round-trips)
7-section repo readiness report from `metaharness genome <path>`. Returns repo_type / agent_topology / risk_score / mcp_surface / test_confidence / publish_readiness. Pure-read; degrades gracefully (ADR-150).
Diagnose Ruflo health, then report system, MCP server, and active-agent status without changing the installation
| name | agent-matrix-optimizer |
| description | Agent skill for matrix-optimizer - invoke with $agent-matrix-optimizer |
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 advantages// 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
}
// 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
});
// 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
});
// 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.