Skip to content
Skill

LLM observability

Guides an agent through metrics, tracing, logging, cost and alerting for LLM serving

LLM observability is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
5
Last commit
License
MIT
Listing updated

Similar skills

About LLM observability

This skill walks an agent through observing LLM serving stacks and LLM apps. It covers scraping Prometheus-format metrics from engines such as vLLM, SGLang, llama.cpp, TGI and llama-swap, collecting NVIDIA GPU telemetry, building Grafana views of latency, throughput, queueing and errors, and setting up request traces with OpenTelemetry GenAI conventions and backends like Langfuse or Phoenix.

The workflow is staged: it begins with read-only discovery of existing endpoints, Prometheus, Grafana and containers, then moves through metrics, then traces, then logs. It favours symptom-based paging over cause-based warnings, and it ships Prometheus scrape and alert-rule templates that the agent validates with promtool. Gateway work centres on LiteLLM callbacks, spend logs and per-key or team cost, with self-hosted models priced explicitly so spend does not read as zero.

The skill expects access to the running endpoints and their metrics URLs, and it asks the user about consumers, SLO targets, whether prompts may be stored, and where alerts should go. Its reference files cover privacy review of prompt and PII logging, retention and access.

When your agent uses it

Metrics, tracing, logging, cost tracking and alerting for LLM serving and LLM apps. Use when instrumenting or debugging vLLM, SGLang, llama.cpp server, TGI or llama-swap /metrics endpoints; scraping them with Prometheus and building Grafana dashboards (TTFT, inter-token latency, tokens/s, queue depth, KV-cache usage, errors); collecting NVIDIA GPU metrics with DCGM exporter or nvidia-smi (including unified-memory systems like DGX Spark/GB10); adding request tracing with OpenTelemetry GenAI semantic conventions, Langfuse, Arize Phoenix or OpenLLMetry; configuring LiteLLM gateway callbacks, Prometheus metrics, spend logs and per-key/team cost; writing Prometheus alert rules; or reviewing prompt/PII logging, redaction and retention. Also use when latency spikes, requests queue, GPUs look idle or full, costs jump, or a dashboard shows no data.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 12 files (86 KB) on GitHub on 2 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the better-supabase plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add ScaleDockHQ/better-supabase
/plugin install better-supabase@better-supabase

Or copy only this skill to ~/.claude/skills/llm-observability:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/llm-observability &&
cp -R "$tmp/.agents/skills/llm-observability" ~/.claude/skills/llm-observability &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/llm-observability inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/llm-observability to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/llm-observability &&
cp -R "$tmp/.agents/skills/llm-observability" ~/.agents/skills/llm-observability &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/llm-observability inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/llm-observability to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/llm-observability &&
cp -R "$tmp/.agents/skills/llm-observability" ~/.cursor/skills/llm-observability &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/llm-observability inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/ScaleDockHQ/better-supabase.git --path .agents/skills/llm-observability

Or copy the folder to ~/.gemini/skills/llm-observability yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/llm-observability:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/llm-observability &&
cp -R "$tmp/.agents/skills/llm-observability" ~/.copilot/skills/llm-observability &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/llm-observability inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git

Then copy better-supabase/.agents/skills/llm-observability into your agent's skills folder as llm-observability. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Engine metrics discovery
Checks which vLLM, SGLang, llama.cpp, TGI or llama-swap metrics are exposed and records their prefixes and auth.
Prometheus and Grafana setup
Provides scrape job templates, auth via credentials files, and dashboard and recording-rule guidance.
GPU telemetry
Covers DCGM exporter and nvidia-smi, including caveats for unified-memory systems.
Request tracing
Guides OpenTelemetry GenAI instrumentation and export to Langfuse, Phoenix or other OTLP backends.
LiteLLM spend tracking
Configures gateway callbacks, spend logs and cost per team, key or model.
Alert rule templates
Supplies symptom and cause alert examples and a promtool check step.
Prompt privacy review
Lists where content can land and sets controls for logs, traces and retention.

Good for

  • Set up Prometheus to scrape my vLLM server and graph time to first token
  • Find out why requests are queueing on my self-hosted model endpoint
  • Add OpenTelemetry tracing to my LLM app without logging prompts
  • Track LiteLLM spend per team and key across models
  • Write Prometheus alert rules for latency and error-rate SLOs
  • Diagnose why my Grafana LLM dashboard shows no data

LLM observability FAQ

What does the skill need before LLM observability starts?

It starts with read-only discovery of running containers, Prometheus, Grafana and the model endpoint's metrics, and it asks about consumers, SLO targets, prompt storage rules and alert destinations when discovery cannot answer them.

Does LLM observability store or log prompts by default?

No. Prompt and completion content stays off in traces, logs and spend logs until someone approves it in writing, and the workflow includes a privacy review step.

Which tools does LLM observability use?

It uses curl and jq for discovery, and the workflows reference Prometheus, Grafana, DCGM exporter, Langfuse or Phoenix as optional components to install or connect to.

Does LLM observability cover Langfuse setup in depth?

No. Langfuse installation and operation are handled by a separate companion skill named langfuse; this skill covers the tracing integration points.

How do I install LLM observability in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/llm-observability to use it in all your projects, or to .claude/skills/llm-observability in one project. Or install the better-supabase plugin, which includes it: /plugin marketplace add ScaleDockHQ/better-supabase, then /plugin install better-supabase@better-supabase.

Does LLM observability run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use LLM observability?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to LLM observability?

The closest alternatives to LLM observability are LLM evals, API health monitoring, Go observability, Cost aware LLM pipeline and Workloads.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from ScaleDockHQ/better-supabase

  1. Apply the CommonMark 0.31.2 spec when parsing or rendering Markdown

    • Open source
    • 5 GitHub stars
    • Files and documents
  2. Publish Agent Cards and run agent-to-agent calls over the A2A 1.0 protocol

    • Open source
    • 5 GitHub stars
    • Developer tools
  3. Lets an agent stream runs, tool calls and shared state to user-facing apps over AG-UI 1.0

    • Open source
    • 5 GitHub stars
    • Developer tools
  4. Lets an AI agent drive Chrome or Chromium through a fast browser automation CLI

    • Open source
    • 5 GitHub stars
    • Browser automation
  5. Guides an agent to write, review and validate SKILL.md skills against the Agent Skills

    • Open source
    • 5 GitHub stars
    • Developer tools
  6. Write, place, migrate and review AGENTS.md instruction files for coding agents

    • Open source
    • 5 GitHub stars
    • Developer tools