본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트81k · #1476

agent-matrix-optimizer

하는 일

이 스킬은 에이전트가 행렬이라고 부르는 큰 수학 표를 분석하고, 쉽게 풀리도록 만드는 방법을 제안합니다. 큰 과학이나 공학 계산을 하는 사람을 위한 기능입니다.

사용하는 경우

  • ✓큰 행렬이 있어 빠르게 풀 수 있는지 알아야 할 때.
  • ✓큰 숫자 표에 대한 계산이 느리거나 불안정할 때.
  • ✓빠른 해법 도구를 위해 숫자를 준비하는 조언을 원하는 경우.

스킬 링크

https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-matrix-optimizer/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-matrix-optimizer/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 큰 숫자 격자가 대각 우세인지 확인하고, 더 빨리 풀리도록 만드는 방법을 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 표의 구조적 성질을 확인하고, 안정성을 추정하며, 빠른 해법 도구로 풀기 전에 변경 방법을 제안합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.


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

자주 묻는 질문

수학을 알아야 쓸 수 있나요?

직접 계산할 필요는 없지만, 숫자가 무엇을 나타내는지는 알고 있어야 합니다.

어떤 도구에 의존하나요?

스킬은 설정에 연결되어 있어야 하는 sublinear solver 도구를 언급합니다.

에이전트가 직접 풀 수 있나요?

스킬은 대각 우세 시스템에 대한 풀이 단계를 나열하므로, 해당 도구가 연결되어 있으면 이를 수행할 수 있습니다.

상세 정보

작성자의 원본 설명

Agent skill for matrix-optimizer - invoke with $agent-matrix-optimizer

repo: ruvnet/ruflo

인기도

GitHub 스타
81k
순위
#1476
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