exploring-autocapture-events

exploring-autocapture-events is a skill for Claude Code, Codex from PostHog/posthog-foss. It costs 127 tokens per session (2,541 once invoked), scanned A, original, MIT.

A procedure for exploring automatically captured website interactions. These events can record clicks, form submissions, and page changes, including information about the HTML element involved.

In plain words
What is it for?
Searching clicks and other captured interactions, checking whether a CSS selector is unique, and creating PostHog actions.
Why use it?
It helps identify what users interact with and find reliable selectors for those elements.

Skill for Claude CodeCodex

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

Good fit Searching clicks and other captured interactions, checking whether a CSS selector is unique, and creating PostHog actions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/posthog/posthog-foss/exploring-autocapture-events
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 exploring-autocapture-events
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 exploring-autocapture-events

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/posthog/posthog-foss/exploring-autocapture-events"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/exploring-autocapture-events.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,541 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: 2 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 Prompt Injection · line 26
    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 31
    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.00127 $0.02541
Opus 5.5 $0.00051 $0.01016
Sonnet 5.5 $0.00025 $0.00508
Haiku 4.5 $0.00013 $0.00254

Measured 2mo ago against content hash e50422734985, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

exploring-autocapture-events 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 2mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

products/product_analytics/skills/exploring-autocapture-events/SKILL.md · 271 lines

How it starts

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

Exploring autocapture events

if users opt in then posthog-js automatically captures clicks, form submissions, and page changes as $autocapture events. Each event records the clicked DOM element and its ancestors in the elements_chain column.

$autocapture is intentionally excluded from the posthog:read-data-schema taxonomy because it is only useful with autocapture-specific filters (selector, tag, text, href). This skill fills that gap.

Materialized columns

The events table provides fast access to common element fields without parsing the full chain string.

Column Type Description
elements_chain String Full semicolon-separated element chain (see format reference)
elements_chain_href String Last href value from the chain
elements_chain_texts Array(String) All text values from elements
elements_chain_ids Array(String) All id attribute values
elements_chain_elements Array(String) Useful tag names: a, button, input, select, textarea, label

Use materialized columns for exploration queries whenever possible — they avoid regex parsing.

Canonical autocapture properties

Every $autocapture event from posthog-js ships with a fixed set of properties. Do not query the schema to "look them up" — they are these:

Property Examples Notes
$event_type click, submit, change the kind of interaction
$el_text Sign up, Submit text of the clicked element
$current_url https://app.example.com/pricing page the interaction happened on
$elements_chain semicolon-separated chain parsed via the elements_chain* materialized columns above

Read the full file on GitHub · 271 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 271 lines · 127 tokens per session scan A e50422734985

Subscribe to this mod's changes

exploring-autocapture-events is a skill published in the GitHub repository PostHog/posthog-foss (734 stars, last pushed today), licensed MIT. It adds 127 tokens to every session and 2,541 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-03.

Related

exploring-autocapture-events compared with skills from other repositories

exploring-autocapture-events next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
exploring-autocapture-eventsPostHog/posthog-fossSkill734todayMITA127Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k6d agoMITA52Claude Code, Codex
azure-messaging-webpubsub-javamicrosoft/skillsSkill3.3ktodayMITA43Claude Code
cua-driverdavidondrej/skillsSkill4.4k3d agoMITA68Claude Code, Codex
open-design-browsercompozy/compozySkill2.9ktodayMITA56Claude Code, Codex
browser_cdpmateaix/mateclawSkill1.2ktodayApache-2.0A44Claude Code, Codex
southwestborski/travel-hacking-toolkitSkill1.1ktodayMITA40Claude Code