OpenClaw/clawhub-security-signals huggingface dataset:
Skill: 84191879/cloud-local-bridge (version 1.0.1)

--- name: cloud-local-bridge description: 实现云端 OpenClaw 与本地 OpenClaw 之间的双向通信桥接。支持自然语言配对、命令执行、文件同步。 --- # Cloud-Local Bridge 让云端和本地 OpenClaw 实例无缝协同，支持**自然语言配对**、**文件互通**、**命令远程执行**。 ## 核心特性 ✅ **自然语言配对** - 不用记指令，像聊天一样说"我想连接云端" ✅ **跨通道配对** - QQ/微信/Telegram/邮件都能完成配对 ✅ **2步完成** - 像添加微信好友一样简单 ## ⚡ 自然语言配对 ### 直接发送自然语言 | 你发送 | 机器人回应 | |--------|-----------| | `配对` | 收到配对码 | | `我想连接云端` | 收到配对码 | | `添加设备` | 收到配对码 | | `配对 847291` | 配对成功 | | `查看配对` | 显示已连接设备 | | `帮助配对` | 显示帮助 | ### 支持的自然语言 **发起配对：** - `配对`、`我要配对`、`想配对` - `连接`、`连接云端`、`连接本地` - `添加设备`、`添加云端`、`添加好友` - `关联设备`、`互相关联` - `pair`、`connect` **确认配对：** - `配对 123456` **查看状态：** - `查看配对`、`配对状态` - `我的设备`、`设备列表` **取消：** - `取消配对`、`删除设备` ## 📱 配对流程 ``` 用户 A（本地） 用户 B（云端） ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1. 发送「我想连接云端」 (等待) ↓ 2. 收到配对码: 847291 ↓ 3. 发送配给 B (接收配对码) ↓ 4. B 发送「配对 847291」 ↓ 5. ✅ 配对成功! ✅ 配对成功! ``` ## 🚀 快速启动 ```bash cd /root/.openclaw/workspace/skills/cloud-local-bridge/scripts # 启动 Bridge 服务 python3 bridge_server.py --port 8080 --token "xxx" ``` ## 🔧 组件说明 | 文件 | 说明 | |------|------| | `qq_handler.py` | 自然语言配对处理器 | | `bridge_server.py` | Bridge 服务端 | | `bridge_client.py` | Bridge 客户端 | | `sync_files.py` | 文件同步 | ## 💡 使用场景 ### 场景1：QQ 配对 ``` 你：我想连接云端 机器人：📱 发起配对成功！配对码：847291 （你把配对码发给云端用户） 云端用户：配对 847291 机器人：🎉 配对成功！已连接本地电脑 ``` ### 场景2：跨平台配对 ``` 本地（QQ）：配对 → 收到 582391 → 通过 QQ 发送给云端 云端（Telegram）：发送配对请求到 API → 配对成功 ``` ## 📁 文件结构 ``` cloud-local-bridge/ ├── SKILL.md ├── scripts/ │ ├── qq_handler.py # 🆕 自然语言处理器 │ ├── bridge_server.py # 服务端 │ ├── bridge_client.py # 客户端 │ └── sync_files.py # 文件同步 └── references/ └── EXAMPLES.md ``` ## ⚠️ 注意事项 - 配对码 10 分钟后过期 - 配对状态保存在 `~/.openclaw/bridge_pairing_state.json` - 确保网络互通


Security scan verdicts — ClawScan: suspicious | static analysis: clean | VirusTotal: suspicious | SkillSpector: suspicious (CRITICAL)
Skill: lanyasheng/agent-ops (version 1.1.0)

