marketing-measurement
Audits and computes offline marketing measurement scorecards, cohort activation, repeat rates, cash efficiency, and capacity metrics without fabricated ROI…
от HoangNguyen0403★ 598 звёзд на GitHub
Установить marketing-measurement в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Marketing Measurement Standard
Priority: P0 (CRITICAL)
Evaluate marketing campaign outcomes using deterministic offline accounting, exact 14-day cohort maturity windows, explicit consent filtering, and immutable source-bound contracts. Never confuse correlation with causal ROI or convert labor capacity into cash benefits.
Core Rules
- Explicit Eligibility & Consent:
- Only participants with
role: "external"andconsent: "granted"enter adoption calculations. - Non-consented, withdrawn, bot, maintainer, and evaluator records must be excluded and tracked under
excluded_participants.
- Only participants with
- Half-Open Windows & Occurrence Cutoff:
- Campaign acquisition and cost windows are strictly half-open $[T_{\text{start}}, T_{\text{end}})$.
- Effective occurrence cutoff is $\min(T_{\text{as_of}}, T_{\text{coverage_end}})$. Reports with $T_{\text{reported}} > T_{\text{as_of}}$ or $T_{\text{occurred}} > \text{effective_cutoff}$ do not contribute.
- Activation & Exact 14-Day Maturity:
- Starters must not follow activations. Earliest qualifying activation is $a$.
- Maturity is reached exactly at $a + 14 \times 86400 \text{ s}$. Immature activations ($T_{\text{cutoff}} < T_{\text{maturity}}$) are excluded from mature repeat denominators.
- Qualifying repeat requires a distinct UTC calendar date from $a$ and $a < T_{\text{occurred}} \le a + 14\text{ days}$.
- Three-Way Mature Partition:
- Partition mature activated participants into: confirmed repeat, full-window no-return ($T_{\text{occurred}} \ge T_{\text{maturity}}$), and unknown.
- Contradictory qualifying repeat plus full-window no-return rejects the snapshot; never resolve via newest-wins.
- Cash vs Capacity Separation:
- Treat cash costs and developer hours as distinct non-convertible metrics. Never book capacity savings as cash revenue or margin.
- Preserve capacity hours at exact four-decimal precision:
0.0001hours renders0.000100, never0.000000. - Known zero cash cost with positive denominator yields
0.000000cash efficiency while preserving visible capacity hours.
- Zero Denominator & ROI Precedence:
- Zero denominator yields status
unavailablewith explicit reason (zero_starter_denominator,zero_mature_denominator,zero_repeat_denominator), never0.000000orNaN. - Missing baseline is
unavailablewith reasonbaseline_unknown. - ROI precedence: unknown cost $\to$ zero cost (
undefined,zero_cost) $\to$ unknown benefit (unavailable,unknown_benefit).
- Zero denominator yields status
- Privacy & Public Redaction:
- Never echo private participant keys, report IDs, task code text, or host file paths in public JSON, Markdown, or error diagnostics.
- Map provenance to designated public aliases and lowercase SHA-256 digests.
- Project identity and provenance only after full schema validation and hash verification; invalid input emits null identity, empty provenance, and
public_identity_unavailable.
- Exact Source Binding:
- Every task, cohort, cost-mapping, and metric reference binds an exact current ledger
id:revisionwith an availableSRClocator SHA equal to the verified source bytes. Never resolve by ID alone or accept a historical revision as current. - Apply the shipped JSON Schema documents to input and output; parse success alone is not conformance.
- Preflight both PM scripts and their schema assets in standard or flattened installed layouts.
- Every task, cohort, cost-mapping, and metric reference binds an exact current ledger
CLI Invocation
Execute the local deterministic reporting CLI:
node <agent-skill-root>/skills/marketing/marketing-measurement/scripts/report-marketing.mjs \
<absolute-input.json> \
--authority-root <absolute-narrow-initiative-root> \
--as-of <UTC-instant> \
--format json|markdown
Anti-Patterns
- No Output as Outcome: Never report landing page visits or raw code delivery as verified adoption.
- No Same-Day Repeat: Never count second sessions on the same UTC calendar day as cohort repeat use.
- No Fabricated ROI: Never invent financial returns for unmonetized open-source adoption.
- No Leaked Identifiers: Never include participant keys or private file system paths in error messages or scorecards.
References
- Measurement Contract — Metric formulas, denominator rules, and ratio precisions.
- Fixture Resources — Synthetic test fixtures and edge cases.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- assets/measurement-input.schema.json
- assets/scorecard.schema.json
- evals/evals.json
- references/fixture-resources.md
- references/measurement-contract.md
- scripts/report-marketing.mjs
FAQ
Что делает скилл marketing-measurement?
Audits and computes offline marketing measurement scorecards, cohort activation, repeat rates, cash efficiency, and capacity metrics without fabricated ROI. Use when evaluating campaign outcomes, computing cohort retention ratios, or generating marketing scorecards. (triggers: `marketing scorecard`, `campaign measurement`, `cohort activation rate`)
Как установить скилл marketing-measurement?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл marketing-measurement запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
gtm-enterprise-account-planning
GitHubStrategic account planning and execution for enterprise deals. Use when planning complex sales cycles, managing multiple stakeholders, applying MEDDICC…
gtm-partnership-architecture
GitHubBuild and scale partner ecosystems that drive revenue and platform adoption. Use when building partner programs from scratch, tiering partnerships, managing…
landing-page-conversion-audit
GitHubAudit a landing page, sales page or checkout page for conversion leaks and return a fix list ordered by expected revenue impact. Use when asked to review…
power-platform-architect
GitHubUse this skill when the user needs to transform business requirements, use case descriptions, or meeting transcripts into a technical Power Platform solution…