← 返回 Skills 市场
Model Pricing Sync
作者
sapereaude2014
· GitHub ↗
· v0.1.1
· MIT-0
80
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install model-pricing-sync
功能描述
抓取模型厂商与代码工具价格页面,读取 Markdown 后补 JSON 提取文件,并同步到飞书普通电子表格。需要收集模型价格、补全价格 JSON、追踪价格变化或推送 Lark Sheets 时使用。
安全使用建议
This skill appears coherent for scraping pricing pages and syncing to Feishu. Before installing: 1) Ensure you install Playwright and run 'playwright install chromium' as the repo suggests (these downloads are large and require network access). 2) Install and configure the Lark/Feishu CLI (npm @larksuiteoapi/cli) and authenticate the account you want the skill to write to—the skill calls lark-cli as a subprocess and will act with that CLI's credentials. 3) Run the skill in a controlled environment (not on a machine with unrelated secrets) because it fetches many public vendor pages and will create/modify spreadsheets in the authenticated Feishu account. 4) Review config/vendors.csv and target CSVs to confirm which vendors/plans will be scraped and tracked. 5) If you plan to allow autonomous agent invocation, be aware the skill can push data to Feishu when invoked; if that is undesired, disable autonomous invocation on the platform. Otherwise there are no clear incoherencies or malicious signs in the provided files.
功能分析
Type: OpenClaw Skill
Name: model-pricing-sync
Version: 0.1.1
The skill bundle implements a complex web scraper and data synchronizer for Feishu/Lark Sheets. A significant security vulnerability is present in `scripts/sync_feishu_sheet.py`, which uses `subprocess.run` with `shell=True` on Windows to execute the `lark-cli` tool, creating a risk for shell injection. Additionally, `scripts/collect_pages.py` employs sophisticated scraping techniques, including anti-bot evasion (stealth User-Agents and scripts) and extraction of data from embedded JavaScript, which are high-risk behaviors. While the logic appears aligned with the stated purpose, the combination of broad execution capabilities and the inclusion of speculative/non-existent model versions (e.g., GPT-5.4 and Claude 4.7 in `config/target_api_models.csv`) warrants a suspicious classification.
能力评估
Purpose & Capability
The name/description (collect model/tool pricing and sync to Feishu) matches the code and instructions: Playwright-based page collection, JSON/CSV preparation, and a Feishu/Lark CLI-based push. No unrelated cloud credentials or unexpected system access are requested.
Instruction Scope
SKILL.md limits operations to files inside the skill directory (config/, artifacts/, data/) and running the provided Python scripts. It does web scraping of vendor pages and writes artifacts, which is consistent with the described workflow. There is no instruction to read unrelated system files or secrets.
Install Mechanism
There is no packaged install spec (instruction-only install), but requirements.txt lists playwright and instructs installing browsers; the Feishu/Lark integration relies on an external CLI (@larksuiteoapi/cli). This is expected for the functionality, but users must run those install steps themselves. No downloads from untrusted URLs or archive extraction are present in the repo.
Credentials
The skill declares no required env vars, which is coherent because Feishu access is performed via the lark-cli subprocess (it expects local CLI configuration/auth). However, this means the skill will use the local lark-cli identity provided (via the --as identity flag) and any credentials configured for that CLI. Users should be aware that the skill will call external sites and the Feishu API using the local CLI's account.
Persistence & Privilege
The skill is not always-enabled and does not request system-wide configuration changes. It writes artifacts and a local sheet_state.json under the skill directory (expected for sync state). Autonomous invocation is allowed by default on the platform but that is normal and not flagged by itself.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install model-pricing-sync - 安装完成后,直接呼叫该 Skill 的名称或使用
/model-pricing-sync触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
Refine publishing package, update workflow instructions, and improve collection/build stability.
v0.1.0
Initial publish.
元数据
常见问题
Model Pricing Sync 是什么?
抓取模型厂商与代码工具价格页面,读取 Markdown 后补 JSON 提取文件,并同步到飞书普通电子表格。需要收集模型价格、补全价格 JSON、追踪价格变化或推送 Lark Sheets 时使用。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 80 次。
如何安装 Model Pricing Sync?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install model-pricing-sync」即可一键安装,无需额外配置。
Model Pricing Sync 是免费的吗?
是的,Model Pricing Sync 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Model Pricing Sync 支持哪些平台?
Model Pricing Sync 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Model Pricing Sync?
由 sapereaude2014(@sapereaude2014)开发并维护,当前版本 v0.1.1。
推荐 Skills