--- name: agent-ops version: 1.0.0 description: Agent session 运维工具。当需要检测和恢复 API 限速、回收死 session 的知识、在破坏性操作前自动快照、或监控 context 使用率时使用。不用于安装 hook 脚本（用 agent-hooks）或架构设计（用 harness-design-patterns）。 license: MIT triggers: - rate limit recovery - 限速恢复 - stale session - 死 session - checkpoint rollback - context budget - token budget - model fallback - agent monitoring - session ops --- # Agent Ops Agent session 运维工具集。监控、恢复、保护运行中的 agent session。 ## When to Use - tmux 中的 agent 遇到 API 限速后挂死 → Rate Limit 恢复 - Session 静默死亡，需要回收其知识 → Stale Session Daemon - Bash 命令可能造成不可逆破坏 → Checkpoint + Rollback - Context 快用完，需要预算管理 → Token Budget / Context 估算 - 模型反复失败需要切换 → Auto Model Fallback ## When NOT to Use - 安装 Stop/PreToolUse hook → 用 `agent-hooks` - 设计 agent 架构 → 用 `harness-design-patterns` --- ## 工具概览 | 工具 | 类型 | 功能 | 详情 | |------|------|------|------| | **Rate Limit 恢复** | bash 脚本 / cron | 扫描 tmux pane 检测限速，自动发 Enter 恢复 | [详情](references/04-rate-limit.md) | | **Context 估算** | bash 脚本 | 读 transcript 尾部 4KB 提取 token 使用率 | [详情](references/05-context-estimation.md) | | **Stale Session Daemon** | daemon / cron | Heartbeat 检测 + 死 session 知识回收 | [详情](references/17-stale-session-daemon.md) | | **Checkpoint + Rollback** | hook 脚本 | PreToolUse git stash + PostToolUseFailure 自动回滚 | [详情](references/19-checkpoint-rollback.md) | | **Token Budget** | hook 脚本 | UserPromptSubmit 注入预算感知指令 | [详情](references/20-token-budget.md) | | **Auto Model Fallback** | hook 脚本 | 3 次连续失败后升级 Haiku→Sonnet→Opus | [详情](references/21-model-fallback.md) | ## Scripts | 脚本 | 用途 | |------|------| | `scripts/context-usage.sh <transcript>` | 从 transcript JSONL 尾部估算 context 使用率 | ## Session State 所有状态统一在 `sessions/<session-id>/` 下。详见 [session-state-layout.md](../../shared/session-state-layout.md)。 ## 条件判断规则 - 如果只有 1-2 个 session 在跑 → Rate Limit 恢复手动即可，不需要 daemon - 如果 session 预计 < 30 分钟 → 不需要 Stale Session Daemon - 如果没有破坏性 Bash 命令 → 不需要 Checkpoint - 如果不确定 context 够不够 → 先跑 `context-usage.sh` 检查再决定


Security scan verdicts — ClawScan: suspicious | static analysis: clean | VirusTotal: clean | SkillSpector: suspicious (CRITICAL)
Skill: loverun321/news-skill (version 1.1.0)

# News Summary Skill Get the latest news summaries for any topic. ## Features - Get latest news for any topic - Uses Bing News Search API (via Jina) - Returns title, source, and brief summary ## Price - **0.001 USDT** per call - Payment via SkillPay ## Usage - "Latest news about AI" - "News about Bitcoin" - "Tech news today" ## Integration - API Key: [REDACTED_SECRET] - Price: 0.001 USDT per call


Security scan verdicts — ClawScan: suspicious | static analysis: suspicious | VirusTotal: clean | SkillSpector: suspicious (HIGH)
Skill: neo1307/neo1307-env-health-check (version 1.0.0)

--- name: env-health-check description: Inspect environment variables, critical directories, and write permissions, then produce a health report. Use when validating deployment readiness, local runtime setup, workspace health, or missing env/config prerequisites. --- # Env Health Check Inspect runtime prerequisites and emit a compact health report. ## Workflow 1. Pass required env var names with `--env` flags. 2. Pass critical directories with `--dir` flags. 3. Run `index.js` and review OK/WARN/FAIL output. 4. Treat missing write access as a blocker unless the path is intentionally read-only.


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: clean (LOW)
Skill: gztanht/newspulse (version 0.1.3)

