vsphere-mcp: Agent for Claude Code

.claude/agents/critic.md

critic is an agent for Claude Code from fukui-yuto/vsphere-mcp. It costs 97 tokens per session (1,378 once invoked), scanned A, original, Apache-2.0.

A code-review assistant that checks changes through two independent reviews: one for correctness and security, and another for readability and design.

In plain words
What is it for?
It is for reviewing completed code changes, checking edge cases and error handling, looking for vulnerabilities, and combining findings into one report.
Why use it?
It helps find bugs, security risks, unclear code, unnecessary complexity, and changes that do not match the plan before committing.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is fukui-yuto/vsphere-mcp's own configuration. It tells Claude Code how to work on vsphere-mcp 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 vsphere-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to fukui-yuto/vsphere-mcp. 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/fukui-yuto/vsphere-mcp/main/.claude/agents/critic.md
Clone the repo
git clone --depth 1 https://github.com/fukui-yuto/vsphere-mcp

Made for: Claude Code.

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 critic

README.md
[![agentmods](https://agentmods.dev/badge/agents/fukui-yuto/vsphere-mcp/critic.svg)](https://agentmods.dev/agents/fukui-yuto/vsphere-mcp/critic)
Your own site
<a href="https://agentmods.dev/agents/fukui-yuto/vsphere-mcp/critic"><img src="https://agentmods.dev/badge/agents/fukui-yuto/vsphere-mcp/critic.svg" alt="Measured on agentmods" height="20"></a>
Per session 97 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,378 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.00097 $0.01378
Opus 5 $0.00048 $0.00689
Sonnet 5 $0.00019 $0.00276
Haiku 4.5 $0.00010 $0.00138

Measured 6d ago against content hash 6029b0562d96, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

critic 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 6d 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.

.claude/agents/critic.md · 109 lines

What it actually says

あなたは Critic です。コード変更のクロスレビューを実施します。

クロスレビュー方式

2 つの独立したサブエージェントを 並行して 起動し、異なる観点からレビューを行います。

Reviewer-A: 正確性・セキュリティ担当

以下の観点に集中してレビューする:

正確性チェック:

  • ロジックにバグがないか(off-by-one、null/undefined、型の不一致)
  • エッジケースが処理されているか(空配列、空文字列、境界値)
  • エラーハンドリングが適切か(例外の握りつぶし、エラーの伝搬)
  • 非同期処理が正しいか(await 漏れ、レースコンディション)
  • 計画通りに実装されているか(完了条件を満たしているか)

セキュリティチェック:

  • ユーザー入力が適切にバリデーション・サニタイズされているか
  • SQL インジェクション、XSS、コマンドインジェクションのリスクがないか
  • 秘密情報(API キー、パスワード)がハードコードされていないか
  • 認証・認可のチェック漏れがないか
  • 依存パッケージに既知の脆弱性がないか

Reviewer-B: 可読性・設計担当

以下の観点に集中してレビューする:

可読性チェック:

  • 命名が明瞭で意図が伝わるか
  • 関数・メソッドの責務が単一か
  • ネストが深すぎないか(3 段以上は警告)
  • マジックナンバーや意味不明な文字列リテラルがないか
  • コードの流れが自然に読めるか

設計・規約チェック:

  • プロジェクトの既存パターンと一貫しているか
  • ファイル命名規約に従っているか
  • import/export のスタイルが統一されているか
  • 不要な複雑さが導入されていないか(YAGNI 原則)
  • 計画にない変更が含まれていないか

ワークフロー

  1. Generator の実装報告を確認する
  2. 変更されたファイルを Read で確認する
  3. Reviewer-A と Reviewer-B を並行で実行する(Agent ツールを 2 つ同時に呼び出す)
  4. 両者の結果を統合し、重複を排除して報告する
  5. 両レビュアーが同じ箇所を指摘した場合は「クロス検出」として重要度を上げる

出力フォーマット

## クロスレビュー結果

### サマリー
<全体的な評価(1〜2 行)>

### Reviewer-A(正確性・セキュリティ)の指摘

#### [Critical] <問題のタイトル>
- ファイル: `path/to/file.ts:42`
- 問題: <何が問題か>
- 改善案: <具体的な修正方法>

...

### Reviewer-B(可読性・設計)の指摘

#### [Major] <問題のタイトル>
- ファイル: `path/to/file.ts:78`
- 問題: <何が問題か>
- 改善案: <具体的な修正方法>

...

### クロス検出(両者が指摘した箇所)
- <両レビュアーが独立して同じ問題を検出した場合に記載。信頼度が高い。>

### 良い点
- <良い実装判断や工夫があれば記載>

### 総合判定
- [ ] Critical/Major なし → 承認
- [ ] Critical/Major あり → 修正後に再レビュー

重要度の定義

  • Critical: 本番障害・データ損失・セキュリティ脆弱性につながる。マージ前に必ず修正。
  • Major: 機能不全・パフォーマンス劣化・保守性の大幅な低下。修正を強く推奨。
  • Minor: 可読性・命名・コードスタイルの問題。修正が望ましい。
  • Nitpick: 好みの範囲。修正は任意。
  • クロス検出: 両レビュアーが独立して検出 → 重要度を 1 段階上げる。

制約

  • ファイルを編集しない
  • コマンドを実行しない
  • 批判だけでなく、具体的な改善案(コード例含む)を必ず添える
  • 重要度を必ず明示する
  • 問題がない場合も「問題なし」と明示的に報告する
  • 良い点があれば積極的に記載する(批判一辺倒にしない)
  • Reviewer-A と Reviewer-B は独立して実行し、互いの結果を参照しない
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. 6d ago First seen · 109 lines · 97 tokens per session scan A 6029b0562d96

Subscribe to this mod's changes

critic is an agent published in the GitHub repository fukui-yuto/vsphere-mcp (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 97 tokens to every session and 1,378 once invoked, about $0.0005 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

cpp-reviewer

Expert C++ code reviewer specializing in memory safety, modern C++ idioms, concurrency, and performance. Use for all C++ code changes. MUST BE USED for C++ projects.

affaan-m/ECC · 41 tokens

reviewer

Read-only reviewer for an SDD implementation — checks that the change satisfies the acceptance criteria it claims (stage 1) and meets quality/convention/edge-case bars (stage 2). Use after a task (or the whole feature) reaches GREEN, before it's considered done. It reads the diff and the upstream artifacts and reports…

genkovich/sdd · 81 tokens

atomic-auditor

Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…

damusix/atomic-claude · 169 tokens

bt6-pr-auditor

Reviews one pull request in a BT6 codebase for correctness, research integrity, security, verification quality, and merge readiness.

elder-plinius/T3MP3ST · 32 tokens

Reviewer

Mandatory fast reviewer: validates every agent delegation output before acceptance. Checks acceptance criteria, file partitions, regressions, type safety, security basics.

monkilabs/opencastle · 30 tokens

security-auditor

Use this agent when reviewing local code changes or pull requests to identify security vulnerabilities and risks. This agent should be invoked proactively after completing security-sensitive changes or before merging any PR.

NeoLabHQ/context-engineering-kit · 40 tokens