model-registry-maintainer
Guide for maintaining the MassGen model and backend registry. This skill should be used when adding new models, updating model information (release dates, pricing, context windows), or ensuring the registry stays current with provider releases. Covers both the capabilities registry and the pricing/token manager.
Security Assessment
Detected risks:
About model-registry-maintainer
The 'model-registry-maintainer' skill is designed to help users maintain and update the MassGen model registry, which includes both the model capabilities and pricing/token management. The skill is essential for ensuring the registry is up-to-date with the latest model releases, pricing changes, context window updates, and other key model information. It serves as a critical tool for keeping the backend and capabilities registry current with new models or changes to existing ones from different providers such as OpenAI, Anthropic, Google, and xAI.
This skill is primarily composed of two files: 'capabilities.py', which tracks model features, release dates, and capabilities, and 'token_manager.py', which manages model pricing and context window limits. Key actions include adding new models, updating pricing and context windows, and ensuring that any changes from providers are reflected in the registry. It also provides a clear process for integrating new models by gathering relevant information like release dates, pricing, and capabilities, and checking if the model is listed in the LiteLLM database to avoid redundant updates.
FAQ
How do I add a new model to the registry?
To add a new model, you need to update the 'capabilities.py' file with the new model in the models list and its release date. If the model isn't already listed in the LiteLLM database, you will also need to add it to the 'PROVIDER_PRICING' section in 'token_manager.py'.
What should I do if a model is not found in LiteLLM?
If the model is not found in LiteLLM, you will need to manually add it to the 'PROVIDER_PRICING' section in 'token_manager.py'. Ensure to include the correct pricing and context window limits for the model.
Can I update the model release dates manually?
Yes, release dates should be manually updated in the 'capabilities.py' file. Ensure the format is 'YYYY-MM' and that the information is sourced from the official model provider.
What happens if the LiteLLM database pricing is outdated?
If LiteLLM's pricing is incorrect or outdated, you should update the 'PROVIDER_PRICING' in 'token_manager.py' as a fallback, using the most up-to-date pricing from the provider.
Is this skill only for external models?
No, this skill can also be used for custom or internal models, especially when they are not listed in the LiteLLM database.
Install model-registry-maintainer
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
massgen/MassGen