unityclaw-media-data-engagement
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "unityclaw-media-data-engagement" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b1567b32372d74b6a527677400e51302a407a189c7066dd6f3d11756bf110abd. Verify the upstream source and version against https://skillhub.cn/skills/user_fabd0a58/unityclaw-media-data-engagement before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
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, preserving raw platform metrics and saving a local JSON result.
Introduction source: third_party · user_fabd0a58 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- 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.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- 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.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
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.
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决内容创作者和运营人员的实际痛点,支持多平台社交媒体参与度数据采集
- 适用于内容表现分析、竞品对比和营销报告等高频场景
Highlights
- 触发描述清晰完整,明确限定为公开内容URL,边界定义准确
Highlights
- 六步工作流结构清晰,包含输入验证、执行、数据处理和错误处理全流程
- 提供多平台使用示例和完整参数说明
Highlights
- 依赖管理明确,异常处理机制完善,支持重试和超时控制
- 输出契约定义清晰,成功/失败状态均有明确规范
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 66 -
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 28, 66
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- unityclaw.com
- www.douyin.com
- www.tiktok.com
- www.xiaohongshu.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.