OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add k5-mot/skills --skill open-webui-skill
Operate Open WebUI models, chats, knowledge bases, channels, messages, threads, and files using OPEN_WEBUI_API_KEY. Use when listing models, reading or updating chat history, working with knowledge bases, fetching channel messages, or posting Markdown to Open WebUI.
npx skills add k5-mot/skills --skill open-webui-skill
Use this skill to operate Open WebUI with the bot user configured by OPEN_WEBUI_API_KEY.
Required environment variables:
OPEN_WEBUI_BASE_URL: Open WebUI base URL, for example http://open-webui:8080.OPEN_WEBUI_API_KEY: bot user API key. Never include this value in prompts, output, logs, reports, or scheduled job definitions.Optional environment variables:
OPEN_WEBUI_DEFAULT_CHANNEL: fallback channel when a command omits --channel.OPEN_WEBUI_PUBLIC_URL: browser-facing Open WebUI URL used when reports need clickable links.OPEN_WEBUI_CHANNELS_LIST_PATH: channel listing endpoint path.OPEN_WEBUI_CHANNELS_POST_PATH_TEMPLATE: post endpoint path template containing {channel_id}.OPEN_WEBUI_CHATS_ALL_DB_PATH: admin endpoint for all-user chat export. Default is /api/v1/chats/all/db.OPEN_WEBUI_MODELS_PATH: model listing endpoint path.OPEN_WEBUI_MAX_MESSAGE_CHARS: maximum Markdown post size before truncation.OPEN_WEBUI_TIMEOUT_SECONDS: HTTP timeout in seconds.OPEN_WEBUI_MAX_RETRIES: retry count for transient API failures.For API-key setup, endpoint allowlisting, exact routes, and request/response details, read REFERENCE.md.
Capabilities:
#channel-name or a plain channel name to a channel ID.Models:
Chats:
Knowledge:
Channels:
Fetch channel messages:
Fetch file content:
Post to Channels:
OPEN_WEBUI_API_KEY in prompts, output, or saved cron definitions.REFERENCE.md before changing API paths, adding new Open WebUI endpoints, or diagnosing API-key endpoint restrictions.--dry-run for scheduled posting unless the user explicitly asks for preview only."ok": true means the API accepted the post. "ok": false means no post happened.report and #report are both accepted.data.files[*].id, then call file-content.llm-activity-report-skill, then post with this skill.tech-news-report-skill, then post with this skill.python3 /opt/inferlab/skills/open-webui-skill/scripts/client.py chats list --all
python3 /opt/inferlab/skills/open-webui-skill/scripts/client.py chats list --all-users
python3 /opt/inferlab/skills/open-webui-skill/scripts/client.py chats get --chat-id "<chat_id>"
python3 /opt/inferlab/skills/open-webui-skill/scripts/client.py chats post \
--chat-id "<chat_id>" \
--model llama3.2 \
--content "追加メッセージ"python3 /opt/inferlab/skills/open-webui-skill/scripts/client.py knowledge list --details
python3 /opt/inferlab/skills/open-webui-skill/scripts/client.py knowledge get --knowledge-id "<knowledge_id>"python3 /opt/inferlab/skills/open-webui-skill/scripts/client.py channels list
python3 /opt/inferlab/skills/open-webui-skill/scripts/client.py channels resolve --channel reportpython3 /opt/inferlab/skills/open-webui-skill/scripts/client.py channels messages \
--channel report \
--all \
--include-threadspython3 /opt/inferlab/skills/open-webui-skill/scripts/client.py channels file-content --file-id "<file_id>"python3 /opt/inferlab/skills/open-webui-skill/scripts/client.py channels post \
--channel report \
--content "## Report\n\nBody"