model-management
Manage the lifecycle of AI models from integration to empirical testing.
Install
mkdir -p .claude/skills/model-management && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/4590" && unzip -o skill.zip -d .claude/skills/model-management && rm skill.zipInstalls to .claude/skills/model-management
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Add, update, or remove text/image/video/audio/embeddings models. Covers the full lifecycle: files to touch, what to verify, and how to test empirically before merging.Key capabilities
- →Audit field-parity for model updates
- →Execute empirical model performance matrices
- →Manage model slug and alias mappings
- →Verify pricing and provider configuration
- →Generate PR checklists for model lifecycle changes
How it works
Follows a defined checklist of verification steps and test matrices to ensure model parity before committing provider changes to production.
Inputs & outputs
When to use model-management
- →Adding a new AI model provider
- →Verifying model pricing or capabilities
- →Updating model aliases
- →Testing model parity
About this skill
Model management
Use this workflow for every model change. Keep the implementation minimal, preserve the public contract unless the user explicitly approves a change, and prove provider behavior with real requests.
Load context first
- Read the repository
AGENTS.md. - Read the live registry entry, runtime config, handler, schemas, and tests. The repository is the source of truth for what Pollinations currently offers.
- Read the relevant local active plan when present:
temp/manage_inference.mdtemp/manage_inferenceport.mdtemp/manage_gpus.mdtemp/manage_azure_limits.md
- Check GitHub for open or merged PRs that may already implement or conflict with the work.
- Check current official provider documentation, catalog, pricing, availability, quotas, and deprecation notices. Then probe the exact route; the live response wins over documentation.
The temp plans are ignored operational state, not repository truth. When working in a linked worktree where they are absent, locate the primary checkout with git worktree list and read them there. Never copy balances, prices, PR statuses, quotas, or candidate rankings into this skill.
Read operating-policy.md before recommending a route or model. Read only the other references needed for the task:
| Task | Required references |
|---|---|
| Find code or run locally | repository-and-local-testing.md |
| Add, update, reroute, rename, or remove | change-and-test-matrix.md |
| New model, provider, model ID, or price | billing-verification.md |
Mandatory confirmation gate
Do not edit any model until the user confirms its complete business and inference contract. Inspect the code and provider first; do not ask the user to discover values for you.
Show one complete row per model:
| Field | Required value |
|---|---|
| Canonical name | Public model ID after the change |
| Aliases | Every compatibility alias, or none |
priceMultiplier | Exact multiplier after provider cost |
paidOnly | Whether purchased pack balance is required |
| Pollinations GPU | yes only if Pollinations operates the production hardware |
| Registry provider | Configured primary provider |
| Primary route | Provider, deployment/host, and exact upstream model ID |
| Pollinations fallback | Complete alternative route or none |
Ask:
Please confirm: canonical name X, aliases A/none, price multiplier M, paid-only yes/no, Pollinations GPU yes/no, registry provider P, primary route R, and Pollinations fallback F/none. Are all of these correct?
An answer approves only the values shown. If a value is unknown, inferred, conflicting, or route-dependent, label it UNKNOWN, explain the evidence, and wait for that exact decision. A batch approval is valid only when every row is complete.
Secrets are a separate approval
Model approval never authorizes adding, rotating, synchronizing, deploying, revoking, or otherwise mutating a credential. Follow the exact approval wording, dedicated-PR requirement, execution order, verification, and rollback rules in AGENTS.md. Do not duplicate or weaken that process here.
Workflow
1. Reconcile current state
- Resolve aliases to the canonical registry entry.
- Trace every reachable runtime route and any configured fallback.
- Distinguish the configured provider from the provider that served an observed request.
- Compare the intended change with open PRs and active plan entries.
- Remove shipped work from active plans after production verification; do not keep a completed archive.
2. Research the exact route
- Use official provider/model sources for release, model identity, pricing, regions, preview status, quotas, rate limits, context, inputs, outputs, tools, caching, and deprecation.
- Deduplicate the canonical model across providers.
- List material route differences. Equal model names do not prove equal capabilities.
- Probe the exact deployment and request shape Pollinations will use.
- Inspect provider-managed routing/fallback defaults and controls. Report identity, capability, pricing, residency, and observability tradeoffs.
3. Confirm the contract
Present the mandatory row and obtain explicit confirmation before editing. If a capability or access change is intentional, state it plainly.
4. Implement the smallest complete change
- Reuse existing handlers, transforms, provider configs, schemas, and generic fallback infrastructure.
- Do not add speculative abstractions, compatibility shims, or fallbacks.
- Treat aliases as identity-only: resolve to the canonical model, then discard the requested alias for behavior. Never infer parameters from alias spelling such as
-high,-search,-reasoning, or-1080p; only explicit request parameters and canonical defaults apply. Keep a separate canonical model if the old behavior must remain. - Use the resolved registry entry for canonical model identity in generic handlers. Never maintain handler-level lists of model IDs for response, tracking, billing, or routing behavior.
- When a migration canonicalizes stored model IDs, keep the mapping in the migration only. Do not add a runtime normalization layer; require the migration to complete before the new registry is deployed.
- Update every consumer of a changed public ID at once.
- Keep one PR per model or tightly coupled model-family change.
- Never edit generated
APIDOCS.md; update the source schema or route.
5. Verify end to end
- Run the relevant rows in change-and-test-matrix.md.
- For new models and provider/model-ID changes, run the full declared-modality matrix and billing-verification.md.
- Test aliases, permissions, errors, caching, capacity, and
/modelsmetadata. - Verify all media is fully returned within the supported synchronous time budget.
- Record exact evidence and uncertainty in the PR.
6. Open the PR
Before publishing:
- Format changed files with the repository formatter.
- Run focused tests and type checks for every touched service.
- Review the complete diff for unrelated changes and dead code.
- Include the approved contract, exact provider/model ID, pricing source, live probes, E2E results, billing evidence, capacity results, limitations, and deprecation/quota gates.
- Leave the PR draft when a live, quota, latency, safety, or product decision remains unresolved.
Completion gate
A model change is not complete until all applicable statements are true:
- The configured model, aliases, provider, route, price, access, modalities, and capabilities match the approved contract.
- Direct-provider and local E2E requests passed for every declared surface.
- No existing capability disappeared unless explicitly approved.
- Every non-zero usage field is accounted for and billed at the confirmed rate.
- Malformed or rejected requests return useful 4xx responses rather than opaque 5xx responses.
- Capacity and media latency fit the expected production load.
- The catalog description is developer-facing, does not repeat the title, and the brand logo resolves.
- No unapproved secret or deployment mutation occurred.
- The PR contains only this model or tightly coupled family.
When not to use it
- →When deploying services directly to production
- →For investigating model-internal runtime errors
Prerequisites
Limitations
- →Requires manual execution of empirical tests
- →Limited to tracking model registration and parity
- →Not a replacement for real-time model debugging
How it compares
It replaces ad-hoc testing with a standardized lifecycle process, reducing the risk of regression in AI model integrations.
Compared to similar skills
model-management side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| model-management (this skill) | 1 | 2mo | Caution | Intermediate |
| llama-factory | 15 | 8mo | No flags | Advanced |
| senior-prompt-engineer | 7 | 7mo | Review | Advanced |
| dspy | 4 | 7mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by pollinations
View all by pollinations →You might also like
llama-factory
zechenzhangAGI
Expert guidance for fine-tuning LLMs with LLaMA-Factory - WebUI no-code, 100+ models, 2/3/4/5/6/8-bit QLoRA, multimodal support
senior-prompt-engineer
davila7
World-class prompt engineering skill for LLM optimization, prompt patterns, structured outputs, and AI product development. Expertise in Claude, GPT-4, prompt design patterns, few-shot learning, chain-of-thought, and AI evaluation. Includes RAG optimization, agent design, and LLM system architecture. Use when building AI products, optimizing LLM performance, designing agentic systems, or implementing advanced prompting techniques.
dspy
davila7
Build complex AI systems with declarative programming, optimize prompts automatically, create modular RAG systems and agents with DSPy - Stanford NLP's framework for systematic LM programming
agentic-development
alinaqi
Build AI agents with Pydantic AI (Python) and Claude SDK (Node.js)
model-merging
davila7
Merge multiple fine-tuned models using mergekit to combine capabilities without retraining. Use when creating specialized models by blending domain-specific expertise (math + coding + chat), improving performance beyond single models, or experimenting rapidly with model variants. Covers SLERP, TIES-Merging, DARE, Task Arithmetic, linear merging, and production deployment strategies.
context-engineering
mrgoonie
Master context engineering for AI agent systems. Use when designing agent architectures, debugging context failures, optimizing token usage, implementing memory systems, building multi-agent coordination, evaluating agent performance, or developing LLM-powered pipelines. Covers context fundamentals, degradation patterns, optimization techniques (compaction, masking, caching), compression strategies, memory architectures, multi-agent patterns, LLM-as-Judge evaluation, tool design, and project development.