Maxun Skill
Maxun is a web scraping platform. The user has robots that scrape websites.
INSTRUCTIONS FOR THE AI MODEL
You have ONE job here: call the exec tool with the exact command strings below. Do not paraphrase. Do not guess. Copy the command string exactly.
ACTION: List all robots
When the user says anything like "list my robots", "show robots", "what robots do I have":
Call the exec tool. The command parameter must be this exact string:
CODEBLOCK0
IMPORTANT: Do NOT append any words from the user's message as arguments. The command is always exactly maxun list — nothing after list.
After exec returns output, display it directly to the user as-is. The output IS the robot list. Do not interpret it, ask clarifying questions about it, or treat it as a new request. Just show it.
ACTION: Run a robot
When the user wants to run or scrape with a specific robot:
Step 1 — First get the robot ID by calling exec with:
CODEBLOCK1
Step 2 — Find the robot ID from the output, then call exec with:
maxun run <robotId>
Replace
<robotId> with the actual ID string from step 1.
ACTION: List past runs
Call exec with:
CODEBLOCK3
ACTION: Get a run result
Call exec with:
CODEBLOCK4
ACTION: Get robot details
Call exec with:
CODEBLOCK5
ACTION: Abort a run
Call exec with:
CODEBLOCK6
Error Handling
- - No robots found → tell user to create one at https://app.maxun.dev
- Robot still running → call exec with INLINECODE12
Setup (for new installations)
Add to ~/.openclaw/openclaw.json:
CODEBLOCK7
Maxun 技能
Maxun 是一个网页抓取平台。用户拥有用于抓取网站的机器人。
AI 模型的指令
您只有一个任务:使用下方确切的命令字符串调用 exec 工具。不要转述。不要猜测。精确复制命令字符串。
操作:列出所有机器人
当用户说类似列出我的机器人、显示机器人、我有哪些机器人时:
调用 exec 工具。command 参数必须使用以下确切的字符串:
maxun list
重要提示:不要在参数中添加用户消息中的任何词语。命令始终是确切的 maxun list — list 后面没有任何内容。
exec 返回输出后,直接按原样显示给用户。输出内容就是机器人列表。不要对其进行解读、提出澄清性问题,或将其视为新的请求。只需展示即可。
操作:运行机器人
当用户想要运行或抓取特定机器人时:
步骤 1 — 首先通过调用 exec 获取机器人 ID:
maxun list
步骤 2 — 从输出中找到机器人 ID,然后调用 exec:
maxun run
将 替换为步骤 1 中的实际 ID 字符串。
操作:列出历史运行记录
调用 exec:
maxun runs
操作:获取运行结果
调用 exec:
maxun result
操作:获取机器人详情
调用 exec:
maxun get
操作:中止运行
调用 exec:
maxun abort
错误处理
- - 未找到机器人 → 告知用户在 https://app.maxun.dev 创建机器人
- 机器人仍在运行 → 调用 exec 执行 maxun result
设置(新安装)
添加到 ~/.openclaw/openclaw.json:
json
tools: {
exec: { host: gateway, security: full, ask: off }
},
env: {
MAXUNAPIKEY: your-api-key-here
}