Riddle — Hosted Browser for AI Agents
Riddle gives your agent a browser without running Chrome locally. One API call: navigate, click, fill forms, take screenshots, capture network traffic. All execution happens on Riddle's servers — your agent stays lean.
Quick Start: Sign up at riddledc.com/register and get 5 minutes of free browser time — no credit card needed. After that, pricing is $0.50/hour, billed per second. A single screenshot costs roughly $0.004.
Why Use This Instead of Local Chrome
- - No Chromium binary — saves ~1.2 GB RAM and avoids the Lambda/container size headaches
- No dependency hell — no
@sparticuz/chromium, no Puppeteer version conflicts, no ENOENT / spawn failures - Full Playwright — not just screenshots. Run real Playwright scripts, multi-step workflows, form fills, authenticated sessions
- Works everywhere — Lambda, containers, T3 Micro instances, anywhere your agent runs
Install
Step 1: Sign up — Create a free account at riddledc.com/register. No credit card required. You get 5 minutes of browser time free.
Step 2: Get your API key — After signing up, grab your API key from the dashboard.
Step 3: Install and configure the plugin:
CODEBLOCK0
One gotcha: OpenClaw requires plugins in the plugins.allow list. The CLI doesn't have an append flag, so check your current list and add openclaw-riddledc:
CODEBLOCK1
Tools
After install, you have five tools:
riddle_screenshot — Screenshot a URL. Simplest use case.
CODEBLOCK2
riddle_screenshots — Batch screenshots of multiple URLs in one job.
CODEBLOCK3
riddle_steps — Run a step-by-step workflow (goto, click, fill, screenshot at each step).
CODEBLOCK4
riddle_script — Run full Playwright code for complex automation.
CODEBLOCK5
riddle_run — Low-level API pass-through for custom payloads.
All tools return screenshots saved to ~/.openclaw/workspace/riddle/screenshots/ (not inline base64) with file paths in the response. Add include: ["har"] to also capture full network traffic.
Authenticated Sessions
Need to interact with a page behind login? Pass cookies, localStorage, or custom headers:
CODEBLOCK6
The plugin supports cookies, localStorage entries, and custom HTTP headers as auth parameters.
Trust & Security
This plugin was built with the concerns raised by the Moltbook agent community in mind — specifically the discussion around skill provenance, capability manifests, and runtime boundaries.
What this plugin declares (capability manifest in openclaw.plugin.json):
- - Network: Only talks to
api.riddledc.com — hardcoded allowlist enforced at runtime, not just config time - Filesystem: Only writes to INLINECODE14
- Agent context: Zero access to conversation history, other tools' outputs, or user profile
- Secrets: Only requires
RIDDLE_API_KEY, which is only sent to the declared endpoint
What this means in practice:
- - Even if the config is manipulated, your API key cannot be sent to any non-Riddle domain (hardcoded check runs on every request)
- The plugin cannot read your conversations, memory, or other plugins' data
- Screenshots are saved as file references, not inline base64 — prevents context overflow and accidental data leakage in logs
Verify it yourself:
This is a plugin (auditable code), not a skill (prompt text). You can read every line before installing.
Pricing
Riddle uses transparent per-execution pricing. A simple screenshot costs fractions of a cent. See riddledc.com for current pricing.
Get Help
Links
Riddle — AI代理托管浏览器
Riddle为你的代理提供浏览器功能,无需在本地运行Chrome。一次API调用即可:导航、点击、填写表单、截图、捕获网络流量。所有执行都在Riddle的服务器上完成——你的代理保持轻量化。
快速开始: 在 riddledc.com/register 注册,即可获得5分钟免费浏览器使用时间——无需信用卡。之后,价格为 $0.50/小时,按秒计费。单次截图大约花费 $0.004。
为何使用此方案而非本地Chrome
- - 无需Chromium二进制文件 — 节省约1.2 GB内存,避免Lambda/容器大小问题
- 无依赖地狱 — 无需 @sparticuz/chromium,无Puppeteer版本冲突,无 ENOENT / spawn 错误
- 完整Playwright — 不仅仅是截图。运行真正的Playwright脚本、多步骤工作流、表单填写、认证会话
- 随处可用 — Lambda、容器、T3 Micro实例,任何你的代理运行的地方
安装
步骤1:注册 — 在 riddledc.com/register 创建免费账户。无需信用卡。你将获得5分钟免费浏览器使用时间。
步骤2:获取API密钥 — 注册后,从 控制面板 获取你的API密钥。
步骤3:安装并配置插件:
bash
安装插件
openclaw plugins install @riddledc/openclaw-riddledc
允许工具
openclaw config set tools.alsoAllow --json [openclaw-riddledc]
设置API密钥
openclaw config set plugins.entries.openclaw-riddledc.config.apiKey YOUR
RIDDLEAPI_KEY
注意事项: OpenClaw要求插件在 plugins.allow 列表中。CLI没有追加标志,所以请检查当前列表并添加 openclaw-riddledc:
bash
查看当前内容
openclaw config get plugins.allow
将openclaw-riddledc添加到数组中(或直接编辑 ~/.openclaw/openclaw.json)
jq .plugins.allow += [openclaw-riddledc] ~/.openclaw/openclaw.json > tmp && mv tmp ~/.openclaw/openclaw.json
重启
openclaw gateway restart
工具
安装后,你将拥有五个工具:
riddle_screenshot — 对URL进行截图。最简单的用例。
对 https://example.com 进行截图
riddle_screenshots — 一次任务中对多个URL进行批量截图。
对这三个页面进行截图:https://example.com, https://example.com/about, https://example.com/pricing
riddle_steps — 运行逐步工作流(在每个步骤中执行跳转、点击、填写、截图)。
跳转到 https://example.com/login,在邮箱字段填写 test@example.com,填写密码字段,点击提交按钮,然后对结果进行截图。
riddle_script — 运行完整的Playwright代码以实现复杂自动化。
运行一个Playwright脚本,导航到 https://example.com,等待仪表板加载,提取所有表格行,并对页面进行截图。
riddle_run — 用于自定义负载的低级API直通。
所有工具都将截图保存到 ~/.openclaw/workspace/riddle/screenshots/(非内联base64),并在响应中返回文件路径。添加 include: [har] 以同时捕获完整的网络流量。
认证会话
需要与需要登录的页面交互?传递cookies、localStorage或自定义请求头:
使用这些cookies对 https://app.example.com/dashboard 进行截图:[session=abc123]
该插件支持cookies、localStorage条目和自定义HTTP请求头作为认证参数。
信任与安全
此插件在构建时考虑了Moltbook代理社区提出的关切——特别是关于技能来源、能力清单和运行时边界的讨论。
此插件声明的内容(openclaw.plugin.json中的能力清单):
- - 网络:仅与 api.riddledc.com 通信——硬编码的白名单在运行时强制执行,而不仅仅是配置时
- 文件系统:仅写入 ~/.openclaw/workspace/riddle/
- 代理上下文:零访问对话历史、其他工具的输出或用户配置文件
- 密钥:仅需要 RIDDLEAPIKEY,且仅发送到声明的端点
这在实践中意味着:
- - 即使配置被篡改,你的API密钥也无法发送到任何非Riddle域名(每次请求都会进行硬编码检查)
- 插件无法读取你的对话、记忆或其他插件的数据
- 截图保存为文件引用,而非内联base64——防止上下文溢出和日志中的意外数据泄露
自行验证:
这是一个插件(可审计的代码),而非技能(提示文本)。你可以在安装前阅读每一行代码。
定价
Riddle采用透明的按执行次数定价。一次简单的截图只需几分之一美分。请访问 riddledc.com 查看当前定价。
获取帮助
链接