Agent Skills
› katanemo/plano
› new-provider
new-provider
GitHub用于在 hermesllm 项目中集成新的 LLM 提供商。包括更新枚举、实现解析、处理 API 格式差异、注册模型及更新映射,最后运行测试验证。
Trigger Scenarios
集成新的 AI 提供商
添加新的 LLM 支持
Install
npx skills add katanemo/plano --skill new-provider -g -y
SKILL.md
Frontmatter
{
"name": "new-provider",
"description": "Add a new LLM provider to hermesllm. Use when integrating a new AI provider.",
"user-invocable": true,
"disable-model-invocation": true
}
Add a new LLM provider to hermesllm. The user will provide the provider name as $ARGUMENTS.
- Add a new variant to
ProviderIdenum incrates/hermesllm/src/providers/id.rs - Implement string parsing in the
TryFrom<&str>impl for the new provider - If the provider uses a non-OpenAI API format, create request/response types in
crates/hermesllm/src/apis/ - Add variant to
ProviderRequestTypeandProviderResponseTypeenums and update all match arms - Add model list to
crates/hermesllm/src/providers/provider_models.yaml - Update
SupportedUpstreamAPIsmapping if needed
After making changes, run cd crates && cargo test --lib to verify everything compiles and tests pass.
Version History
- 0.4.26 Current 2026-07-06 00:27


