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.
npx skills add PostHog/posthog-foss --skill diagnosing-ci-and-merge-bottlenecksgit clone --depth 1 https://github.com/PostHog/posthog-fossWrote 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.
[](https://agentmods.dev/skills/posthog/posthog-foss/diagnosing-ci-and-merge-bottlenecks)<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.
<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>- NVIDIA SkillSpector warn
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
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.
| Model | Per session | Once 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 |
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.
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. |
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.
- today Changed · +3 lines 3bbbdf1722c4
- 19d ago Changed · -62 lines · -2 tokens per session 0b76d19c814d
- 1mo ago Changed a25758f54b3c
- 2mo ago Changed · +4 lines e753ee2135fe
- 2mo ago Changed · +2 lines 26cb38d13292
- 2mo ago First seen · 145 lines · 226 tokens per session scan A 2ecf9f8140eb
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.
diagnosing-ci-and-merge-bottlenecks compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| diagnosing-ci-and-merge-bottlenecksPostHog/posthog-foss | Skill | 734 | today | MIT | A | 224 | Claude Code, Codex |
| merge-batchdiegosouzapw/OmniRoute | Skill | 91k | yesterday | MIT | A | 46 | Claude Code |
| prowler-commitprowler-cloud/prowler | Skill | 15k | today | Apache-2.0 | A | 44 | Claude Code, Codex |
| gh-auth-isolationgithub/gh-aw | Skill | 5.7k | today | MIT | A | 20 | Claude Code, Codex |
| comet-githubrpamis/comet | Skill | 3.3k | today | MIT | A | 72 | Claude Code, Codex |
| github-skillzeenie-ai/OpenCompany | Skill | 1.1k | 4d ago | MIT | A | 51 | Claude Code |
| codex-autoresearchleo-lilinxiao/codex-autoresearch | Skill | 3.3k | 12d ago | MIT | A | 39 | Codex |