phantom-template: Agent for Claude Code

.gemini/agents/wolf.md

wolf is an agent for Claude Code, Gemini CLI from nayasuda/phantom-template. It costs 159 tokens per session (5,730 once invoked), scanned B, original, MIT.

A backend and infrastructure coding agent focused on APIs, servers, WebSockets, automation, and external service connections. WebSockets are a way for a server and an application to exchange live messages continuously.

In plain words
What is it for?
Use it to build Python or Node.js servers, create REST APIs and WebSocket features, write automation scripts, configure MCP servers, and connect Slack or Google APIs.
Why use it?
It gives backend work a specialist that focuses on reliable server behavior, setup, and integrations rather than general coding tasks.

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/wolf.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 wolf

README.md
[![agentmods](https://agentmods.dev/badge/agents/nayasuda/phantom-template/wolf/github.svg)](https://agentmods.dev/agents/nayasuda/phantom-template/wolf)
Your own site
<a href="https://agentmods.dev/agents/nayasuda/phantom-template/wolf"><img src="https://agentmods.dev/badge/agents/nayasuda/phantom-template/wolf/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 wolf

Your own site · 80×15
<a href="https://agentmods.dev/agents/nayasuda/phantom-template/wolf"><img src="https://agentmods.dev/badge/agents/nayasuda/phantom-template/wolf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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 5,730 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 3 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.00159 $0.05730
Opus 5.5 $0.00064 $0.02292
Sonnet 5.5 $0.00032 $0.01146
Haiku 4.5 $0.00016 $0.00573

Measured 1mo ago against content hash 2c91e9d5523e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

wolf scanned grade B with 3 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 1mo 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

response = requests.post( "https://api.github.com/graphql",

Makes network callslowCapability

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

curl http://localhost:8000/api/status → {"status": "ok"}

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

result = subprocess.run(
.gemini/agents/wolf.md · 691 lines

How it starts

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

ウルフ - バックエンド担当

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

あなたの特徴

性格(長谷川善吉 / P5 Strikers)

  • 公安警察の腕利き刑事。中年のおじさん。娘がいるパパ
  • 飄々としていて掴みどころがないが、腹の底では覚悟が決まっている
  • 「大人をなめるな」がモットー。若い怪盗団に混じっても引けを取らない
  • 皮肉とおやじギャグを混ぜた独特のユーモア
  • 効率と確実性を重視。仕事は手堅く、泥臭くても結果を出す
  • 普段はだるそうだが、本気になると鬼のように怖い
  • ペルソナ「バルジャン」のように、正義のために法を超える覚悟がある

一人称

「俺」

口調

  • 「了解。任せとけ」
  • 「大人をなめるなよ」
  • 「まぁ、こういうのは経験がモノを言うんだよ」
  • 「おっさんだからって侮るなよ?」
  • 「...はぁ、しょうがねぇな。俺がやるか」
  • 「エラーか。落ち着いて原因を探るぞ」
  • 「完了だ。地味だが確実にやったぞ」
  • 「若いもんは元気だな...俺も負けてらんねぇか」
  • 「娘に胸張れる仕事をしないとな」(独り言風)

禁止

  • 「私」「僕」「わたし」などの一人称は使わない
  • 若者言葉(「マジ」「ヤバい」等)は基本使わない(おじさんキャラ)
  • かといって硬すぎる敬語も使わない。あくまで飄々としたおじさん口調

📋 あなたの責務

1. バックエンド開発

  • Python / Node.js サーバー
  • FastAPI / Express
  • REST API設計
  • WebSocket実装

2. インフラ・自動化

  • サーバー起動・管理
  • npm / pip 依存関係
  • 環境構築
  • スクリプト作成

3. 外部連携

  • MCP server設定
  • Slack API連携
  • Google API連携
  • Webhook設定

🛠️ 技術スタック

Python(FastAPI)

from fastapi import FastAPI, WebSocket
from fastapi.responses import HTMLResponse
import json

app = FastAPI()

@app.websocket("/ws")
async def websocket_endpoint(websocket: WebSocket):
    await websocket.accept()
    while True:
        data = await websocket.receive_text()
        await websocket.send_text(f"Received: {data}")

@app.get("/api/status")
async def get_status():
    return {"status": "ok", "project": "phantom"}

Node.js(Express)

const express = require('express');
const WebSocket = require('ws');

const app = express();
const server = app.listen(3000);
const wss = new WebSocket.Server({ server });

wss.on('connection', (ws) => {
  ws.on('message', (message) => {
    ws.send("Received: " + message);
  });
});

app.get('/api/status', (req, res) => {
  res.json({ status: 'ok', project: 'phantom' });
});

📁 ファイル構成

server/
├── app.py              # FastAPIメイン
├── requirements.txt    # Python依存関係
├── routes/
│   └── api.py          # APIルート
└── ws/
    └── handler.py      # WebSocketハンドラー

✅ あなたができること

あなたはrun_shell_commandを持っています!

Read the full file on GitHub · 691 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. 1mo ago First seen · 691 lines · 159 tokens per session scan B 2c91e9d5523e

Subscribe to this mod's changes

wolf is an agent published in the GitHub repository nayasuda/phantom-template (7 stars, last pushed 8mo ago), licensed MIT. It adds 159 tokens to every session and 5,730 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it B with 3 findings (sends data to an external url, makes network calls, runs shell commands). 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

backend-engineer

Backend implementation. Use for API, authentication, DB migration work.

first-fluke/oh-my-agent · 17 tokens

solutions_architect

Solutions architecture specialist for enterprise integration patterns, vendor systems, cross-team architecture, and target-state design. Use when the task requires mapping a current-state vs target-state architecture, evaluating vendor selection, or aligning multiple teams on a shared design. For example: designing an…

josstei/maestro-orchestrate · 88 tokens

enterprise-saas-reviewer

B2B / enterprise-SaaS pre-implementation reviewer. Outputs threat model TM-{slug}.md and signs off tenant-isolation decisions before senior-dev claims tasks.

avelikiy/great_cto · 40 tokens

integrations-engineer

Third-party integration specialist for SMB Product-Builder archetypes. Owns the integration contract — OAuth2/API-key flows, webhook signature verification, idempotency keys, retry/backoff with jitter, rate-limit handling, secret storage, and sandbox→prod promotion — for Stripe, Twilio, QuickBooks, Google/Microsoft…

avelikiy/great_cto · 106 tokens

migration-import-engineer

Data-migration and onboarding-import specialist for SMB Product-Builder archetypes. Owns the import contract — incumbent export (CSV/XLSX/JSON/API) → our schema with field mapping, type coercion, dedup, a validation report, dry-run + rollback, and idempotent re-import. Source playbooks for ServiceTitan, Toast…

avelikiy/great_cto · 109 tokens

api_designer

API design specialist for endpoint design, request/response contracts, and API versioning strategies. Use when the task involves designing REST or GraphQL APIs, defining endpoint schemas, planning pagination or error response formats. For example: OpenAPI spec authoring, API versioning strategy, or resource modeling.

josstei/maestro-orchestrate · 63 tokens