skills/news-to-video-monetizer/skills/x2c-real-dashboard/SKILL.md
Query the X2C personal dashboard to get real-time KPI data, earnings trends, platform views, recent transactions, and earning projects. Use this skill whenever the user asks about their X2C income, revenue, ROI, mining status, today's/yesterday's/monthly earnings, platform performance, recent activity, or project list.
npx skillsauth add giggle-official/skills x2c-real-dashboardInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Real-time X2C personal dashboard data via Open API.
All scripts are in {baseDir}/scripts/. They automatically read X2C_API_KEY from workspace config.json.
No manual configuration needed — API key is automatically loaded from ~/.openclaw/workspace-news-to-video-monetizer/config.json.
Use when the user asks: "今天赚了多少", "收益概况", "ROI", "挖矿状态", "项目总数", "播放量"
bash {baseDir}/scripts/overview.sh
Returns: today/yesterday/monthly/historical revenue (USD + X2C), ROI, mining status, project counts, total views, X2C price.
Use when the user asks: "最近 N 天趋势", "收益走势", "历史收入图"
bash {baseDir}/scripts/trend.sh [DAYS]
# DAYS: 1–90, default 7
Returns: daily { date, x2c, usd } array sorted ascending.
Use when the user asks: "哪个平台表现最好", "各平台播放量", "TikTok / YouTube 数据"
bash {baseDir}/scripts/platform-breakdown.sh
Returns: total views + per-platform breakdown sorted descending.
Use when the user asks: "最近的交易", "收入记录", "挖矿记录", "最近动态"
bash {baseDir}/scripts/recent-activity.sh [LIMIT]
# LIMIT: 1–50, default 5
Returns: recent transactions with tx_type, amount, currency, title, transaction_at.
tx_type values: mining_income | x2c_release | commission | referral | royalty | production | production_refund
Use when the user asks: "我的作品", "哪个作品赚最多", "作品收益排名", "项目列表"
bash {baseDir}/scripts/earning-projects.sh [PAGE] [PAGE_SIZE]
# PAGE default 1, PAGE_SIZE default 10, max 50
Returns: paginated project list with today_usd, total_usd, total_views, trend7d, platform_views.
today_usd = today_x2c × x2c_price + today_commission
roi_percent = historical_usd / net_expense_usd × 100
net_expense = max(0, spending_credits - refund_credits) / 100
vs_yesterday % = (today - yesterday) / yesterday × 100
All date boundaries are UTC. Daily payouts run at ~00:10 UTC.
If X2C_API_KEY is not set, any script will automatically print the setup guide and exit. Show the guide output to the user as-is — it walks them through 3 steps to get connected.
All scripts exit non-zero on failure and print {"success":false,"error":"..."}.
Always check success: true before presenting results.
development
Social media publishing and engagement management via X2C Open API. Use when the user needs to publish posts to social media, check linked accounts, manage comments, or upload media. Use cases: (1) Publish text/media posts to TikTok, Instagram, Facebook, YouTube, LinkedIn, Twitter, etc. (2) Schedule posts for future publishing. (3) Manage comments and replies on posts. (4) Upload media files (up to 5GB) and get CDN links. (5) View post history and linked account status. Triggers: post to social media, publish post, social media, schedule post, social publish, upload media, social accounts, comment on post.
tools
Twitter automation core module for trend collection, auto first-reply posting, dashboard updates, comment failure checks, and installation verification.
testing
Use this feature when users want to generate videos, shoot short films, or view available video styles. Triggering keywords: short film, make video, shoot short film, short video, AI video, generate video from story, short drama, narrated video, cinematic video, available video styles.
development
全网热榜聚合 API 服务 — 基于 DailyHotApi 开源项目,本地自动部署,零配置获取 40+ 平台实时热搜数据。覆盖抖音、微博、知乎、B站、百度、今日头条、快手等主流平台。触发词:热点、热搜、趋势、热榜、trending、hot topics。