monitoring-capture-service

monitoring-capture-service is a skill for Claude Code, Codex from PostHog/posthog-foss. It costs 92 tokens per session (6,158 once invoked), scanned A, original, MIT.

A guide for using Grafana to monitor PostHog’s Rust capture service, the HTTP endpoint that receives events from software development kits, applies limits, and sends events to Kafka.

In plain words
What is it for?
Use it to investigate capture latency, lost events, Kafka backpressure, Redis issues, rate limiting, or Envoy proxy health.
Why use it?
It provides a way to investigate capture problems while accounting for separate US and EU production environments and service-specific metrics.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to investigate capture latency, lost events, Kafka backpressure, Redis issues, rate limiting, or Envoy proxy health.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/posthog/posthog-foss/monitoring-capture-service
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.

Any agent
npx skills add PostHog/posthog-foss --skill monitoring-capture-service
Clone the repo
git clone --depth 1 https://github.com/PostHog/posthog-foss

Made for: Claude Code, Codex.

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 monitoring-capture-service

README.md
[![agentmods](https://agentmods.dev/badge/skills/posthog/posthog-foss/monitoring-capture-service/github.svg)](https://agentmods.dev/skills/posthog/posthog-foss/monitoring-capture-service)
Your own site
<a href="https://agentmods.dev/skills/posthog/posthog-foss/monitoring-capture-service"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/monitoring-capture-service/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 monitoring-capture-service

Your own site · 80×15
<a href="https://agentmods.dev/skills/posthog/posthog-foss/monitoring-capture-service"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/monitoring-capture-service.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,158 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.00092 $0.06158
Opus 5.5 $0.00037 $0.02463
Sonnet 5.5 $0.00018 $0.01232
Haiku 4.5 $0.00009 $0.00616

Measured today against content hash 070374b7ecbe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

monitoring-capture-service 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 today.

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.

.agents/skills/monitoring-capture-service/SKILL.md · 214 lines

How it starts

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

Monitoring the capture service

The capture service (rust/capture/) is PostHog's Rust HTTP intake. It authenticates, validates and limits events, then produces them to Kafka or WarpStream. One binary runs as four deployments, picked by CAPTURE_MODE.

Every name, label and value below was read from production (prod-us and prod-eu) and the code on master. Counters only get a series after their first increment, so a missing series can mean "never happened" rather than "broken". Confirm a name with the discovery tools before you conclude anything from an empty result.

Tools and datasources

Two tool sets reach the same data. Use either, and say which one you used.

Tool set Metrics Logs Notes
PostHog MCP (US project 2) metric-names-list, metric-attributes-list, metric-attribute-values-list, then query-metrics with query.promql logs-attribute-values-list, logs-attributes-list, then query-logs Log service.name equals the namespace, for example capture-analytics. metric-names-list can report a counter as gauge; use rate or increase on counters anyway.
Grafana MCP (grafana-us, grafana-eu) Prometheus datasource UID victoriametrics Loki datasource UID P44D702D3E93867EC Same UIDs in both regions. Profiles: Pyroscope datasource pyroscope (US). Dashboards: search_dashboards, get_dashboard_summary, get_dashboard_panel_queries.

Read the full file on GitHub · 214 lines

Files

What ships with it

1 file 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. today Changed 070374b7ecbe
  2. 13d ago Changed · -127 lines · +27 tokens per session 28af0b225782
  3. 14d ago Changed · +36 lines · -1 tokens per session 6c79e64b44b1
  4. 3mo ago Changed · +1 lines e6dd3267a4d6
  5. 3mo ago First seen · 304 lines · 66 tokens per session scan A d6fb2ba5fc70

Subscribe to this mod's changes

monitoring-capture-service is a skill published in the GitHub repository PostHog/posthog-foss (736 stars, last pushed today), licensed MIT. It adds 92 tokens to every session and 6,158 once invoked, about $0.0004 per session on Opus 5.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-08-30.

Related

monitoring-capture-service compared with skills from other repositories

monitoring-capture-service next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
monitoring-capture-servicePostHog/posthog-fossSkill736todayMITA92Claude Code, Codex
gke-compute-classesgoogle/skillsSkill26ktodayApache-2.0A100Claude Code, Codex
cloud-operator-admin-setupgoogle/skillsSkill26ktodayApache-2.0A118Claude Code, Codex
gke-reliabilitygoogle/skillsSkill26ktodayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill26ktodayApache-2.0A171Claude Code, Codex
nemo-automodel-launcher-configNVIDIA/skillsSkill4.3ktodayApache-2.0A30Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3ktodayMITA78Claude Code