diagnosing-ci-and-merge-bottlenecks

diagnosing-ci-and-merge-bottlenecks is a skill for Claude Code, Codex from PostHog/posthog-foss. It costs 224 tokens per session (1,773 once invoked), scanned A, original, MIT.

An analysis guide for GitHub pull-request and continuous-integration pipelines. Continuous integration, or CI, automatically builds and tests code; this guide examines where pull requests slow down before merging.

In plain words
What is it for?
Use it to examine open and recently merged pull requests, compare CI results, find workflows with problems, and measure time to merge.
Why use it?
It helps reveal whether the development pipeline is getting slower and which workflows, authors, or review stages are causing delays.

Skill for Claude CodeCodex

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

Good fit Use it to examine open and recently merged pull requests, compare CI results, find workflows with problems, and measure time to merge.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/posthog/posthog-foss/diagnosing-ci-and-merge-bottlenecks
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 diagnosing-ci-and-merge-bottlenecks
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 diagnosing-ci-and-merge-bottlenecks

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/posthog/posthog-foss/diagnosing-ci-and-merge-bottlenecks"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/diagnosing-ci-and-merge-bottlenecks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 224 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,773 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 warn 7 Sept 2026
SkillSpector: 5 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Memory Poisoning · line 98
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Prompt Injection · line 98
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 100
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 101
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 102
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
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.00224 $0.01773
Opus 5.5 $0.00090 $0.00709
Sonnet 5.5 $0.00045 $0.00355
Haiku 4.5 $0.00022 $0.00177

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

Security

Grade A, and why

diagnosing-ci-and-merge-bottlenecks 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.

products/engineering_analytics/skills/diagnosing-ci-and-merge-bottlenecks/SKILL.md · 92 lines

How it starts

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

Diagnosing CI and merge bottlenecks

This skill finds where a pull request slows down between open and merge. You call named MCP tools and write no SQL. To take one failing test or one red run to a verdict, use the investigating-ci-failures skill.

Choosing a tool

Question Tool How
Is CI getting slower? Which workflow is slowest? workflow-health Call it over two adjacent windows, for example date_from=-14d, then date_from=-28d with date_to=-14d. Compare p50_seconds and p95_seconds per workflow.
Which open PRs have failing or pending CI? pull-requests Keep rows where ci.failing > 0 or ci.pending > 0.
Which PRs are stuck open longest? pull-requests Keep open rows that are not drafts or bots. Sort by created_at, oldest first.
How long do PRs take to merge? pull-requests Pass state=merged. Report the median and p95 of ready_to_merge_seconds.
Where is PR N stuck? pr-lifecycle Find the largest gap between consecutive events.
What does a failing test cost? What should we quarantine? engineering-analytics-flaky-tests Rows arrive ranked by master failures, then by distinct PRs hit.
Which team owns the flakiest tests? engineering-analytics-team-ci-health Each count has a _prior twin for the previous window of equal length.
What did CI cost for one PR? engineering-analytics-pr-cost A null cost means nothing was billable. It never means zero.
Which runner tier drives a workflow's cost? engineering-analytics-workflow-runner-costs Rows arrive with the highest spend first.
Where did one run spend its time and money? engineering-analytics-workflow-jobs Pass ci_engine with run_id.

Read the full file on GitHub · 92 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. today Changed · +3 lines 3bbbdf1722c4
  2. 19d ago Changed · -62 lines · -2 tokens per session 0b76d19c814d
  3. 1mo ago Changed a25758f54b3c
  4. 2mo ago Changed · +4 lines e753ee2135fe
  5. 2mo ago Changed · +2 lines 26cb38d13292
  6. 2mo ago First seen · 145 lines · 226 tokens per session scan A 2ecf9f8140eb

Subscribe to this mod's changes

diagnosing-ci-and-merge-bottlenecks is a skill published in the GitHub repository PostHog/posthog-foss (734 stars, last pushed today), licensed MIT. It adds 224 tokens to every session and 1,773 once invoked, about $0.0009 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-09-03.

Related

diagnosing-ci-and-merge-bottlenecks compared with skills from other repositories

diagnosing-ci-and-merge-bottlenecks next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
diagnosing-ci-and-merge-bottlenecksPostHog/posthog-fossSkill734todayMITA224Claude Code, Codex
merge-batchdiegosouzapw/OmniRouteSkill91kyesterdayMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15ktodayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.7ktodayMITA20Claude Code, Codex
comet-githubrpamis/cometSkill3.3ktodayMITA72Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1k4d agoMITA51Claude Code
codex-autoresearchleo-lilinxiao/codex-autoresearchSkill3.3k12d agoMITA39Codex