unityclaw-media-data-engagement
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "unityclaw-media-data-engagement":https://skillpi.com/zh/skills/deepskill-b1567b32372d74b6a527677400e51302a407a189c7066dd6f3d11756bf110abd。安装前核对上游来源和版本:https://skillhub.cn/skills/user_fabd0a58/unityclaw-media-data-engagement。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
skillhub.cn
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
从内容 URL 获取公开社交媒体帖文或视频的参与度快照,尽可能包含播放、点赞、评论、收藏、分享、作者、标题、标签、时长和时间戳字段。用于内容表现汇总、帖文对比、活动报告和参与度研究,保留原始平台指标并保存为本地 JSON 结果。
介绍来源: third_party · user_fabd0a58 · 1.0.0 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 适合谁
- 来源文档未说明。
- 输入和输出
- 翻译待完成,请参阅来源文档。
- 软件、账号及付费要求
- 来源文档未说明。
- 限制与区别
- 来源文档未说明。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: unityclaw-media-data-engagement
description: Retrieve a public social-media post or video engagement snapshot from its content URL, including play, like, comment, collect, share, author, title, tag, duration, and timestamp fields when available. Use for content performance summaries, post comparisons, campaign reporting, and engagement research while preserving raw platform metrics and saving a local JSON result.
version: 1.2.5
metadata:
openclaw:
requires:
env:
- UNITYCLAW_KEY
bins:
- node
- npm
primaryEnv: UNITYCLAW_KEY
install:
- kind: node
package: "@unityclaw/sdk"
bins: []UnityClaw Media Engagement Snapshot
Retrieve a structured snapshot for one public social-media post or video. Preserve platform values, localize labels, flag incomplete results, and save engagement.json in the task folder.
Agent Workflow
1. Confirm the content URL
Accept one public post or video URL per invocation. Do not pass a creator homepage, search page, private network address, or URL containing credentials. Use the content-specific form for the platform, such as a Xiaohongshu /explore/ link or TikTok /@user/video/ link. A Douyin user URL is accepted only when it contains a numeric vid query parameter; the CLI converts it to the canonical /video/{vid} request URL while preserving the original source URL.
Use this skill only for public content metrics. Do not bypass authentication, access private content, or infer sensitive traits about viewers or creators.
2. Execute the snapshot
Run scripts/generate.js with --json and an explicit --output-dir. Quote the URL and select --lang from the user's conversation language.
Fetch each content URL once. Allow the CLI to perform transient retries, but do not launch duplicate concurrent requests. For comparisons, capture every URL separately and retain its source URL and update fields.
3. Preserve metric meaning
Use data as the raw platform snapshot. Do not silently convert abbreviated values, round counts, replace missing fields with zero, or merge different metrics. Use localized fields only for presentation; every field retains its raw key.
Metrics are time-dependent and platform-specific. A play, view, collect, share, or like may be defined differently across platforms. Do not present cross-platform counts as directly equivalent without explaining this limitation.
4. Calculate ratios carefully
Do not label a number “engagement rate” without naming the formula and denominator. When the user requests analysis, calculate only from available raw fields and show the formula, for example:
visible interaction rate by plays = (likes + comments + collects + shares) / plays
This is a derived ratio, not a platform-certified metric. Do not calculate it when play_count is missing or zero. Never infer reach, unique viewers, conversions, audience authenticity, or campaign ROI from these counts alone.
5. Validate and deliver
Inspect missingCoreFields and warnings. The CLI warns when no engagement metric or content identity is returned, and when the platform is unrecognized. Accept completion only when success is true and resultPath points to a non-empty engagement.json.
Present requested fields in the user's language, identify the platform, retain the source URL, and distinguish raw values from any calculated ratios.
6. Handle failures deliberately
Retry only when error.retryable is true; respect the CLI retry limit. Correct invalid URLs and homepage/content-page mistakes before retrying. If content is deleted, private, region-restricted, or blocked by the platform, report that limitation instead of fabricating metrics.
Authorization
Provide the API key through the fixed UNITYCLAW_KEY environment variable. Obtain a key from UnityClaw if needed. The runtime installation declaration installs @unityclaw/sdk; for manual execution, run npm install @unityclaw/sdk when the package is unavailable.
Usage
node scripts/generate.js --url "https://www.xiaohongshu.com/explore/xxxx"
node scripts/generate.js --url "https://www.tiktok.com/@user/video/123456" --lang zh --json --output-dir ./tasks
node scripts/generate.js --url "https://www.douyin.com/user/example?vid=123456" --json
Parameters
| Parameter | Short | Required | Default | Description |
|---|---|---|---|---|
--url |
-u |
Yes | - | One public social-media post or video URL |
--lang |
-l |
No | auto |
Presentation-label language: auto, zh, en, or ja; locale variants are accepted |
--output-dir |
- | No | ./tasks |
Task output directory; resolved to an absolute path |
--timeout |
- | No | 900000 |
SDK request timeout in milliseconds, from 1,000 to 3,600,000 |
--retries |
- | No | 1 |
Retry count for transient failures, from 0 to 3 |
--json |
- | No | false |
Emit one machine-readable JSON result without progress output |
--help |
-h |
No | - | Show help |
Known Fields
| Raw key | Meaning |
|---|---|
author_name |
Public author name |
title |
Post or video title |
tag_text |
Tags returned by the platform |
play_count |
Plays or views under the platform's definition |
like_count |
Likes |
comment_count |
Comments |
collect_count |
Collections or saves |
share_count |
Shares |
duration |
Content duration |
created, updated |
Platform-provided time values |
cover |
Cover URL |
download_urls |
Download URL data when returned |
Extra fields returned by the service are preserved.
Output Contract
With --json, the command emits exactly one JSON object. A successful result contains task metadata, resultPath, resultBytes, original sourceUrl, normalized requestUrl, platform, language, raw data, localized fields, missingCoreFields, and warnings. The task folder contains engagement.json plus SDK request and response logs.
A failed result contains a stable error.code, human-readable error.message, error.retryable, attempts, and available task or log information. The process exits non-zero on failure.
Resource Index
- Run
scripts/generate.jsfor engagement retrieval.
当前收录版本
1.0.0
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 解决内容创作者和运营人员的实际痛点,支持多平台社交媒体参与度数据采集
- 适用于内容表现分析、竞品对比和营销报告等高频场景
亮点
- 触发描述清晰完整,明确限定为公开内容URL,边界定义准确
亮点
- 六步工作流结构清晰,包含输入验证、执行、数据处理和错误处理全流程
- 提供多平台使用示例和完整参数说明
亮点
- 依赖管理明确,异常处理机制完善,支持重试和超时控制
- 输出契约定义清晰,成功/失败状态均有明确规范
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
安装或获取外部依赖
使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。
主文档提及 · 第 66 行 -
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 28, 66 行
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- unityclaw.com
- www.douyin.com
- www.tiktok.com
- www.xiaohongshu.com
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
来源文档未说明。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。