AGENTS.mdA

AGENTS.md from posthog/wizard is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add posthog/wizard/AGENTS.md@git:20261022.fef6747

Pins git:20261022.fef6747 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
posthog/wizard
Path
AGENTS.md
Versions recorded
14
Latest version
git:20261022.fef6747, committed Oct 22, 2026
First version recorded
Jun 17, 2026
Size
19,682 bytes
Repository stars
201
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# AGENTS.md — PostHog Wizard

Instructions for all agents (and humans) working in this repo. This is the
single source of truth; [`CLAUDE.md`](CLAUDE.md) just points here. User-facing
docs: https://posthog.com/docs/ai-engineering/ai-wizard

The PostHog wizard (`npx @posthog/wizard`) is a CLI that adds PostHog to a
user's project using an AI agent. It authenticates the user, detects their
framework, runs an agent that integrates the SDK and instruments events, and
walks the user through their first dashboard. All from the terminal.

## Design discipline

This codebase follows a specific design discipline: **product knowledge never
enters infrastructure code.** The runner pipeline, the TUI store, the detection
loop, and the prompt assembler are machinery. They don't know what PostHog is.
They don't know what a framework is. They execute a pipeline driven by typed
configuration surfaces.

Each domain has a dedicated boundary:

- **Frameworks** → `FrameworkConfig` in `src/services/frameworks/<name>/`
- **Integration knowledge** → markdown skills in the
  [context-mill](https://github.com/PostHog/context-mill) repo
- **Security policy** → YARA-X rules in the
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add posthog/wizard/AGENTS.md@sha256:48d6f61dde401335

The line at the top of this page pins the label git:20261022.fef6747, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_7j6d5ab6gwm2b6td.svg)](https://markdownregistry.com/a/art_7j6d5ab6gwm2b6td)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 14 versions of this file, between Jun 17, 2026 and Oct 22, 2026, about one every 10 days.

versioncommittedcommitsizeaudit
git:20261022.fef6747 latest2026-10-22 fef6747 19,682 BA view · diff
git:20261006.08c70dd2026-10-06 08c70dd 19,101 BA view · diff
git:20261005.c1209e02026-10-05 c1209e0 19,099 BA view · diff
git:20260929.91c5ab72026-09-29 91c5ab7 14,170 BA view · diff
git:20260925.32546362026-09-25 3254636 14,168 BA view · diff
git:20260925.93ee3fb2026-09-25 93ee3fb 14,065 BA view · diff
git:20260923.d8486dc2026-09-23 d8486dc 13,952 BA view · diff
git:20260918.b300b402026-09-18 b300b40 13,335 BA view · diff
git:20260914.2ae7de12026-09-14 2ae7de1 13,337 BA view · diff
git:20260909.f697d532026-09-09 f697d53 12,823 BA view · diff
git:20260821.b91dbe82026-08-21 b91dbe8 9,859 BA view · diff
git:20260625.7391ac52026-06-25 7391ac5 9,289 BA view · diff
git:20260624.bd875c32026-06-24 bd875c3 9,129 BA view · diff
git:20260617.413f88e2026-06-17 413f88e 9,008 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (19682 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

posthog/wizard · 201 stars · license MIT · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_7j6d5ab6gwm2b6td
GET https://markdownregistry.com/api/v1/resolve?ref=posthog/wizard/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/48d6f61dde401335ab267a08354cebb3624bed547b55059b519931f380555a72

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from posthog/wizard

adding-framework-support SKILL.md skill
posthog/wizard · .claude/skills/adding-framework-support/SKILL.md
v2.1 · audit B · 201 stars
adding-skill-program SKILL.md skill
posthog/wizard · .claude/skills/adding-skill-program/SKILL.md
v4.0.1 · audit B · 201 stars
exploring-the-wizard SKILL.md skill
posthog/wizard · .claude/skills/exploring-the-wizard/SKILL.md
v5.0.1 · audit B · 201 stars
ink-tui SKILL.md skill
posthog/wizard · .claude/skills/ink-tui/SKILL.md · Build or modify the PostHog wizard's Ink screens, primitives, keyboard interactions, and session-driven screen flow…
v3.1 · audit A · 201 stars
monitoring-a-wizard-release SKILL.md skill
posthog/wizard · .claude/skills/monitoring-a-wizard-release/SKILL.md
v1.0 · audit B · 201 stars
wizard-development SKILL.md skill
posthog/wizard · .claude/skills/wizard-development/SKILL.md · Architectural guidance for changes to the PostHog Wizard: program and framework boundaries, agent routing, gateway…
v2.2 · audit A · 201 stars
CLAUDE.md CLAUDE.md file
posthog/wizard · CLAUDE.md
git:20260617.413f88e · audit B · 201 stars
posthog-integration Cursor rule
posthog/wizard · e2e-tests/test-applications/react-native-test-app/.cursor/rules/posthog-integration.mdc · apply when interacting with PostHog/analytics tasks
git:20250418.2a704f7 · audit A · 201 stars

Every file in posthog/wizard

Other files named AGENTS.md

AGENTS.md AGENTS.md file
morluto/rea · AGENTS.md
git:20261102.920d634 · audit A · 433,876 stars
AGENTS.md AGENTS.md file
obra/superpowers · AGENTS.md
git:20261020.b739a8a · audit A · 314,583 stars
AGENTS.md AGENTS.md file
affaan-m/ecc · AGENTS.md
git:20261030.f29e332 · audit A · 299,696 stars
AGENTS.md AGENTS.md file
firecrawl/firecrawl · AGENTS.md
git:20261008.5a75dca · audit A · 199,595 stars
AGENTS.md AGENTS.md file
dietrichgebert/ponytail · AGENTS.md
git:20261008.2a1fe84 · audit A · 185,249 stars
AGENTS.md AGENTS.md file
graphify-labs/graphify · AGENTS.md
git:20260926.98d73fe · audit A · 144,492 stars
AGENTS.md AGENTS.md file
garrytan/gstack · AGENTS.md
git:20261107.ef99eb5 · audit A · 140,694 stars
AGENTS.md AGENTS.md file
juliusbrussee/caveman · AGENTS.md
git:20261106.e45976c · audit A · 118,366 stars

Browse by kind, by grade A, or by owner.