Skip to content

LeoYeAI/agent-master-skills / skills/astock-video-report

astock-video-report

Verified

A股每日复盘视频自动生成。完整工作流:拉取非凸科技真实行情数据 → 抓取热点新闻 → AI 归因分析 → 生成横屏 PPT 幻灯片 → 合成视频+封面图。当用户说「生成今日A股复盘视频」「A股日报」「出今天的复盘」或触发定时任务时使用。

FileKindSize
SKILL.mdskill md15.7 KB
_meta.jsonconfig479 B
references/copywriting.mdmarkdown4.1 KB
references/data-schema.mdmarkdown1.9 KB
scripts/ensure_assets.pyscript6.0 KB
scripts/make_slides.pyscript14.2 KB
scripts/make_video.pyscript6.2 KB
scripts/setup.shscript2.0 KB

scripts/setup.sh

View on GitHub
#!/bin/bash
# astock-video-report 一键安装依赖脚本
set -e

echo "=== astock-video-report 依赖安装 ==="

# 1. Python 依赖
echo ""
echo "[1/4] 安装 Python 依赖(pillow)..."
if python3 -c "import PIL" 2>/dev/null; then
    echo "✅ pillow 已存在"
else
    pip3 install pillow || pip install pillow
    echo "✅ pillow 已安装"
fi

echo ""
echo "[2/4] 安装字体转换依赖(fonttools + brotli)..."
if python3 -c "import fontTools" 2>/dev/null; then
    echo "✅ fonttools 已存在"
else
    pip3 install fonttools brotli || pip install fonttools brotli
    echo "✅ fonttools + brotli 已安装"
fi

# 2. ffmpeg
echo ""
echo "[3/4] 检查 ffmpeg..."
if command -v ffmpeg &>/dev/null; then
    echo "✅ ffmpeg 已存在:$(ffmpeg -version 2>&1 | head -1)"
else
    echo "⚠️  未找到 ffmpeg,请手动安装:"
    echo "   macOS:   brew install ffmpeg"
    echo "   Ubuntu:  sudo apt install ffmpeg"
    echo "   CentOS:  sudo yum install ffmpeg"
    echo "   Windows: https://ffmpeg.org/download.html"
    echo ""
    echo "   安装后重新运行此脚本"
fi

# 3. 数据 Skills
echo ""
echo "[4/4] 安装数据 Skills..."
if command -v skillhub &>/dev/null; then
    skillhub install ftshare-market-data   || echo "⚠️  ftshare-market-data 安装失败,请手动安装"
    skillhub install newsnow-reader        || echo "⚠️  newsnow-reader 安装失败,请手动安装"
elif command -v clawhub &>/dev/null; then
    echo "未找到 skillhub,使用 clawhub 安装..."
    clawhub install ftshare-market-data    || echo "⚠️  ftshare-market-data 安装失败"
    clawhub install newsnow-reader         || echo "⚠️  newsnow-reader 安装失败"
else
    echo "⚠️  未找到 skillhub 或 clawhub,请先安装 OpenClaw"
    echo "   参考:https://openclaw.ai"
fi

echo ""
echo "=== 安装完成!==="
echo ""
echo "使用方式:告诉 AI「生成今日A股复盘视频」"
echo ""
echo "⚠️  数据仅供参考,不构成投资建议"
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall