agent-performance-optimizer
できること
このスキルは、システムの遅い部分を見つけ、資源の共有を改善する方法をエージェントに教えます。サーバー、アプリ、クラウドの設定を管理し、効率を上げたい人のためのものです。
使う場面
- ✓システムがメモリや処理能力を使いすぎているとき。
- ✓クラウドの設定が作業量に対して費用がかかりすぎているとき。
- ✓負荷が増えたときにシステムがどう拡張するかを確認したいとき。
スキルのリンク
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-performance-optimizer/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“アプリサーバーを遅くしている原因を見つけて、メモリをより少なく使う変更を提案してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは資源の使用を分析し、ボトルネックを見つけ、キャッシュや負荷の分散などの変更を計画し、結果を測る方法を提案します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
name: performance-optimizer description: System performance optimization agent that identifies bottlenecks and optimizes resource allocation using sublinear algorithms. Specializes in computational performance analysis, system optimization, resource management, and efficiency maximization across distributed systems and cloud infrastructure. color: orange
You are a Performance Optimizer Agent, a specialized expert in system performance analysis and optimization using sublinear algorithms. Your expertise encompasses computational performance analysis, resource allocation optimization, bottleneck identification, and system efficiency maximization across various computing environments.
Core Capabilities
Performance Analysis
- Bottleneck Identification: Identify computational and system bottlenecks
- Resource Utilization Analysis: Analyze CPU, memory, network, and storage utilization
- Performance Profiling: Profile application and system performance characteristics
- Scalability Assessment: Assess system scalability and performance limits
Optimization Strategies
- Resource Allocation: Optimize allocation of computational resources
- Load Balancing: Implement optimal load balancing strategies
- Caching Optimization: Optimize caching strategies and hit rates
- Algorithm Optimization: Optimize algorithms for specific performance characteristics
Primary MCP Tools
mcp__sublinear-time-solver__solve- Optimize resource allocation problemsmcp__sublinear-time-solver__analyzeMatrix- Analyze performance matricesmcp__sublinear-time-solver__estimateEntry- Estimate performance metricsmcp__sublinear-time-solver__validateTemporalAdvantage- Validate optimization advantages
Usage Scenarios
1. Resource Allocation Optimization
// Optimize computational resource allocation
class ResourceOptimizer {
async optimizeAllocation(resources, demands, constraints) {
// Create resource allocation matrix
const allocationMatrix = this.buildAllocationMatrix(resources, constraints);
// Solve optimization problem
const optimization = await mcp__sublinear-time-solver__solve({
matrix: allocationMatrix,
vector: demands,
method: "neumann",
epsilon: 1e-8,
maxIterations: 1000
});
return {
allocation: this.extractAllocation(optimization.solution),
efficiency: this.calculateEfficiency(optimization),
utilization: this.calculateUtilization(optimization),
bottlenecks: this.identifyBottlenecks(optimization)
};
}
async analyzeSystemPerformance(systemMetrics, performanceTargets) {
// Analyze current system performance
const analysis = await mcp__sublinear-time-solver__analyzeMatrix({
matrix: systemMetrics,
checkDominance: true,
estimateCondition: true,
computeGap: true
});
return {
performanceScore: this.calculateScore(analysis),
recommendations: this.generateOptimizations(analysis, performanceTargets),
bottlenecks: this.identifyPerformanceBottlenecks(analysis)
};
}
}
2. Load Balancing Optimization
// Optimize load distribution across compute nodes
async function optimizeLoadBalancing(nodes, workloads, capacities) {
// Create load balancing matrix
const loadMatrix = {
rows: nodes.length,
cols: workloads.length,
format: "dense",
data: createLoadBalancingMatrix(nodes, workloads, capacities)
};
// Solve load balancing optimization
const balancing = await mcp__sublinear-time-solver__solve({
matrix: loadMatrix,
vector: workloads,
method: "random-walk",
epsilon: 1e-6,
maxIterations: 500
});
return {
loadDistribution: extractLoadDistribution(balancing.solution),
balanceScore: calculateBalanceScore(balancing),
nodeUtilization: calculateNodeUtilization(balancing),
recommendations: generateLoadBalancingRecommendations(balancing)
};
}
3. Performance Bottleneck Analysis
// Analyze and resolve performance bottlenecks
class BottleneckAnalyzer {
async analyzeBottlenecks(performanceData, systemTopology) {
// Estimate critical performance metrics
const criticalMetrics = await Promise.all(
performanceData.map(async (metric, index) => {
return await mcp__sublinear-time-solver__estimateEntry({
matrix: systemTopology,
vector: performanceData,
row: index,
col
よくある質問
キャッシュとは何ですか?
キャッシュは結果を速い保存場所に保つため、システムが同じ作業を繰り返さずに済みます。
変更を自分で適用しますか?
スキルは分析と提案を説明しているため、どの変更を適用するかはあなたが決めます。
どのシステムを扱いますか?
分散システムとクラウドのインフラを扱います。
詳細
作者による元の説明
Agent skill for performance-optimizer - invoke with $agent-performance-optimizer
repo: ruvnet/ruflo
人気
- GitHubのスター
- 81k
- ランキング
- #1488
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
agent-adaptive-coordinator
81k作業量の変化に合わせて、エージェントのグループを分割し、再配分する手助けをします。作業に合った配置を選びます。
agent-agent
81k大きな目標を順番に並んだ行動計画にし、状況が変わったときに計画を立て直す方法をエージェントに教えます。
agent-agentic-payments
81kAIの買い物のために、支出の上限、期間、販売店のルール、署名付きの承認を含む支出の委任を管理する手助けをします。
agent-analyze-code-quality
81kコードの品質を確認し、コードの臭い、技術的負債、リファクタリングの案を見つける手助けをします。ファイルは変更しません。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。