turning-engineering-analytics-into-insights

turning-engineering-analytics-into-insights is a skill for Claude Code, Codex from PostHog/posthog-foss. It costs 205 tokens per session (2,449 once invoked), scanned A, original, MIT.

A guide for turning GitHub pull-request and CI data into saved PostHog insights, dashboards, and subscriptions. It also explains how to query the underlying engineering data with SQL.

In plain words
What is it for?
Use it to build engineering dashboards, save reports about pull requests or CI, subscribe people to updates, or query GitHub engineering data.
Why use it?
The built-in engineering views do not directly become saved insights or subscriptions, so this guide shows how to recreate their data queries.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build engineering dashboards, save reports about pull requests or CI, subscribe people to updates, or query GitHub engineering data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/posthog/posthog-foss/turning-engineering-analytics-into-insights
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 turning-engineering-analytics-into-insights
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 turning-engineering-analytics-into-insights

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/posthog/posthog-foss/turning-engineering-analytics-into-insights"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/turning-engineering-analytics-into-insights.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 205 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,449 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.00205 $0.02449
Opus 5 $0.00102 $0.01224
Sonnet 5 $0.00041 $0.00490
Haiku 4.5 $0.00020 $0.00245

Measured 9d ago against content hash 27ddc0310f52, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

turning-engineering-analytics-into-insights 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 9d ago.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

products/engineering_analytics/skills/turning-engineering-analytics-into-insights/SKILL.md · 133 lines

How it starts

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

Turning engineering analytics into insights and subscriptions

The engineering analytics dashboard and MCP tools (pull-requests, workflow-health, pr-lifecycle, engineering-analytics-broken-tests, …) run curated HogQL privately: nothing in the UI or the tool output names the underlying tables, and the endpoints cannot themselves be saved as insights or subscribed to. The data, however, is queryable directly, through two substrates:

  • Raw warehouse tables<prefix>github_pull_requests, <prefix>github_workflow_runs, <prefix>github_workflow_jobs, <prefix>github_reviews, and <prefix>github_teams / <prefix>github_team_members (org team membership — the author→team map) — ordinary team-scoped tables you query with HogQL.
  • Three curated warehouse views with fixed names — engineering_analytics_job_costs, engineering_analytics_ci_job_history, engineering_analytics_ci_failures — provisioned per team from the connected GitHub source(s). Non-materialized: computed at query time, always current, and they back insights and subscriptions like any table.

The views exist for exactly one reason: they render product code into SQL — the runner-tier cost model, the failure-fingerprint recipe, the jobs↔runs commit-attribution rules — logic that would silently drift if hand-rolled, re-rendered into the team's view whenever the code changes. Everything else is just table data, and pure HogQL over the raw tables is always enough: never create additional warehouse views for engineering analytics data, and never re-derive in SQL what the three views already encode.

What the product shows Where the data actually lives Can it back an insight?
PR list, merge times, CI status, workflow health Data warehouse tables <prefix>github_pull_requests, <prefix>github_workflow_runs Yes (SQL insight over the tables)
Reviews and approvals <prefix>github_reviews Yes
Team-level PR metrics (author→team attribution) <prefix>github_team_members semi-joined against the PR authors Yes (team aggregates only)
Job durations, queue times, runner tiers <prefix>github_workflow_jobs Yes
CI cost (runner-tier price ladder) engineering_analytics_job_costs view Yes (query the view, never recompute cost)
Per-job CI history with commit attribution engineering_analytics_ci_job_history view Yes
Grouped (fingerprinted) CI failure lines engineering_analytics_ci_failures view (reads the Logs product, short retention) Yes, for short recent windows
Thinned CI failure logs for a PR or run Logs product (service_name = 'github-ci-logs') + thinning logic No (use the MCP tools ad hoc)
Flaky-test leaderboard, broken-tests triage, team CI health CI trace spans + ranking/classification logic in product code No (use the MCP tools ad hoc)

So the job splits cleanly: warehouse-backed metrics (raw tables or the three views) become SQL insights (then dashboards, then subscriptions); everything computed by product logic at request time stays on the MCP tools, delivered recurringly via an AI subscription if needed.

Read the full file on GitHub · 133 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. 9d ago First seen · 133 lines · 205 tokens per session scan A 27ddc0310f52

Subscribe to this mod's changes

turning-engineering-analytics-into-insights is a skill published in the GitHub repository PostHog/posthog-foss (715 stars, last pushed today), licensed MIT. It adds 205 tokens to every session and 2,449 once invoked, about $0.0010 per session on Opus 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-09-03.

Related

Other skills, from other repositories

recipe-create-meet-space

Create a Google Meet meeting space and share the join link.

googleworkspace/cli · 18 tokens

atmos-config

Atmos root configuration: atmos.yaml discovery, precedence, deep merging, basepath, imports, minimal bootstrap, and routing to narrower Atmos skills.

cloudposse/atmos · 31 tokens

workthreads

SpecStory Workthreads - a weekly work-thread rollup across a team's repos from SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more). It groups the window's sessions into threads of work per project and labels each new / open / recently closed, so a lead sees what shipped, what is still…

specstoryai/getspecstory · 126 tokens

story-readiness

Validate that a story file is implementation-ready. Checks for embedded GDD requirements, ADR references, engine notes, clear acceptance criteria, and no open design questions. Produces READY / NEEDS WORK / BLOCKED verdict with specific gaps. Use when user says 'is this story ready', 'can I start on this story', 'is…

Donchitos/Claude-Code-Game-Studios · 77 tokens

magpie-security-issue-import-from-md

Open one or more tracking issues from a markdown file containing a batch of security findings. Each finding becomes one tracker landing in the Needs triage board column. The file itself is the full report — there is no inbound reporter to reply to and no PR to inspect.

apache/magpie · 73 tokens

remove

Remove a deployed framework or addon from the current workspace.

jmagly/aiwg · 12 tokens