hermes-custom-vision-provider
Configures non-standard vision providers in the Hermes Agent, avoiding default provider limitations.
Install
mkdir -p .claude/skills/hermes-custom-vision-provider && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16954" && unzip -o skill.zip -d .claude/skills/hermes-custom-vision-provider && rm skill.zipInstalls to .claude/skills/hermes-custom-vision-provider
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Configure custom/OpenAI-compatible vision providers in Hermes Agent (Kimi, DeepSeek, Azure, etc.)Key capabilities
- →Configure custom vision providers like Kimi or DeepSeek
- →Specify base_url for custom OpenAI-compatible endpoints
- →Reference API keys from environment variables
- →Set model names for custom vision providers
- →Debug vision authentication issues
- →Restart the Hermes Gateway process
How it works
The skill configures the Hermes Agent's auxiliary vision settings by setting the provider to 'custom' and specifying the base_url, model, and api_key_env in the YAML configuration.
Inputs & outputs
When to use hermes-custom-vision-provider
- →Setup custom vision model
- →Configure DeepSeek vision
- →Debug vision authentication
About this skill
Hermes Custom Vision Provider Setup
When to Use
When you want to use a custom/OpenAI-compatible vision provider (Kimi/Moonshot, DeepSeek, Azure, etc.) instead of the default OpenRouter auto-detection.
The Provider Key Insight
provider: openai ≠ "use an OpenAI-compatible endpoint".
It resolves openai through _PROVIDER_ALIASES and routes to the actual OpenAI provider, which:
- Ignores your
base_urlsetting - Ignores
api_key_envreferences - Uses only the
OPENAI_API_KEYfrom.env
For custom endpoints, use provider: custom.
Only provider: custom activates the code path that reads:
base_urlmodelapi_keyORapi_key_env
Config Structure
auxiliary:
vision:
provider: custom # NOT "openai"
model: moonshot-v1-8k-vision-preview
base_url: https://api.moonshot.cn/v1
api_key_env: MOONSHOT_API_KEY # Reference .env var, NOT hardcoded key
timeout: 120
Common Pitfalls
1. Empty api_key overrides api_key_env
# WRONG — empty string is truthy and overrides the env reference
api_key: ''
api_key_env: MOONSHOT_API_KEY
# CORRECT — omit api_key entirely when using api_key_env
api_key_env: MOONSHOT_API_KEY
2. provider: openai goes to OpenAI, not your endpoint
# WRONG — uses OpenAI's API key, ignores base_url
provider: openai
base_url: https://api.moonshot.cn/v1
# CORRECT — activates custom endpoint path
provider: custom
base_url: https://api.moonshot.cn/v1
How to Debug Vision Auth Issues
When vision returns 401 on Telegram but works in CLI:
- Check
errors.log— if it saysInvalid Authenticationwith an OpenAI-style error body, the gateway is using the wrong API key - The gateway process loads config at startup — config changes require a restart
- Use
provider: customwithapi_key_envpointing to your.envvariable
Restarting the Gateway
# Find running gateway processes
ps aux | grep "hermes_cli.main gateway"
# Kill and restart (--replace prevents "token already in use")
kill <PID>
nohup ~/.hermes/hermes-agent/venv/bin/python -m hermes_cli.main gateway run --replace > ~/.hermes/logs/gateway.log 2>&1 &
Available Kimi/Moonshot Vision Models
moonshot-v1-8k-vision-preview (8k context)
moonshot-v1-32k-vision-preview (32k context)
moonshot-v1-128k-vision-preview (128k context)
kimi-k2.5 (latest multimodal, requires temperature=1)
Note: kimi-k2.5 requires temperature=1 exactly, but vision_tools.py hardcodes temperature: 0.1, so it will fail with invalid temperature. Use moonshot-v1-8k-vision-preview instead.
When not to use it
- →When using the default OpenRouter auto-detection for vision providers
- →When the provider is set to 'openai' for a custom endpoint
- →When an empty string is used for api_key while api_key_env is also set
Limitations
- →Using 'provider: openai' ignores base_url and api_key_env settings
- →An empty string for 'api_key' overrides 'api_key_env'
- →Some models like 'kimi-k2.5' require specific temperature settings not always supported by default
How it compares
This skill explicitly directs API calls to custom OpenAI-compatible vision endpoints, bypassing the default OpenAI provider's settings and allowing for flexible model integration.
Compared to similar skills
hermes-custom-vision-provider side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| hermes-custom-vision-provider (this skill) | 0 | 4mo | Review | Intermediate |
| fastapi-templates | 520 | 3mo | No flags | Intermediate |
| android-kotlin-development | 268 | 5mo | Review | Advanced |
| mcp-builder | 136 | 4mo | Review | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
android-kotlin-development
aj-geddes
Develop native Android apps with Kotlin. Covers MVVM with Jetpack, Compose for modern UI, Retrofit for API calls, Room for local storage, and navigation architecture.
mcp-builder
anthropics
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
fastapi-pro
sickn33
Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.
api-design-principles
wshobson
Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.
telegram-bot-builder
davila7
Expert in building Telegram bots that solve real problems - from simple automation to complex AI-powered bots. Covers bot architecture, the Telegram Bot API, user experience, monetization strategies, and scaling bots to thousands of users. Use when: telegram bot, bot api, telegram automation, chat bot telegram, tg bot.