--- name: newspulse description: 📰 NewsPulse - 加密货币新闻聚合，重要事件实时推送 version: 0.1.0 author: gztanht license: MIT tags: [news, crypto, bitcoin, ethereum, media, alert] pricing: free_tier: 5 queries/day sponsorship: 0.5 USDT or 0.5 USDC for unlimited note: "Feel free to sponsor more if you find it useful!" wallet: usdt_erc20: [REDACTED_SECRET] usdc_erc20: [REDACTED_SECRET] metadata: clawdbot: emoji: 📰 requires: bins: [npm, node] --- # 📰 NewsPulse - 加密货币新闻聚合 **Stay Ahead of the Market** - 不错过任何重要事件！ ## Overview NewsPulse 聚合全球主流加密货币新闻源（CoinDesk, Cointelegraph, TheBlock, Decrypt 等），提供实时新闻推送、重要事件提醒、社交媒体情绪分析等功能。 ## Features - 📰 **新闻聚合** - 10+ 主流加密媒体实时抓取 - 🔔 **重要事件** - 监管政策、交易所上线、黑客事件等即时推送 - 📊 **情绪分析** - 新闻情绪评分（正面/中性/负面） - 🏷️ **分类筛选** - 按币种/主题/重要性筛选 - ⏰ **时间线** - 24h/7d/30d 新闻回顾 - 🌐 **多语言** - 英文/中文新闻支持 ## Installation ```bash npx @gztanht/newspulse ``` ## Usage ### 查看最新新闻 ```bash # 最新 10 条新闻 node scripts/news.mjs --limit 10 # 比特币相关新闻 node scripts/news.mjs --tag btc # 重大事件（高重要性） node scripts_news.mjs --importance high # 负面新闻预警 node scripts/news.mjs --sentiment negative ``` ### 设置新闻推送 ```bash # BTC 相关新闻推送 node scripts/subscribe.mjs --tag btc # 监管政策新闻 node scripts/subscribe.mjs --tag regulation # 查看已订阅 node scripts/subscribe.mjs --list ``` ### 情绪分析 ```bash # 查看 24h 新闻情绪 node scripts/sentiment.mjs --period 24h # 特定币种情绪 node scripts/sentiment.mjs --tag eth ``` ## News Sources - CoinDesk - Cointelegraph - The Block - Decrypt - Bitcoin Magazine - Ethereum World News - CryptoSlate - U.Today - NewsBTC - AMBCrypto ## Configuration 编辑 `config/sources.json` 自定义新闻源： ```json { "sources": [ {"name": "CoinDesk", "url": "https://coindesk.com/feed", "enabled": true}, {"name": "Cointelegraph", "url": "https://cointelegraph.com/rss", "enabled": true} ] } ``` ## API Reference - **RSS Feed 抓取** - 各新闻源官方 RSS - **更新频率** - 每 5-15 分钟 - **缓存** - 本地缓存 1 小时 ## Support - 📧 Email: [REDACTED_SECRET] - 💬 Telegram: @NewsPulseBot - 🦈 赞助：USDT (ERC20): [REDACTED_SECRET] ## License MIT © 2026 gztanht


Security scan verdicts — ClawScan: suspicious | static analysis: clean | VirusTotal: clean | SkillSpector: suspicious (MEDIUM)
Skill: michaelversus/swiftfindrefs (version 1.0.5)

