model-backends
БесплатноБез исполняемых скриптовНе проверенUse GenAI Processors model wrappers, function calling, MCP, and local backends.
от lza6★ 19 звёзд на GitHubОб этом скилле
Model backends
Use this sub-skill when a task is about model invocation, realtime model loops, tool/function calling, MCP tools, local backends, or model-selector examples.
Read when
- The task names
GenaiModel,live_model.LiveProcessor,realtime.LiveProcessor,FunctionCalling, orImagePreprocess. - The task asks about Gemini API, Gemini Live API, tool calls, async tools,
FunctionResponse.scheduling, or MCP sessions. - The task asks to use Ollama, Transformers, LangChain, OpenRouter, ADK, or example backend selection.
- The task needs to diagnose
GOOGLE_API_KEY, live model names, Ollama server errors, missing PyTorch, or disabled automatic function calling.
Boundaries
This sub-skill owns model-facing processors and orchestration. It does not own
low-level device/document input; use ../multimodal-i-o/ for audio/video/PDF/
web/Drive/GitHub sources. Use ../examples-and-apps/ for complete CLI/app
wiring.
Backend selection guide
- Use
core.genai_model.GenaiModelfor turn-based Gemini API calls. - Use
core.live_model.LiveProcessorfor Gemini Live API bidirectional streams with Live-capable model names. - Use
core.realtime.LiveProcessorto wrap any turn-based processor into a client-side realtime loop with interruption and rolling prompt state. - Use
core.function_calling.FunctionCallingwhen the library, not the model client, should execute functions or MCP tools. - Use
core.ollama_model.OllamaModelfor a running local Ollama server. - Use
core.transformers_model.TransformersModelfor local HuggingFace Transformers; install PyTorch before real model execution. - Use
contrib.langchain_model.LangChainModelorcontrib.openrouter_model.OpenRouterModelfor contributed wrappers. - Use
core.adk.ProcessorAgentfor wrapping a processor as an ADK agent.
References and scripts
references/api-reference.mdlists constructors, model wrappers, and support helpers.references/workflows.mdshows Gemini, realtime, function-calling, MCP, and local-backend patterns.references/troubleshooting.mdcovers credentials, service availability, PyTorch, Live API model names, and tool-call configuration.scripts/smoke_models.pyimports wrappers and prints key signatures without contacting any service.
Native evidence anchors
Model behavior is grounded by source modules under genai_processors/core/,
genai_processors/contrib/, genai_processors/mcp.py, and tests such as
genai_model_test.py, live_model_test.py, realtime_test.py,
function_calling_test.py, mcp_test.py, ollama_model_test.py,
transformers_model_test.py, and adk_test.py. Example evidence includes
examples/models.py, examples/smart_model.py, examples/chat.py,
examples/trip_request_cli.py, examples/trip_request_cli_ollama.py, and
examples/trip_request_adk/agent.py.
Usability checkpoints
A good answer using this sub-skill should:
- State whether the model wrapper buffers full input or streams bidirectionally.
- Identify required credentials or local services before showing runnable code.
- Disable model-side automatic function calling when wrapping with
FunctionCallingand executing tools in the processor loop. - Keep model selection separate from I/O and full app concerns unless the task explicitly spans those areas.
- Treat external API calls, model downloads, and service startup as non-smoke operations requiring user-controlled credentials and budget.
Установить model-backends в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл model-backends?
Use GenAI Processors model wrappers, function calling, MCP, and local backends.
Как установить скилл model-backends?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл model-backends запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic