Agent Skills
› xinity-ai/xinity-ai
› integrate-model
integrate-model
GitHub用于在集群中集成新推理模型。通过研究模型、组装元数据YAML文件,并使用run-model脚本进行实际运行验证和能力测试(如工具调用、视觉),确保模型可正常运行且数据准确。
Trigger Scenarios
用户请求安装或集成特定模型
需要生成新的模型条目以便后续集成
Install
npx skills add xinity-ai/xinity-ai --skill integrate-model -g -y
SKILL.md
Frontmatter
{
"name": "integrate-model",
"description": "Integrate a new inference model into Xinity from a loose request like \"install\/integrate\/add model X\". Researches the model, assembles validated model data (the xinity-infoserver model entry), and verifies it actually runs via the daemon's run-model script, iterating on failures. Use whenever someone wants to make a specific model runnable on the cluster or to produce a model entry they can integrate themselves."
}
Integrate a model
Follow the canonical procedure in packages/xinity-infoserver/docs/integrating-a-model.md:
research the model, assemble its model entry, verify it with run-model, and iterate on
failures using the failure/fix table. The field reference is in that doc and in
packages/xinity-infoserver/docs/model-fields.md.
When working through it as an agent:
- Write the model entry to a YAML file OUTSIDE this repo (e.g.
~/modeloutputs/<model>.yaml) and pointrun-model --models <that file>at it for verification. NEVER edit or add to this repo'spackages/xinity-infoserver/models.yaml: model metadata is tracked externally and the integrator decides where to apply what you produce. No model-data artifacts may land in this repository. - Run
run-modelwith--json(--plan --json, then--start --json) so output is machine-readable; branch on.gate.reasonand, on error, the non-zero exit with.code, instead of scraping text. - Confirm the entry by actually running it, not by reasoning alone, and that means a real request,
not just
/health. - Research and validate declared capabilities: check whether the model supports tool/function
calling and vision, and if research says it plausibly does, add the tag (tools also needs
providerArgs.vllm: ["--tool-call-parser", "<name>"]) and test it against the running server (a realtool_callsresponse; an image description). Skip a test only when research shows no realistic chance, and note that you checked. - Do not add
custom_code(vLLM--trust-remote-code) preemptively; only after a load failure shows it is needed. - If the model is ambiguous (base vs instruct, size, quantization), ask the user before picking.
Version History
- 9817b2f Current 2026-07-25 05:51


