bobbycode: Skill for Claude Code

.claude/skills/bobby-performance/SKILL.md

benchmark-perf is a skill for Claude Code from ccevans/bobbycode. It costs 51 tokens per session (1,038 once invoked), scanned A, original, MIT.

A performance benchmarking guide for measuring page loading, resource sizes, and changes against an earlier baseline. It includes browser page metrics such as time to first byte and first contentful paint.

In plain words
What is it for?
Use it to benchmark homepages, dashboards, recently changed pages, and configured watchlist pages.
Why use it?
It helps detect slow pages and performance regressions with repeatable before-and-after measurements.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths.

This is ccevans/bobbycode's own configuration. It tells Claude Code how to work on bobbycode 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 bobbycode configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ccevans/bobbycode. 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/ccevans/bobbycode/main/.claude/skills/bobby-performance/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ccevans/bobbycode

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 benchmark-perf

README.md
[![agentmods](https://agentmods.dev/badge/skills/ccevans/bobbycode/bobby-performance/github.svg)](https://agentmods.dev/skills/ccevans/bobbycode/bobby-performance)
Your own site
<a href="https://agentmods.dev/skills/ccevans/bobbycode/bobby-performance"><img src="https://agentmods.dev/badge/skills/ccevans/bobbycode/bobby-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 benchmark-perf

Your own site · 80×15
<a href="https://agentmods.dev/skills/ccevans/bobbycode/bobby-performance"><img src="https://agentmods.dev/badge/skills/ccevans/bobbycode/bobby-performance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,038 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00051 $0.01038
Opus 5 $0.00026 $0.00519
Sonnet 5 $0.00010 $0.00208
Haiku 4.5 $0.00005 $0.00104

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

Security

Grade A, and why

benchmark-perf 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 6d 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.

.claude/skills/bobby-performance/SKILL.md · 118 lines

How it starts

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

Bobby Performance Skill

Measures page load times, resource sizes, and detects regressions. Establishes baselines and compares before/after on every run.

Before Starting

  1. Check learnings — Read .claude/skills/bobby-performance/learnings.md + .claude/skills/bobby-performance/learnings.local.md
  2. Read .bobby/benchmarks/baseline.json if it exists
  3. Health check — Verify dev environment:

Benchmarking Process

Step 1: Identify Pages to Benchmark

Benchmark these pages (in order of priority):

  1. Homepage / landing page
  2. Main dashboard or primary user view
  3. Any pages affected by recently shipped tickets
  4. Pages listed in .bobbyrc.yml under watchdog_pages (if configured)

Step 2: Measure Each Page

For each page, measure via browser automation:

Page Load Metrics:

  • Time to First Byte (TTFB) — performance.timing.responseStart - performance.timing.requestStart
  • First Contentful Paint (FCP) — performance.getEntriesByName('first-contentful-paint')[0].startTime
  • DOM Content Loaded — performance.timing.domContentLoadedEventEnd - performance.timing.navigationStart
  • Full Page Load — performance.timing.loadEventEnd - performance.timing.navigationStart

Resource Metrics:

  • Total transfer size — sum of performance.getEntriesByType('resource').map(r => r.transferSize)
  • Number of requests — performance.getEntriesByType('resource').length
  • Largest resource — identify the biggest JS/CSS/image file

Interaction Metrics (if applicable):

  • Time to Interactive — can the user click/type within 3 seconds?
  • Layout shift — does the page jump around during load?

Step 3: Record Results

Save results to .bobby/benchmarks/run-{YYYYMMDD-HHmmss}.json:

{
  "timestamp": "ISO date",
  "branch": "current git branch",
  "pages": [
    {
      "url": "/dashboard",
      "ttfb_ms": 120,
      "fcp_ms": 450,
      "dom_loaded_ms": 800,
      "full_load_ms": 1200,
      "total_transfer_kb": 850,
      "request_count": 42,
      "largest_resource": { "url": "/js/bundle.js", "size_kb": 320 }
    }
  ]
}

Read the full file on GitHub · 118 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 118 lines · 51 tokens per session scan A 8261f0e7c293

Subscribe to this mod's changes

benchmark-perf is a skill published in the GitHub repository ccevans/bobbycode (6 stars, last pushed 3d ago), licensed MIT. It adds 51 tokens to every session and 1,038 once invoked, about $0.0003 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 skills, from other repositories

expo-config-plugin

Writing Expo config plugins, withInfoPlist, withAndroidManifest, withDangerousMod, mod compose, plugin testing, and registration in app.config.ts. Triggers on config plugin, with-plugin, withInfoPlist, withAndroidManifest, withDangerousMod, withEntitlementsPlist, withGradleProperties, mod, native config, expo plugin…

fatihkan/badi · 85 tokens

expo-router

File-based routing with Expo Router, dynamic routes, layout hierarchy, deep linking, and navigation patterns. Triggers on expo-router, file-based routing, app dizini, layout.tsx, [id].tsx, deep linking, expo-linking, tab navigation, stack navigation, drawer, prefetch, parallel routes, redirects, navigation, useRouter…

fatihkan/badi · 80 tokens

frontend-taste

Premium frontend design skills that override LLM defaults. Prevents generic 'AI-looking' UI. Enforces deterministic typography, calibrated color, asymmetric layouts, spring physics, hardware-accelerated motion. Triggers: 'UI tasarla', 'design a UI', 'premium landing page', 'frontend taste', 'anti-slop', 'dashboard…

fatihkan/badi · 0 tokens

design-tokens

Project-level DESIGN.md tokens reference. When the project has a DESIGN.md file, agents producing UI / components / visuals must consult this skill to use canonical color/typography/spacing tokens rather than inventing new ones. Triggers on: UI generation, component creation, design brief, visual asset, tailwind…

fatihkan/badi · 0 tokens

image-taste-frontend

Elite frontend image-direction skill for generating premium, artistic, implementation-friendly website design references. Uses combinatorial variation to avoid repetitive AI aesthetics, enforces cinematic hero minimalism, strong hierarchy, generous spacing, image-led composition, and anti-slop visual discipline. For…

fatihkan/badi · 90 tokens

development

Modern frontend application development with React, Vue, Angular, Next.js, and component-driven architecture. Performance, accessibility, and developer experience emphasized. Triggers on: frontend, React, Vue, Angular, Next.js, component, web app, SPA, hooks, state management.

fatihkan/badi · 0 tokens