agent-performance-optimizer
Skill này làm gì
Skill này hướng dẫn agent tìm các phần chậm của hệ thống và cải thiện cách chia sẻ tài nguyên. Phù hợp với người quản lý máy chủ, ứng dụng hoặc hạ tầng đám mây và muốn hiệu quả tốt hơn.
Khi nào nên dùng
- ✓Khi một hệ thống dùng quá nhiều bộ nhớ hoặc sức xử lý.
- ✓Khi hạ tầng đám mây tốn nhiều chi phí hơn mức cần thiết cho khối lượng công việc.
- ✓Khi bạn muốn kiểm tra hệ thống mở rộng ra sao khi tải tăng lên.
Liên kết skill
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-performance-optimizer/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tìm điều gì đang làm chậm máy chủ ứng dụng của chúng tôi và đề xuất thay đổi để dùng ít bộ nhớ hơn.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent phân tích mức dùng tài nguyên, tìm các điểm nghẽn, lên kế hoạch thay đổi như caching hoặc cân bằng tải, và gợi ý cách đo kết quả.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Caching là gì?
Caching giữ kết quả ở bộ nhớ nhanh, để hệ thống không phải làm lại cùng một việc.
Nó có tự áp dụng thay đổi không?
Skill mô tả phân tích và khuyến nghị, nên bạn là người quyết định áp dụng thay đổi nào.
Nó bao quát những hệ thống nào?
Nó bao quát hệ thống phân tán và hạ tầng đám mây.
Chi tiết
Mô tả gốc của tác giả
Agent skill for performance-optimizer - invoke with $agent-performance-optimizer
repo: ruvnet/ruflo
Độ phổ biến
- Sao GitHub
- 81k
- Vị trí xếp hạng
- #1488
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agent-adaptive-coordinator
81kGiúp agent của bạn chia và cân bằng lại một nhóm agent AI khi khối lượng công việc thay đổi, chọn bố cục phù hợp với tác vụ.
agent-agent
81kDạy agent của bạn biến một mục tiêu lớn thành kế hoạch hành động có thứ tự, và lập lại kế hoạch khi điều kiện thay đổi.
agent-agentic-payments
81kGiúp agent của bạn quản lý ủy quyền chi tiêu cho mua sắm bằng AI, với hạn mức chi, khung thời gian, quy tắc người bán và phê duyệt có chữ ký.
agent-analyze-code-quality
81kGiúp agent của bạn rà soát chất lượng mã, tìm code smell, nợ kỹ thuật và gợi ý tái cấu trúc mà không thay đổi các file.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.