skills/news-to-video-monetizer/skills/x2c-dashboard-integration/SKILL.md
Complete X2C Dashboard integration for news-to-video-monetizer agent. Auto-installs dependencies (claw-dashboard-skill), initializes Hub, registers modules, and provides data update scripts. API key is automatically loaded from workspace config.json.
npx skillsauth add giggle-official/skills x2c-dashboard-integrationInstall 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.
一站式 X2C Dashboard 集成方案
为 news-to-video-monetizer agent 提供完整的可视化 Dashboard 支持,包括:
bash {baseDir}/scripts/install-dependencies.sh
自动安装:
x2c-real-dashboard — 数据源claw-dashboard-skill — Dashboard 框架bash {baseDir}/scripts/initialize-dashboard.sh
执行:
~/.claw/hub、~/.claw/shared、~/.claw/config)bash {baseDir}/scripts/register-module.sh news-to-video-monetizer "X2CReel 制作发行" "🎬"
参数:
agent_id: Agent 标识符name: 显示名称icon: Emoji 图标bash {baseDir}/scripts/deploy-templates.sh
部署自定义 Dashboard 模板,包含:
X2C_API_KEY="your_key" bash {baseDir}/scripts/update-data.sh
或使用 Python 脚本:
X2C_API_KEY="your_key" python3 {baseDir}/scripts/update_dashboard.py
bash {baseDir}/scripts/get-url.sh
# 1. 安装依赖
bash ~/.openclaw/skills/x2c-dashboard-integration/scripts/install-dependencies.sh
# 2. 初始化 Dashboard
bash ~/.openclaw/skills/x2c-dashboard-integration/scripts/initialize-dashboard.sh
# 3. 注册模块
bash ~/.openclaw/skills/x2c-dashboard-integration/scripts/register-module.sh \
news-to-video-monetizer "X2CReel 制作发行" "🎬"
# 4. 更新数据
X2C_API_KEY="your_key" python3 ~/.openclaw/skills/x2c-dashboard-integration/scripts/update_dashboard.py
# 5. 获取 URL
bash ~/.openclaw/skills/x2c-dashboard-integration/scripts/get-url.sh
只需更新数据:
X2C_API_KEY="your_key" python3 ~/.openclaw/skills/x2c-dashboard-integration/scripts/update_dashboard.py
| 变量 | 必需 | 说明 |
|------|------|------|
| X2C_API_KEY | ✅ | X2C API Key(格式:x2c_sk_xxx)|
x2c-dashboard-integration/
├── SKILL.md # 本文件
├── scripts/
│ ├── install-dependencies.sh # 安装依赖 skills
│ ├── initialize-dashboard.sh # 初始化 Dashboard Hub
│ ├── register-module.sh # 注册 agent 模块
│ ├── update_dashboard.py # 更新数据(Python)
│ ├── update-data.sh # 更新数据(Bash 包装器)
│ └── get-url.sh # 获取 Dashboard URL
└── docs/
└── INTEGRATION.md # 集成指南
所有脚本在失败时返回非零退出码,并输出错误信息到 stderr。
检查状态:
# 检查 Hub 是否运行
pgrep -f "uvicorn app:app" > /dev/null && echo "✅ Hub running" || echo "❌ Hub not running"
# 检查 Tunnel 是否运行
pgrep -f "cloudflared tunnel" > /dev/null && echo "✅ Tunnel running" || echo "❌ Tunnel not running"
# 检查数据库
[ -f ~/.claw/shared/shared.db ] && echo "✅ Database exists" || echo "❌ Database missing"
MIT License
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。