--- name: swiftfindrefs description: Use swiftfindrefs (IndexStoreDB) to list every Swift source file referencing a symbol. Mandatory for “find references”, “fix missing imports”, and cross-module refactors. Do not replace with grep/rg or IDE search. --- # SwiftFindRefs ## Purpose Use `swiftfindrefs` to locate every Swift source file that references a given symbol by querying Xcode’s IndexStore (DerivedData). This skill exists to prevent incomplete refactors caused by text search or heuristics. ## Rules - Always run `swiftfindrefs` before editing any files. - Only edit files returned by `swiftfindrefs`. - Do not substitute `grep`, `rg`, IDE search, or filesystem heuristics for reference discovery. - Do not expand the file set manually. - If IndexStore/DerivedData resolution fails, stop and report the error. Do not guess. ## Preconditions - macOS with Xcode installed - Project has been built at least once (DerivedData exists) - `swiftfindrefs` available in PATH ## Installation ```bash brew tap michaelversus/SwiftFindRefs https://github.com/michaelversus/SwiftFindRefs.git brew install swiftfindrefs ``` ## Canonical command Prefer providing `--projectName` and `--symbolType` when possible. ```bash swiftfindrefs \ --projectName <XcodeProjectName> \ --symbolName <SymbolName> \ --symbolType <class|struct|enum|protocol|function|variable> ``` Optional flags: - `--dataStorePath <path>`: explicit DataStore (or IndexStoreDB) path; skips discovery - `-v, --verbose`: enables verbose output for diagnostic purposes (flag, no value required) ## Output contract - One absolute file path per line - Deduplicated - Script-friendly (safe to pipe line-by-line) - Ordering is not semantically meaningful ## Standard workflows ### Workflow A: Find all references 1. Run `swiftfindrefs` for the symbol. 2. Treat the output as the complete reference set. 3. If more detail is needed, open only the returned files. ### Workflow B: Fix missing imports after moving a symbol Use `swiftfindrefs` to restrict scope, then add imports only where needed. ```bash swiftfindrefs -p <Project> -n <Symbol> -t <Type> | while read file; do if ! grep -q "^import <ModuleName>$" "$file"; then echo "$file" fi done ``` Then for each printed file: - Insert `import <ModuleName>` in the imports block at the top. - Preserve existing import ordering/grouping. - Never add duplicate imports. - Do not reformat unrelated code. ### Workflow C: Audit usage before deleting or renaming a symbol 1. Run `swiftfindrefs` for the symbol. 2. If output is empty, treat the symbol as unused (still validate via build/tests if needed). 3. If non-empty, review the listed files before changing public API. ## References - CLI details: references/cli.md - Playbooks: references/workflows.md - Troubleshooting: references/troubleshooting.md


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: clean (LOW)
Skill: effeceee/ket-news-fetcher (version 6.8.0)

--- name: ket-news-fetcher description: 抓取BBC News并生成Daily English News PDF，包含完整文章、全文翻译和80个词汇 author: name: Maosi English Team github: https://github.com/effecE homepage: https://clawhub.com license: Apache-2.0 metadata: { "openclaw": { "version": "6.8.0", "emoji": "📰", "tags": ["english", "news", "BBC", "learning", "education", "pdf"], "requires": { "bins": ["python3"] }, "install": [ { "id": "pip", "kind": "pip", "package": "requests-html", "label": "Install requests-html (for JavaScript rendering)", }, { "id": "pip", "kind": "pip", "package": "beautifulsoup4", "label": "Install beautifulsoup4", }, { "id": "pip", "kind": "pip", "package": "fpdf2", "label": "Install fpdf2 (for PDF generation with Chinese support)", }, { "id": "pip", "kind": "pip", "package": "reportlab", "label": "Install reportlab (fallback PDF generation)", }, ], }, } --- # Daily English News - BBC新闻PDF生成器 抓取BBC News RSS，生成每日英语新闻PDF，包含完整文章、全文中文翻译和80个核心词汇。 ## 使用方法 ```bash cd /root/.openclaw/workspace/skills/ket-news-fetcher python3 ket_news_pdf.py ``` ## 输出 - PDF文件：`/root/.openclaw/workspace-explodegao/english-audio/Miaosi Daily English News YYYY-MM-DD.pdf` - 包含4篇BBC News文章 ## PDF内容 每个PDF包含： - 标题：Daily English News - 副标题：Miaosi English Team - 日期：YYYY-MM-DD - 4篇BBC News完整文章 - 每篇文章：英文原文 + 中文翻译 + 80个词汇（附中文翻译） ## 技术实现 - requests-html: JavaScript渲染（抓取动态页面） - BeautifulSoup: HTML解析 - fpdf2: PDF生成（支持中日韩文字体） - Google翻译API: 实时翻译 ## 文章来源 - BBC News RSS: https://feeds.bbci.co.uk/news/rss.xml - 每次抓取最新的4篇文章 ## 更新日志 ### v6.8.0 (2026-03-27) - 修复特殊字符导致PDF编码错误 - 添加clean_text函数处理en-dash、em-dash、smart quotes等 ### v6.7 (2026-03-26) - 文件名更新为 "Miaosi Daily English News YYYY-MM-DD.pdf" ### v6.6 (2026-03-26) - 添加"Miaosi English Team"副标题 ### v6.5 (2026-03-25) - 修复文件名格式 ### v6.4 (2026-03-24) - 每篇文章80个词汇（不再只是KET词汇） - 移除全文翻译部分 ### v6.3 (2026-03-23) - 添加全文中文翻译 - 添加全部词汇表 ## License Apache License 2.0


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: suspicious (CRITICAL)
Skill: codedao12/wordpress (version 1.0.0)

