Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add djblack1209-coder/OpenClaw-Bot --skill page-agentgit clone --depth 1 https://github.com/djblack1209-coder/OpenClaw-BotWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/djblack1209-coder/openclaw-bot/page-agent)<a href="https://agentmods.dev/skills/djblack1209-coder/openclaw-bot/page-agent"><img src="https://agentmods.dev/badge/skills/djblack1209-coder/openclaw-bot/page-agent/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/djblack1209-coder/openclaw-bot/page-agent"><img src="https://agentmods.dev/badge/skills/djblack1209-coder/openclaw-bot/page-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00036 | $0.00705 |
| Opus 5.5 | $0.00014 | $0.00282 |
| Sonnet 5.5 | $0.00007 | $0.00141 |
| Haiku 4.5 | $0.00004 | $0.00071 |
Grade A, and why
page-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Page-Agent 浏览器 GUI 代理
阿里巴巴开源的网页内 GUI 代理,用自然语言控制浏览器界面。
核心优势
- 自然语言指令替代 CSS 选择器和 XPath
- 一行代码集成到现有项目
- 理解页面语义,不依赖 DOM 结构
- 比 Playwright 脚本更鲁棒(页面改版不会轻易失效)
安装
pip install page-agent
与 OpenClaw Bot 集成
替代当前 Playwright 社交发布
当前方式(Playwright 脚本,易碎):
await page.click('#post-button');
await page.fill('textarea.content', text);
await page.click('button[type="submit"]');
Page-Agent 方式(自然语言,鲁棒):
from page_agent import PageAgent
agent = PageAgent(page)
await agent.act("点击发布按钮")
await agent.act("在内容框中输入: " + text)
await agent.act("点击提交")
集成到社交发布流程
# tools/social-browser-adapter 升级
from page_agent import PageAgent
async def publish_to_x(content):
agent = PageAgent(browser_page)
await agent.act("点击撰写推文按钮")
await agent.act(f"输入推文内容: {content}")
await agent.act("点击发布按钮")
return await agent.act("确认推文已发布成功")
async def publish_to_xhs(content, images):
agent = PageAgent(browser_page)
await agent.act("点击发布笔记")
for img in images:
await agent.act(f"上传图片: {img}")
await agent.act(f"输入笔记内容: {content}")
await agent.act("点击发布")
使用场景
- 社交媒体发布 — 替代
social-browser-adapter.mjs中的 Playwright 硬编码 - 网页数据采集 — 替代
crawl4ai的部分场景 - 任意网页交互 — 严总 说"帮我在 xxx 网站上做 yyy"
触发条件
- 严总 说 "page-agent"、"自然语言控制浏览器"、"网页操作"
- 需要浏览器自动化但 Playwright 脚本太脆弱时
- 社交发布流程中 DOM 选择器失效时自动降级
与现有工具的关系
| 工具 | 适用场景 | 优势 |
|---|---|---|
| Playwright (当前) | 结构稳定的页面 | 速度快、精确 |
| Page-Agent (新增) | 页面结构不稳定 | 鲁棒、自然语言 |
| crawl4ai | 数据采集 | 专注提取 |
建议: Playwright 作为主路径,Page-Agent 作为降级方案和新页面的快速原型。
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 88 lines · 36 tokens per session scan A 7d2421ce2784
page-agent is a skill published in the GitHub repository djblack1209-coder/OpenClaw-Bot (5 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 36 tokens to every session and 705 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
page-agent compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| page-agentdjblack1209-coder/OpenClaw-Bot | Skill | 5 | 1mo ago | Apache-2.0 | A | 36 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |
| next-cache-components-optimizervercel/next.js | Skill | 144k | today | MIT | A | 123 | Claude Code |
| next-partial-prefetching-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 103 | Claude Code |
| next-partial-prefetching-optimizervercel/next.js | Skill | 144k | today | MIT | A | 82 | Claude Code |
| reskinCopilotKit/CopilotKit | Skill | 39k | today | MIT | A | 154 | Claude Code |
| copilotkit-channelsCopilotKit/CopilotKit | Skill | 39k | today | MIT | A | 112 | Claude Code |