2361359008/doc-web-assistant/SKILL.md
Use native web_fetch content to build a local documentation knowledge base, query it, extract command plans, and prepare Doc Executor workflows.
npx skillsauth add openclaw/skills doc-web-assistantInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill lets OpenClaw treat a documentation website as a local structured knowledge base.
Bash(python:*)Bash(py:*)Bash(pip:*)It supports three stages:
web_fetch to obtain page content.The acquisition path is:
web_fetch first.import.This skill is designed for documentation assistant workflows such as:
doc_web_assistant.py: importer, crawler, indexer, retriever, plannerrequirements.txt: Python dependenciesSKILL.md: skill instructions for OpenClawInstall the required Python packages:
pip install -r requirements.txt
If OpenClaw runs inside the skill directory, this is enough.
If you need an explicit command with absolute path, use:
python doc_web_assistant.py --help
Preferred path for OpenClaw.
First, use native web_fetch to get the document content from the target URL.
Then save that content to a local file such as ./fetched_doc.md or ./fetched_doc.html.
Finally import it with:
python doc_web_assistant.py import --input "./fetched_doc.md" --source-url "https://example.com/docs/install" --out "./doc_store"
You may also import HTML directly:
python doc_web_assistant.py import --input "./fetched_doc.html" --source-url "https://example.com/docs/install" --out "./doc_store" --format html
Output files will be created under ./doc_store:
manifest.jsonchunks.jsonpages/page_0001.jsonpython doc_web_assistant.py query --db "./doc_store" --query "如何安装 ARMv9 优化版 llama.cpp" --top-k 5
This returns the most relevant sections and code blocks from the local store.
python doc_web_assistant.py plan --db "./doc_store" --query "根据文档给我安装 KleidiAI 优化版 llama.cpp 的命令" --top-k 5
This returns:
When the user asks a documentation-driven task, follow this sequence.
Use when the target documentation is not yet available locally.
web_fetch to fetch <DOC_URL>.python doc_web_assistant.py import --input "./fetched_doc.md" --source-url "<DOC_URL>" --out "./doc_store"
Then inspect results with:
python doc_web_assistant.py query --db "./doc_store" --query "<USER_TASK>" --top-k 5
Use when the user wants explanation only.
python doc_web_assistant.py query --db "./doc_store" --query "<USER_QUESTION>" --top-k 5
Answer from the matched chunks and cite the source URL when possible.
Use when the user wants executable steps.
python doc_web_assistant.py plan --db "./doc_store" --query "<USER_TASK>" --top-k 5
Then convert returned commands into an ordered plan.
Use only after a plan is built.
low risk commands directly after checking environment.medium risk commands before execution.high risk commands without explicit user confirmation.When using this skill, OpenClaw should behave as follows.
web_fetch first.python doc_web_assistant.py import ....query for explanation tasks.plan for terminal-execution tasks.web_fetch returns incomplete or noisy content, say so explicitly before planning execution.manifest.jsonContains:
pages/page_xxxx.jsonContains per-page structured content:
chunks.jsonContains flattened retrieval chunks for:
web_fetch on:https://docs.radxa.com/en/orion-o6/app-development/llama.cppSave the fetched content to ./radxa_llama_doc.md
Import it:
python doc_web_assistant.py import --input "./radxa_llama_doc.md" --source-url "https://docs.radxa.com/en/orion-o6/app-development/llama.cpp" --out "./radxa_llama_docs"
python doc_web_assistant.py query --db "./radxa_llama_docs" --query "KleidiAI 编译参数" --top-k 3
python doc_web_assistant.py plan --db "./radxa_llama_docs" --query "根据文档生成安装和编译命令" --top-k 5
web_fetch is the acquisition method for anti-bot or dynamically rendered sites.pip is missing, install Python with pip first.web_fetch succeeds but the imported structure is weak, save the fetched content as Markdown and import that Markdown file.If the skill logic is unclear, update SKILL.md and keep the command examples aligned with the Python script.
tools
Use when the user wants to connect to, test, or use the McDonalds service at mcp.mcd.cn, including checking authentication, probing MCP endpoints, listing tools, or calling McDonalds MCP tools through a reusable local CLI.
development
Web scraping platform — Twitter/X data, Vinted marketplace, and general web scraping API
development
SlowMist AI Agent Security Review — comprehensive security framework for skills, repositories, URLs, on-chain addresses, and products (Claude Code version)
data-ai
去除中文文本中的 AI 写作痕迹,使其读起来自然。基于维基百科 AI 写作特征指南,检测 24 种 AI 模式。触发词:humanizer-cn、去除 AI 痕迹、去除 AI 写作痕迹、中文文本人性化。