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 analyzing-experiment-precompute-canarygit 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/analyzing-experiment-precompute-canary)<a href="https://agentmods.dev/skills/posthog/posthog-foss/analyzing-experiment-precompute-canary"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/analyzing-experiment-precompute-canary/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/analyzing-experiment-precompute-canary"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/analyzing-experiment-precompute-canary.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00120 | $0.03550 |
| Opus 5.5 | $0.00048 | $0.01420 |
| Sonnet 5.5 | $0.00024 | $0.00710 |
| Haiku 4.5 | $0.00012 | $0.00355 |
Grade A, and why
analyzing-experiment-precompute-canary 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 14d 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.
How it starts
The opening of the file, as written. The whole thing — 230 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Analyzing the experiment precompute canary
Job to be done
Tell the user, with evidence, whether experiment precomputed results are consistent in production — in both prod-US and prod-EU — and when they aren't, hand them an actionable report: which metric diverged, by how much, which divergence class it is, and the next step. Classify only what the data supports (stability vs correctness; for correctness, whether counts or only values diverged) — do not assert a ClickHouse-level mechanism as fact. Read-only investigation; never mutate anything.
Background: what the canary is and why this matters
Experiment results are served from precomputed ClickHouse cache tables. A class of multi-node read-your-writes
bugs (one fixed in PR #62854: a precomputed read not seeing its own writes; also cache content drifting from
the events table) is only observable in production. The canary guards against it: a daily Temporal workflow
(experiment-precompute-canary) samples experiment metrics on precompute-enabled teams and runs each metric
three times — twice forced through the precomputed path (runs a, b), once forced through a direct
events scan (run c) — then compares:
- Stability (a vs b): two precomputed reads seconds apart must agree. Funnels strict (
0.1%); mean/ratio sums get the loose tolerance because they join live event values; their exposure counts stay strict. Retention resolves both of its numbers from metric events, so both get the loose tolerance. - Correctness (b vs c): the precomputed read must agree with the events table (loose
2%). Since PR #87880 (2026-08-25), sum deviations also need to clear an absolute per-variant floor (MIN_CORRECTNESS_SUM_DELTA = 100, raw metric units) — sub-floor gaps are excluded from the reported deviation and the gauges entirely, so sparse metrics (tens of conversions on millions of exposures) no longer page on a handful of events' worth of expected live-vs-frozen drift. Exposure counts are never floored.
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.
- 14d ago Changed · +37 lines · -75 tokens per session b9a3c46e28c9
- 3mo ago First seen · 193 lines · 195 tokens per session scan A 918b8a4c3bbc
analyzing-experiment-precompute-canary is a skill published in the GitHub repository PostHog/posthog-foss (736 stars, last pushed today), licensed MIT. It adds 120 tokens to every session and 3,550 once invoked, about $0.0005 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-05.
analyzing-experiment-precompute-canary compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| analyzing-experiment-precompute-canaryPostHog/posthog-foss | Skill | 736 | today | MIT | A | 120 | Claude Code, Codex |
| systematic-debuggingopen-metadata/OpenMetadata | Skill | 16k | today | Apache-2.0 | A | 37 | Claude Code |
| log-error-digestzebbern/claude-code-guide | Skill | 4.7k | today | MIT | A | 71 | Claude Code, Codex |
| observability-audit-sessionsIBM/mcp-context-forge | Skill | 4.9k | today | Apache-2.0 | A | 64 | Claude Code, Codex |
| cwv-optimizeradobe/skills | Skill | 343 | today | Apache-2.0 | A | 112 | Claude Code |
| performance-verificationvalkor-ai/loom | Skill | 1.6k | 2d ago | Apache-2.0 | A | 45 | Claude Code, Codex |
| loop-engineeringhuytieu/COG-second-brain | Skill | 1.6k | today | MIT | A | 63 | Claude Code |