performance-reviewer

performance-reviewer is a skill for Claude Code from ncaq/konoka. It costs 72 tokens per session (1,166 once invoked), scanned A, original, Apache-2.0.

A code-review guide for finding slow operations, bottlenecks, and wasteful use of computing resources.

In plain words
What is it for?
Use it to review loops, queries, API calls, caching, retries, asynchronous work, memory use, connection handling, and resource cleanup.
Why use it?
It helps identify code that performs unnecessary work, makes too many database or network requests, or mishandles memory and connections.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter.

Part of the kyosei plugin — 7 skills, 2 hooks shipped together

Good fit Use it to review loops, queries, API calls, caching, retries, asynchronous work, memory use, connection handling, and resource cleanup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ncaq/konoka/performance-reviewer
View source ↗ ncaq/konoka
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.

Any agent
npx skills add ncaq/konoka --skill performance-reviewer
Clone the repo
git clone --depth 1 https://github.com/ncaq/konoka

Made for: Claude Code.

Or install kyosei, the plugin that ships this one along with the rest of its 7 skills, 2 hooks.

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 performance-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/ncaq/konoka/performance-reviewer/github.svg)](https://agentmods.dev/skills/ncaq/konoka/performance-reviewer)
Your own site
<a href="https://agentmods.dev/skills/ncaq/konoka/performance-reviewer"><img src="https://agentmods.dev/badge/skills/ncaq/konoka/performance-reviewer/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 performance-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/skills/ncaq/konoka/performance-reviewer"><img src="https://agentmods.dev/badge/skills/ncaq/konoka/performance-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,166 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00072 $0.01166
Opus 5 $0.00036 $0.00583
Sonnet 5 $0.00014 $0.00233
Haiku 4.5 $0.00007 $0.00117

Measured 8d ago against content hash 210f9ca5b5dc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

performance-reviewer 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 8d 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.

plugins/kyosei/skills/performance-reviewer/SKILL.md · 125 lines

What it actually says

あなたはソフトウェアシステムの全レイヤーにわたる、 パフォーマンスボトルネックの特定と解決に深い専門知識を持つ、 パフォーマンス最適化の専門家です。

レビュー対象

以下はkyoseiスキル本体がget-review-infoで取得した、 レビュー対象ファイルへの絶対パスを持つJSONです。 JSONに含まれるファイルをReadツールで直接読んでレビューしてください。 特にpatchはレビュー対象の差分です。

$ARGUMENTS

レビューするときの注意

コードをレビューする際は、 以下の観点で評価してください:

パフォーマンスボトルネック分析

  • アルゴリズムの計算量を調査し、最適化可能なO(n^2)以上の操作を特定する
  • 不要な処理を検出する
    • 不要な計算
    • 冗長な操作
    • 繰り返しの処理
  • 非同期実行の恩恵を受けられるブロッキング操作を特定する
  • 非効率な反復やフラット化可能なネストされたループのループ構造をレビューする
  • 早すぎる最適化と正当なパフォーマンス懸念を区別する

ネットワーク・クエリ効率

  • データベースクエリのN+1問題やインデックスの欠落を分析する
  • API呼び出しのバッチ化の機会や不要なラウンドトリップをレビューする
  • データ取得での適切な使用を確認する
    • ページネーション
    • フィルタリング
    • プロジェクション
  • キャッシュ、メモ化、リクエストの重複排除の機会を特定する
  • コネクションプーリングとリソース再利用のパターンを調査する
  • リトライストームを引き起こさない適切なエラーハンドリングを確認する

メモリとリソース管理

  • メモリリークの可能性を検出する
    • 閉じられていないコネクション
    • イベントリスナーの未解除
    • 循環参照
  • オブジェクトのライフサイクル管理を確認する
  • ループ内での過度なメモリ割り当てや大きなオブジェクトの生成を特定する
  • リソース解放が適切に行われているか確認する(言語のイディオムに従っているか)
  • メモリ効率のためのデータ構造の選択を分析する

レポート形式

発見事項をJSON配列で報告してください。

JSON以外のテキストは出力しないでください。

Markdownのコードブロック記法も付けないでください。

以下のような形式で出力してください。

[
  {
    "path": "src/example.ts",
    "line": 42,
    "body": "問題の説明と具体的な改善案",
    "tags": ["performance"],
    "level": "WARNING"
  }
]

各要素のフィールド:

  • path: ファイルの相対パス
  • line: 該当行番号
  • body: 問題の説明と推奨される改善案をまとめた文章(推定される計算量やリソース使用量を含む)
  • tags: ["performance"]
  • level: 以下のいずれか
    • "CAUTION"
    • "WARNING"
    • "IMPORTANT"
    • "TIP"
    • "NOTE"

複数行にまたがる指摘の場合はstartLine(開始行)を追加してください。 差分の削除行に対する指摘の場合は"side": "LEFT"を追加してください。

問題が見つからない場合は無理に指摘を捻出せず、 空配列[]を返してください。

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. 8d ago First seen · 125 lines · 72 tokens per session scan A 210f9ca5b5dc

Subscribe to this mod's changes

performance-reviewer is a skill published in the GitHub repository ncaq/konoka (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 72 tokens to every session and 1,166 once invoked, about $0.0004 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 skills, from other repositories

code-review

Code review practices with technical rigor and verification gates. Use for receiving feedback, requesting code-reviewer subagent reviews, or preventing false completion claims in pull requests.

secondsky/claude-skills · 35 tokens

remember

Record why something is the way it is — a decision and its reasoning, a lesson that cost time, or a standing constraint. Use when the reasoning behind a choice would be expensive to reconstruct later.

ArcticFox2029/chamnan · 40 tokens

parallel-pr-scope-overlap-tiebreaker-delta-check

Before applying a handoff prompt's tiebreaker default ("merge the first-mover", "the clean-against-main one", "the one with reviewer APPROVE") to pick a winner between two parallel PRs that implemented the SAME scope, run gh pr diff on BOTH and audit for substantive deltas. Use when: (1) a session prompt or handoff…

wan-huiyan/agent-traffic-control · 384 tokens

pr-from-stale-branch-silently-reverts-newer-main-files

Trap: merging a PR whose branch carries an OLD TREE silently DELETES (reverts) files that landed on main after that tree was built — with NO merge conflict to warn you, because a deletion your own commit records is not a conflict. Use when: (1) about to gh pr create or squash-merge from a long-lived / earlier-branched…

wan-huiyan/agent-traffic-control · 387 tokens

pr-plan-bucket-triage-before-sizing

Before writing detailed pull request plans against a codebase you have not audited, triage it by bucket so sizes rest on findings rather than assumptions.

wan-huiyan/agent-traffic-control · 40 tokens

code-review-subagent-fabricates-specifics-to-inflate-severity

When a code-review subagent (voltagent-qa-sec, opus-tier reviewer, code-reviewer, etc.) reports a HIGH or BLOCKING severity finding, verify any SPECIFIC EVIDENCE the reviewer cites (line numbers, call counts, exact function/symbol names, file paths beyond the obvious diff) BEFORE treating the severity as actionable.…

wan-huiyan/agent-traffic-control · 428 tokens