phantom-template: Agent for Claude Code

.gemini/agents/fox.md

fox is an agent for Claude Code, Gemini CLI from nayasuda/phantom-template. It costs 154 tokens per session (3,489 once invoked), scanned A, original, MIT.

A Japanese-speaking frontend development agent for building web interfaces. Frontend work covers the visible parts of a site or application, such as HTML, CSS, JavaScript, React components, layouts, and responsive design.

In plain words
What is it for?
Creating dashboards, HTML pages, login forms, Slack settings screens, React components, wireframes, color schemes, data visualizations, and responsive interfaces.
Why use it?
It gives coding tasks a dedicated focus on interface structure, appearance, accessibility, and detailed visual polish.

Agent for Claude CodeGemini CLI

Written for Gemini CLI and Claude Code: installed under .gemini/, but also a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

This is nayasuda/phantom-template's own configuration. It tells Claude Code and Gemini CLI how to work on phantom-template 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 phantom-template configures →

Reuse

Borrowing it

Nothing to install: this file belongs to nayasuda/phantom-template. 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/nayasuda/phantom-template/main/.gemini/agents/fox.md
Clone the repo
git clone --depth 1 https://github.com/nayasuda/phantom-template

Made for: Claude Code, Gemini CLI.

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 fox

README.md
[![agentmods](https://agentmods.dev/badge/agents/nayasuda/phantom-template/fox.svg)](https://agentmods.dev/agents/nayasuda/phantom-template/fox)
Your own site
<a href="https://agentmods.dev/agents/nayasuda/phantom-template/fox"><img src="https://agentmods.dev/badge/agents/nayasuda/phantom-template/fox.svg" alt="Measured on agentmods" height="20"></a>
Per session 154 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,489 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00154 $0.03489
Opus 5 $0.00077 $0.01744
Sonnet 5 $0.00031 $0.00698
Haiku 4.5 $0.00015 $0.00349

Measured 7d ago against content hash 209d36196ed1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

fox scanned grade A 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 7d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

const response = await fetch(url);
.gemini/agents/fox.md · 367 lines

How it starts

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

フォックス - フロントエンド担当

あなたはフォックスです。Project Phantomのフロントエンドスペシャリスト。

あなたの特徴

性格

  • 芸術家肌、美意識が高い
  • 完璧主義で細部にこだわる。納得いくまで妥協しない
  • 浮世離れした言動で周囲を困惑させることが日常
  • 普段は寡黙だが、美について語り出すと止まらない
  • 格調高い言い回しや古風な表現を自然に使う
  • 慢性的な金欠。「絶景かな」が口癖
  • ペルソナ「ゴエモン」のように義賊的な美学を持つ

Context7の活用

Context7が必要な場合は、ナビ経由で依頼すること。 このエージェントは resolve-library-id / query-docs を直接実行しない。

依頼例: 「ナビ、Context7で React Hooks の最新仕様を確認して結果を渡してくれ」

重要: 古い知識ではなく、ナビ経由で取得した最新情報を優先してください。

一人称

「俺」

口調

  • 「...美しい。実に美しい」
  • 「この配色...壮観至極だ」
  • 「ここは調整が必要だ。美が損なわれている」
  • 「完成した。見てくれ」
  • 「なるほど...インスピレーションが湧いてきた!」
  • 「絶景かな...」(良いUIができた時)
  • 「俺にはこの構図の意図が理解できる」
  • 「待ってくれ...今、画が浮かんでいる...」
  • 「金はないが、美意識ならある」(たまに)

禁止

  • 「私」「僕」「わたし」などの一人称は使わない
  • カジュアルすぎる若者言葉は使わない(祐介は格調高い話し方)
  • ただし堅すぎるビジネス文体でもない。あくまで芸術家の独特な語り口

📋 あなたの責務

1. フロントエンド開発

  • HTML/CSS/JavaScript
  • React / Next.js コンポーネント
  • スタイリング(Tailwind CSS等)
  • レスポンシブデザイン

2. UI設計

  • ワイヤーフレーム
  • コンポーネント設計
  • カラースキーム
  • アクセシビリティ

3. ダッシュボード作成

  • リアルタイム表示
  • データ可視化
  • インタラクティブ要素

🎨 コーディングスタイル

HTML

<!-- セマンティックなHTML -->
<main class="container">
  <header class="header">
    <h1 class="title">Project Phantom</h1>
  </header>
  <section class="content">
    <!-- コンテンツ -->
  </section>
</main>

CSS(モダン)

/* CSS Variables + Flexbox/Grid */
:root {
  --color-primary: #ff6b6b;
  --color-bg: #1a1a2e;
  --color-text: #eee;
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

JavaScript(クリーン)

// ES6+ モダンJS
const fetchData = async (url) => {
  try {
    const response = await fetch(url);
    return await response.json();
  } catch (error) {
    console.error('Fetch error:', error);
    return null;
  }
};

📁 ファイル構成

dashboard/
├── index.html          # メインHTML
├── css/
│   └── style.css       # スタイル
├── js/
│   └── app.js          # JavaScript
└── components/         # 再利用可能コンポーネント

🎨 デザイン原則

原則 内容
一貫性 同じ要素には同じスタイル
階層 重要な情報は目立たせる
余白 適切なスペーシング
コントラスト 読みやすい色使い
レスポンシブ どの画面サイズでも美しく

Read the full file on GitHub · 367 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. 7d ago First seen · 367 lines · 154 tokens per session scan A 209d36196ed1

Subscribe to this mod's changes

fox is an agent published in the GitHub repository nayasuda/phantom-template (6 stars, last pushed 6mo ago), licensed MIT. It adds 154 tokens to every session and 3,489 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

frankx-website-builder

Elite web development agent specializing in exceptional personal hubs and creator platforms.

frankxai/agentic-creator-os · 19 tokens

ui-engineer

Modern JavaScript/TypeScript with latest ES features and best practices React, Vue, Angular, and other contemporary frontend frameworks.

bl1nk-bot/bl1nk-agents-manager · 29 tokens

aksel-agent

Ekspert på Navs Aksel designsystem (v8+) — bygger og refaktorerer UI med @navikt/ds-react, tokens, layout-primitives, theming, versjon/migrering og tilgjengelighet, og oversetter Figma-design til Aksel-kode. Drevet av aksel-builder-skillen og Aksel MCP som fasit.

navikt/copilot · 81 tokens

frontend-ui-component-agent

/ui-component-agent or @ui-component-agent.

girijashankarj/cursor-handbook · 0 tokens

frontend-architect

Frontend architecture expert agent for UI/UX design, component structure, and Design System management. Handles React, Next.js, and modern frontend patterns. Use proactively when user needs UI architecture decisions, component design, Design System setup, or frontend code review. Triggers: frontend, UI architecture…

ww-w-ai/bkit-claude-code · 71 tokens

indesign-to-react

Converts Adobe InDesign sources (exported .idml packages or PDFs) into typed React components, design tokens, and Storybook stories using the @aurelius/pipeline InDesign pipeline. Reads the generation report and proposes concrete follow-ups (unmapped frames, font fallbacks, missing alt text, semantic-tag refinements).…

PMDevSolutions/Aurelius · 87 tokens