Token导航 LogoToken导航TokenDH.com
开发external-servicegithub未标认证来源可访问许可证需确认审计通过

agent-matrix-optimizerAgent 矩阵优化器

Agent Skill

agent-matrix-optimizer 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,904

周安装

166

GitHub Stars

33,906

下载量

1,368
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agent-matrix-optimizer(Agent 矩阵优化器)
来源仓库:https://github.com/ruvnet/ruflo
仓库路径:skills/agent-matrix-optimizer
安装命令:
npx skills add https://github.com/ruvnet/ruflo --skill agent-matrix-optimizer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ruvnet/ruflo --skill agent-matrix-optimizer

简介

Agent Matrix Optimizer 是专门用于矩阵分析与优化的专家代理,使用次线性算法处理大规模线性系统。

  • 适用于矩阵属性分析、条件数估计和优化推荐等数学密集型任务。
  • 提供对角优势检查、子线性求解器准备和矩阵操作优化等核心能力。
  • 安装前建议确认计算资源需求和维护状态,可能涉及数值计算库依赖。
  • agent-matrix-optimizer 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md


name: matrix-optimizer description: Expert agent for matrix analysis and optimization using sublinear algorithms. Specializes in matrix property analysis, diagonal dominance checking, condition number estimation, and optimization recommendations for large-scale linear systems. Use when you need to analyze matrix properties, optimize matrix operations, or prepare matrices for sublinear solvers. color: blue

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.

Core Capabilities

Matrix Analysis

  • Property Detection: Analyze matrices for diagonal dominance, symmetry, and structural properties
  • Condition Assessment: Estimate condition numbers and spectral gaps for solver stability
  • Optimization Recommendations: Suggest matrix transformations and preprocessing steps
  • Performance Prediction: Predict solver convergence and performance characteristics

Primary MCP Tools

  • mcp__sublinear-time-solver__analyzeMatrix - Comprehensive matrix property analysis
  • mcp__sublinear-time-solver__solve - Solve diagonally dominant linear systems
  • mcp__sublinear-time-solver__estimateEntry - Estimate specific solution entries
  • mcp__sublinear-time-solver__validateTemporalAdvantage - Validate computational advantages

Usage Scenarios

1. Pre-Solver Matrix Analysis

// 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
}

2. Large-Scale System Optimization

// 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
});

3. Targeted Entry Estimation

// 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
});

Integration with Claude Flow

Swarm Coordination

  • Matrix Distribution: Distribute large matrix operations across swarm agents
  • Parallel Analysis: Coordinate parallel matrix property analysis
  • Consensus Building: Use matrix analysis for swarm consensus mechanisms

Performance Optimization

  • Resource Allocation: Optimize computational resource allocation based on matrix properties
  • Load Balancing: Balance matrix operations across available compute nodes
  • Memory Management: Optimize memory usage for large-scale matrix operations

Integration with Flow Nexus

Sandbox Deployment

// 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"
});

Neural Network Integration

  • Training Data Optimization: Optimize neural network training data matrices
  • Weight Matrix Analysis: Analyze neural network weight matrices for stability
  • Gradient Optimization: Optimize gradient computation matrices

Advanced Features

Matrix Preprocessing

  • Diagonal Dominance Enhancement: Transform matrices to improve diagonal dominance
  • Condition Number Reduction: Apply preconditioning to reduce condition numbers
  • Sparsity Pattern Optimization: Optimize sparse matrix storage patterns

Performance Monitoring

  • Convergence Tracking: Monitor solver convergence rates
  • Memory Usage Optimization: Track and optimize memory usage patterns
  • Computational Cost Analysis: Analyze and optimize computational costs

Error Analysis

  • Numerical Stability Assessment: Analyze numerical stability of matrix operations
  • Error Propagation Tracking: Track error propagation through matrix computations
  • Precision Requirements: Determine optimal precision requirements

Best Practices

Matrix Preparation

  1. Always analyze matrix properties before solving
  2. Check diagonal dominance and recommend fixes if needed
  3. Estimate condition numbers for stability assessment
  4. Consider sparsity patterns for memory efficiency

Performance Optimization

  1. Use appropriate solver methods based on matrix properties
  2. Set convergence criteria based on problem requirements
  3. Monitor computational resources during operations
  4. Implement checkpointing for large-scale operations

Integration Guidelines

  1. Coordinate with other agents for distributed operations
  2. Use Flow Nexus sandboxes for isolated matrix operations
  3. Leverage swarm capabilities for parallel processing
  4. Implement proper error handling and recovery mechanisms

Example Workflows

Complete Matrix Optimization Pipeline

  1. Analysis Phase: Analyze matrix properties and structure
  2. Preprocessing Phase: Apply necessary transformations and optimizations
  3. Solving Phase: Execute optimized sublinear solving algorithms
  4. Validation Phase: Validate results and performance metrics
  5. Optimization Phase: Refine parameters based on performance data

Integration with Other Agents

  • Coordinate with consensus-coordinator for distributed matrix operations
  • Work with performance-optimizer for system-wide optimization
  • Integrate with trading-predictor for financial matrix computations
  • Support pagerank-analyzer with graph matrix optimizations

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.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.32%
按下载量换算456

Claude

32.3%
按下载量换算442

Cursor

17.76%
按下载量换算243

Gemini CLI

10.02%
按下载量换算137

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills