Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

ptengine-heatmap-analyzeptengine 热图分析

Agent Skill

ptengine-heatmap-analyze 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

5,269

周安装

206

GitHub Stars

公开资料未说明

下载量

1,509
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ptengine-heatmap-analyze(ptengine 热图分析)
来源仓库:https://github.com/zhaichen/ptengine-heatmap-analyze
安装命令:
openclaw skills install ptengine-heatmap-analyze
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install ptengine-heatmap-analyze

简介

用于分析 Ptengine 热图数据,支持自动化 CRO 行为分析流程。

  • 适用于网站或应用的用户行为研究与界面优化决策支持。
  • 结合 ptengine-cli 获取原始热图数据并执行四阶段心理学模型分析。
  • 安装命令:openclaw skills install ptengine-heatmap-analyze,需预先安装 ptengine-cli。
  • 使用时请验证 API 密钥有效性及服务端点连通性。

SKILL.md

name
heatmap-analyze
description
>

Ptengine Heatmap Analysis

You are an expert CRO (Conversion Rate Optimization) analyst using Ptengine heatmap data. This skill bundles the analysis methodology (4-stage psychology model), quality constraints, and output schemas. Heatmap data is fetched via ptengine-cli, an external open-source tool the user installs themselves (see Phase 0).

Requirements and Capability Disclosure

This skill is transparent about every external dependency and resource it touches. Nothing here is hidden; all are listed so the user and any security review can verify expected behavior.

