Complete Open WebUI API integration for managing LLM models, chat completions, Ollama proxy operations, file uploads, knowledge bases (RAG), image generation, audio processing, and pipelines. Use this skill when interacting with Open WebUI instances via REST API - listing models, chatting with LLMs, uploading files for RAG, managing knowledge collections, or executing Ollama commands through the Open WebUI proxy. Requires OPENWEBUI_URL and OPENWEBUI_TOKEN environment variables or explicit parameters.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install open-webui或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install open-webui⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/open-webui/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: open-webui description: Complete Open WebUI API integration for managing LLM models, chat completions, Ollama proxy operations, file uploads, knowledge bases (RAG), image generation, audio processing, and pipelines. Use this skill when interacting with Open WebUI instances via REST API - listing models, chatting with LLMs, uploading files for RAG, managing knowledge collections, or executing Ollama commands through the Open WebUI proxy. Requires OPENWEBUI_URL and OPENWEBUI_TOKEN environment variables or explicit parameters. compatibility: Requires Python 3.8+ with requests library, or curl. Works with any Open WebUI instance (local or remote). Internet access required for external instances. ---
Complete API integration for Open WebUI - a unified interface for LLMs including Ollama, OpenAI, and other providers.
Activate this skill when the user wants to:
Do NOT activate for:
export OPENWEBUI_URL="http://localhost:3000" # Your Open WebUI instance URL
export OPENWEBUI_TOKEN="your-api-key-here" # From Settings > Account in Open WebUI
Example requests that SHOULD activate this skill:
Example requests that should NOT activate this skill:
OPENWEBUI_URL and OPENWEBUI_TOKEN are setUse the CLI tool or direct API calls:
# Using the CLI tool (recommended)
python3 scripts/openwebui-cli.py --help
python3 scripts/openwebui-cli.py models list
python3 scripts/openwebui-cli.py chat --model llama3.2 --message "Hello"
# Using curl (alternative)
curl -H "Authorization: Bearer $OPENWEBUI_TOKEN" \
"$OPENWEBUI_URL/api/models"
| Endpoint | Method | Description | |----------|--------|-------------| | /api/chat/completions | POST | OpenAI-compatible chat completions | | /api/models | GET | List all available models | | /ollama/api/chat | POST | Native Ollama chat completion | | /ollama/api/generate | POST | Ollama text generation |
| Endpoint | Method | Description | |----------|--------|-------------| | /ollama/api/tags | GET | List Ollama models | | /ollama/api/pull | POST | Pull/download a model | | /ollama/api/delete | DELETE | Delete a model | | /ollama/api/embed | POST | Generate embeddings | | /ollama/api/ps | GET | List loaded models |
| Endpoint | Method | Description | |----------|--------|-------------| | /api/v1/files/ | POST | Upload file for RAG | | /api/v1/files/{id}/process/status | GET | Check file processing status | | /api/v1/knowledge/ | GET/POST | List/create knowledge collections | | /api/v1/knowledge/{id}/file/add | POST | Add file to knowledge base |
| Endpoint | Method | Description | |----------|--------|-------------| | /api/v1/images/generations | POST | Generate images | | /api/v1/audio/speech | POST | Text-to-speech | | /api/v1/audio/transcriptions | POST | Speech-to-text |
Always confirm before:
DELETE /ollama/api/delete) - Irreversiblesk-...XXXX formatpython3 scripts/openwebui-cli.py models list
python3 scripts/openwebui-cli.py chat \
--model llama3.2 \
--message "Explain the benefits of RAG" \
--stream
python3 scripts/openwebui-cli.py files upload \
--file /path/to/document.pdf \
--process
python3 scripts/openwebui-cli.py knowledge add-file \
--collection-id "research-papers" \
--file-id "doc-123-uuid"
python3 scripts/openwebui-cli.py ollama embed \
--model nomic-embed-text \
--input "Open WebUI is great for LLM management"
python3 scripts/openwebui-cli.py ollama pull \
--model llama3.2:70b
# Agent must confirm: "This will download ~40GB. Proceed? [y/N]"
python3 scripts/openwebui-cli.py ollama status
| Error | Cause | Solution | |-------|-------|----------| | 401 Unauthorized | Invalid or missing token | Verify OPENWEBUI_TOKEN | | 404 Not Found | Model/endpoint doesn't exist | Check model name spelling | | 422 Validation Error | Invalid parameters | Check request body format | | 400 Bad Request | File still processing | Wait for processing completion | | Connection refused | Wrong URL | Verify OPENWEBUI_URL |
Files uploaded for RAG are processed asynchronously. Before adding to knowledge:
/api/v1/files/{id}/process/status until status: "completed"Pulling models (e.g., 70B parameters) can take hours. Always:
...
安装 Open WebUI 后,可以对 AI 说这些话来触发它
Help me get started with Open WebUI
Explains what Open WebUI does, walks through the setup, and runs a quick demo based on your current project
Use Open WebUI to complete Open WebUI API integration for managing LLM models, chat c...
Invokes Open WebUI with the right parameters and returns the result directly in the conversation
What can I do with Open WebUI in my design & creative workflow?
Lists the top use cases for Open WebUI, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/open-webui/ 目录(个人级,所有项目可用),或 .claude/skills/open-webui/(项目级)。重启 AI 客户端后,用 /open-webui 主动调用,或让 AI 根据上下文自动发现并使用。
Open WebUI 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Open WebUI 可免费安装使用。请查阅仓库了解许可证信息。
Complete Open WebUI API integration for managing LLM models, chat completions, Ollama proxy operations, file uploads, knowledge bases (RAG), image generation, audio processing, and pipelines. Use this skill when interacting with Open WebUI instances via REST API - listing models, chatting with LLMs, uploading files for RAG, managing knowledge collections, or executing Ollama commands through the Open WebUI proxy. Requires OPENWEBUI_URL and OPENWEBUI_TOKEN environment variables or explicit parameters.
Automate my design & creative tasks using Open WebUI
Identifies repetitive steps in your workflow and sets up Open WebUI to handle them automatically
Open WebUI 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。