sync-models

sync-models is a skill for Claude Code from FacturaScripts/fs-claude-plugin. It costs 40 tokens per session (4,346 once invoked), scanned A, original, MIT.

A maintenance tool for keeping the FacturaScripts data model catalogue in sync with the source code of the ERP or its plugins.

In plain words
What is it for?
Use it to refresh one or more core or private models from a local source or GitHub, updating files and compiling core changes when needed.
Why use it?
It finds added, changed, or removed database fields and keeps the catalogue descriptions and generated metadata current.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/yo/facturascripts.

Part of the fs-mcp plugin — 4 skills shipped together

Good fit Use it to refresh one or more core or private models from a local source or GitHub, updating files and compiling core changes when needed.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add FacturaScripts/fs-claude-plugin
Claude Code
/plugin install fs-mcp

Made for: Claude Code.

Or install fs-mcp, the plugin that ships this one along with the rest of its 4 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sync-models

README.md
[![agentmods](https://agentmods.dev/badge/skills/facturascripts/fs-claude-plugin/sync-models/github.svg)](https://agentmods.dev/skills/facturascripts/fs-claude-plugin/sync-models)
Your own site
<a href="https://agentmods.dev/skills/facturascripts/fs-claude-plugin/sync-models"><img src="https://agentmods.dev/badge/skills/facturascripts/fs-claude-plugin/sync-models/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sync-models

Your own site · 80×15
<a href="https://agentmods.dev/skills/facturascripts/fs-claude-plugin/sync-models"><img src="https://agentmods.dev/badge/skills/facturascripts/fs-claude-plugin/sync-models.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,346 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.04346
Opus 5.5 $0.00016 $0.01738
Sonnet 5.5 $0.00008 $0.00869
Haiku 4.5 $0.00004 $0.00435

Measured 1mo ago against content hash 1a27c91c2c24, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sync-models scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

fs-mcp/skills/sync-models/SKILL.md · 292 lines

How it starts

The opening of the file, as written. The whole thing — 292 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sync Models — Mantenimiento de la metadata del MCP

Esta skill es la herramienta de mantenimiento del catálogo de modelos del plugin fs-mcp. Úsala cuando:

  • Quieras añadir un modelo nuevo del core de FacturaScripts o de un plugin privado.
  • Hayas actualizado FacturaScripts (o un plugin) y quieras revisar si algún modelo ya configurado tiene columnas nuevas, modificadas o eliminadas.
  • Quieras hacer un refresh masivo de todos los modelos del catálogo y actualizar la versión registrada del core.

La skill respeta la separación entre core y privados:

  • Core → modifica archivos del repo del MCP (server/src/...) y compila.
  • Privados → modifica archivos en la ruta privada del usuario (<outputBase>/...); no compila (los privados se cargan dinámicamente al arrancar el servidor).

Cómo invocar

El usuario te indicará tres datos por cada modelo:

  1. Nombre del modelo en snake_case (ej: cliente, factura_cliente, task).
  2. Tipo: core o private.
  3. Origen (de dónde leer la fuente):
    • Ruta local absoluta: ej. /Users/yo/facturascripts o /Users/yo/facturascripts/Plugins/Forja.
    • URL de GitHub: ej. https://github.com/NeoRazorX/facturascripts o de un plugin.

Ejemplos de invocación habituales:

  • Revisa el modelo cliente del core, fuente /Users/yo/facturascripts
  • Revisa los modelos cliente, producto y factura_cliente, todos en /Users/yo/facturascripts
  • Revisa task y publication, ambos privados, en /Users/yo/facturascripts/Plugins/Forja
  • Revisa task del plugin privado en https://github.com/X/Forja
  • Refresca todos los modelos del core desde /Users/yo/facturascripts y actualiza la versión

Si el usuario no aporta alguno de los tres datos, pregúntale antes de continuar.


Conceptos previos

Lo primero que debes hacer es familiarizarte con el estado actual del MCP si no lo has hecho ya:

Archivo Rol
server/src/scripts/generate-metadata.ts Genera la metadata (modo CORE y modo PLUGIN). Contiene MODEL_CATALOG con los modelos del core.
server/src/metadata/descriptions-overrides.json Descripciones contextuales del core. Single source of truth (committed).
server/src/metadata/models/*.ts Metadata generada por modelo (CORE). No editar a mano.
server/src/metadata/index.ts Agregador auto-generado.
<outputBase>/manifest.json Manifest del plugin privado (declara los modelos del plugin). Siempre se llama manifest.json, nunca manifest-nombre.json.
<outputBase>/descriptions.json Descripciones del plugin privado. Siempre se llama descriptions.json, nunca nombre-descriptions.json.
<outputBase>/<modelo>/metadata.js Metadata generada del modelo privado. No editar a mano.
<outputBase>/<modelo>/index.js Loader del módulo privado. Re-exporta modelMetadata desde ./metadata.js.

Read the full file on GitHub · 292 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -60 tokens per session 1a27c91c2c24
  2. 2mo ago First seen · 292 lines · 100 tokens per session scan A 27f107c3d250

Subscribe to this mod's changes

sync-models is a skill published in the GitHub repository FacturaScripts/fs-claude-plugin (10 stars, last pushed 2d ago), licensed MIT. It adds 40 tokens to every session and 4,346 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

sync-models compared with skills from other repositories

sync-models next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sync-modelsFacturaScripts/fs-claude-pluginSkill102d agoMITA40Claude Code
create-prprisma/ormSkill48kyesterdayApache-2.0A48Claude Code, Codex
schema-explorationlangchain-ai/deepagentsSkill31kyesterdayMITA57Claude Code, Codex
atlas-mssqlariga/atlasSkill8.8kyesterdayApache-2.0A163Claude Code
ha-data-storesshiwenwen/hope-agentSkill1.9kyesterdayMITA115Claude Code, Codex
nornicdb-cypher-queriesorneryd/NornicDBSkill923yesterdayMITA79Claude Code, Codex
volcengine-rds-postgresqlbytedance/agentkit-samplesSkill484todayApache-2.0A63Claude Code, Codex