claude

sre-latency

SRE plugin to measure and compare Claude Code CLI performance across Anthropic Direct API and AWS Bedrock. Tracks TTFB, throughput, P50/P90/P99, and generates latency reports.

0 on GitHubby Seth Fordv2.2.0MITupdated 8 months ago

Not in a marketplace yet, so it loads for one session with --plugin-dir.

Plugin sre-latency in sethdford/sre-latency-monitor. Commands read from the repo's manifest — 1 month ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Skills (1)

  • latency-advisor

    Provides SRE latency optimization advice for Claude API usage. Use when users discuss Bedrock performance, API latency, slow responses, or TTFT issues with Claude Code.

Slash commands (9)

  • /sre-latency:benchmark

    Run a full latency benchmark comparing Anthropic Direct API vs AWS Bedrock

  • /sre-latency:compare

    Compare latency budget results across runs, machines, or providers

  • /sre-latency:grade

    Grade benchmark results against SLO thresholds (A-F) for each provider

  • /sre-latency:http-trace

    Analyze real HTTP calls from an instrumented Claude Code session

  • /sre-latency:latency-budget

    Analyze where every millisecond goes — Model vs Bedrock vs Guardrails vs CLI vs Tools

  • /sre-latency:latency-check

    Quick single-request latency check against a specific provider

  • /sre-latency:report

    Generate a formatted latency report from saved benchmark data

  • /sre-latency:timeline

    Session timeline — model inference vs tool execution breakdown from real hook data

  • /sre-latency:tool-timings

    View categorized time-spent analysis — Model vs Tools vs MCP breakdown

Hooks (3)

  • SessionStart

    LOCK=/tmp/sre-latency-session.lock; if [ -f "$LOCK" ] && [ "$(cat $LOCK 2>/dev/null)" = "$(date -u +%Y-%m-%dT%H:%M)" ]; then echo '{"additionalContext":"SRE Latency Monitor active."}'; exit 0; fi; dat

  • PreToolUse

    INPUT=$(cat); TID=$(echo "$INPUT" | jq -r '.tool_use_id // "unknown"'); TNAME=$(echo "$INPUT" | jq -r '.tool_name // "unknown"'); NOW=$(perl -MTime::HiRes=time -e 'printf "%.6f", time()'); echo "$NOW"

  • PostToolUse

    bash ${CLAUDE_PLUGIN_ROOT}/hooks/log_tool_latency.sh

View source on GitHub

Similar plugins

Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer

8 skills · 1 MCP server

ChromeDevTools/chrome-devtools-mcp 55,181

Perform AI code review on Git diffs — supports workspace changes, branch ranges, and single commits with concurrent per-file analysis, codebase search, and deep context-aware review.

2 commands

alibaba/open-code-review 50,068

azure

claude

Transform Claude into an Azure expert. This plugin integrates the Azure MCP server and specialized Azure skills to move beyond generic advice. It enables Claude to perform real-world tasks: listing resources, validating deployments, diagnosing infrastructure issues, and optimizing costs across 50+ Azure services.

44 skills · 1 MCP server

anthropics/claude-plugins-official 47,076

ifixai

claudecodex

Independent auditing for AI agents, open source. Claude discovers your setup, confirms the cost, and audits your agent against the one question other tools skip: is it doing the job it's supposed to do, given your business rules and org structure? Test any model (Anthropic, OpenAI, Gemini, Azure, Bedrock, …) graded by self, one independent judge, or a cross-vendor panel; each provider is billed to its own account via a key in your settings, never the command line. Results render as an interactive artifact (with a static-report fallback).

1 skill · hooks

ifixai-ai/iFixAi 45,158

Systems programming with Rust, Go, C, and C++ for performance-critical and low-level development

3 skills · 1 command · 4 agents

wshobson/agents 42,461

Provision direct cloud access (Vertex AI, Bedrock, or LLM gateway) for the Claude Microsoft 365 add-in. Generates the customized manifest, walks through Azure admin consent, and writes per-user config via Graph extension attributes.

1 skill · 9 commands

anthropics/financial-services 41,259

Maintain sre-latency?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex pluginslisted