instrument
Skill0 starsChanged 8 days agoMITView on GitHub
Add or diagnose product analytics and prove events arrive once on real success with safe properties. Use for tracking, conversion funnels, PostHog/GA events or dashboard numbers that look wrong or change suddenly.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- Alfred-Lau/skillstheir own version, first seen Oct 20, 2026
- tessaryai/tessarytheir own version, first seen Sep 10, 2026
- vizuh/clicktrail-claude-plugintheir own version, first seen Aug 26, 2026
- monoscope-tech/skillstheir own version, first seen Jun 11, 2026
- vanities/skillstheir own version, first seen Jun 5, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- tessaryai/tessary★ 20same name
- monoscope-tech/skills★ 4same name
- Alfred-Lau/skills★ 1same name
- vanities/skills★ 0same name
- vizuh/clicktrail-claude-plugin★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- astackSkill
- contextSkill
- deslopSkill
- discoverabilitySkill
- dogfoodSkill
- launchSkill
- oneshotSkill
- shipSkill
- web-designSkill
- web-graphicsSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Write it as a decision: "Do buyers who see the shipping cost up front still check out at the same rate?" Then define:
- Very specific: line 19
Check existing events and dashboards first.
- Very specific: line 23
Follow the project's taxonomy if it has one.
- Distinctive: line 30
Properties: only what the question needs.
- Distinctive: line 36
No tracking on localhost, previews, or for automated clients and test accounts, unless deliberately routed to a dev project.
- Distinctive: line 41
Do the real action with a controlled account.
- Distinctive: line 43
Do the failure and cancel paths: no success event.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Instrument
posthog.capture() in the code is not measurement. Measurement is an event you have seen arrive, meaning exactly one thing, read by a query that answers a question.
1. Start from the question
Write it as a decision: "Do buyers who see the shipping cost up front still check out at the same rate?" Then define:
- Success action: the confirmed outcome (order created), not the click (button pressed).
- Population and denominator: who is eligible, counted as users or as entities.
- Window: conversion window and the first period you can compare.
- Guardrail: the number that must not get worse.
Check existing events and dashboards first. Reuse an event whose meaning matches; do not add checkout_completed_v2 next to order_created.
2. Design the events
Follow the project's taxonomy if it has one. If not, use taxonomy: a small set of canonical events with typed, primitive properties, named object_verb in snake_case.
For each event, decide:
- Where it fires: where success is known. Server-side or on the confirmed response for outcomes; client-side for pure UI intent.
- Identity: the user/anonymous id and any group (team, account). Check the anonymous-to-signed-in merge in your provider so funnels do not split.
- Dedupe: what stops a rerender, retry, reload or client+server double fire from counting twice. Use the entity id as a property and fire from one owner.
- Properties: only what the question needs. No emails, names, tokens, full URLs with query strings, or free text. Error codes are stable lowercase strings, never translated copy.
3. Implement
- One typed helper per event (or one typed
track(event, props)with a union type) so names and properties cannot drift. - Analytics never breaks the product: wrap the SDK, never
awaitit on the critical path. - No tracking on localhost, previews, or for automated clients and test accounts, unless deliberately routed to a dev project.
- Redact before transport, including SDK autocapture of URLs (verification covers payload checks).
4. Prove it end to end
- Do the real action with a controlled account. Note the time and entity id.
- Watch the outbound request (browser network panel or server log): one request, right name, right properties, no private data.
- Do the failure and cancel paths: no success event.
- Reload, retry, double-click: still one success.
- Find the event in the provider, in the right project and environment. In PostHog, for example:
SELECT timestamp, event, distinct_id, properties.order_id, properties.shipping_shown
FROM events
WHERE event = 'order_created' AND timestamp > now() - INTERVAL 1 HOUR
ORDER BY timestamp DESC LIMIT 20Allow for ingestion delay; absence after a few minutes is a failure to investigate, not a pass.
5. Make it readable
Create or update the saved insight, funnel or query. Read it back and check the steps, filters, test-account exclusion, window and that it counts users vs events as intended. Write down where it lives, what it measures, the coverage start date and when the first comparison is valid. New instrumentation has no history; say so instead of comparing to nothing.
Finish
Report: the question, events (name, where fired, properties), proof of arrival, the query link and its first valid read date. A working pipeline measures; it does not prove the feature worked. Say which.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

