openai-model-catalog-reuse

Community

Centralize OpenAI model catalog, pricing, and capabilities.

Authorliuyu520
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Consolidates OpenAI model metadata to align context window mappings and pricing across model variants.

Core Features & Use Cases

  • Two unified lookup tables: OPENAI_MODEL_CONTEXT for context window size and OPENAI_MODEL_COSTS for pricing, ensuring consistent behavior across models.
  • Prefix-based context window mapping supports date-suffixed variants without duplicating entries.
  • Capability detection via probeCapabilities to surface model capabilities such as thinking support and 1M context threshold.
  • Use Case: Add a new model or update pricing by updating the two tables, then validate lookups.

Quick Start

Add a new model by updating both the context and pricing tables and run the validation commands to confirm lookups.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: openai-model-catalog-reuse
Download link: https://github.com/liuyu520/cc_source/archive/main.zip#openai-model-catalog-reuse

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.