RaspAP
/install raspap
RaspAP
Use for RaspAP access point status and diagnostics via the experimental local REST API.
Configuration
- Default RestAPI port:
8081 - RaspAP RestAPI auth header:
access_token - Environment variables:
RASPAP_HOST: RaspAP host or IP addressRASPAP_PORT: RestAPI port, defaults to8081RASPAP_API_KEY: API key valueRASPAP_KEY_FILE: file containing the API key
Never print the API key. Prefer RASPAP_API_KEY or RASPAP_KEY_FILE.
Igor's local instance currently uses:
export RASPAP_HOST=10.0.0.235
export RASPAP_KEY_FILE=/home/igor/RaspAp.txt
Safety
Default to read-only checks. Ask before restart/reload actions or any change that could interrupt Wi-Fi, DHCP, DNS, routing, firewall, OpenVPN, or WireGuard service.
Helper
Use the bundled helper for API reads:
skills/raspap/scripts/raspap-api system
skills/raspap/scripts/raspap-api clients
skills/raspap/scripts/raspap-api clients/wlan0
skills/raspap/scripts/raspap-api dhcp
skills/raspap/scripts/raspap-api dns/logs
The helper accepts an endpoint without a leading slash and emits JSON. By default it redacts JSON fields whose names look secret-sensitive, such as passphrases, keys, certs, tokens, and passwords. Set RASPAP_RAW=1 only when the user explicitly needs raw output.
Do not fetch /openvpn/{config}, /ap, or other raw config endpoints without thinking about redaction. They may contain Wi-Fi passphrases, certificates, private keys, static keys, credentials, or auth file names. If config inspection is unavoidable, summarize only non-secret fields such as remote, proto, dev, cipher, SSID, channel, and active config names.
Useful Endpoints
Observed on 2026-06-02 from /openapi.json:
/system/ap/clients/clients/{wireless_interface}/dhcp/dns/domains/dns/hostnames/dns/logs/dns/upstream/ddns/firewall/networking/openvpn/openvpn/{config}/wireguard
Troubleshooting
If :8081 is closed, check restapi.service on the Raspberry Pi. A systemd status of 217/USER usually means the unit's User= does not exist; change it to a real local user, then run sudo systemctl daemon-reload and restart the service.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install raspap - 安装完成后,直接呼叫该 Skill 的名称或使用
/raspap触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
RaspAP 是什么?
Query and troubleshoot a RaspAP access point via its local REST API. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 41 次。
如何安装 RaspAP?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install raspap」即可一键安装,无需额外配置。
RaspAP 是免费的吗?
是的,RaspAP 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
RaspAP 支持哪些平台?
RaspAP 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 RaspAP?
由 Yngvarr_75(@naamah75)开发并维护,当前版本 v0.1.1。