Product analytics

Analyze bounded product funnel and retention evidence with deterministic rates, explicit measurement definitions and source-bound recommendations; expose instrumentation and comparison gaps without claiming lift.

You’re reading version sha-fbcd9d1131d4. Go to the current version

Overview

Explain where a defined product journey loses people or accounts, what the retention evidence shows, and which measurement or product change to consider. This skill covers activation and product usage. organic-growth owns search and acquisition strategy; it may consume the relevant findings.

analyze accepts supplied governed aggregate counts. Retrieve a saved insight through a selected PostHog connector, or use another provider, before invoking this skill. Preserve the actual report and its source digest; do not invent counts to fit the input. This runner does not query a provider, execute SQL, capture events, change instrumentation or create tasks.

In the manual

Runner

  • analyze

Declared by its execution profile. Read the profile

SKILL.md

Product analytics

Explain where a defined product journey loses people or accounts, what the retention evidence shows, and which measurement or product change to consider. This skill covers activation and product usage. organic-growth owns search and acquisition strategy; it may consume the relevant findings.

analyze accepts supplied governed aggregate counts. Retrieve a saved insight through a selected PostHog connector, or use another provider, before invoking this skill. Preserve the actual report and its source digest; do not invent counts to fit the input. This runner does not query a provider, execute SQL, capture events, change instrumentation or create tasks.

Measurement admission

Each report carries the definition its own source was computed under: product, timezone, person/account identity, cohort, filters, funnel rule and retention rule. Read it from that report's saved query; never copy one report's definition onto another. Funnel counts must count the same eligible entities through ordered steps, not independent event totals. Retention needs an explicit eligible cohort and return period. Mark incomplete provider results incomplete. Retain observation time; a cached PostHog result is not fresh merely because its HTTP read happened today.

The pure calculation step preserves counts and computes rates. Zero eligible entities produce null, not a measured 0% conversion or retention rate. Ordered counts cannot increase and retained entities cannot exceed the eligible cohort. Compare a baseline only when its definition equals the current definition field for field, with the same ordered events and retention period over an equal-duration, nonoverlapping window. Rate changes are percentage points, never mislabeled relative percentage lift. Missing denominators, incompatible definitions or incomplete reports withhold recommendations and expose the measurement gap.

Interpretation

Use the deterministic rates; do not replace or round them into different facts. Distinguish observations, hypotheses and actions. Concentrate on the consequential drop-off, plausible instrumentation problems and a small next experiment. A change between periods does not establish causality or statistical significance. Counts alone cannot establish sample comparability, seasonality or experiment validity. Do not average cohort percentages or claim significance without the actual method and experiment evidence. State those limits when relevant.

Each material finding and proposed action must cite admitted source digests. Recommend a concrete measurement, owner role and stop/reconsider condition; do not invent a named owner, deadline, revenue impact or work already completed. Native evidence verification binds the resulting review to the exact measurement context. The calling application owns continuing work, scheduling and approved changes.

Agent task contract

product-analytics-analyze

Return analytics_candidate with decision: ready, the exact objective, a concise summary, findings and limitations. Each finding has claim, kind (observed, hypothesis or action) and source_digests. An action also has measurement, owner_role and stop_condition. Every finding and action is verified through the same native claim binding. Cite only admitted digests. Explain zero denominators and uncertainty plainly. Return needs_more_evidence when the bounded evidence cannot support useful recommendations. Never claim execution.

Published execution profile

The execution profile published with sha-fbcd9d1131d4, shown as its exact bytes.

Runner
  • analyze
Profile digestsha256:14eac9c3ef17cfcec7fe28c50867fecaf2f60ab7702fc610a2c4c566ea1d3b55
skill: product-analytics
version: "0.1.4"
catalog:
  kind: graph
  audience: public
  visibility: public
  role: canonical
  execution: plan
  completion: runtime_receipt
  approval: none
  category: data
