[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B335WPGZRQDVC2RA2GHFSQ":3,"skill-same:01M7B335WPGZRQDVC2RA2GHFSQ":49},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M7B335WPGZRQDVC2RA2GHFSQ","measure-binding",null,"Guides binding OGSM measures to external platforms (PostHog, Google Search Console). Enforces leading vs lagging tagging, validates the bound event\u002Fproperty exists before claiming live sync, and prevents stale bindings from producing stale numbers. Use when binding a measure to PostHog or Google Search Console, setting up live sync for a measure, or connecting a goal metric to an external platform.","gethamster\u002Fskills","gethamster","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F215697643?v=4","01M7B2R6PGB3SDZZ71E0WE2S74","Hamster","01M7B2R6Q21HWJRXZZWB78BNDG",4,"MIT","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F.experimental\u002Fmeasure-binding\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: measure-binding\ndescription: \"Guides binding OGSM measures to external platforms (PostHog, Google Search Console). Enforces leading vs lagging tagging, validates the bound event\u002Fproperty exists before claiming live sync, and prevents stale bindings from producing stale numbers. Use when binding a measure to PostHog or Google Search Console, setting up live sync for a measure, or connecting a goal metric to an external platform.\"\nversion: \"1.0.0\"\ncategory: \"Ops\"\n---\n\n# Measure Binding\n\n> Bind OGSM measures to external platforms with leading\u002Flagging tagging and existence validation. Stale bindings produce stale numbers — this skill prevents that.\n\n## When to Invoke\n\n- When binding a measure to an external platform (PostHog, Google Search Console)\n- When a user asks to connect a goal metric to PostHog or Google Search Console\n- When setting up live sync for a measure\n- When a user asks \"is this measure live?\" or \"why is this measure stale?\"\n- During Phase 1 (Set Goals) of the Hamster Company Direction workflow, at the measure-binding step\n\n## Core Guidance\n\n1. **Always verify the event or property exists in the target platform before binding — don't assume.** Query the platform's event list or property registry. If the event doesn't exist or hasn't fired recently, the binding will return zero or null silently. A measure that shows zero because the event doesn't exist is worse than no measure at all — it creates false confidence.\n\n2. **Always tag every bound measure as leading or lagging.** Leading measures predict outcomes (e.g., signup conversion rate predicts revenue). Lagging measures confirm outcomes (e.g., monthly revenue confirms what happened). This tag determines how the team reads the measure: leading measures are for course-correcting, lagging measures are for confirming. A measure without this tag is ambiguous — the team can't tell whether to act or to audit.\n\n3. **Never bind a measure to a vague event name — use the exact event name from the platform.** PostHog events are case-sensitive (`user_signed_up` ≠ `User Signed Up`). Google Search Console uses specific metric keys (`clicks`, `impressions`, `ctr`, `position`). Guessing event names produces bindings that silently return zero.\n\n4. **Always check freshness after binding — if the last sync is stale, the number is stale.** A binding that hasn't synced in 7 days is a stale number presented as live. Check the last sync timestamp. If it's older than the measure's natural cadence (daily measures should sync daily), flag it as stale before reporting.\n\n5. **One measure = one binding — don't reuse a single event for multiple measures without distinct aggregation.** If two measures need the same event, they must differ in aggregation (e.g., total count vs unique users) and the difference must be documented. Reusing the same event with the same aggregation for two measures creates duplicate numbers that diverge when filters change.\n\n6. **Always record the binding metadata.** Platform, exact event\u002Fproperty name, aggregation method, leading\u002Flagging tag, and last verified date. This metadata is the audit trail when a measure breaks or goes stale.\n\n## Concrete Examples\n\n### Example 1: PostHog — Signup Conversion Rate (Leading)\n\n```\nMeasure: Signup Conversion Rate\nStrategy: Grow self-serve pipeline\nPlatform: PostHog\nEvent: user_signed_up\nAggregation: unique_session (count of sessions with signup) \u002F total sessions\nTag: LEADING — predicts revenue\nBinding: TrendsQuery with formula A\u002FB\n  Series A: event=user_signed_up, math=unique_session\n  Series B: event=$pageview, math=unique_session, properties=[path=\u002Fsignup]\n  Formula: A\u002FB\n  Display: BoldNumber\nVerified: event user_signed_up exists in PostHog, last fired \u003C 1h ago\nLast sync: 2025-01-15T14:32:00Z (fresh)\n```\n\n### Example 2: Google Search Console — Organic Clicks (Leading)\n\n```\nMeasure: Organic Search Clicks\nStrategy: Increase organic visibility\nPlatform: Google Search Console\nMetric: clicks (exact key from GSC API)\nAggregation: sum over last 7 days\nTag: LEADING — predicts organic signups\nBinding: GSC searchanalytics.query with dimensions=[date], start_date=-7d\nVerified: GSC property connected, clicks > 0 for last 7 days\nLast sync: 2025-01-15T06:00:00Z (fresh, daily cadence)\n```\n\n### Example 3: PostHog — Monthly Recurring Revenue (Lagging)\n\n```\nMeasure: Monthly Recurring Revenue\nStrategy: Grow revenue from existing accounts\nPlatform: PostHog\nEvent: subscription_activated\nAggregation: sum of properties.monthly_revenue\nTag: LAGGING — confirms revenue outcome\nBinding: TrendsQuery with math=hogql, math_hogql=sum(properties.monthly_revenue)\n  Display: BoldNumber\nVerified: event subscription_activated exists, properties.monthly_revenue present on >95% of events\nLast sync: 2025-01-15T14:32:00Z (fresh)\n```\n\n## Anti-Patterns\n\n### Binding to `signup` when the actual event is `user_signed_up`\n\n**Failure mode:** The binding returns zero because the event name doesn't match. The team sees \"0 signups\" and either panics or ignores the measure. The real event is `user_signed_up` — case-sensitive, underscore-separated. Always copy the exact event name from the platform's event list.\n\n### Tagging revenue as leading\n\n**Failure mode:** Revenue is always lagging — it confirms what happened, it doesn't predict. Tagging it as leading misleads the team into treating a confirmation metric as an early signal. When revenue drops, the problem already happened weeks ago. Leading measures for revenue are things like signup conversion rate, trial starts, or activation rate — those predict where revenue will go.\n\n### Binding a measure but never checking if the event actually fires\n\n**Failure mode:** The binding is configured, the measure shows a number, but the event hasn't fired in 30 days. The number is stale — it reflects a past state, not the current state. The team makes decisions on ghost data. Always verify the event's last fired timestamp before claiming the measure is live.\n\n### Using the same event for two measures with different aggregations without documenting why\n\n**Failure mode:** Measure A counts total `user_signed_up` events. Measure B counts unique users from `user_signed_up`. Both are bound to the same event. When someone changes a filter on Measure A, they don't realize it affects the event stream that Measure B also reads. The two measures silently diverge. If you must reuse an event, document the aggregation difference explicitly in the binding metadata.\n\n### Binding to a PostHog event that was renamed or deprecated\n\n**Failure mode:** PostHog events can be renamed or stop firing after a migration. A binding created 3 months ago may point to an event that no longer exists. The measure shows the last cached value indefinitely. Always re-verify event existence when reviewing a direction cycle — don't assume a binding from last quarter is still valid.\n\n## Validation Criteria\n\nA measure binding is valid when ALL of the following are true:\n\n1. **Event exists:** The exact event name or metric key is confirmed present in the target platform (query the event list, don't guess).\n2. **Event fires:** The event has fired at least once in the last 24 hours (or within the measure's natural cadence — weekly measures can have weekly events).\n3. **Leading\u002Flagging tagged:** The measure has an explicit `leading` or `lagging` tag. No untagged bindings.\n4. **Freshness checked:** The last sync timestamp is within the measure's cadence window (daily measure → last sync \u003C 24h; weekly → \u003C 7d).\n5. **One-to-one:** The measure maps to exactly one binding. If the event is shared, the aggregation difference is documented.\n6. **Metadata recorded:** Platform, event name, aggregation, leading\u002Flagging tag, and last verified date are all stored with the measure.\n7. **Value is non-null:** After binding, fetching the result returns a non-null, non-zero value (zero is acceptable only if zero is the expected value — verify against the platform's own UI).\n\n## Cross-References\n\n- **`posthog-measurements-for-goal-bindings`** — Deep reference for PostHog TrendsQuery construction, math types, and debugging when a binding shows 0\u002Fnull\n- **`hamster-instrumentation`** — Plan-time observability: what to track before building (ensures events exist before binding)\n- **`hamster-analytics`** — Event instrumentation patterns (how to fire events in code)\n- **`break-down-objectives`** — Decomposes goals into strategies and measures with leading\u002Flagging tags\n","# Measure Binding\n\n> Bind OGSM measures to external platforms with leading\u002Flagging tagging and existence validation. Stale bindings produce stale numbers — this skill prevents that.\n\n## When to Invoke\n\n- When binding a measure to an external platform (PostHog, Google Search Console)\n- When a user asks to connect a goal metric to PostHog or Google Search Console\n- When setting up live sync for a measure\n- When a user asks \"is this measure live?\" or \"why is this measure stale?\"\n- During Phase 1 (Set Goals) of the Hamster Company Direction workflow, at the measure-binding step\n\n## Core Guidance\n\n1. **Always verify the event or property exists in the target platform before binding — don't assume.** Query the platform's event list or property registry. If the event doesn't exist or hasn't fired recently, the binding will return zero or null silently. A measure that shows zero because the event doesn't exist is worse than no measure at all — it creates false confidence.\n\n2. **Always tag every bound measure as leading or lagging.** Leading measures predict outcomes (e.g., signup conversion rate predicts revenue). Lagging measures confirm outcomes (e.g., monthly revenue confirms what happened). This tag determines how the team reads the measure: leading measures are for course-correcting, lagging measures are for confirming. A measure without this tag is ambiguous — the team can't tell whether to act or to audit.\n\n3. **Never bind a measure to a vague event name — use the exact event name from the platform.** PostHog events are case-sensitive (`user_signed_up` ≠ `User Signed Up`). Google Search Console uses specific metric keys (`clicks`, `impressions`, `ctr`, `position`). Guessing event names produces bindings that silently return zero.\n\n4. **Always check freshness after binding — if the last sync is stale, the number is stale.** A binding that hasn't synced in 7 days is a stale number presented as live. Check the last sync timestamp. If it's older than the measure's natural cadence (daily measures should sync daily), flag it as stale before reporting.\n\n5. **One measure = one binding — don't reuse a single event for multiple measures without distinct aggregation.** If two measures need the same event, they must differ in aggregation (e.g., total count vs unique users) and the difference must be documented. Reusing the same event with the same aggregation for two measures creates duplicate numbers that diverge when filters change.\n\n6. **Always record the binding metadata.** Platform, exact event\u002Fproperty name, aggregation method, leading\u002Flagging tag, and last verified date. This metadata is the audit trail when a measure breaks or goes stale.\n\n## Concrete Examples\n\n### Example 1: PostHog — Signup Conversion Rate (Leading)\n\n```\nMeasure: Signup Conversion Rate\nStrategy: Grow self-serve pipeline\nPlatform: PostHog\nEvent: user_signed_up\nAggregation: unique_session (count of sessions with signup) \u002F total sessions\nTag: LEADING — predicts revenue\nBinding: TrendsQuery with formula A\u002FB\n  Series A: event=user_signed_up, math=unique_session\n  Series B: event=$pageview, math=unique_session, properties=[path=\u002Fsignup]\n  Formula: A\u002FB\n  Display: BoldNumber\nVerified: event user_signed_up exists in PostHog, last fired \u003C 1h ago\nLast sync: 2025-01-15T14:32:00Z (fresh)\n```\n\n### Example 2: Google Search Console — Organic Clicks (Leading)\n\n```\nMeasure: Organic Search Clicks\nStrategy: Increase organic visibility\nPlatform: Google Search Console\nMetric: clicks (exact key from GSC API)\nAggregation: sum over last 7 days\nTag: LEADING — predicts organic signups\nBinding: GSC searchanalytics.query with dimensions=[date], start_date=-7d\nVerified: GSC property connected, clicks > 0 for last 7 days\nLast sync: 2025-01-15T06:00:00Z (fresh, daily cadence)\n```\n\n### Example 3: PostHog — Monthly Recurring Revenue (Lagging)\n\n```\nMeasure: Monthly Recurring Revenue\nStrategy: Grow revenue from existing accounts\nPlatform: PostHog\nEvent: subscription_activated\nAggregation: sum of properties.monthly_revenue\nTag: LAGGING — confirms revenue outcome\nBinding: TrendsQuery with math=hogql, math_hogql=sum(properties.monthly_revenue)\n  Display: BoldNumber\nVerified: event subscription_activated exists, properties.monthly_revenue present on >95% of events\nLast sync: 2025-01-15T14:32:00Z (fresh)\n```\n\n## Anti-Patterns\n\n### Binding to `signup` when the actual event is `user_signed_up`\n\n**Failure mode:** The binding returns zero because the event name doesn't match. The team sees \"0 signups\" and either panics or ignores the measure. The real event is `user_signed_up` — case-sensitive, underscore-separated. Always copy the exact event name from the platform's event list.\n\n### Tagging revenue as leading\n\n**Failure mode:** Revenue is always lagging — it confirms what happened, it doesn't predict. Tagging it as leading misleads the team into treating a confirmation metric as an early signal. When revenue drops, the problem already happened weeks ago. Leading measures for revenue are things like signup conversion rate, trial starts, or activation rate — those predict where revenue will go.\n\n### Binding a measure but never checking if the event actually fires\n\n**Failure mode:** The binding is configured, the measure shows a number, but the event hasn't fired in 30 days. The number is stale — it reflects a past state, not the current state. The team makes decisions on ghost data. Always verify the event's last fired timestamp before claiming the measure is live.\n\n### Using the same event for two measures with different aggregations without documenting why\n\n**Failure mode:** Measure A counts total `user_signed_up` events. Measure B counts unique users from `user_signed_up`. Both are bound to the same event. When someone changes a filter on Measure A, they don't realize it affects the event stream that Measure B also reads. The two measures silently diverge. If you must reuse an event, document the aggregation difference explicitly in the binding metadata.\n\n### Binding to a PostHog event that was renamed or deprecated\n\n**Failure mode:** PostHog events can be renamed or stop firing after a migration. A binding created 3 months ago may point to an event that no longer exists. The measure shows the last cached value indefinitely. Always re-verify event existence when reviewing a direction cycle — don't assume a binding from last quarter is still valid.\n\n## Validation Criteria\n\nA measure binding is valid when ALL of the following are true:\n\n1. **Event exists:** The exact event name or metric key is confirmed present in the target platform (query the event list, don't guess).\n2. **Event fires:** The event has fired at least once in the last 24 hours (or within the measure's natural cadence — weekly measures can have weekly events).\n3. **Leading\u002Flagging tagged:** The measure has an explicit `leading` or `lagging` tag. No untagged bindings.\n4. **Freshness checked:** The last sync timestamp is within the measure's cadence window (daily measure → last sync \u003C 24h; weekly → \u003C 7d).\n5. **One-to-one:** The measure maps to exactly one binding. If the event is shared, the aggregation difference is documented.\n6. **Metadata recorded:** Platform, event name, aggregation, leading\u002Flagging tag, and last verified date are all stored with the measure.\n7. **Value is non-null:** After binding, fetching the result returns a non-null, non-zero value (zero is acceptable only if zero is the expected value — verify against the platform's own UI).\n\n## Cross-References\n\n- **`posthog-measurements-for-goal-bindings`** — Deep reference for PostHog TrendsQuery construction, math types, and debugging when a binding shows 0\u002Fnull\n- **`hamster-instrumentation`** — Plan-time observability: what to track before building (ensures events exist before binding)\n- **`hamster-analytics`** — Event instrumentation patterns (how to fire events in code)\n- **`break-down-objectives`** — Decomposes goals into strategies and measures with leading\u002Flagging tags\n",{"name":5,"version":24,"category":25,"description":7},"1.0.0","Ops","main","fe3bb1476c3ec23d8a366eac0fa8cd9f0852360a","skills\u002F.experimental\u002Fmeasure-binding",0,"https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills","https:\u002F\u002Fgithub.com\u002Fgethamster","https:\u002F\u002Ftryhamster.com","We're building the AI-native future of work, unlocking the promised acceleration for your whole team, from idea to impact.","2026-11-05 11:33:33",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add gethamster\u002Fskills --skill measure-binding",{"tool":41,"command":42},"bunx","bunx skills add gethamster\u002Fskills --skill measure-binding",{"tool":44,"command":45},"pnpm","pnpm dlx skills add gethamster\u002Fskills --skill measure-binding","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F.experimental\u002Fmeasure-binding\u002FSKILL.md",true,[],[50,57,64,71,78,85],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M7B5MWYW0KE251276S56KQDZ","writing-waterfall-requirements-documents","Write a waterfall requirements document: elicit, structure and review testable, traceable requirements, then baseline the specification before design.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-waterfall-requirements-documents\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7B5MRCXWWPKREPB1CHQ7H90","writing-vision-and-values-statements","Write a V2MOM vision a reader can test and a ranked list of values that settles real tradeoffs, so the rest of the document has a clear anchor.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-vision-and-values-statements\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7B5MKH2CH22YZAHQW3080VQ","writing-system-prompts-for-claude","Write Claude prompts and CLAUDE.md files that supply exact inputs, scope the task, and define done so the first attempt can be checked.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-system-prompts-for-claude\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7B5ME1Y3X9RNRKP5HKHKACZ","writing-page-specific-website-copy","Website copywriting by page type: write homepage, landing page, pricing page and feature page copy that fits each page's visitor and single job.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-page-specific-website-copy\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7B5M8MQNM8MN8PYH6BVWJ2B","writing-internal-press-releases","How to write an internal press release: the one-page working backwards press release that opens a PR\u002FFAQ document before anything is built.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-internal-press-releases\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7B5M3P3YH1XF37R8PWXXSBK","writing-email-sequences-that-sell","Email sequence copywriting for nurture and sales: give each email one job, write clear subject lines, and close with one specific call to action.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-email-sequences-that-sell\u002FSKILL.md",[],[]]