Install the "chrome-performance-optimizer" agent skill from https://github.com/nwjs/chromium.src/tree/main/agents/skills/chrome-performance-optimizer into .claude/skills/chrome-performance-optimizer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chrome-performance-optimizer", then confirm the skill loads.
Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
skills CLI
$ npx skills add nwjs/chromium.src --skill chrome-performance-optimizer -a codex
Project install goes to .agents/skills/; add -g for ~/.codex/skills/.
Install the "chrome-performance-optimizer" agent skill from https://github.com/nwjs/chromium.src/tree/main/agents/skills/chrome-performance-optimizer into .agents/skills/chrome-performance-optimizer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chrome-performance-optimizer", then confirm the skill loads.
Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add nwjs/chromium.src --skill chrome-performance-optimizer -a cursor
Project install goes to .agents/skills/; add -g for ~/.cursor/skills/.
Install the "chrome-performance-optimizer" agent skill from https://github.com/nwjs/chromium.src/tree/main/agents/skills/chrome-performance-optimizer into .cursor/skills/chrome-performance-optimizer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chrome-performance-optimizer", then confirm the skill loads.
Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
skills CLI
$ npx skills add nwjs/chromium.src --skill chrome-performance-optimizer -a gemini-cli
Project install goes to .agents/skills/; add -g for ~/.gemini/skills/.
Install the "chrome-performance-optimizer" agent skill from https://github.com/nwjs/chromium.src/tree/main/agents/skills/chrome-performance-optimizer into .gemini/skills/chrome-performance-optimizer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chrome-performance-optimizer", then confirm the skill loads.
Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
skills CLI
$ npx skills add nwjs/chromium.src --skill chrome-performance-optimizer -a github-copilot
Project install goes to .agents/skills/; add -g for ~/.copilot/skills/.
Install the "chrome-performance-optimizer" agent skill from https://github.com/nwjs/chromium.src/tree/main/agents/skills/chrome-performance-optimizer into .github/skills/chrome-performance-optimizer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chrome-performance-optimizer", then confirm the skill loads.
GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add nwjs/chromium.src --skill chrome-performance-optimizer -a opencode
OpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
Install the "chrome-performance-optimizer" agent skill from https://github.com/nwjs/chromium.src/tree/main/agents/skills/chrome-performance-optimizer into .opencode/skills/chrome-performance-optimizer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chrome-performance-optimizer", then confirm the skill loads.
OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Facts
Skill name
chrome-performance-optimizer
GitHub stars
160
Token cost
~4.2k tokens
SKILL.md length
1,276 words
Files
9 (incl. scripts, references)
Skills in repo
64
Repo updated
First seen
Licence
BSD-3-Clause
At a glance
Autonomous multi-agent performance optimization loop for Chromium and V8.
Works in 7 steps: Bottleneck & Opportunity Discovery → Formulate Macro Hypothesis & Isolated… → Local Verification & Correctness Testing → …
150-iteration Pinpoint try jobs on Apple Silicon M1 hardware
SKILL.md covers 🔁 Multi-Agent Architecture &…, Step 1: Bottleneck &…, Step 2: Formulate Macro… and Step 3: Local Verification &…, plus 5 more sections
Runs Python scripts from its folder; calls git; reaches pprof.corp.google.com
What it does
Chrome Performance Optimizer is an agent skill from nwjs/chromium.src. Autonomous multi-agent performance optimization loop for Chromium and V8. Supports profile-seeded mode (analyzing Speedometer 3 / JetStream profiles via pprof or Sagacity MCP) and pattern-driven discovery mode (fan-out exploration of Blink and V8 macro-patterns grounded in historical wins and past rejected CLs). Dispatches isolated implementations in git worktrees, verifies local tests, uploads CLs, triggers 150-iteration Pinpoint try jobs on Apple Silicon M1 hardware, pipelines subsequent hypotheses…
Its SKILL.md is about 4.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including scripts and reference files (for example `references/agent_roles.md`, `references/optimization_patterns.md` and `references/pinpoint_workflow.md`).
It sits in Agent Workflows, covering Git worktrees, Performance optimization and A/B testing. It works with Model Context Protocol. The repository describes itself as: Chromium codebase with NW.js modifications. Based on https://chromium.googlesource.com/chromium/src.git. The licence is BSD-3-Clause.
When your agent uses it
150-iteration Pinpoint try jobs on Apple Silicon M1 hardware
Pipelines subsequent hypotheses asynchronously
Evaluates statistical significance
Manages CL lifecycles
Example prompts
“/chrome-performance-optimizer”
Requirements
Python 3
Workflow steps
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit a9e8946. It shows what the files ask for, not the result of running them.
Tool permissions
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Runs code
Ships 4 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
git
From the folder's file list and the shell code blocks in SKILL.md.
Network
Hosts in commands or code, which the agent is likely to contact:
pprof.corp.google.com
From URLs in SKILL.md, links to its own repository left out.
Credentials
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Context cost
Chrome Performance Optimizer loads about 4.2k tokens when it runs, and up to ~14k if it reads all its reference files. Until then it costs about 153 tokens; SKILL.md has 1,276 words of instructions outside code blocks.
Always· name and description, kept in context so the agent knows when to use it
~153
When it runs· the whole SKILL.md, loaded when a task matches
~4.2k
With references· SKILL.md plus every file in references/, read only if the agent opens them
~14k
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
Safety
Auto-check passed
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
Download SKILL.mdSave it as .claude/skills/chrome-performance-optimizer/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.
name
chrome-performance-optimizer
description
Autonomous multi-agent performance optimization loop for Chromium and V8. Supports profile-seeded mode (analyzing Speedometer 3 / JetStream profiles via pprof or Sagacity MCP) and pattern-driven discovery mode (fan-out exploration of Blink and V8 macro-patterns grounded in historical wins and past rejected CLs). Dispatches isolated implementations in git worktrees, verifies local tests, uploads CLs, triggers 150-iteration Pinpoint try jobs on Apple Silicon M1 hardware, pipelines subsequent hypotheses asynchronously, evaluates statistical significance, and manages CL lifecycles.
This skill provides an autonomous multi-agent optimization loop designed to
uncover, implement, and validate engine-level optimizations across Chromium and
V8.
🔁 Multi-Agent Architecture & Pipelined Workflow
The optimization process divides responsibilities across specialized subagents
to enable parallel exploration and asynchronous Pinpoint pipelining:
mermaid
graph TD
Main["Orchestrator Agent<br/>Backlog, Pipelining & Global Decisions"]
subgraph Discovery["Phase 1: Parallel Opportunity Exploration"]
E1["Opportunity Explorer #1<br/>Historical & Pattern Learning"]
E2["Opportunity Explorer #2<br/>Historical & Pattern Learning"]
E3["Opportunity Explorer #3<br/>Historical & Pattern Learning"]
end
subgraph Execution["Phase 2: Isolated Worktrees (Workspace: 'share')"]
Imp1["Implementer & Local Tester #1"]
Imp2["Implementer & Local Tester #2"]
end
subgraph Review["Phase 3: Pre-Upload Review & Refinement (Workspace: 'share')"]
Rev1["Code Reviewer & Refiner #1"]
Rev2["Code Reviewer & Refiner #2"]
end
subgraph RemoteEval["Phase 4: Async Remote Evaluation"]
PP1["Pinpoint & Gerrit Lifecycle Worker #1"]
PP2["Pinpoint & Gerrit Lifecycle Worker #2"]
end
Main -->|1. Fan-out General Exploration| Discovery
Discovery -->|2. Propose Macro-Hypotheses| Main
Main -->|3. Dispatch Candidate| Execution
Execution -->|4. Verified Patch & Smoke Test| Main
Main -->|5. Pre-Upload Code Review & Quality Gate| Review
Review -->|6a. Conceptually Flawed: Veto & Discard| Main
Review -->|6b. Approved & Refined Patch| Main
Main -->|7. Upload WIP CL & Launch Pinpoint on M1| RemoteEval
Main -.->|8. Pipeline Next Candidate (Do not wait idle)| Execution
RemoteEval -->|9. Stat-Significant Win / Regressed| Main
Main -->|10. Accept (Keep CL) or Reject (Abandon CL)| Main
Step 1: Bottleneck & Opportunity Discovery
Discovery operates either from a provided profile or directly from known
high-leverage architectural patterns and historical learning:
Mode A: When a Performance Profile is Provided (Profile-Seeded)
Ingest profiles from web pprof links (https://pprof.corp.google.com/?id=XYZ),
native IDs (id:XYZ), Sagacity MCP tools (fetch_uploaded_profile), or local
Crossbench CSVs.
bash
# 1. Top Cumulative Call Stacks (identify caller subtrees):
vpython3 .agents/skills/chrome-performance-optimizer/scripts/analyze_profile.py "pprof/?id=XYZ" --mode=cum --nodecount=30
# 2. Top Flat Functions (identify hot leaf loops):
vpython3 .agents/skills/chrome-performance-optimizer/scripts/analyze_profile.py "pprof/?id=XYZ" --mode=flat --nodecount=30
# 3. Inspect Callers & Callees for a Specific Symbol:
vpython3 .agents/skills/chrome-performance-optimizer/scripts/analyze_profile.py "pprof/?id=XYZ" --mode=peek --symbol="*HasOwnProperty*"
# 4. Compare Two Profiles (Diff Mode):
vpython3 .agents/skills/chrome-performance-optimizer/scripts/analyze_profile.py "pprof/?id=EXP_ID" --base="pprof/?id=BASE_ID" --mode=cum
Mode B: When No Profile is Provided (General Opportunity Exploration)
When exploring without a seeded profile, spawn parallel Opportunity Explorer
subagents to scan the codebase holistically, guided by past lessons:
Learning from Historical Archetypes: Internalize the macro-optimization
archetypes documented in
Macro-Optimization Patterns:
Allocation Elimination: Eliminate heap / GC allocations in hot
per-element or per-token loops.
Invariant Caching: Cache expensive cross-iteration computations (e.g.
style match trees, parsed path/SVG streams, shaped word glyphs).
Fast-Path Short-Circuits: Bypass heavy multi-layer framework code (e.g.
ICU, HarfBuzz, full CSS cascade) for common-case inputs.
Devirtualization & Inlining: Devirtualize hot type checks and indirect
calls.
Concurrency & Deferral: Defer non-critical work to idle tasks or worker
threads (e.g. sweeping, lazy state initialization).
Learning from Past Attempts & Non-Duplication: Query and study all
previously attempted CLs on Gerrit:
bash
# Query all accepted winners and rejected attempts:
vpython3 .agents/skills/chrome-performance-optimizer/scripts/fetch_tried_cls.py
# Search for a specific file, class, or subsystem to verify novelty:
vpython3 .agents/skills/chrome-performance-optimizer/scripts/fetch_tried_cls.py --search <target_file_or_subsystem>
# Or inspect accepted winning optimizations specifically:
vpython3 .agents/skills/chrome-performance-optimizer/scripts/fetch_tried_cls.py --accepted-only
topic:chrome-perf-opt-rejected: CLs that failed Pinpoint evaluation
($p > 0.05$). You MUST NOT repeat or re-propose any of these changes or
micro-variations of them.
topic:chrome-perf-opt-accepted: Validated benchmark winners. Check
this list to avoid duplicating changes that have already been developed and
accepted on Gerrit. Each optimization must be developed and evaluated on
its own focused, independent CL. Do NOT combine multiple distinct
optimizations into a single compound/aggregate CL.
Subagent Fan-Out via invoke_subagent: Launch general Opportunity
Explorer subagents (see Agent Roles Guide for
full prompt templates) to explore different architectural angles across the
entire engine simultaneously.
This machine-independent tool queries Gerrit directly across
topic:chrome-perf-opt-* and verifies that the candidate diff does not
duplicate or overlap with any previously accepted or rejected attempts. If
overlap is detected, the check fails immediately and the candidate must be
discarded.
No Duplication & No Combining: NEVER repeat changes listed under
topic:chrome-perf-opt-rejected or topic:chrome-perf-opt-accepted. Do NOT
combine multiple separate optimizations into a single CL; each optimization
must stand on its own merits as an independent CL.
No Micro-Tweaks: Do NOT propose single variable renames, isolated
trivial bound checks, or micro-helpers that produce < 0.1% change and
vanish in Pinpoint noise.
Macro Leverage: Target allocation elimination in hot loops, invariant
caching across iterations, fast-path short-circuits, or idle
concurrency/deferral.
Isolated Implementation (Workspace: 'share')
To allow concurrent development without dirtying or blocking the root workspace,
delegate implementation to an Implementer Subagent with Workspace: 'share'
(creates an isolated git worktree sharing repository storage):
Before committing and uploading any candidate CL to Gerrit (even as WIP),
dispatch a dedicated Pre-Upload Code Reviewer & Refiner Subagent
(Workspace: 'share') to perform an adversarial code audit and refinement pass
on the candidate branch:
Conceptual Correctness Gate (Veto Decision):
Determine if the candidate optimization is conceptually sound:
Does it preserve spec compliance (DOM/CSS/HTML/JS) and engine invariants?
Does it take prohibited architectural shortcuts (e.g. bypassing security
checks, skipping required style updates, or breaking lifecycle
guarantees) that only create an illusory speedup?
Veto Rule: If the change is fundamentally flawed or unviable, the
subagent issues a VETO decision and aborts immediately. The candidate is
discarded without uploading to Gerrit or triggering Pinpoint, saving
hours of expensive Apple Silicon bot time.
Chromium & V8 Code Quality Audit Checklist: If conceptually sound, the
subagent audits the diff against core engine standards:
Oilpan GC & Memory Safety: Verify correct GC tracing (Trace()),
absence of forbidden raw pointers to GC objects, proper Member<T> /
WeakMember<T> usage, and lack of leaks/UAF hazards.
Thread & Sequence Safety: Ensure operations run on valid task runners
(DCHECK_CALLED_ON_VALID_SEQUENCE) without lock contention or thread
races.
Boundary & Edge Cases: Verify handling of null pointers, empty
collections, zero-length inputs, integer overflow, and fallback logic for
unhandled types.
Chromium Style & Conventions: Ensure const-correctness, include
hygiene, proper use of base::span / WTF::Vector, and clean formatting.
Performance Preservation: Ensure cleanup fixes do NOT introduce hidden
allocations, virtual calls, or extra copies on the hot path.
Autonomous Problem Resolution & Refinement:
Address the review findings directly on the branch: modify code to fix
bugs, edge cases, and style issues.
Ensure the check outputs ✅ NOVELTY CHECK PASSED. If any duplicate logic,
re-proposals, or overlapping changes are detected, abort immediately and
do not upload.
Commit all modified files with descriptive rationale:
(Note: Gerrit returns 403 Forbidden if attempting to change the topic
after the CL is already closed/abandoned; pinpoint_evaluator.py sets
the topic prior to calling git cl set-close).
Free the worktree and iterate on the next candidate in the pipeline.
Chrome Performance Optimizer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
Chrome Performance Optimizer compared with similar skills
Skill
Stars
Used in
Tokens
Auto-check
Licence
Repo updated
Chrome Performance Optimizer this skillnwjs/chromium.src
Breaks a conversation's results into feature-level tasks and pushes them to the agtx kanban board, where each task gets its own worktree and agent session.
Operates and supervises Puppetmaster, a multi-agent orchestrator, through its MCP tools or CLI, picking the right verb for edits, reviews, audits and long-running jobs.
Starts, monitors and organizes coding agent sessions that run in tmux through the aoe command, including groups, profiles and worktree-based parallel work.
Diagnose Chromium GN dependency and include-visibility failures, including BUILD.gn deps/publicdeps, DEPS include rules, private headers, and circular dependencies.
Autonomous multi-agent performance optimization loop for Chromium and V8. src. Autonomous multi-agent performance optimization loop for Chromium and V8.
When should I use Chrome Performance Optimizer?
Chrome Performance Optimizer fits situations like: 150-iteration Pinpoint try jobs on Apple Silicon M1 hardware; pipelines subsequent hypotheses asynchronously; evaluates statistical significance; manages CL lifecycles.
How do I install Chrome Performance Optimizer in Claude Code?
Run `npx skills add nwjs/chromium.src --skill chrome-performance-optimizer -a claude-code`. Or copy the skill folder (agents/skills/chrome-performance-optimizer in nwjs/chromium.src) into .claude/skills/chrome-performance-optimizer in your project. Claude Code loads it when a task matches its description.
How do I install Chrome Performance Optimizer in Codex?
Run `npx skills add nwjs/chromium.src --skill chrome-performance-optimizer -a codex`. Or copy the skill folder (agents/skills/chrome-performance-optimizer in nwjs/chromium.src) into .agents/skills/chrome-performance-optimizer in your project. Codex loads it when a task matches its description.
Can I use Chrome Performance Optimizer in Cursor, Gemini CLI or GitHub Copilot?
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nwjs/chromium.src --skill chrome-performance-optimizer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/chrome-performance-optimizer, .gemini/skills/chrome-performance-optimizer, .github/skills/chrome-performance-optimizer and .opencode/skills/chrome-performance-optimizer in your project.
What does Chrome Performance Optimizer need to run?
Going by SKILL.md and its folder, Chrome Performance Optimizer needs Python for the scripts in its folder and the command-line tools its instructions call (git). Our summary lists: Python 3.
Does Chrome Performance Optimizer access the network?
SKILL.md names 1 domain. In commands or code: pprof.corp.google.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Is Chrome Performance Optimizer safe to install?
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
What licence does Chrome Performance Optimizer use?
Chrome Performance Optimizer is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
How many tokens does Chrome Performance Optimizer use?
About 4.2k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 10k tokens, read only when the agent opens those files.
What are the alternatives to Chrome Performance Optimizer?
Skills that share tags, products or a category with Chrome Performance Optimizer: Agent Manager Fleet TUI (YoanWai/agent-manager, 576 stars), Agtx Task Sweep (fynnfluegge/agtx, 1.7k stars), QA (arcee-ai/nac, 280 stars) and Puppetmaster Agent Orchestration (professorpalmer/Puppetmaster, 467 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Who maintains Chrome Performance Optimizer?
nwjs (a GitHub organization) maintains it in nwjs/chromium.src, which has 160 GitHub stars. The repository holds 64 skills in this directory. The repository was last updated on October 3, 2026.
Source: nwjs/chromium.src on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.