runners:
  analyze:
    default: true
    inputs:
      objective:
        type: string
        required: true
        description: Bounded product decision to support.
        schema: {minLength: 1, maxLength: 2000}
      reports:
        type: array
        required: true
        description: Current and optional baseline aggregate evidence; preserve native source digest, the
          measurement definition that source was computed under and actual cache observation time.
        schema:
          minItems: 1
          maxItems: 2
          items:
            type: object
            additionalProperties: false
            required:
            - name
            - window
            - definition
            - source_digest
            - observed_at
            - complete
            properties:
              name: {enum: [current, baseline]}
              window:
                type: object
                additionalProperties: false
                required:
                - start_at
                - end_at
                properties:
                  start_at: {type: string, format: date-time}
                  end_at: {type: string, format: date-time}
              definition:
                type: object
                additionalProperties: false
                required:
                - product
                - identity
                - time_zone
                - cohort
                - filters
                - funnel_rule
                - retention_rule
                properties:
                  product: {type: string, minLength: 1, maxLength: 200}
                  identity: {enum: [person, account]}
                  time_zone: {type: string, minLength: 1, maxLength: 100}
                  cohort: {type: string, minLength: 1, maxLength: 2000}
                  filters: {type: string, minLength: 1, maxLength: 2000}
                  funnel_rule: {type: string, minLength: 1, maxLength: 2000}
                  retention_rule: {type: string, minLength: 1, maxLength: 2000}
              source_digest: {type: string, pattern: '^sha256:[0-9a-f]{64}$'}
              observed_at: {type: string, format: date-time}
              complete: {type: boolean}
              funnel:
                type: object
                additionalProperties: false
                required:
                - steps
                properties:
                  steps:
                    type: array
                    minItems: 2
                    maxItems: 12
                    items:
                      type: object
                      additionalProperties: false
                      required:
                      - event
                      - count
                      properties:
                        event: {type: string, minLength: 1, maxLength: 300}
                        count: {type: integer, minimum: 0, maximum: 9007199254740991}
              retention:
                type: object
                additionalProperties: false
                required:
                - period
                - eligible
                - returned
                properties:
                  period: {type: string, minLength: 1, maxLength: 200}
                  eligible: {type: integer, minimum: 0, maximum: 9007199254740991}
                  returned: {type: integer, minimum: 0, maximum: 9007199254740991}
            anyOf:
            - {required: [funnel]}
            - {required: [retention]}
    result_from:
    - calculate
    - finalize
    steps:
    - id: calculate
      tool: {module: product-analytics.mjs, export: calculateMetrics}
      inputs: {objective: $input.objective, reports: $input.reports}
      outputs:
        metric_context:
          type: object
          schema:
            additionalProperties: false
            required:
            - decision
            - objective
            - reports
            - comparison
            - source_digests
            - blockers
            properties:
              decision: {enum: [ready, needs_more_evidence]}
              objective: {type: string, minLength: 1, maxLength: 2000}
              reports:
                type: array
                maxItems: 2
                items:
                  type: object
                  additionalProperties: false
                  required:
                  - name
                  - window
                  - definition
                  - observed_at
                  - source_digest
                  - complete
                  - funnel
                  - retention
                  properties:
                    name: {enum: [current, baseline]}
                    window:
                      type: object
                      additionalProperties: false
                      required:
                      - start_at
                      - end_at
                      properties:
                        start_at: {type: string, format: date-time}
                        end_at: {type: string, format: date-time}
                    definition:
                      type: object
                      additionalProperties: false
                      required:
                      - product
                      - identity
                      - time_zone
                      - cohort
                      - filters
                      - funnel_rule
                      - retention_rule
                      properties:
                        product: {type: string, minLength: 1, maxLength: 200}
                        identity: {enum: [person, account]}
                        time_zone: {type: string, minLength: 1, maxLength: 100}
                        cohort: {type: string, minLength: 1, maxLength: 2000}
                        filters: {type: string, minLength: 1, maxLength: 2000}
                        funnel_rule: {type: string, minLength: 1, maxLength: 2000}
                        retention_rule: {type: string, minLength: 1, maxLength: 2000}
                    observed_at: {type: string, format: date-time}
                    source_digest: {type: string, pattern: '^sha256:[0-9a-f]{64}$'}
                    complete: {type: boolean}
                    funnel:
                      type: array
                      maxItems: 12
                      items:
                        type: object
                        additionalProperties: false
                        required:
                        - event
                        - count
                        - conversion_from_entry
                        - conversion_from_previous
                        - lost_from_previous
                        properties:
                          event: {type: string, minLength: 1, maxLength: 300}
                          count: {type: integer, minimum: 0, maximum: 9007199254740991}
                          conversion_from_entry: {type: [number, 'null'], minimum: 0, maximum: 1}
                          conversion_from_previous: {type: [number, 'null'], minimum: 0, maximum: 1}
                          lost_from_previous: {type: [integer, 'null'], minimum: 0, maximum: 9007199254740991}
                    retention:
                      type:
                      - object
                      - 'null'
                      additionalProperties: false
                      required:
                      - period
                      - eligible
                      - returned
                      - rate
                      properties:
                        period: {type: string, minLength: 1, maxLength: 200}
                        eligible: {type: integer, minimum: 0, maximum: 9007199254740991}
                        returned: {type: integer, minimum: 0, maximum: 9007199254740991}
                        rate: {type: [number, 'null'], minimum: 0, maximum: 1}
              comparison:
                type:
                - object
                - 'null'
                additionalProperties: false
                required:
                - funnel
                - retention_change_percentage_points
                properties:
                  funnel:
                    type: array
                    maxItems: 12
                    items:
                      type: object
                      additionalProperties: false
                      required:
                      - event
                      - conversion_change_percentage_points
                      properties:
                        event: {type: string, minLength: 1, maxLength: 300}
                        conversion_change_percentage_points: {type: [number, 'null'], minimum: -100, maximum: 100}
                  retention_change_percentage_points: {type: [number, 'null'], minimum: -100, maximum: 100}
              source_digests:
                type: array
                minItems: 1
                maxItems: 2
                uniqueItems: true
                items: {type: string, pattern: '^sha256:[0-9a-f]{64}$'}
              blockers:
                type: array
                maxItems: 40
                items: {type: string, minLength: 1, maxLength: 1000}
    - id: digest
      when: {value: $steps.calculate.metric_context.decision, equals: ready}
      tool: data.digest
      inputs: {value: $steps.calculate.metric_context}
    - id: analyze
      when: {value: $steps.calculate.metric_context.decision, equals: ready}
      agent: {role: product_analyst, task: product-analytics-analyze}
      inputs: {metric_context: $steps.calculate.metric_context}
      outputs:
        analytics_candidate:
          type: object
          schema:
            additionalProperties: false
            required:
            - decision
            - objective
            - summary
            - findings
            - limitations
            properties:
              decision: {enum: [ready, needs_more_evidence]}
              objective: {type: string, minLength: 1, maxLength: 2000}
              summary: {type: string, maxLength: 4000}
              findings:
                type: array
                maxItems: 30
                items:
                  type: object
                  additionalProperties: false
                  required:
                  - claim
                  - kind
                  - source_digests
                  properties:
                    claim: {type: string, minLength: 1, maxLength: 2000}
                    kind: {enum: [observed, hypothesis, action]}
                    source_digests:
                      type: array
                      minItems: 1
                      maxItems: 2
                      uniqueItems: true
                      items: {type: string, pattern: '^sha256:[0-9a-f]{64}$'}
                    measurement: {type: string, minLength: 1, maxLength: 2000}
                    owner_role: {type: string, minLength: 1, maxLength: 200}
                    stop_condition: {type: string, minLength: 1, maxLength: 2000}
                  if:
                    properties:
                      kind: {const: action}
                  then: {required: [measurement, owner_role, stop_condition]}
              limitations:
                type: array
                maxItems: 40
                items: {type: string, minLength: 1, maxLength: 2000}
    - id: finalize
      when: {value: $steps.calculate.metric_context.decision, equals: ready}
      tool: evidence.verify_artifact
      inputs:
        artifact_name: product_analytics_review
        candidate: $steps.analyze.analytics_candidate
        claim_bindings: $steps.analyze.analytics_candidate.findings
        source_digests: $steps.calculate.metric_context.source_digests
        required_paths:
        - summary
        required_value_bindings:
        - {candidate_path: objective, source_path: objective}
        identity_source: $steps.calculate.metric_context
        authoritative_fields: {external_status: not_executed, measurement_digest: $steps.digest.digest_result.digest}
        fallback_artifact:
          decision: needs_more_evidence
          objective: ''
          summary: Interpretation withheld because its evidence bindings did not validate.
          findings: []
          limitations: []
          external_status: not_executed
          measurement_digest: $steps.digest.digest_result.digest
        fallback_bindings:
        - {target_path: objective, source_path: objective}
        - {target_path: limitations, source_path: blockers}
        fallback_source: $steps.calculate.metric_context
      outputs:
        product_analytics_review:
          type: object
          schema:
            additionalProperties: false
            required:
            - decision
            - objective
            - summary
            - findings
            - limitations
            - external_status
            - validation
            - measurement_digest
            properties:
              decision: {enum: [ready, needs_more_evidence]}
              objective: {type: string, minLength: 1, maxLength: 2000}
              summary: {type: string, maxLength: 4000}
              findings:
                type: array
                maxItems: 30
                items:
                  type: object
                  additionalProperties: false
                  required:
                  - claim
                  - kind
                  - source_digests
                  properties:
                    claim: {type: string, minLength: 1, maxLength: 2000}
                    kind: {enum: [observed, hypothesis, action]}
                    source_digests:
                      type: array
                      minItems: 1
                      maxItems: 2
                      uniqueItems: true
                      items: {type: string, pattern: '^sha256:[0-9a-f]{64}$'}
                    measurement: {type: string, minLength: 1, maxLength: 2000}
                    owner_role: {type: string, minLength: 1, maxLength: 200}
                    stop_condition: {type: string, minLength: 1, maxLength: 2000}
                  if:
                    properties:
                      kind: {const: action}
                  then: {required: [measurement, owner_role, stop_condition]}
              limitations:
                type: array
                maxItems: 40
                items: {type: string, minLength: 1, maxLength: 2000}
              external_status: {const: not_executed}
              validation:
                type: object
                additionalProperties: true
                required:
                - status
                - findings
                properties:
                  status: {enum: [pass, fail]}
                  findings:
                    type: array
                    items: {type: object, additionalProperties: true}
              measurement_digest: {type: string, pattern: '^sha256:[0-9a-f]{64}$'}
      artifacts:
        named_emits: {product_analytics_review: product_analytics_review}
      scopes:
      - runx:evidence:read

