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 read X2C_API_KEY from the environment.
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
Talking-head video from image + driving audio: submit tasks via the wrapped generation API and poll for results; requests go through the Giggle gateway.
development
Discord-specific markdown syntax for formatting message strings. Use when constructing strings that will be sent as Discord messages, including: text formatting (bold, italic, underline, strikethrough, spoilers), headers, subtext, code blocks, block quotes, lists, and masked links.
development
Discord bot development - community management, moderation, notifications, and AI integration
development
Auto-deploy a Discord AI bot connected to OpenClaw Gateway. Handles Node.js bot setup, PM2 process management, and Gateway API integration. Use when the user has completed Discord Bot onboarding and needs the bot deployed and running.