--- name: wordpress description: OpenClaw skill that provides a WordPress REST API CLI for posts, pages, categories, tags, users, and custom requests using plain HTTP. --- # WordPress REST API Skill (Advanced) ## Purpose Provide a production-ready CLI for WordPress REST API automation. This skill focuses on content workflows (posts/pages), taxonomy (categories/tags), user reads, and safe custom requests without external HTTP libraries. ## Best fit - You want a stable CLI for automation and bot workflows. - You need JSON-in/JSON-out for pipelines. - You prefer simple HTTP with no extra dependencies. ## Not a fit - You must handle OAuth flows or complex browser-based auth. - You need advanced media uploads (multipart streaming). ## Requirements - Node.js 18+ (for native `fetch`). ## One-time setup 1. Enable the WordPress REST API (default in modern WordPress). 2. Create an Application Password for a WordPress user. 3. Confirm the user has the right role (e.g., Editor/Admin). ## Install ```bash cd wordpress npm install ``` ## Run ```bash node scripts/wp-cli.js help node scripts/wp-cli.js posts:list --query per_page=5 node scripts/wp-cli.js posts:create '@post.json' ``` You can also use npm: ```bash npm run wp -- posts:list --query per_page=5 ``` ## Credentials Supported options (first match wins): - Basic auth token: `WP_BASIC_TOKEN` (base64 of `user:app_password`) - User + app password: `WP_USER` + `WP_APP_PASSWORD` - JWT bearer token: `WP_JWT_TOKEN` ## Required env - `WP_BASE_URL` (e.g., `https://example.com`) ## Input conventions - JSON can be inline or loaded from file with `@path`. - Query params use `--query key=value` (repeatable) or `--query key1=value1,key2=value2`. ## Command map (high level) Posts: - `posts:list`, `posts:get`, `posts:create`, `posts:update`, `posts:delete` Pages: - `pages:list`, `pages:get`, `pages:create`, `pages:update`, `pages:delete` Taxonomy: - `categories:list`, `categories:create` - `tags:list`, `tags:create` Users: - `users:list`, `users:get` Advanced: - `request` (raw method + path) ## Operational guidance - Prefer `context=view` for read-only list calls. - Use `status=draft` when staging content. - Implement retries for `429` and transient `5xx` errors in orchestrators. ## Expected output - JSON to stdout; non-zero exit code on errors. ## Security notes - Never log or commit tokens or application passwords. - Use a dedicated low-privilege WordPress account where possible.


Security scan verdicts — ClawScan: clean | static analysis: suspicious | VirusTotal: suspicious | SkillSpector: clean (LOW)
Skill: 15878033657/sinopec-oil-price (version 1.0.0)

--- name: sinopec-oil-price description: | 中石化油价查询 Skill，用于查询实时油价信息。支持按省份查询汽油和柴油价格，显示价格变动信息。 metadata: { "openclaw": { "emoji": "⛽", "tools": [ { "name": "sinopec_oil_price_get", "description": "获取中石化油价信息", "parameters": { "type": "object", "properties": { "province_id": { "type": "string", "description": "省份ID，不传则使用默认定位" }, "province_name": { "type": "string", "description": "省份名称（如'北京'、'上海'），与province_id二选一" } }, "additionalProperties": false }, "returns": { "type": "object", "description": "油价数据对象" } } ] } } --- # Sinopec Oil Price Skill 查询中国石化实时油价信息。 ## Quick Start This skill provides access to Sinopec's official oil price data. **Core tool**: `sinopec_oil_price_get` Use when: - User asks for today's oil prices - User wants prices for a specific province/city - User needs gasoline (92#, 95#, 98#) or diesel (0#) prices - User wants to see price changes ## Usage See detailed documentation in bundled references: - **[API Reference](references/api.md)** - Complete API documentation - **[Usage Examples](references/examples.md)** - Code patterns and common scenarios ## Notes - Prices in CNY per liter - Data from Sinopec official mobile API - Prices may vary at actual gas stations


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: suspicious (HIGH)
Skill: ilmych/gstack-openclaw-handoff (version 1.0.0)

