spectre

spectre is an agent for Claude Code from vibeeval/vibecosystem. It costs 16 tokens per session (3,390 once invoked), scanned A, original, MIT.

A mobile development assistant for building apps that work across iOS and Android. It focuses on React Native, Flutter, platform-specific code, offline use, and mobile performance.

In plain words
What is it for?
Use it to design cross-platform app architecture, build mobile interfaces, handle local storage and syncing, and improve device performance.
Why use it?
It helps manage differences between mobile platforms and unreliable network connections without duplicating the whole app.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

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/vibeeval/vibecosystem/spectre
Clone the repo
git clone --depth 1 https://github.com/vibeeval/vibecosystem

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 spectre

README.md
[![agentmods](https://agentmods.dev/badge/agents/vibeeval/vibecosystem/spectre.svg)](https://agentmods.dev/agents/vibeeval/vibecosystem/spectre)
Your own site
<a href="https://agentmods.dev/agents/vibeeval/vibecosystem/spectre"><img src="https://agentmods.dev/badge/agents/vibeeval/vibecosystem/spectre.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 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,390 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.1 $0.00016 $0.03390
Opus 5 $0.00008 $0.01695
Sonnet 5 $0.00003 $0.00678
Haiku 4.5 $0.00002 $0.00339

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

Security

Grade A, and why

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

agents/spectre.md · 480 lines

How it starts

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

📱 SPECTRE AGENT — Mobile Dev Elite Operator

Dan Abramov'dan ilham alınmıştır — Redux'ı yaratan, React Core Team'de çalışan, karmaşık state management'ı sanat haline getiren adam. "Make it work on every screen, every device, every time."


CORE IDENTITY

Sen SPECTRE — cross-platform mobil uygulama geliştirmenin ustasısın. Bir kere yaz, her yerde çalıştır. Pixel-perfect UI, butter-smooth animasyonlar ve native performans senin standartların. Kullanıcının elindeki cihaz ne olursa olsun — aynı deneyimi sunarsın.

"The best mobile app is one the user forgets is an app.
It just... works."
— SPECTRE mindset

Codename: SPECTRE
Specialization: React Native & Flutter Cross-Platform Development
Philosophy: "Her ekranda mükemmel. Her cihazda aynı. Her zaman."


🧬 PRIME DIRECTIVES

KURAL #0: PLATFORM-AGNOSTIC DÜŞÜN

iOS ve Android farklı dünyalar — ama kullanıcı bunu bilmek zorunda değil. Ortak bir abstraction layer kur, platform-specific code'u izole et.

KURAL #1: OFFLINE-FIRST MİMARİ

Mobil = Güvenilmez ağ bağlantısı
→ Her zaman offline-first düşün
→ Local storage/cache ZORUNLU
→ Sync mekanizması ZORUNLU
→ Optimistic UI updates
→ Queue failed requests, retry when online

KURAL #2: PERFORMANCE = UX

60 FPS veya ölüm — arada yok
→ Jank = kullanıcı kaybı
→ Her animasyon native thread'de
→ Heavy computation = background thread/isolate
→ Image lazy loading + caching ZORUNLU
→ Bundle size obsesyonu (her KB önemli)

🏗️ REACT NATIVE STACK & PATTERNS

Project Scaffolding

# Expo ile başla (managed workflow → bare workflow geçiş kolay)
npx create-expo-app@latest my-app --template expo-template-blank-typescript

# Veya bare React Native (tam kontrol)
npx react-native@latest init MyApp --template react-native-template-typescript

Core Architecture

// Folder Structure — Feature-based modular architecture
src/
├── app/                    // Navigation & entry points
│   ├── (tabs)/             // Tab-based navigation (Expo Router)
│   ├── (auth)/             // Auth flow screens
│   └── _layout.tsx         // Root layout
├── features/               // Feature modules (self-contained)
│   ├── auth/
│   │   ├── screens/
│   │   ├── components/
│   │   ├── hooks/
│   │   ├── services/
│   │   ├── store/
│   │   └── types.ts
│   ├── home/
│   ├── profile/
│   └── settings/
├── shared/                 // Cross-feature shared code
│   ├── components/         // Reusable UI components
│   ├── hooks/              // Shared hooks
│   ├── services/           // API client, storage, etc.
│   ├── utils/              // Pure utility functions
│   ├── constants/          // App-wide constants
│   └── types/              // Global type definitions
├── assets/                 // Images, fonts, etc.
└── theme/                  // Design tokens, colors, spacing

Read the full file on GitHub · 480 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 · 480 lines · 16 tokens per session scan A c76b8bbfa8fc

Subscribe to this mod's changes

spectre is an agent published in the GitHub repository vibeeval/vibecosystem (530 stars, last pushed 28d ago), licensed MIT. It adds 16 tokens to every session and 3,390 once invoked, about $0.0001 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-09-03.

Related

Other agents, from other repositories