zed: Skill for Claude Code

.agents/skills/gpui-bench/SKILL.md

gpui-bench is a skill for Claude Code, Codex from zed-industries/zed. It costs 62 tokens per session (6,204 once invoked), scanned C, original, no licence file.

A tool for designing, running, reviewing, and understanding performance benchmarks for GPUI, the user-interface toolkit used by Zed. It uses Criterion, a Rust library for measuring code speed, and can examine rendering, tasks, Metal frames, responsiveness, and hangs.

In plain words
What is it for?
Measuring GPUI rendering and task performance, checking frame data, isolating features, and investigating hangs or regressions.
Why use it?
It helps developers collect before-and-after performance evidence and identify slowdowns or responsiveness problems in GPUI code.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing. Also seen: installed under .agents/ (shared by several agents).

This is zed-industries/zed's own configuration. It tells Claude Code and Codex how to work on zed itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything zed configures →

Reuse

Borrowing it

Nothing to install: this file belongs to zed-industries/zed. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/zed-industries/zed/main/.agents/skills/gpui-bench/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/zed-industries/zed

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gpui-bench

README.md
[![agentmods](https://agentmods.dev/badge/skills/zed-industries/zed/gpui-bench/github.svg)](https://agentmods.dev/skills/zed-industries/zed/gpui-bench)
Your own site
<a href="https://agentmods.dev/skills/zed-industries/zed/gpui-bench"><img src="https://agentmods.dev/badge/skills/zed-industries/zed/gpui-bench/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gpui-bench

Your own site · 80×15
<a href="https://agentmods.dev/skills/zed-industries/zed/gpui-bench"><img src="https://agentmods.dev/badge/skills/zed-industries/zed/gpui-bench.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,204 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Memory Poisoning · line 111
    Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
    Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
  • high Tool Misuse · line 308
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 308
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 308
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
How audits are shown
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.06204
Opus 5.5 $0.00025 $0.02482
Sonnet 5.5 $0.00012 $0.01241
Haiku 4.5 $0.00006 $0.00620

Measured 1mo ago against content hash 4d6fe184a1f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

gpui-bench scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf /tmp/zed-profiles/<name>.trace
.agents/skills/gpui-bench/SKILL.md · 455 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +13 lines 4d6fe184a1f3
  2. 1mo ago Changed · +54 lines 064507af4657
  3. 2mo ago First seen · 388 lines · 62 tokens per session scan C 76429dd2b2ad

Subscribe to this mod's changes

gpui-bench is a skill published in the GitHub repository zed-industries/zed (92,894 stars, last pushed today), with no licence file. It adds 62 tokens to every session and 6,204 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

gpui-bench compared with skills from other repositories

gpui-bench next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gpui-benchzed-industries/zedSkill93ktodaynoneC62Claude Code, Codex
cosmos-design-structAzure/azure-sdk-for-rustSkill887todayMITA83Claude Code
tty7l0ng-ai/tty7Skill1.4k4d agoApache-2.0A293Claude Code, Codex
cosmos-pre-commit-validationAzure/azure-sdk-for-rustSkill887todayMITA35Claude Code
gpui-componentlongbridge/gpui-componentSkill19k5d agononeA112Claude Code, Codex
gpuilongbridge/gpui-componentSkill19k5d agononeA90Claude Code, Codex
gpui-toolkitpierreaubert/gpui-toolkitSkill913d agoISCA60Claude Code, Codex