본문으로 건너뛰기
cccskills
무료GitHub에 공개

sn-ppt-tools

Provide backup web search, image search, image downloads, and image generation for other PPT skills when the agent’s native equivalent is missing or fails. Selected images are saved locally for use in presentation files.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

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.

실행 점수 미검증

설치 방법 보기

이럴 때 유용합니다

  • Back up unavailable web search during PPT creation
  • Find and download images for presentation slides
  • Generate slide images when native generation is unavailable

포함된 파일(7)

  • SKILL.md3.0 KB
  • references/capability-policy.md2.9 KB
  • scripts/env_config.py2.6 KB
  • scripts/fetch_image.py4.5 KB
  • scripts/image_generate.py8.5 KB
  • scripts/image_search.py4.4 KB
  • scripts/web_search.py5.3 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

sn-ppt-tools

这是 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

配置:

  • URL:SN_PPT_WEB_SEARCH_URL;否则 SN_PPT_SEARCH_BASE_URL / SERPER_BASE_URL 加 /search。
  • Key:SN_PPT_WEB_SEARCH_API_KEY -> SN_PPT_SEARCH_API_KEY -> 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"

图片搜索配置:

  • URL:SN_PPT_IMAGE_SEARCH_URL;否则 SN_PPT_SEARCH_BASE_URL / SERPER_BASE_URL 加 /images。
  • Key:SN_PPT_IMAGE_SEARCH_API_KEY -> SN_PPT_SEARCH_API_KEY -> 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"

配置:

  • URL:SN_PPT_IMAGE_GEN_URL;否则 SN_IMAGE_GEN_BASE_URL / SN_BASE_URL 加 /images/generations。
  • Key:SN_PPT_IMAGE_GEN_API_KEY -> SN_IMAGE_GEN_API_KEY -> SN_API_KEY。
  • Model:SN_PPT_IMAGE_GEN_MODEL -> SN_IMAGE_GEN_MODEL。

只支持 OpenAI/SenseNova 兼容的同步 POST /images/generations 协议,响应可以是 data[].url 或 data[].b64_json。不在这里扩展其他 provider。

输出与失败

  • 成功输出单行 JSON,status 为 ok。
  • 缺少配置输出 status=unavailable,退出码为 2。
  • 请求或落盘失败输出 status=failed,退出码为 1。
  • 所有图片只能写入调用方给定的绝对 DECK_DIR 内。
  • Key 不通过命令行传递,不写入输出、日志、task pack 或 deck 文件。
  • 同一能力调用失败后不循环重试;由调用 Skill 按 policy 继续无工具路径。

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Compare counts and shares for two categories in Excel data. The skill cleans the selected columns, calculates differences and percentages, and produces a summary spreadsheet plus bar and pie charts.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Comparing counts for two categories
  • Visualizing category shares
  • Cleaning merged-cell data before counting
OpenSenseNova/SenseNova-Skills5.9천2026년 10월 9일 업데이트

Analyze Excel data using custom categories, count distributions, and compare groups with charts. Score text using its length, technical terms, numbers, and selected complex concepts, then visualize difficulty levels and the relationship between text length and scores.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Summarize Excel records using custom categories
  • Compare category distributions across groups
  • Score and grade text using adjustable rules
OpenSenseNova/SenseNova-Skills5.9천2026년 10월 9일 업데이트

Count categories in a chosen data column after removing missing values and placeholder labels. Calculate each category’s share and create high-resolution charts combining counts, percentages, pie charts, and horizontal bars for distribution reports.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Compare record counts across categories
  • Show category shares with pie and bar charts
  • Exclude placeholder labels before counting
OpenSenseNova/SenseNova-Skills5.9천2026년 10월 9일 업데이트

Clean category and numeric fields in structured data, compare groups with counts and cross-tabulations, and produce charts, Excel results, and a Markdown report. Export visuals as high-resolution PNG and SVG files for use in reports.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Compare category distributions across groups
  • Clean category labels and fill merged-cell gaps
  • Export analysis results to Excel
OpenSenseNova/SenseNova-Skills5.9천2026년 10월 9일 업데이트

Filter Excel data using candidate column names, RGB color values, text prefixes, and regular expressions, which match text patterns. Calculate totals and averages, then export results to Excel with highlighted rows and a download link.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Filtering rows by RGB values or identifier prefixes
  • Converting text to numbers and calculating totals or averages
  • Extracting matching commands with their identifiers and descriptions
OpenSenseNova/SenseNova-Skills5.9천2026년 10월 9일 업데이트

Filter rows from Excel or previously converted Parquet files, a format designed for efficient data storage. Summarize matching records by group with counts, percentages, and totals, then export the summary to Excel.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Count records containing a specified risk level by work category
  • Calculate group shares among matching records
  • Summarize large datasets already converted to Parquet
OpenSenseNova/SenseNova-Skills5.9천2026년 10월 9일 업데이트

OpenSenseNova의 스킬 모두 보기

이 스킬의 문제 신고