sn-da-excel-workflow
Excel 数据分析多步编排器。覆盖:(1) 读取多 Sheet Excel 文件并统计行数,(2) 大文件检测(≥10k 行自动 Parquet 优化),(3) 数据清洗(缺失值、文本标准化、无效字符),(4) 条件筛选与分类提取,(5) 跨 Sheet 统计聚合,(6) 导出 Excel/CSV…
Use when another PPT Skill needs web search, image search or download, or image generation and the host Agent's equivalent native capability is absent or has failed.
$ npx -y skills add OpenSenseNova/SenseNova-Skills --skill sn-ppt-tools --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/sn-ppt-toolsContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when another PPT Skill needs web search, image search or download, or image generation and the host Agent's equivalent native capability is absent or has failed.
name: sn-ppt-tools description: Use when another PPT Skill needs web search, image search or download, or image generation and the host Agent's equivalent native capability is absent or has failed. metadata: project: SenseNova-Skills tier: 0 category: infrastructure user_visible: false
这是 PPT Skill 整包自带的备用工具,不是独立内容生产流程。调用前先读 `references/capability-policy.md`。宿主 Agent 的等价原生工具始终优先;只有原生能力 不存在或一次实际调用确认不可用时,才调用这里的脚本。
四个脚本每次启动都会自动加载一个用户级 `.env`:
1. 设置了 `SN_PPT_ENV_FILE` 时读取该文件; 2. OpenClaw 读取 `~/.openclaw/.env`; 3. 其他环境默认读取 `~/.hermes/.env`。
已有进程环境变量优先,`.env` 只补充缺失项。不要把 secret 写进 Skill 目录、workspace、 命令行、prompt 或 task pack。完整模板和缺失项检查通过 `sn-ppt-doctor` 查看。
python3 "$PPT_TOOLS_DIR/scripts/web_search.py" "QUERY" --num 10
配置:
`SN_PPT_SEARCH_BASE_URL` / `SERPER_BASE_URL` 加 `/search`。
`SERPER_API_KEY`。
python3 "$PPT_TOOLS_DIR/scripts/image_search.py" "QUERY" --num 10 python3 "$PPT_TOOLS_DIR/scripts/fetch_image.py" \ "https://example.com/image.png" \ --deck-dir "$DECK_DIR" \ --output "assets/image.png" \ --referer "https://example.com/source-page"
图片搜索配置:
`SN_PPT_SEARCH_BASE_URL` / `SERPER_BASE_URL` 加 `/images`。
`SERPER_API_KEY`。
先根据搜索元数据选择候选,再下载选中的图片。不得把远程 URL 直接留在最终 deck。
python3 "$PPT_TOOLS_DIR/scripts/image_generate.py" \ --prompt-file "$DECK_DIR/pages/page_001.prompt.txt" \ --deck-dir "$DECK_DIR" \ --output "pages/page_001.png" \ --size "2752x1536"
配置:
`SN_IMAGE_GEN_BASE_URL` / `SN_BASE_URL` 加 `/images/generations`。
`SN_API_KEY`。
只支持 OpenAI/SenseNova 兼容的同步 `POST /images/generations` 协议,响应可以是 `data[].url` 或 `data[].b64_json`。不在这里扩展其他 provider。
The SenseNova model family plugs directly into agent runtimes such as OpenClaw and hermes-agent, with the skills in this repository extending the models with concrete, end-to-end office capabilities.
Repo: OpenSenseNova/SenseNova-Skills
Excel 数据分析多步编排器。覆盖:(1) 读取多 Sheet Excel 文件并统计行数,(2) 大文件检测(≥10k 行自动 Parquet 优化),(3) 数据清洗(缺失值、文本标准化、无效字符),(4) 条件筛选与分类提取,(5) 跨 Sheet 统计聚合,(6) 导出 Excel/CSV…
当Excel文件总行数超过1万行时,通过转换为Parquet格式提升读取性能,提取目标指标并计算最大值,最后将结果输出为Excel并对特定行进行高亮标注。
根据Excel总行数自动切换Parquet加速读取,计算特定维度的时间序列平均值,并使用openpyxl输出带有条件格式(如低于均值标绿)和自定义样式的分析报告。
根据数据规模动态选择处理策略,对多表数据进行合并、统计筛选,并利用 openpyxl 实现关键指标的自动化样式高亮与格式化导出。