observability-stack

A local monitoring setup for StreamKit using Docker Compose, Prometheus, and Grafana. Prometheus stores application measurements, while Grafana displays them in dashboards; an optional speech gateway can also be included.

In plain words
What is it for?
Starting StreamKit monitoring locally, generating test traffic, checking metrics flow, and validating Grafana dashboards with or without the speech gateway.
Why use it?
It provides a repeatable local environment for checking whether metrics reach the dashboards correctly. This helps diagnose panels that are empty or querying the wrong metric names.

Skill for Claude CodeCodex

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 skills/streamer45/streamkit/observability-stack
Any agent
npx skills add streamer45/streamkit --skill observability-stack
Clone the repo
git clone --depth 1 https://github.com/streamer45/streamkit

Made for: Claude Code, Codex.

Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 893 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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 $0.00061 $0.00893
Opus 5 $0.00030 $0.00447
Sonnet 5 $0.00012 $0.00179
Haiku 4.5 $0.00006 $0.00089

Measured yesterday against content hash a39fd27c0eb1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

observability-stack 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 yesterday.

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.

curl -s localhost:9090/api/v1/label/__name__/values | jq -r '.data[]' | sort
.agents/skills/observability-stack/SKILL.md · 83 lines

How it starts

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

Observability stack (local)

samples/observability/ is a docker compose stack that runs skit + Prometheus

  • Grafana (and an optional speech gateway), auto-provisioning both bundled dashboards. Use it to validate metrics and dashboards without any cloud setup.

Run it

cd samples/observability
docker compose up -d
./generate-traffic.sh                 # direct-to-skit TTS+STT
# optional gateway row (overlay adds the service + its Prometheus scrape):
docker compose -f docker-compose.yml -f docker-compose.gateway.yml up -d --build
./generate-traffic.sh --gateway

Grafana: http://localhost:3000 (anonymous admin). Prometheus: http://localhost:9090. skit: http://localhost:4545.

How metrics flow

  • skit → Prometheus via OTLP push. Prometheus runs with --web.enable-otlp-receiver; skit's SK_TELEMETRY__OTLP_ENDPOINT points at …/api/v1/otlp/v1/metrics. There is no scrape job for skit.
  • gateway → Prometheus via scrape of the gateway's /metrics.

Validate dashboards (don't just eyeball)

OTLP renames dotted metrics and appends unit suffixes, so verify the metric names/labels the panels query actually exist before trusting a panel:

# list all metric names Prometheus knows about
curl -s localhost:9090/api/v1/label/__name__/values | jq -r '.data[]' | sort
# run a panel's exact PromQL and count series (0 == panel will be "No data")
curl -s --data-urlencode 'query=<promql>' localhost:9090/api/v1/query \
  | jq '.data.result | length'
# inspect a metric's labels
curl -s 'localhost:9090/api/v1/series?match[]=<metric>' | jq

Key name/label facts:

  • Plugin metrics: plugin_call_duration_seconds_* (unit suffix present), plugin_calls_total; labels plugin_kind, op.
  • oneshot_pipeline_duration_* has no _seconds suffix (no unit set); labels status, and service only when the pipeline declares attributes: { service: ... } and a service-label-aware skit has the matching [server.metrics.attributes.service] policy enabled.
  • Gateway: gateway_requests_total{endpoint,code}, gateway_request_duration_seconds, gateway_rejected_total{reason} (only appears after a 413/415/502 actually occurs).

Read the full file on GitHub · 83 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. yesterday First seen · 83 lines · 61 tokens per session scan A a39fd27c0eb1

Subscribe to this mod's changes

observability-stack is a skill published in the GitHub repository streamer45/streamkit (21 stars, last pushed 8d ago), licensed MPL-2.0. It adds 61 tokens to every session and 893 once invoked, about $0.0003 per session on Opus 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-08-30.

Related

Other skills, from other repositories

moq

Build live video, audio, and real-time data apps with Media over QUIC (MoQ). Use when adding live streaming, conferencing, voice AI, or real-time pub/sub to an app; when integrating the @moq/ npm packages, moq- Rust crates, or the Python/Kotlin/Swift/Go/C bindings; or when running a moq-relay server or a gateway…

moq-dev/moq · 104 tokens

beava-pr-review

Reviews a beava PR diff for real bugs, beava-specific architectural invariants, and AI-generated "slop" patterns (hollow code, phantom imports, inflated comments, disconnected pipelines). Produces a structured BLOCK / WARN / NIT report keyed by file:line. Use when asked to "review this PR", "check for AI slop", "PR…

beava-dev/beava · 119 tokens

beava-design

Use this skill to generate well-branded interfaces and assets for beava (beava.dev, an open-source single-binary feature server for stream processing), either for production or throwaway prototypes/mocks/etc. Contains essential design guidelines, colors, type, fonts, assets, and UI kit components for prototyping.

beava-dev/beava · 67 tokens

beava-design

Use this skill to generate well-branded interfaces and assets for beava (beava.dev, an open-source single-binary feature server for stream processing), either for production or throwaway prototypes/mocks/etc. Contains essential design guidelines, colors, type, fonts, assets, and UI kit components for prototyping.

beava-dev/beava · 67 tokens

lint-js

Lint JS/TS code only. Use before opening a PR when only JavaScript or TypeScript files were changed (no Rust).

denoland/deno · 29 tokens

pr-description

Update a GitHub PR description with a summary of changes.

pipecat-ai/pipecat · 14 tokens