← 返回 Skills 市场
neymar011ren

Openrouter Rankings Screenshot

作者 neymar011ren · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
44
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openrouter-rankings-screenshot
功能描述
Capture OpenRouter Rankings (all Categories scenarios + page sections), create Feishu doc with screenshots and sales summary. Use for openrouter.ai/rankings...
使用说明 (SKILL.md)

OpenRouter Rankings 截图 → 飞书文档

抓取 OpenRouter RankingsCategories 下每个场景各截一张图,并生成销售可读的文字总结,写入新建飞书文档后把文档链接发给用户。

默认配置

页面 https://openrouter.ai/rankings
输出目录 ~/.openclaw/cache/openrouter-rankings/YYYY-MM-DD/
飞书用户 ou_58b1afd31a9c961df56ae8fc04e293e0
Chromium /snap/bin/chromium

工作流(严格按顺序)

1. 截图 + 生成总结

node {SKILL_DIR}/scripts/capture-rankings.mjs

产出:

  • manifest.json — 截图路径与解析出的 Top5 排名
  • summary.md — 飞书文档正文(含各场景表格)
  • summary-chat.txt — 飞书私聊用的短摘要(无本地路径)
  • categories/*.png — 12 个场景:Programming、Roleplay、Marketing、SEO、Technology、Science、Translation、Legal、Finance、Health、Trivia、Academia
  • 其他板块:01_top_models11_top_apps(无单独 Categories 总图)

{SKILL_DIR} = 本文件所在目录。

2. 校验

node {SKILL_DIR}/scripts/validate-screenshots.mjs \
  ~/.openclaw/cache/openrouter-rankings/$(date +%F)/manifest.json

失败则重跑第 1 步,不得创建文档或发飞书。

3. 创建飞书文档并插入截图(核心交付)

禁止向用户发送宿主机路径、MEDIA:/root/...file://

按顺序操作:

3.1 创建文档

  • 工具:feishu_create_doc
  • 标题:OpenRouter 模型排名日报 YYYY-MM-DD
  • markdown:读取 summary.md 全文(不要用一级标题重复 title;可直接从「给销售同学的 3 句话摘要」开始,或把 summary 作为正文)

3.2 按顺序插入截图

对每个 manifest.jsonok: true 的条目,调用 feishu_doc_media

{
  "action": "insert",
  "doc_id": "\x3C上一步返回的 doc_id>",
  "type": "image",
  "file_path": "\x3Cmanifest 中的绝对路径>",
  "caption": "\x3Cheading 或 Categories — 场景名>"
}

推荐顺序:

  1. 页面板块:01_top_models → … → 11_top_apps(按 id 排序)
  2. Categories 场景:按 categoryScenarios 数组顺序(Programming → … → Academia)

每个场景截图前可在文档中追加小标题(可用 feishu_update_doc append 插入 ### 场景:Programming 等),再插入对应图片。

3.3 确认文档

必要时 feishu_fetch_doc 抽查文档已含图片与表格。

4. 飞书私聊通知用户

只发文档链接 + 短摘要,示例:

(读取 summary-chat.txt 的全文)

📎 完整截图与各场景排名表:
\x3Cfeishu_create_doc 返回的 doc_url>

规则:

  • 必须包含可点击的 doc_url
  • 禁止出现 /root/.openclaw/cache 等本地路径
  • 禁止MEDIA: 代替文档(销售需在一个文档里查看全部内容)
  • 短摘要用通俗中文,突出 Top 模型与场景名

5. 失败处理

  • 任一场景截图失败 → 重跑 capture,仍失败则告知用户「今日日报未完成」
  • 图表为骨架屏 → 不得写入文档

Categories 场景列表(脚本会自动遍历)

Programming、Roleplay、Marketing、SEO、Technology、Science、Translation、Legal、Finance、Health、Trivia、Academia

定时任务

Cron OpenRouter Rankings 完整日报(每天 9:00 Asia/Shanghai)应执行本 skill 全流程(截图 → 校验 → 飞书文档 → 私聊链接)。

依赖

cd {SKILL_DIR}/scripts && npm install

需要:feishu_create_docfeishu_doc_mediafeishu_update_doc(已配置 openclaw-lark)。

禁止

  • 不要只发本地路径或 MEDIA: 裸图集(除非用户明确要求改回图片模式)
  • 不要用 thum.io / web_fetch 截图
  • 不要在 Categories 下拉未切换、图表未加载时截图
安全使用建议
Treat this as an incomplete review rather than a clearance decision; inspect metadata.json and artifact/ manually before installing or publishing.
能力评估
Purpose & Capability
Not assessable from artifact evidence because read-only workspace commands failed before metadata.json or artifact/ could be read.
Instruction Scope
No artifact-backed instruction-scope concern could be confirmed because the supplied files were not accessible to the reviewer.
Install Mechanism
Install behavior was not assessable from artifacts in this run.
Credentials
Environment access and proportionality could not be evaluated without reading the artifact contents.
Persistence & Privilege
No persistence or privilege issue was confirmed, but the relevant files could not be inspected.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openrouter-rankings-screenshot
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openrouter-rankings-screenshot 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release for capturing and sharing OpenRouter Rankings daily digest: - Captures screenshots for all Categories scenarios and page sections on openrouter.ai/rankings. - Generates a sales-friendly summary, compiling Top 5 rankings and key highlights. - Creates a structured Feishu doc with ordered screenshots and summaries; sends doc link and brief digest via Feishu chat. - Built-in validation ensures only complete and correct screenshots are used; handles failures with clear notifications. - Designed for daily automated use with preset defaults for directory, doc format, and Feishu integration.
元数据
Slug openrouter-rankings-screenshot
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Openrouter Rankings Screenshot 是什么?

Capture OpenRouter Rankings (all Categories scenarios + page sections), create Feishu doc with screenshots and sales summary. Use for openrouter.ai/rankings... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 44 次。

如何安装 Openrouter Rankings Screenshot?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install openrouter-rankings-screenshot」即可一键安装,无需额外配置。

Openrouter Rankings Screenshot 是免费的吗?

是的,Openrouter Rankings Screenshot 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Openrouter Rankings Screenshot 支持哪些平台?

Openrouter Rankings Screenshot 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Openrouter Rankings Screenshot?

由 neymar011ren(@neymar011ren)开发并维护,当前版本 v1.0.0。

💬 留言讨论