Install
openclaw skills install @xzl01/radxa-docsUse when one Radxa skill should cover the full offline documentation workflow: detect the current board model, map it to the correct product series, deploy or update the local MDMaker documentation mirror under ~/.openclaw/MDMaker, and query board-specific offline docs before coding, debugging, or hardware operations.
openclaw skills install @xzl01/radxa-docsCombine the previous device-info, mdmaker-deploy, and radxa-doc capabilities into one publishable skill.
scripts/detect_device.sh to detect the current device model with Device Tree, DMI, hostname, and /proc/cpuinfo fallbacks.references/device-series-map.md when a detected or user-provided model must be mapped to a Radxa product series.references/device-series-map.md.~/.openclaw/MDMaker/dist/zh/ or ~/.openclaw/MDMaker/dist/en/.cd ~/.openclaw
git clone -b agent https://github.com/ZIFENG278/MDMaker.git
cd ~/.openclaw/MDMaker
python3 -m venv venv
source venv/bin/activate
pip install requests tqdm
python build_md_docs.py
Prefer the upstream GitHub source first. Only fall back to the domestic GitCode mirror if GitHub clone or pull fails.
Primary source:
git clone https://github.com/radxa-docs/docs.git ~/.openclaw/MDMaker/radxa-docs
Fallback source:
git clone https://gitcode.com/radxa-docs/docs.git ~/.openclaw/MDMaker/radxa-docs
If ~/.openclaw/MDMaker/radxa-docs/ already exists and GitHub access fails, switch the existing repo to GitCode and retry:
cd ~/.openclaw/MDMaker/radxa-docs
git remote set-url origin https://gitcode.com/radxa-docs/docs.git
git pull
cd ~/.openclaw/MDMaker
source venv/bin/activate
python update_md_docs.py
~/.openclaw/MDMaker/~/.openclaw/MDMaker/radxa-docs/https://github.com/radxa-docs/docs.githttps://gitcode.com/radxa-docs/docs.git~/.openclaw/MDMaker/dist/zh/~/.openclaw/MDMaker/dist/en/If the mirror is missing and the user did not ask to deploy it, report that the prerequisite is missing instead of fabricating documentation answers.
zh/ or en/ first.dist/<lang>/<series>/<model>/.getting-started, hardware-design, low-level-dev, os-config, radxa-os, other-os, app-development, and apps-deployment.Prefer targeted file discovery over broad scans:
find ~/.openclaw/MDMaker/dist/<lang>/<series>/<model> -name "*<keyword>*.md"
rg -n "<keyword>" ~/.openclaw/MDMaker/dist/<lang>/<series>/<model>
Use hardware-design for pinouts, interfaces, power, and schematic-adjacent questions.
Use getting-started and os-config for installation, boot, networking, and system setup.
Use low-level-dev for bootloader, Device Tree, and low-level platform details.
Use app-development and apps-deployment for software stacks and deployment topics.
When a document contains relative .md links with ../, normalize the link against the current document path, then open the resolved file under the same dist/<lang>/ tree.