sync-models
Skill by huggingface
Syncs chat-ui model config in prod.yaml and dev.yaml with the HuggingFace router. It adds descriptions for new models, flags reasoning-capable ones, and removes deprecated entries.
Install sync-models
Built from the published package, never by AI.
git clone --depth 1 https://github.com/huggingface/chat-ui /tmp/chat-ui && mkdir -p ~/.claude/skills && cp -r /tmp/chat-ui/.claude/skills/sync-models ~/.claude/skills/sync-modelsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/huggingface/chat-ui /tmp/chat-ui && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/chat-ui/.claude/skills/sync-models ~/.gemini/antigravity-cli/skills/sync-modelsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The sync-models skill keeps chat-ui's model configuration in chart/env/prod.yaml and chart/env/dev.yaml aligned with the model list returned by the HuggingFace router at https://router.huggingface.co/v1/models. It compares the router's model IDs with the MODELS entries in the config and researches each missing model. It writes short descriptions, sets supportsReasoning for reasoning-capable models after checking provider documentation, and sets supportsArtifacts for models with 32B or more total parameters.
The skill also removes deprecated entries, meaning config IDs the router no longer returns, from both files so they stay identical. It never removes the omni router alias and leaves existing entries alone unless the user asks for a re-audit. It is intended for maintainers of chat-ui when models are released or removed on the router.
Written from the project's SKILL.md and checked against it.
What it can do
- Find missing modelsCompares router model IDs with the config and lists models that need to be added.
- Write model descriptionsWrites 8-12 word sentence fragments that match the existing description style.
- Flag reasoning modelsSets supportsReasoning only when live providers document reasoning_effort support for the model.
- Enable artifactsSets supportsArtifacts for new models with 32B or more total parameters.
- Prune deprecated modelsRemoves config entries the router no longer serves from both prod.yaml and dev.yaml.
What you need
- Access to the HuggingFace router model list
- Python 3 for the diff script
- Web search access for researching models
Try asking
- Sync models with the HuggingFace router
- Add new model descriptions for models added to the router
- Remove deprecated models no longer on the router
Good to know
- Existing entries in prod.yaml and dev.yaml are not edited unless the user asks for a re-audit.
- Gemma family models are not flagged for reasoning because the vendor requires stripping prior thoughts.
- Uncertain provider documentation means the reasoning flag is not set.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/sync-models/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md14 KB
Alternatives to sync-models
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
sync-models: common questions
What does sync-models change in the config files?
It adds missing models with descriptions, sets supportsReasoning and supportsArtifacts where the rules apply, and removes deprecated entries from prod.yaml and dev.yaml.
Will removing deprecated entries break the chat UI?
The source says MODELS is an overrides map and entries whose IDs the router no longer serves never render, so removing them changes nothing at runtime.
Why does the skill skip existing model entries?
The source says existing entries are intentionally curated and may be hand-tuned for known quirks, so they are only changed on explicit request.
How do I install sync-models?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is sync-models free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is sync-models safe to use?
It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to sync-models?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