ResourcePurposeWho reads / writes
ptengine-cli (external CLI)Queries Ptengine Open API for heatmap dataUser installs; skill invokes it as a subprocess
~/.config/ptengine-cli/config.yamlStores the API key the user configuredWritten and read only by ptengine-cli. Skill only checks api_key: exists to decide whether to prompt for setup
PTENGINE_API_KEY env var (optional)Alternative to the config fileRead only by ptengine-cli. Skill never accesses it
Ptengine Open API (https://xbackend.ptengine.com)Source of heatmap metricsContacted by ptengine-cli, not by the skill directly

What this skill does NOT do:

  • Does not install ptengine-cli for the user (no bundled installer, no curl | sh)
  • Does not read, parse, or transmit the contents of config.yaml or PTENGINE_API_KEY
  • Does not access any URL other than the Ptengine API via the CLI
  • Does not scrape the target webpage or use browser-automation tools (see Data Source Boundary)
  • Does not require any other environment variables, credentials, or file-system access
  • Does not execute purchases, payments, checkouts, or any transaction. Words like "purchase",

"buy", "add to cart", and "checkout" appear throughout this skill because it analyzes the purchase funnel on a target webpage — they refer to user behavior being measured, not actions the skill itself performs.

  • Does not perform cryptography, key generation, hashing, encryption/decryption, or any

crypto-currency / blockchain operations. Credential storage is delegated entirely to ptengine-cli, which this skill only invokes as a subprocess.


Skill Contents

heatmap-analyze/
├── SKILL.md                           # This file — workflow orchestration
└── references/
    ├── ptengine-cli.md                # CLI command reference and output format
    ├── data-transform.md              # Field mapping, tag/ranking computation
    ├── page-classification.md         # 7 page type definitions and classification
    ├── block-analysis.md              # Block content + stage classification (4-phase model)
    ├── quality-constraints.md         # Metric dictionary, evidence policy, terminology
    ├── page-types.md                  # Per-page-type interpretation guide
    ├── single-page-task.md            # Single page analysis task + schema
    ├── compare-task.md                # Segment comparison task + schema
    ├── ab-test-task.md                # A/B test validation task + schema
    ├── ad-performance.md              # Ad source quadrant analysis + schema
    └── audience-analysis.md           # Audience segment analysis + schema

Data Source Boundary

The only authoritative data source for this skill is ptengine-cli. All metrics, block identifiers, block content, and page structure MUST come from its responses.

Do not access the target URL through any other channel, including:

  • browser_*, screenshot, computer, any Playwright MCP (mcp__playwright__*),

or any other browser-automation tool

  • http GET / WebFetch against the target URL to scrape HTML or assets

Why it matters (not just a preference): ptengine-cli returns aggregated behavior over the selected date range. The live page may have been edited — blocks added, removed, or reordered — since those users visited. Mixing a live scrape with historical aggregate data produces misleading analysis (e.g. attributing a low dwell time to copy that did not exist when the data was collected).

If block content information is genuinely missing from ptengine-cli's response, ask the user — do not fetch the page yourself.

Analysis Types

TypeDescriptionWhen to use
single_pageDeep single-page behavior analysisDefault. "How are users behaving on this page?"
compareCross-segment comparison"Compare new vs returning visitors"
ab_testA/B test hypothesis validation"Which version won and why?"
ad_performanceAd source quadrant analysis"Which ad channels are performing?"
audience_analysisAudience segment characteristics"Who is visiting and how do they differ?"

Pipeline

Phase 0: Prerequisites + Parameters
Phase 1: Data Fetch (ptengine-cli)
Phase 2: Page Classification
Phase 3: Data Enrichment (block content + phase assignment)
Phase 4: Input Assembly (transform to analysis format)
Phase 5: Analysis (apply methodology from references/)
Phase 6: Results Presentation

Phase 0: Prerequisites and Parameters

Check ptengine-cli

Run these checks in order:

  1. Is it installed? command -v ptengine-cli
  2. Is it configured? Check that $HOME/.config/ptengine-cli/config.yaml exists

and contains an api_key: entry.

Branch on the result:

  • Installed + configured → proceed to parameter collection.
  • Installed but not configured → ask the user for their API Key and Profile ID,

then run: ptengine-cli config set --api-key <KEY> --profile-id <ID>

  • Not installed → follow the "Install ptengine-cli" procedure below, then configure.

Install ptengine-cli

ptengine-cli is an external open-source tool. This skill does not ship an installer and does not fetch or execute install scripts itself.

When the user needs to install it, show them this message (do not run anything yourself):

ptengine-cli is not installed. Please install it from the upstream repository: <https://github.com/Kocoro-lab/ptengine-cli> Prebuilt binaries (recommended): <https://github.com/Kocoro-lab/ptengine-cli/releases> Follow the install instructions in the repo's README. Once installed, tell me and I'll continue.

After the user reports install is done, verify with ptengine-cli version. If not found, ask them to check $PATH.

Collect Parameters

ParameterRequiredDefaultNotes
URLYesPage URL to analyze
Date rangeYesLast 30 daysYYYY-MM-DD
Analysis typeYessingle_page5 types above
Device typeFor block dataMOBILEPC or MOBILE (block_metrics cannot use ALL)
LanguageNoENGLISHCHINESE / ENGLISH / JAPANESE
Conversion nameNoFuzzy match for conversion metrics

For compare: which segments to compare (e.g. new vs returning visitors) For ab_test: campaign name, type (inline/popup/redirect), version info


Phase 1: Data Fetch

Read references/ptengine-cli.md for full command reference.

Core commands

# Page-level metrics
ptengine-cli heatmap query --query-type page_metrics \
  --url "<URL>" --start-date <START> --end-date <END> --output json

# Block-level metrics (MUST specify device type)
ptengine-cli heatmap query --query-type block_metrics \
  --url "<URL>" --start-date <START> --end-date <END> \
  --device-type <PC|MOBILE> --output json

# Dimension-grouped insights (for ad/audience analysis)
ptengine-cli heatmap query --query-type page_insight \
  --url "<URL>" --fun-name <sourceType|visitType|terminalType> \
  --start-date <START> --end-date <END> --output json

# Filtered data (for compare)
ptengine-cli heatmap query --query-type block_metrics \
  --url "<URL>" --start-date <START> --end-date <END> \
  --device-type MOBILE --filter "visitType include newVisitor" --output json

Error handling

  • "success": false → show error message and hint
  • Rate limited → check rateLimit.remainingMinute, wait if needed
  • No data → suggest checking URL and date range

Data preprocessing (important)

ptengine-cli returns all metric values as formatted strings (e.g. "6,777", "55.08%", "3m 13s"), not raw numbers. Before proceeding to analysis, parse these strings into numeric values following the rules in references/data-transform.md § "Value format parsing". Getting this step wrong will produce incorrect analysis — pay special attention to percentage values (already percentages, do NOT multiply by 100 again) and duration formats (page-level uses "Xm Ys", block-level uses "Xs").


Phase 2: Page Classification

Read references/page-classification.md for full criteria.

Classify the URL into one of 7 types and map to internal key:

ResultKeyNotes
Sales Landing Pagesales_lp or ad_lpad_lp if ad traffic >50%
Article LParticle_lp
Product Detail Pagepdp
Homepagehomepage
Campaign / Promotionsales_lp
Other Contentother_content
Other Functionother_function

If uncertain, ask the user.


Phase 3: Data Enrichment

Read references/block-analysis.md for the 4-phase psychology model and module categories.

3a. Block Content Analysis

For each block, determine module_category, content_summary, marketing_intent using the module categories for the detected page type.

3b. Block Stage Classification

Assign each block to phase 1-4 using the criteria in block-analysis.md. Load the correct phase names for the page_type and language from the phase name tables.

Use block_name and block position as primary signals when screenshots are not included in ptengine-cli's response. Do not obtain screenshots by other means (see Data Source Boundary).


Phase 4: Input Assembly

Read references/data-transform.md for detailed field mapping, tag computation, and ranking algorithms.

Key steps:

  1. Assemble base_metric from page_metrics response
  2. Assemble block_data[] from block_metrics + Phase 3 enrichment
  3. Compute tags (High/Medium/Low) and rankings if not provided by API
  4. For ad/audience analysis: compute quadrant assignments

Phase 5: Execute Analysis

Based on analysis type, read the corresponding reference and follow its methodology:

TypeReference fileKey output fields
single_pagereferences/single-page-task.mdcore_insight, narrative_structure, barriers, opportunities
comparereferences/compare-task.mdmacro_performance, narrative_comparison, barriers/opportunities per segment
ab_testreferences/ab-test-task.mdcore_conclusion, hypothesis_validation with win_version_index
ad_performancereferences/ad-performance.mdcore_insights.summary, ad_performance_overview.description
audience_analysisreferences/audience-analysis.mdcore_insights.summary, user_profile.description

Before writing analysis, also read:

  • references/page-types.md — interpretation guide for the detected page type
  • references/quality-constraints.md — metric dictionary, evidence policy, terminology enforcement

Critical quality gates (always apply)

  1. Full block coverage: ALL blocks must appear in narrative structure (no omissions)
  2. Directional consistency: Verify metric direction language matches the direction table
  3. Evidence grounding: Always cite dwell + exit, use hedging for causal claims
  4. No technical leaks: No block_ids, camelCase keys, or raw tags in output text
  5. Language purity: No mixed-language output; apply terminology enforcement
  6. Source separation: fvDropOffRate from base_metric only; exitRate from block_data only
  7. Low sample warning: If total visits < 100 or a block's impressionRate is very low (< 10%),

note the limited data confidence in the analysis. Metrics from very few sessions can be misleading.


Phase 6: Present Results

Output a human-readable Markdown report in the target language — not JSON. The report is for marketing practitioners, CRO specialists, and site operators who need actionable insights.

Each analysis type has its own report template defined in the corresponding reference file. The general structure is:

  1. Core finding — the single most important insight, prominently displayed
  2. Detailed analysis — phase-by-phase narrative (behavior tasks) or structured comparison
  3. Barriers and opportunities — clearly separated with supporting data
  4. Improvement suggestions — 1-3 concrete, actionable recommendations
  5. Next steps — offer to run a different analysis type, compare segments, or save results

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

70.74%
按下载量换算1,067

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills