← Back to Skills Marketplace
zhengmengkaizmk

model-pricing-calculator

by zhengmengkaiZMK · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
125
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install model-pricing-calculator
Description
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...
Usage Guidance
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install model-pricing-calculator
  3. After installation, invoke the skill by name or use /model-pricing-calculator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug model-pricing-calculator
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 125 downloads so far.

How do I install model-pricing-calculator?

Run "/install model-pricing-calculator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is model-pricing-calculator free?

Yes, model-pricing-calculator is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does model-pricing-calculator support?

model-pricing-calculator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created model-pricing-calculator?

It is built and maintained by zhengmengkaiZMK (@zhengmengkaizmk); the current version is v1.0.0.

💬 Comments