instrumenting-first-party-metrics

instrumenting-first-party-metrics is a Product analytics & metrics skill for AI agents, published by PostHog in the posthog repository on GitHub. Skillspace rates instrumenting-first-party-metrics D (64/100) and it passed the safety scan; a judge model has also reviewed it.

How to instrument PostHog's own Metrics product from PostHog-owned code — record counters, gauges, and histograms that land in posthog.metrics, the same way customers do. Use when adding application metrics in this monorepo (web, Celery, Temporal), when asked to push or ship metrics into posthog metrics, or when unsure whether the SDK in this environment supports posthog.metrics yet. Covers the environment decision (SDK-first per the public docs, OTel fallback when the SDK path is not available), the exact version gates per SDK, what is already wired internally, and how to validate metrics actually arrive.

Grade
D
Quality
64 / 100
Safety
Passed
GitHub stars
39,773

Placed #1 of 6 in the judged category final for Product analytics & metrics.

Our two independent classifiers differ on this skill's category, so treat the placement as provisional.

This rating describes the version of the repository we crawled; it may have changed since, so go by its current files.

Our review

Architecture
100 / 100
Maturity
Basic: a single SKILL.md
Security scan
Low-risk patterns
License
Not declared. Check the repository before reusing it.

Judge review

Placed #1 of 6 in the judged category final for Product analytics & metrics.

  • Trigger8282
  • Instructions9090
  • Specificity9595
  • Safety8585
  • Disclosure8585
  • Maintenance9090
Outstanding specificity and a documented, hard-won gotcha (Temporal workers silently dropping OTel metrics) that most instrumentation guides would miss.

What the scanner flagged

  • mentions secrets in text

Not checked yet

  • Category is a classifier prediction; no model has read this skill yet
  • No blind task eval yet
  • Scope (portable / vendor / repo-internal) not assessed; only the top of each category is read for scope
  • Sibling files (scripts, references) not fetched; security scan covers SKILL.md only

Skillspace indexes and rates this skill; it does not host or endorse it. Run third-party skills at your own risk.