# V3 Performance Optimization

> V3 Performance Optimization is an open-source agent skill for developer tools. Benchmarks and tunes claude-flow v3 performance against Flash Attention and search targets. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ruvnet/RuView/tree/main/.claude/skills/v3-performance-optimization
- **Repository:** https://github.com/ruvnet/ruview
- **GitHub stars:** 106,018
- **License:** MIT
- **Skill name:** V3 Performance Optimization
- **Collection:** https://github.com/ruvnet/RuView
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill guides an agent through validating and improving the performance of claude-flow v3, covering attention speed, vector search via AgentDB HNSW indexing, memory use, startup time, and SONA adaptation latency. It supplies TypeScript benchmark classes for each area, measuring baseline against target and reporting whether a target was met.

Beyond one-off measurement, the skill describes a monitoring layer that collects metrics into a report and compares a current run against a stored baseline, flagging any metric that drops more than five percent. It also outlines optimization approaches such as memory pooling, worker thread pools and task batching, followed by a validation pass that checks all targets together.

The skill assumes a claude-flow v3 project with its npm benchmark scripts and a Task-based agent setup named v3-performance-engineer. The SKILL.md is a single file with no bundled scripts, so the benchmark code is illustrative and must be adapted to the project's real APIs.

## When your agent uses it

> Achieve aggressive v3 performance targets: 2.49x-7.47x Flash Attention speedup, 150x-12,500x search improvements, 50-75% memory reduction. Comprehensive benchmarking and optimization suite.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ruvnet/RuView/tree/HEAD/.claude/skills/v3-performance-optimization)
- [License: MIT](https://github.com/ruvnet/RuView/tree/HEAD/.claude/skills/v3-performance-optimization)

## Features

- **Flash Attention benchmarking:** Compares standard and flash attention speed and memory across several sequence lengths.
- **Vector search benchmarking:** Measures linear search against HNSW indexed search over a large query set.
- **Memory usage measurement:** Records heap use before and after loading data and after enabling optimization.
- **Regression detection:** Compares current metrics with a baseline and flags drops greater than five percent.
- **Optimization strategies:** Outlines memory pooling, garbage collection tuning, worker threads and task batching.
- **Target validation gates:** Checks startup, adaptation, attention, search and memory targets together in one pass.

## Good for

- Benchmark claude-flow v3 attention speed against the target range
- Check whether vector search meets the HNSW improvement target
- Detect performance regressions since the last recorded baseline
- Measure heap usage before and after loading a test dataset
- Identify memory pooling or batching changes to reduce usage

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/v3-performance-optimization` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruvnet/RuView.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/v3-performance-optimization &&
cp -R "$tmp/.claude/skills/v3-performance-optimization" ~/.claude/skills/v3-performance-optimization &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/v3-performance-optimization` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/v3-performance-optimization` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruvnet/RuView.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/v3-performance-optimization &&
cp -R "$tmp/.claude/skills/v3-performance-optimization" ~/.agents/skills/v3-performance-optimization &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/v3-performance-optimization` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/v3-performance-optimization` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruvnet/RuView.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/v3-performance-optimization &&
cp -R "$tmp/.claude/skills/v3-performance-optimization" ~/.cursor/skills/v3-performance-optimization &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/v3-performance-optimization` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ruvnet/RuView.git --path .claude/skills/v3-performance-optimization
```

Or copy the folder to `~/.gemini/skills/v3-performance-optimization` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/v3-performance-optimization`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruvnet/RuView.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/v3-performance-optimization &&
cp -R "$tmp/.claude/skills/v3-performance-optimization" ~/.copilot/skills/v3-performance-optimization &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/v3-performance-optimization` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ruvnet/RuView.git
```

Then copy `RuView/.claude/skills/v3-performance-optimization` into your agent's skills folder as `v3-performance-optimization`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does V3 Performance Optimization need to run?

It assumes a claude-flow v3 project with the npm benchmark scripts named in its usage section, and it refers to a v3-performance-engineer agent. The benchmark code is illustrative and depends on the project's own APIs.

### Does V3 Performance Optimization change my code automatically?

The SKILL.md describes optimization strategies such as memory pooling and worker threads, but it does not state that it edits files on its own. Changes come from the agent following these instructions.

### Which related skills does V3 Performance Optimization point to?

It lists v3-integration-deep, v3-memory-unification, v3-swarm-coordination and v3-security-overhaul as related v3 skills.

### How do I install V3 Performance Optimization in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/v3-performance-optimization to use it in all your projects, or to .claude/skills/v3-performance-optimization in one project.

### Does V3 Performance Optimization run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use V3 Performance Optimization?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to V3 Performance Optimization?

The closest alternatives to V3 Performance Optimization are V3 Deep Integration, Performance optimization, V3 Core Implementation, V3 CLI Modernization and Benchmark checklist.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [V3 Deep Integration](https://ai-powered.com/skills/v3-deep-integration): V3 Deep Integration is an open-source agent skill for developer tools.
- [Performance optimization](https://ai-powered.com/skills/performance-optimization): Performance optimization is an open-source agent skill for developer tools.
- [V3 Core Implementation](https://ai-powered.com/skills/v3-core-implementation): V3 Core Implementation is an open-source agent skill for developer tools.
- [V3 CLI Modernization](https://ai-powered.com/skills/v3-cli-modernization): V3 CLI Modernization is an open-source agent skill for developer tools.
- [Benchmark checklist](https://ai-powered.com/skills/benchmark-checklist): Benchmark checklist is an open-source agent skill for developer tools.
- [Skill creator](https://ai-powered.com/skills/skill-creator): Skill creator is a free agent skill for ai models and llm tooling.
- [Performance audit edho ferdian](https://ai-powered.com/skills/performance-audit-edho-ferdian): Performance audit edho ferdian is an open-source agent skill for developer tools.
- [Performance optimization](https://ai-powered.com/skills/performance-optimization-ajyadav013-2): Performance optimization is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/v3-performance-optimization
