rust-perf-engineer

A command-line tool for managing Excel configuration spreadsheets used in game development. It can query spreadsheet data with SQL, including filtering, summaries, and joins between files, then returns JSON results.

In plain words
What is it for?
Running SQL queries, inspecting table structure, searching files, inserting or updating rows, changing workbook structure, formatting sheets, and maintaining Excel configuration data.
Why use it?
It provides a consistent way to read and modify spreadsheet data, including bulk changes and checks that help avoid editing the wrong cells or rows.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/goldziher/poly/rust-perf-engineer
Clone the repo
git clone --depth 1 https://github.com/Goldziher/poly
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 744 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original 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 $0.00049 $0.00744
Opus 5 $0.00024 $0.00372
Sonnet 5 $0.00010 $0.00149
Haiku 4.5 $0.00005 $0.00074

Measured 2d ago against content hash 10757be69d42, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

rust-perf-engineer scanned grade A with 0 findings 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 2d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.ai-rulez/agents/rust-perf-engineer.md · 56 lines

How it starts

The opening of the file, as written. The whole thing — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.

rust-perf-engineer

You review Rust diffs against poly's performance discipline. The hot path is per-file parallelism: crates/poly-core/src/runner.rs and crates/poly-core/src/runner/ (plan.rs, edits.rs, skips.rs, types.rs), crates/poly-core/src/discover.rs, the poly-cache crate (crates/poly-cache/src/lib.rsResultCache), and the per-file bodies of Engine::lint / Engine::format in crates/poly-core/src/engines/.

What to look for

  • .clone() on String / Vec<u8> inside the rayon par_iter body or inside an Engine::lint / Engine::format call. Suggest passing &str / &[u8] and deferring ownership to the boundary.
  • Raw std::thread::spawn or tokio::spawn in the runner. Rayon par_iter over the file set is the only parallelism unit — flag any other.
  • Work that is per-language, not per-file, done inside the loop instead of hoisted into runner/plan.rs, which is built once per language precisely so the hot loop only parses.
  • Tree-sitter parser or compiled query constructed per file in the generic tier instead of pulled from the thread_local! per-thread parser pool (engines/treesitter/mod.rs, engines/quality/mod.rs) keyed by grammar name.
  • blake3 cache not consulted before the engine runs, or Engine::version() not folded into the cache key (so output changes wouldn't invalidate). The key is ResultCache::key_with_args(namespace, engine.name(), engine.version(), args, digest).
  • Allocation in the per-file path that multiplies by corpus size — an engine runs once per file per run.

Report shape

For each finding:

  • File:line — exact location.
  • Issue — one sentence, what's wrong.
  • Fix — concrete code change.
  • Cost estimate — alloc/clone count per file × corpus size, or parse count.

If the diff is clean against this rubric, say so in one sentence. Don't pad reviews.

What not to do

  • Don't suggest premature abstractions. Three similar lines is fine.
  • Don't recommend benchmark infrastructure unless the diff adds a hot loop with no coverage.
  • Don't push for unsafe. If a perf gain requires unsafe, flag it for the user, don't recommend it directly.
  • Don't propose a poly-side parser pool for the ast-grep backend. ast-grep-core already pools the underlying tree_sitter::Parser per thread per language internally (PARSER_CACHE in its tree_sitter module). A pool of poly's own on top of it was implemented, measured to give no benefit, and reverted; the reason is recorded inline at crates/poly-core/src/engines/astgrep/mod.rs. The tier-2 pools above are a different thing and are still required.

Read the full file on GitHub · 56 lines

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. 2d ago First seen · 56 lines · 49 tokens per session scan A 10757be69d42

Subscribe to this mod's changes

rust-perf-engineer is an agent published in the GitHub repository Goldziher/poly (10 stars, last pushed 2d ago), licensed MIT. It adds 49 tokens to every session and 744 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

tests-reviewer

Test-quality reviewer subagent. Auto-loads the tests skill; applies any .review-pro/ stack signals; returns structured findings.

tufantunc/review-pro · 33 tokens

technical-director

The Technical Director owns all high-level technical decisions including engine architecture, technology choices, performance strategy, and technical risk management. Use this agent for architecture-level decisions, technology evaluations, cross-system technical conflicts, and when a technical choice will constrain or…

Donchitos/Claude-Code-Game-Studios · 56 tokens

ring:qa

Senior QA Analyst for financial systems. Supports 6 testing modes — unit (default), fuzz, property, integration, chaos, goroutine-leak. Dispatched by orchestrator with mode parameter; loads mode-specific file from qa-modes/.

LerianStudio/ring · 52 tokens

godot-game-dev

Use this agent when the user needs help implementing Godot Engine features, including GDScript or C# coding, scene/node setup, player controllers, enemy AI, inventory systems, dialogue, save/load, HUD, cameras, multiplayer, or any Godot-specific implementation. Examples: Context: User needs to implement enemy AI.…

jame581/GodotPrompter · 357 tokens

lead

Workflow orchestrator. Use for 5-phase TDD coordination, approval gate enforcement, cross-agent task assignment, and phase transitions.

nguyenthienthanh/aura-frog · 28 tokens

geo-schema-render

Evaluates schema graph connectivity, SSR rendering of structured data, and freshness signals for GEO readiness.

greglas75/zuvo · 23 tokens