--- name: gstack-openclaw-handoff description: "Compact the current conversation into a handoff document for another agent or fresh session to continue the work. Captures decisions, open threads, artifacts, and suggests skills. Use when: ending a long session, switching agents, handing off to a teammate, or user says handoff, wrap up, save context." --- # Handoff Write a handoff document so a fresh agent can continue this work with zero ramp-up time. ## Process 1. **Synthesize** the current conversation into a structured handoff. Don't rehash — compress. 2. **Reference, don't duplicate.** If content already lives in a committed file, PR, issue, or plan — reference it by path or URL. Never copy large blocks. 3. **Redact** API keys, passwords, tokens, or PII. Replace with `[REDACTED]`. 4. **Save** to the OS temporary directory (not the workspace). Tell the user the absolute path so they can feed it to the next session. ## Handoff Template ```markdown # Handoff: {task summary} Date: {YYYY-MM-DD} From: {session context — e.g. "OpenClaw session on branch feature/x"} ## Goal {One sentence: what we're trying to accomplish} ## Current State {What's done, what's in progress, what's blocked} - Completed: ... - In progress: ... - Blocked on: ... ## Key Decisions Made {Decisions that would be expensive to re-derive} - Decision 1: chose X over Y because Z - Decision 2: ... ## Open Threads {Unresolved questions, known issues, things the next session should address} 1. ... 2. ... ## Artifacts {Paths, URLs, branches — anything the next agent needs to find} - Branch: ... - Key files modified: ... - Related PR/issue: ... ## Suggested Skills {Skills the next session should invoke} - /skill-name — reason ## Context the Next Agent Won't Have {Anything learned during conversation that isn't captured in code/commits} - ... ``` ## Tailoring If the user passed arguments (e.g. "handoff — next session will focus on the frontend"), tailor the Open Threads and Suggested Skills sections toward that focus. Deprioritize context irrelevant to the next session's scope. ## What NOT to include - Full code listings (reference the file path instead) - Conversation transcript or dialogue replay - Debugging dead-ends that were fully resolved - Anything already captured in git history


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: clean (LOW)
Skill: googleworkspace-bot/gws-groupssettings (version 1.0.0)

--- name: gws-groupssettings version: 1.0.0 description: "Manage Google Groups settings." metadata: openclaw: category: "productivity" requires: bins: ["gws"] cliHelp: "gws groupssettings --help" --- # groupssettings (v1) > **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it. ```bash gws groupssettings <resource> <method> [flags] ``` ## API Resources ### groups - `get` — Gets one resource by id. - `patch` — Updates an existing resource. This method supports patch semantics. - `update` — Updates an existing resource. ## Discovering Commands Before calling any API method, inspect it: ```bash # Browse resources and methods gws groupssettings --help # Inspect a method's required params, types, and defaults gws schema groupssettings.<resource>.<method> ``` Use `gws schema` output to build your `--params` and `--json` flags.


Security scan verdicts — ClawScan: suspicious | static analysis: clean | VirusTotal: clean | SkillSpector: clean (LOW)
Skill: huang-shao/agent-browser-cli-bak (version 1.0.0)

