Manage AI-built websites via NiceBox OpenClaw API. Supports article publishing, viewing messages, and checking site status.
Manage AI-built websites through the NiceBox OpenClaw API.
Base URL:
https://ai.nicebox.cn/api/openclaw
Authentication:
Authorization: $AIBOX_API_KEY
This skill provides 3 main capabilities:
Publish an article to your site.
python3 {baseDir}/scripts/publish_article.py \
--title "Hello World" \
--content "<p>This is article content</p>" \
--summary "Optional summary" \
--author "NiceBox AI" \
--cover "https://example.com/cover.jpg" \
--status publish
Options:
--title: Article title (required)--content: Article content, usually HTML (required)--summary: Article summary (optional)--author: Author name (optional)--cover: Cover image URL (optional)--status: draft or publish (default: publish)List messages, inquiries, or leads from your site.
python3 {baseDir}/scripts/list_messages.py
python3 {baseDir}/scripts/list_messages.py --page 1 --page-size 20
python3 {baseDir}/scripts/list_messages.py --is-read 0
Options:
--page: Page number (default: 1)--page-size: Number of items per page (default: 20)--is-read: Filter by read status, 0 unread / 1 read (optional)Check the current status of your site.
python3 {baseDir}/scripts/site_status.py
No additional options required.
Set your API key before using this skill:
export AIBOX_API_KEY="your_api_key"
Optional override for base URL:
export AIBOX_BASE_URL="https://ai.nicebox.cn/api/openclaw"
This skill assumes the following API paths:
POST /article/publishGET /message/getlistGET /site/statusIf your actual backend uses different paths, update the ENDPOINT_* constants in the Python scripts.
All requests use the HTTP Authorization header.
The API key is sent as plain header value:
Authorization: YOUR_KEYOutput is printed as formatted JSON for easier debugging and agent use.
If your API field names differ, update the payload fields in the scripts.
ZIP package — ready to use