fleet-updating-pricing

Fetch current vendor prices and update model-pricing.json with today's date.

125|42|Updated May 19, 2025
One-click install
npx skills add https://github.com/SocketDev/socket-mcp --skill fleet-updating-pricing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fleet-updating-pricing
Source: https://github.com/SocketDev/socket-mcp/tree/main/.agents/skills/fleet-updating-pricing
Command: npx skills add https://github.com/SocketDev/socket-mcp --skill fleet-updating-pricing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Refreshes the fleet's per-model pricing data by reading current vendor prices and restamping the snapshot in the repository to keep the AI cost estimator aligned with today’s costs.

Core Features & Use Cases

  • Orchestrates a four-phase pricing refresh: read current snapshot, fetch latest vendor prices, apply new prices to scripts/fleet/constants/model-pricing.json, and restamp the MODEL-PRICING-SNAPSHOT marker in docs as needed.
  • Supports on-demand updates via the /update-pricing endpoint and fits into the weekly updating umbrella to maintain pricing accuracy for the fleet's models.

Quick Start

Trigger the pricing refresh to fetch current vendor prices and update the on-disk snapshot and model-pricing.json.

Frequently Asked Questions about fleet-updating-pricing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update model pricing data for AI cost estimation in my fleet?

To update model pricing data for AI cost estimation, trigger the pricing refresh to fetch current vendor prices and write them into scripts/fleet/constants/model-pricing.json with today's date.

How does the pricing snapshot refresh mechanism work for a model fleet?

The pricing snapshot refresh works by orchestrating four phases: reading the current snapshot, fetching latest vendor prices, applying new prices to model-pricing.json, and restamping the snapshot marker in docs to ensure cost accuracy.

Do I need WebFetch to retrieve vendor prices for my AI model fleet?

Yes, you need WebFetch to retrieve current vendor prices during the refresh cycle. The node-based scripts then use the fetched data to write updated pricing and restamp the snapshot marker.

What's the best way to automate weekly pricing cycles for AI model costs?

The best way to automate weekly pricing cycles is using the on-demand /update-pricing endpoint, which fits into the weekly updating umbrella to maintain per-model pricing accuracy for the fleet's AI cost estimator.

When should I trigger an on-demand pricing refresh instead of waiting for the weekly cycle?

You should trigger an on-demand pricing refresh when vendor prices move unexpectedly, ensuring your AI cost estimator stays accurate without waiting for the standard weekly pricing cycle to execute.