agent-performance-optimizer
What it does
This skill guides an agent through finding the slow parts of a system and improving how resources are shared. It is for people who manage servers, apps or cloud setups and want better efficiency.
When to use it
- ✓When a system uses too much memory or processing power.
- ✓When a cloud setup costs more than it should for its workload.
- ✓When you want to check how a system scales as the load grows.
Skill link
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-performance-optimizer/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Find what is slowing down our app server and suggest changes that use less memory.”
5 new skills a week. 1 minute to read.
How it works
The agent analyzes resource use, finds bottlenecks, plans changes such as caching or load balancing, and suggests how to measure the result.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
What is caching?
Caching keeps results in fast storage, so the system does not repeat the same work.
Does it apply the changes itself?
The skill describes analysis and recommendations, so you decide which changes to apply.
Which systems does it cover?
It covers distributed systems and cloud infrastructure.
Details
Original description by the author
Agent skill for performance-optimizer - invoke with $agent-performance-optimizer
repo: ruvnet/ruflo
Popularity
- GitHub stars
- 81k
- Ranking position
- #1488
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
agent-adaptive-coordinator
81kHelps your agent split and rebalance a group of AI agents as the workload changes, choosing a layout that fits the task.
agent-agent
81kTeaches your agent to turn a big goal into an ordered plan of actions, and to replan when conditions change.
agent-agentic-payments
81kHelps your agent manage spending mandates for AI shopping, with spend caps, time windows, merchant rules and signed approvals.
agent-analyze-code-quality
81kHelps your agent review code for quality, finding code smells, technical debt and refactoring ideas without changing the files.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.