Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 88
  • 11k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-models

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install sync-models in Claude Code

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

A

No 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 →

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.

sync-models Install

Add to stack

Loading.