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 Tarekkharsa/agentstack --skill experimentgit clone --depth 1 https://github.com/Tarekkharsa/agentstackWrote 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/tarekkharsa/agentstack/experiment)<a href="https://agentmods.dev/skills/tarekkharsa/agentstack/experiment"><img src="https://agentmods.dev/badge/skills/tarekkharsa/agentstack/experiment/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/tarekkharsa/agentstack/experiment"><img src="https://agentmods.dev/badge/skills/tarekkharsa/agentstack/experiment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00035 | $0.00470 |
| Opus 5.5 | $0.00014 | $0.00188 |
| Sonnet 5.5 | $0.00007 | $0.00094 |
| Haiku 4.5 | $0.00003 | $0.00047 |
Grade A, and why
posthog_experiment 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 3mo 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.
What it actually says
PostHog Experiment
Unofficial, agentstack-authored. Not affiliated with or endorsed by PostHog.
Use this skill when a team wants to test a change with a PostHog experiment or roll a feature out behind a flag, and needs the setup to actually yield a trustworthy result.
Workflow
- Write the hypothesis as one falsifiable sentence: "Changing X will move [primary metric] by roughly Y for [population]." If you cannot state it this way, the experiment is not ready.
- Choose one primary metric that maps directly to the goal (e.g. signup conversion), plus a small set of guardrail metrics that must not regress.
- Define the exposure point — the feature flag and the event that marks a user as enrolled. Users must be counted from the moment they could see the change, not from when they convert.
- Estimate the needed sample size and runtime from the baseline rate and the minimum effect worth detecting. State how long the test must run; resist calling it early.
- Set the rollout: start the flag at a safe percentage, confirm assignment is stable per user, and verify both variants render before ramping.
- Pre-commit to the decision rule (ship / kill / iterate) and the metrics that decide it, in writing, before launch.
Conventions
- One primary metric per experiment. Multiple primaries invite cherry-picking.
- Do not peek-and-stop: respect the planned runtime and sample size.
- Keep the feature flag key descriptive and consistent with the experiment name.
- Roll out gradually (e.g. 5% → 25% → 100%) and watch guardrails at each step.
Boundaries
- Never declare a winner before the experiment reaches its planned sample size or runtime — early results are noise.
- Do not change the primary metric or population mid-flight to chase significance.
- Do not flip a flag to 100% for all users without an explicit go-ahead.
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.
- 3mo ago First seen · 45 lines · 35 tokens per session scan A 0fcb96a1f9fd
posthog_experiment is a skill published in the GitHub repository Tarekkharsa/agentstack (3 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 35 tokens to every session and 470 once invoked, about $0.0001 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-08-31.
posthog_experiment compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| posthog_experimentTarekkharsa/agentstack | Skill | 3 | 3mo ago | Apache-2.0 | A | 35 | Claude Code, Codex |
| release-notesagentic-community/mcp-gateway-registry | Skill | 1.1k | today | Apache-2.0 | A | 59 | Claude Code |
| pr-reviewagentic-community/mcp-gateway-registry | Skill | 1.1k | today | Apache-2.0 | A | 57 | Claude Code |
| writingagentic-community/mcp-gateway-registry | Skill | 1.1k | today | Apache-2.0 | A | 69 | Claude Code |
| create-milestoneagentic-community/mcp-gateway-registry | Skill | 1.1k | today | Apache-2.0 | A | 64 | Claude Code |
| generate-server-cardagentic-community/mcp-gateway-registry | Skill | 1.1k | today | Apache-2.0 | A | 52 | Claude Code |
| agentcore-registeragentic-community/mcp-gateway-registry | Skill | 1.1k | today | Apache-2.0 | A | 49 | Claude Code |