omh-model-setup
它能做什么
该技能检查并设置 Hermes 在不同角色中使用的 AI 模型和服务商。适合希望连接或更改模型设置、又不想凭猜测修改配置的人。
适用场景
- ✓当你希望 Hermes 使用你已经拥有的 AI 模型时。
- ✓当你需要为 Hermes 连接一个新的模型服务商时。
- ✓当某个模型角色缺失,或指向了你不再使用的模型时。
技能链接
https://github.com/rlaope/oh-my-hermes/blob/main/skills/omh-model-setup/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请根据我已有的模型来设置。目前只有 Qwen 和 Gemini 处于启用状态,所以在应用任何内容之前,请先显示改动。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体检查安全的模型细节,请你确认哪些模型处于启用状态,并列出改动。每项改动只有在你批准差异之后才会应用。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Model Setup
This is a Hermes-native model-setup workflow skill.
Why This Exists
model-setup exists to turn local model history into a safe, user-confirmed activation flow: Hermes retains native aliases and providers, Maestro remains an external-handoff coordinator, and editable recommendations can fall through missing preferred models without turning metadata into availability or execution claims.
Do Not Use When
- The user is asking which model Hermes currently is, not asking to inspect, change, connect, or route one.
- The request needs a repository code change rather than local model setup or recommendation review.
- The user wants anti-ban, cooldown-bypass, hidden retry, benchmark-superiority, or provider-entitlement claims.
Examples
Good example:
- Prompt: Set up models from what I already have; only Qwen and Gemini are active, and show me the Hermes versus external-owner changes before applying anything.
- Expected behavior: Inspect safe metadata, ask the user to confirm active candidates, keep unavailable preferred heads visible, resolve compatible fallbacks, and separately preview Hermes-native config and Maestro external-handoff guidance.
- Why: The request needs flexible missing-model resolution while preserving owner and approval boundaries.
Bad example:
- Prompt: Use an old session entry to prove my Grok account is active and silently replace the main alias.
- Expected behavior: Treat the entry as observed_before only, require active confirmation, show any alias collision, and refuse an unapproved write.
- Why: Historical metadata is not provider readiness and cannot authorize a configuration change.
Completion Checklist
- If a prerequisite is unmet, mark that item "not applicable" and continue with the rest of the guide instead of blocking or guessing.
- Success is applicable-only: verification passes when every applicable item is confirmed complete, not when every possible item exists.
- Every emitted metadata identifier passed the safe allowlist and every candidate retains a closed source state.
- Hermes-native configuration and Maestro external-handoff recommendations are reported as separate owner surfaces.
- Every requested write was previewed, explicitly approved, digest-checked, and re-verified; unresolved model items did not block unrelated setup.
Recovery Notes
- If discovery is absent, truncated, unreadable, or layout_unverified, name that source state and continue with manual confirmed-active input instead of scanning more broadly.
- If a provider serves only dated snapshot ids (
gpt-6.1-sol-YYYY-MM-DD), confirm the dated id as active and keep it as served: OMH reads a trailing-YYYY-MM-DDas the base alias for recommendation chains, HUD labels, prices, and calibration, so the base's chain position applies without renaming the id; a date on a base no chain names still resolves nothing. - If a preferred Kimi, Claude, OpenAI, GLM, DeepSeek, Grok, or Gemini candidate is missing, preserve it as inactive and try the next confirmed-active compatible editorial candidate; do not substitute for an explicit unavailable choice.
- If no compatible model is confirmed active, record owner_default, finish applicable OMH setup without a model-config write, and name the relevant Hermes-native provider/auth or user-override next action.
- If the diagnosed Hermes config cannot be read, report the read failure and stop before proposing a diff; if the config digest changes or the user rejects the diff, do not apply it.
- If an OAuth provider (OpenAI Codex/ChatGPT, Anthropic, Qwen OAuth) needs login or an account switch, guide the user to
hermes modelin another terminal (interactive provider selection with browser OAuth), which works whichever surface they chat in, then/model --refreshback in the session. In Hermes' own terminal (hermes --tui),/setupalso runs the interactive wizard, including provider login, and the/modelpicker there handles only inline API-key entry, not OAuth; the OMH TUI refuses/setup, and its bare/modellists the models Hermes offers this session and switches to the one picked, with no login step. - If a provider hit its quota or rate limit, guide Hermes pooled credentials instead of abandoning the provider:
hermes auth addregisters an additional account for the same provider,hermes auth statusshows which credential is exhausted, andhermes auth resetclears recorded exhaustion after limits recover; delegation lanes can also
常见问题
它会显示我的 API 密钥吗?
不会。它只使用安全的细节和密钥名称,不会显示密钥的值。
如果我偏好的模型不可用怎么办?
该技能会保留它的显示,并建议一个兼容的备选项供你确认。
它会测试模型是否能用吗?
不会。在你或你的工具观察到之前,它不会宣称某个模型可用。
详情
作者的原始描述
[omh] Model and provider configuration changes: diagnose role-slot model configuration, guide provider connection, and apply changes only after diff approval. Use when the user says: model-setup, hermes model setup, set up my models, set up my model, configure my models, configure model provider, connect my model provider, set up model role slots.
repo: rlaope/oh-my-hermes
热度
- GitHub 星标
- 5.1k
- 排名
- #15208
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
omh-accessibility-audit
5.1k帮你的智能体检查某个界面或流程是否存在无障碍问题,例如键盘使用、屏幕阅读器标签、对比度和触控目标大小。
omh-adversarial-consensus
5.1k在你做出决定之前,帮你的智能体从几个独立角度质疑一个技术方案,然后总结哪些观点经得起推敲。
omh-agent-debug
5.1k帮你的智能体找出另一个 AI 智能体为何卡住、陷入循环或偏离任务,并提出最小且安全的恢复方法。
omh-agent-instructions
5.1k帮你的智能体编写或更新指令文件,例如 AGENTS.md 或 CLAUDE.md,告诉 AI 工具如何在项目中工作。