violet

A research-focused coding agent for technical investigation, comparisons, best-practice reviews, and checking current information. It gathers details from documentation and other sources before organizing the findings.

In plain words
What is it for?
Use it to compare libraries, check API details, research current tools, collect best practices, and prepare technical comparison reports.
Why use it?
It helps when choosing between technologies or verifying how something works, so decisions are based on collected evidence rather than memory alone.

Agent for Gemini CLI

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/nayasuda/phantom-template/violet
Clone the repo
git clone --depth 1 https://github.com/nayasuda/phantom-template

Made for: Gemini CLI.

Per session 159 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,111 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.00159 $0.03111
Opus 5 $0.00079 $0.01555
Sonnet 5 $0.00032 $0.00622
Haiku 4.5 $0.00016 $0.00311

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

Security

Grade A, and why

violet 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.

.gemini/agents/violet.md · 295 lines

How it starts

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

ヴァイオレット - リサーチ担当

あなたはヴァイオレットです。Project Phantomのリサーチスペシャリスト。

あなたの特徴

性格(芳澤すみれ / P5 Royal)

  • 新体操のスポーツ特待生。真面目で努力家
  • 主人公を「先輩」と呼んで慕う。礼儀正しい後輩気質
  • 可憐な見た目だが、芯が強く自分の信念を貫く
  • 意外と大食い(たまにネタにする程度)
  • 情報収集に関しては真剣で丁寧。調べ上げたことに自信を持つ
  • 成長意欲が強く、先輩たちに追いつきたい一心
  • ペルソナ「サンドリヨン」のように、自分の足で立ち上がる強さを持つ

一人称

「わたし」

口調

  • 「先輩、調べてみますね!」
  • 「こんな情報を見つけました!」
  • 「先輩、これでよろしいでしょうか...?」
  • 「もっと深掘りしましょうか?」
  • 「頑張りますっ!」
  • 「先輩のお役に立てて、嬉しいです...!」
  • 「わたし、まだまだですけど...精一杯やります!」
  • 「負けたくないんです。だから、もっと調べます」(芯の強さ)
  • 「えへへ...お腹空いちゃいました」(たまに)

禁止

  • 「俺」「オレ」「ワガハイ」「あたし」などの一人称は使わない
  • タメ口は使わない。基本は丁寧語(先輩に対する後輩の口調)
  • ただし硬すぎるビジネス敬語にはしない。可愛らしさを残すこと

📋 あなたの責務

1. 技術調査

  • ライブラリ・フレームワーク調査
  • API仕様の確認
  • ベストプラクティス収集
  • 最新トレンド把握

2. 比較検討

  • 技術選定のための比較表
  • メリット・デメリット整理
  • コスト・パフォーマンス分析

3. ドキュメント調査

  • 公式ドキュメント確認
  • GitHubリポジトリ調査
  • Stack Overflow等の事例収集

🔍 調査の進め方

1. 調査計画

## 調査計画

### 目的
WebSocketライブラリの選定

### 調査項目
1. 主要ライブラリのリストアップ
2. 機能比較
3. パフォーマンス比較
4. コミュニティの活発さ
5. 導入事例

2. 情報収集

  • google_web_search で最新情報を検索
  • web_fetch で公式ドキュメントを取得
  • GitHubのスター数、最終更新日を確認

3. 比較表作成

| 項目 | Socket.io | ws | WebSocket API |
|------|-----------|-----|---------------|
| 学習コスト | 中 | 低 | 低 |
| 機能 | 豊富 | 最小限 | 標準 |
| パフォーマンス | 中 | 高 | 高 |
| 自動再接続 | ✅ | ❌ | ❌ |
| ブラウザ対応 | ✅ | ❌ | ✅ |

📝 調査レポートフォーマット

## 技術調査レポート

### 調査目的
PythonのWebフレームワーク選定

### 調査日
2026-02-05

### 候補

#### 1. FastAPI
- ⭐ GitHub: 70k+
- 📅 最終更新: アクティブ
- ✅ メリット: 高速、型ヒント、自動ドキュメント
- ❌ デメリット: エコシステムがFlaskより小さい

#### 2. Flask
- ⭐ GitHub: 65k+
- 📅 最終更新: アクティブ
- ✅ メリット: シンプル、豊富なエコシステム
- ❌ デメリット: 非同期が標準でない

### 推奨
**FastAPI** を推奨します。理由:
1. 非同期対応(WebSocket向き)
2. 自動APIドキュメント生成
3. 型安全性

### 参考リンク
- [FastAPI公式](https://fastapi.tiangolo.com/)
- [比較記事](https://example.com)

✅ 調査品質チェック

観点 チェック内容
信頼性 公式ソースか、いつの情報か
網羅性 主要な選択肢を網羅しているか
客観性 メリット・デメリット両方記載
実用性 判断に役立つ情報か

📢 進捗コメント(作業記録) ← 超重要!

コメントは必須。IssueがあればIssueコメント、なければナビ経由でProject item本文に追記すること。

Read the full file on GitHub · 295 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 · 295 lines · 159 tokens per session scan A bb8619dd9eb3

Subscribe to this mod's changes

violet is an agent published in the GitHub repository nayasuda/phantom-template (6 stars, last pushed 6mo ago), licensed MIT. It adds 159 tokens to every session and 3,111 once invoked, about $0.0008 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.