frankenphp-performance

frankenphp-performance is an agent for Claude Code from TheBeardedBearSAS/claude-craft. It costs 24 tokens per session (2,955 once invoked), scanned A, original, MIT.

A FrankenPHP performance adviser for tuning PHP workers, threads, caching, real-time messaging, and response delivery.

In plain words
What is it for?
Use it to review worker limits, thread autoscaling, Early Hints, Mercure traffic, OPcache, PHP profiling, and benchmark results.
Why use it?
It helps identify settings that affect request throughput, response delay, memory use, and the handling of long-running workers.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the claude-craft plugin — 58 skills, 96 commands, 58 agents, 5 hooks shipped together

Good fit Use it to review worker limits, thread autoscaling, Early Hints, Mercure traffic, OPcache, PHP profiling, and benchmark results.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/thebeardedbearsas/claude-craft/frankenphp-performance
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.

Clone the repo
git clone --depth 1 https://github.com/TheBeardedBearSAS/claude-craft

Made for: Claude Code.

Or install claude-craft, the plugin that ships this one along with the rest of its 58 skills, 96 commands, 58 agents, 5 hooks.

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 frankenphp-performance

README.md
[![agentmods](https://agentmods.dev/badge/agents/thebeardedbearsas/claude-craft/frankenphp-performance/github.svg)](https://agentmods.dev/agents/thebeardedbearsas/claude-craft/frankenphp-performance)
Your own site
<a href="https://agentmods.dev/agents/thebeardedbearsas/claude-craft/frankenphp-performance"><img src="https://agentmods.dev/badge/agents/thebeardedbearsas/claude-craft/frankenphp-performance/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 frankenphp-performance

Your own site · 80×15
<a href="https://agentmods.dev/agents/thebeardedbearsas/claude-craft/frankenphp-performance"><img src="https://agentmods.dev/badge/agents/thebeardedbearsas/claude-craft/frankenphp-performance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,955 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.00024 $0.02955
Opus 5.5 $0.00010 $0.01182
Sonnet 5.5 $0.00005 $0.00591
Haiku 4.5 $0.00002 $0.00296

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

Security

Grade A, and why

frankenphp-performance 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 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.

Makes network callslowCapability

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

| Time to First Byte (TTFB) | curl-Timing | < 100ms |
Infra/i18n/de/FrankenPHP/agents/frankenphp-performance.md · 301 lines

How it starts

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

FrankenPHP Performance-Spezialist

Identitaet

Du bist ein Senior FrankenPHP Performance-Ingenieur, spezialisiert auf Worker-Mode-Tuning, Thread-Autoscaling-Konfiguration (v1.5+), max_requests-Optimierung, Early Hints (103) fuer Ressourcen-Preloading, Mercure-Echtzeit-Performance, OPcache-Preloading-Strategien und Benchmarking-Methodik. Du analysierst Serving-Profile und lieferst umsetzbare Empfehlungen, um maximalen Durchsatz und minimale Latenz aus FrankenPHP-Deployments zu erzielen.

Technische Expertise

Performance

Bereich Expertise Umfang
Worker-Tuning Experte Thread-Anzahl, max_requests, Speicherbudgets
Thread-Autoscaling Experte v1.5+ Auto-Modus, dynamische Thread-Anpassung
Early Hints (103) Experte Ressourcen-Preloading, kritisches CSS/JS-Hints
Mercure-Performance Experte Hub-Durchsatz, Subscriber-Skalierung, JWT-Caching
OPcache-Optimierung Experte Preloading, JIT, Speicherdimensionierung
Benchmarking Experte wrk, k6, ab-Methodik, statistische Analyse
PHP-Profiling Experte Xdebug, Blackfire, memory_get_usage-Muster

Schluesselmetriken

Metrik Quelle Zielwert
Requests pro Sekunde (RPS) wrk/k6-Benchmark > 2x nginx+fpm-Baseline
p50-Antwortzeit wrk-Ausgabe < 50ms
p99-Antwortzeit wrk-Ausgabe < 200ms
Speicher pro Worker (RSS) ps-Ausgabe Stabil ueber Zeit
Time to First Byte (TTFB) curl-Timing < 100ms
Early-Hints-Einsparung Browser DevTools > 200ms auf LCP

Methodik

Phase 1 -- Profil erfassen

# Systeminformationen
nproc                                    # CPU-Anzahl
free -h                                  # Verfuegbarer Speicher
cat /proc/cpuinfo | grep "model name" | head -1

# FrankenPHP-Konfiguration
grep -E "worker|thread|max_requests" /etc/caddy/Caddyfile

# PHP-Konfiguration
frankenphp php-cli -i | grep -E "opcache|memory_limit|max_execution"

# Aktueller Speicherverbrauch
ps -o pid,rss,vsz,command -p $(pidof frankenphp)

# Aktuelle Request-Rate (falls Caddy Metrics aktiviert)
curl -s http://localhost:2019/metrics | grep caddy_http_requests_total

Read the full file on GitHub · 301 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 · 301 lines · 24 tokens per session scan A b43db9afb472

Subscribe to this mod's changes

frankenphp-performance is an agent published in the GitHub repository TheBeardedBearSAS/claude-craft (108 stars, last pushed 19d ago), licensed MIT. It adds 24 tokens to every session and 2,955 once invoked, about $0.0001 per session on Opus 5.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-10-30.

Related

frankenphp-performance compared with agents from other repositories

frankenphp-performance next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
frankenphp-performanceTheBeardedBearSAS/claude-craftAgent10819d agoMITA24Claude Code
django-fastapi-experttravisjneuman/.claudeAgent116todayMITA86Claude Code
go-experttravisjneuman/.claudeAgent116todayMITA69Claude Code
rust-experttravisjneuman/.claudeAgent116todayMITA78Claude Code
auth-specialisttravisjneuman/.claudeAgent116todayMITA76Claude Code
api-designertravisjneuman/.claudeAgent116todayMITA31Claude Code
api-integration-specialisttravisjneuman/.claudeAgent116todayMITA74Claude Code