--- name: agent-browser description: 使用 agent-browser CLI 进行浏览器自动化。用于签到、填表、截图、信息抓取等需要控制浏览器的任务。触发条件：(1) 用户要求自动化浏览器操作 (2) 需要签到、填表、点击按钮 (3) 需要抓取网页内容作为研究素材 --- # Agent Browser Vercel 出品的浏览器自动化 CLI，基于 Playwright，比标准浏览器工具更快更灵活。 ## 快速开始 ```bash agent-browser open <url> # 打开网页 agent-browser snapshot # 获取页面可访问性树 agent-browser click @<ref> # 点击元素（用ref引用） agent-browser fill @<ref> "内容" # 填入内容 agent-browser close # 关闭浏览器 ``` ## 常用命令 ### 导航 ```bash agent-browser open <url> # 打开URL（别名：goto, navigate） agent-browser back # 后退 agent-browser forward # 前进 agent-browser reload # 刷新 ``` ### 交互 ```bash agent-browser click <sel> # 点击 agent-browser dblclick <sel> # 双击 agent-browser fill <sel> "text" # 填入（清空后填） agent-browser type <sel> "text" # 输入（追加） agent-browser select <sel> <value> # 选择下拉选项 agent-browser check <sel> # 勾选复选框 agent-browser uncheck <sel> # 取消勾选 agent-browser press <key> # 按键（Enter, Tab, Escape等） ``` ### 获取信息 ```bash agent-browser snapshot # 获取可访问性树（推荐） agent-browser get text <sel> # 获取文本 agent-browser get html <sel> # 获取HTML agent-browser get value <sel> # 获取输入值 agent-browser get title # 获取页面标题 agent-browser get url # 获取当前URL agent-browser screenshot [path] # 截图 agent-browser screenshot --annotate # 带标注的截图 ``` ### 元素定位 通过 snapshot 输出的 ref（如 @e14）直接引用： ```bash agent-browser click @e14 agent-browser fill @e13 "hello" ``` 或使用 CSS 选择器： ```bash agent-browser click "#submit" agent-browser fill "input[name='email']" "[REDACTED_SECRET]" ``` 或使用 ARIA 角色查找： ```bash agent-browser find role button click --name "Submit" agent-browser find text "Sign In" click agent-browser find label "Email" fill "[REDACTED_SECRET]" agent-browser find placeholder "Search" type "query" ``` ## 典型工作流 ### 1. 签到任务 ```bash # 打开登录页 agent-browser open <签到页面URL> # 获取页面结构 agent-browser snapshot # 点击登录/签到按钮（用实际ref替换 @eXX） agent-browser click @eXX # 等待页面加载 sleep 2 agent-browser snapshot ``` ### 2. 填表任务 ```bash agent-browser open <表单URL> agent-browser snapshot # 填入各字段 agent-browser find label "用户名" fill "myuser" agent-browser find label "密码" fill "mypassword" agent-browser find role button click --name "提交" ``` ### 3. 定时签到（配合cron） 创建脚本 `~/.openclaw/scripts/daily-checkin.sh`： ```bash #!/bin/bash agent-browser open <签到URL> sleep 2 agent-browser find role button click --name "签到" agent-browser screenshot /tmp/checkin_$(date +%Y%m%d).png agent-browser close ``` ## 注意事项 1. **先 snapshot 再操作** - 每次页面变化后重新获取 ref 2. **添加等待** - 页面加载需要时间，用 `sleep 2` 或等待 3. **保持浏览器开启** - 多个操作可以在同一浏览器会话中完成 4. **完成后关闭** - 用 `agent-browser close` 释放资源 ## 依赖安装 如果 agent-browser 未安装： ```bash npm install -g agent-browser agent-browser install ```


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: clean (LOW)
Skill: bytesagain1/tagout (version 1.0.0)

--- name: "tagout" version: "1.0.0" description: "Tagout safety compliance tracker. Use when json tagout tasks, csv tagout tasks, checking tagout status." author: "BytesAgain" homepage: "https://bytesagain.com" source: "https://github.com/bytesagain/ai-skills" tags: [tagout, safety, cli, tool] category: "safety" --- # tagout Tagout safety compliance tracker. Use when json tagout tasks, csv tagout tasks, checking tagout status. ## Commands ### `status` ```bash scripts/script.sh status ``` Show current status ### `add` ```bash scripts/script.sh add ``` Add new entry ### `list` ```bash scripts/script.sh list ``` List all entries ### `search` ```bash scripts/script.sh search ``` Search entries ### `remove` ```bash scripts/script.sh remove ``` Remove entry by number ### `export` ```bash scripts/script.sh export ``` Export data to file ### `stats` ```bash scripts/script.sh stats ``` Show statistics ### `config` ```bash scripts/script.sh config ``` View or set config ### `help` ```bash scripts/script.sh help ``` ### `version` ```bash scripts/script.sh version ``` ## Configuration Use `scripts/script.sh config <key> <value>` to set preferences. | Variable | Description | |----------|-------------| | `TAGOUT_DIR` | Data directory (default: ~/.tagout/) | --- *Powered by BytesAgain | bytesagain.com | [REDACTED_SECRET]*


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: clean (LOW)