harness:
  files: [fixtures/support/composed.graph]
  cases: []

Published package and test evidence.

This exact version passed its recorded harness run: 5 checks passed · 0 failed.

Test result

Harness resultPassed
Tested versionsha-fbcd9d1131d4
Recorded result5 checks passed · 0 failed
Result sourceReported by the publisher (runx_registry_publish)
Suiterunx-harness
Test recorded
Test recordOpen the recorded run
Inspect receipt referencessha256:8fc2fdbdb24bcf90a66d78c6e88708a034bde0fbadf0c70164ccb5a44ad54021sha256:df97af0d46b5a02f2fb6884fbc4054ab9ac38809c7b50d1741220eb2f893df1bsha256:2637dc5dff652645aeb6212e65afc54a17ebaa12445aa4b01caebf56ae0ea270sha256:23484fef5dbd7ce9510ed663897343db91ddc1fbfefbad0b880e379d08a5bf9bsha256:43fadd5ea72db6f1cef9e77ad2cb183ef1c66e4f44961d51f89e806d362f8a3c

Package identity

Published revisionsha-fbcd9d1131d4
Content digestsha256:fbcd9d1131d40bb4e369ed622ad7c947d9f72d43eefa07c2203d6e6fb5374355
SKILL.md digestsha256:f404b1cfcecf25f19514c8f79d254f6970553593854901de682044308d043e97
Execution profile digestsha256:14eac9c3ef17cfcec7fe28c50867fecaf2f60ab7702fc610a2c4c566ea1d3b55
Publisher identityVerified publisher · runx
Trust tierVerified publisherRunx has verified this publisher. This tier is not a code assessment.
Attestations
  • Publisher · Verifiedrunx · 17 Oct 2026
Source provenanceNot published with this version

Version history

  1. 0.1.5Content digest sha256:d3a51ba3bd07cae7f5229f64bc78e6be5258879def0dc901fcad1ae628ef20db
  2. sha-d3a51ba3bd07Content digest sha256:d3a51ba3bd07cae7f5229f64bc78e6be5258879def0dc901fcad1ae628ef20db
  3. sha-fbcd9d1131d4ViewingContent digest sha256:fbcd9d1131d40bb4e369ed622ad7c947d9f72d43eefa07c2203d6e6fb5374355
  4. sha-8293574d6604Content digest sha256:8293574d6604dd82d17531eeb1b1ccbc0bb80a8aebe37021257acaf20ec70441
  5. sha-60f48f787529Content digest sha256:667944e5383a25fad0c09d85074fb43e2ec88dc93d3c1f96b940507c3b750706
  6. sha-919e4e6cb258Content digest sha256:0673ab0654b05e7c39656a7feb693a3e1e962fae4bd2a1d18a5aa696fcbabb7d