← 返回 Skills 市场
model-pricing-calculator
作者
zhengmengkaiZMK
· GitHub ↗
· v1.0.0
· MIT-0
125
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install model-pricing-calculator
功能描述
This skill should be used when the user needs to fetch AI model pricing data from multiple API platforms, calculate model ratios, completion ratios, and grou...
安全使用建议
This skill appears to do exactly what it claims: it fetches pricing JSON from the API endpoints listed in references/pricing_urls.json, computes ratios, prints results, and saves a snapshot to data/latest_snapshot.json. Before running it: (1) review references/pricing_urls.json and confirm you trust the listed API endpoints or remove any untrusted sources; (2) be aware the script will write/overwrite data/latest_snapshot.json (use --no-snapshot to avoid saving); (3) run the script in an isolated environment (or inspect the included Python files) if you have any doubt — the code uses only Python standard library and performs plain HTTPS GETs. Minor note: there are duplicate copies of SKILL.md and the script in two paths, but that is an organizational issue rather than a security problem.
能力评估
Purpose & Capability
Name/description match the included artifacts: the SKILL.md explains fetching pricing URLs and running scripts; the repository includes a Python script that performs HTTP GETs, computes model/completion/group ratios, and outputs JSON. There are no unrelated environment variables, binaries, or obscure dependencies required.
Instruction Scope
Instructions are focused on reading references/pricing_urls.json, calling configured API endpoints, computing ratios, and saving/printing results. Minor caveats: the script automatically reads and writes a local snapshot at data/latest_snapshot.json (overwrite behavior unless --no-snapshot is used), and it will perform outbound HTTPS requests to any endpoints added to the URLs file — verify those endpoints before running.
Install Mechanism
No install spec and the code uses only the Python standard library (urllib, ssl, json, etc.). Nothing is downloaded from arbitrary URLs and no archives are extracted. This is low-install-risk: running the included script executes the bundled code only.
Credentials
The skill requests no environment variables, no credentials, and no special config paths. All external access is to the API endpoints listed in references/pricing_urls.json (both are legit-looking HTTPS endpoints).
Persistence & Privilege
always:false and the skill does not modify other skills or global agent settings. It persists state only to its own data/latest_snapshot.json and can write additional output files when --output-dir is used. Ensure you are comfortable with files being written inside the skill directory.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install model-pricing-calculator - 安装完成后,直接呼叫该 Skill 的名称或使用
/model-pricing-calculator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of model-pricing-calculator
- Provides tools to fetch AI model pricing from multiple API platforms.
- Calculates and unifies model ratios, completion ratios, and group ratios using a standardized formula.
- Outputs results as structured JSON blocks for easy integration and analysis.
- Includes snapshot and diff features to track and report changes in pricing data over time.
- Allows granular filtering by model, group, or data source, with customizable configuration options.
元数据
常见问题
model-pricing-calculator 是什么?
This skill should be used when the user needs to fetch AI model pricing data from multiple API platforms, calculate model ratios, completion ratios, and grou... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 125 次。
如何安装 model-pricing-calculator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install model-pricing-calculator」即可一键安装,无需额外配置。
model-pricing-calculator 是免费的吗?
是的,model-pricing-calculator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
model-pricing-calculator 支持哪些平台?
model-pricing-calculator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 model-pricing-calculator?
由 zhengmengkaiZMK(@zhengmengkaizmk)开发并维护,当前版本 v1.0.0。
推荐 Skills