Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

web-collection网络收藏

Agent Skill

web-collection 用于处理浏览器自动化、网页检查和页面信息提取,适合在 OpenClaw 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

28,305

周安装

1,134

GitHub Stars

公开资料未说明

下载量

9,163
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:web-collection(网络收藏)
来源仓库:https://github.com/yiming1001/web-collection
安装命令:
openclaw skills install web-collection
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install web-collection

简介

通过浏览器插件严格同步闭环模式来源资料。

  • 支持本地桥接或云端调度两种运行模式。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。
  • 适用于需要高可靠性数据整理的应用场景。
  • 云模式下需考虑网络延迟与稳定性对结果的影响。
  • web-collection 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
web-collection
description
Browser plugin data collection via a local bridge or cloud dispatch to a connected local connector, in strict synchronous closed-loop mode. Cloud mode includes async command-result querying. Use for Douyin, TikTok, Xiaohongshu, Amazon, and Bilibili collection tasks.

Web Collection

Use this skill for browser-extension collection tasks on:

  • Douyin
  • TikTok
  • Xiaohongshu
  • Amazon
  • Bilibili

Human Tutorial

This skill is implementation-oriented. For end-user onboarding and step-by-step human instructions, use:

  • https://vcn5grhrq8y0.feishu.cn/wiki/BGUhwC0cKimwTJkXDSuc0YFBnib

When the user asks "how to use it" or needs UI-level operation guidance, prefer this tutorial and keep the response aligned with its wording.

For complex or ambiguous requests, read references/learning-guide.md before deciding what to ask or run.

Core Rules

  1. Use the user's normal Chrome environment, not the isolated openclaw browser profile.
  2. Prefer the connector flow over generic browser tooling.
  3. Never ask for configuration that is already present in environment variables.
  4. Local and cloud use the same recommended defaults and overall collection flow.
  5. Cloud adds only two extra required values: id and token.
  6. Default to synchronous closed-loop execution.
  7. Do not reply before the collection script finishes.
  8. Choose one execution mode first:

- local: talk to the local bridge directly and only run the local send-command script - cloud: call the cloud connector dispatch API and only run the cloud send-command script

  1. In cloud mode, do not rewrite the collection payload. Only wrap it in:

- device_id - action - payload

First-Time Setup

This skill uses one preferences file:

$OPENCLAW_STATE_DIR/skill-state/web-collection/preferences.json

Fallback:

$HOME/.openclaw/skill-state/web-collection/preferences.json

Helper script:

bash {baseDir}/scripts/export_preference.sh show
bash {baseDir}/scripts/export_preference.sh check
bash {baseDir}/scripts/export_preference.sh apply-recommended
bash {baseDir}/scripts/export_preference.sh set-key defaultConnectionMode cloud
bash {baseDir}/scripts/export_preference.sh set-key defaultCloudDeviceId desktop-local-smoke-fix
bash {baseDir}/scripts/export_preference.sh set-key defaultCloudToken <user_api_key>
bash {baseDir}/scripts/export_preference.sh set-key defaultExportMode csv

Required defaults:

  • defaultExportMode
  • defaultMaxItems
  • defaultFetchDetail
  • defaultDetailSpeed

Mode-specific defaults:

  • local

- no extra required key if the default local bridge URL works

  • cloud

- cloud base URL is fixed to https://i-sync.cn by default - defaultCloudDeviceId only when it is not already provided by environment variables - defaultCloudToken only when it is not already provided by environment variables

run.sh enforces this. If these are incomplete, collection must not start.

First-run flow

On first use:

  1. Determine the execution mode first.
  2. If the mode is cloud, collect these values only when they are not already available from environment variables or stored preferences:

- defaultCloudDeviceId - defaultCloudToken

  1. Then handle the common defaults:

- 导出方式 - 默认整理条数 - 是否默认整理详情 - 默认整理速度

  1. Ask only one question for the common defaults:

- 推荐配置 - 自己配置

  1. If the user chooses 推荐配置, run:
bash {baseDir}/scripts/export_preference.sh apply-recommended
  1. If the user chooses 自己配置, ask for all four values in one message, not one by one.
  2. Only continue when check passes.

Preferred cloud prompt:

检测到你要走云端分发,还需要这两个配置:
- device_id
- API token

请一次性发给我。

Preferred quick-reply prompt for common defaults:

常用配置还需要确认一次。
这些配置包括:
- 导出方式
- 默认整理条数
- 是否默认整理详情
- 默认整理速度
你可以直接用推荐配置,也可以自己配置。
[[quick_replies: 推荐配置, 自己配置]]

Preferred custom-config prompt:

好,我们一次性把默认配置定好。请直接按下面格式回复:

导出方式:CSV / 多维表格
默认整理条数:10 / 20 / 50 / 100
是否默认整理详情:是 / 否
默认整理速度:fast / medium / slow

说明:
- 多维表格:适合查看、筛选、分享
- CSV:适合本地保存
- 整理详情:开启后结果更完整,但一般更慢
- 整理速度:推荐 fast

Recommended defaults:

  • 运行位置:local
  • 导出方式:多维表格
  • 整理条数:20
  • 整理详情:true
  • 整理速度:fast

Cloud Mode

Use cloud mode when the collection request should be sent to the platform backend first, and then dispatched to the user's connected local connector.

Cloud responsibilities:

  • call /api/v1/connector/cloud/dispatch
  • authenticate with Authorization: Bearer <user_api_key>
  • include device_id
  • keep the collection body unchanged inside payload
  • enforce a strict cloud payload template before dispatch to avoid missing fields

- default fallback when missing: maxItems=20, mode=search, interval=300, fetchDetail=true, detailSpeed=fast

  • poll /api/v1/connector/cloud/commands/{command_id} for final status and result
  • if single-command query is unavailable, fallback to /api/v1/connector/cloud/commands?device_id=...
  • treat result + task_updates as the source of completion snapshot

Do not:

  • call the user's local 19820 port from the cloud path
  • rewrite payload semantics
  • mix local admin token logic into cloud requests

Connector Command Ladder

When collection fails, parameters look incomplete, or status is unclear, run connector checks in this order instead of guessing.

Layer 1: capability

  • GET /api/help
  • GET /api/routes
  • GET /api/filters (or platform/method scoped)

Layer 2: diagnostics

  • GET /api/status
  • GET /api/platform-state
  • GET /api/cloud/status
  • POST /api/preflight with the final request body

Layer 3: execution and tracking

  • POST /api/collect
  • GET /api/tasks/:id (local mode)
  • GET /api/v1/connector/cloud/commands/{command_id} (cloud mode, preferred)
  • GET /api/v1/connector/cloud/commands?device_id=... (cloud fallback)
  • POST /api/stop or POST /api/reset when stuck

Local command template (admin token required):

TOKEN="$(cat ~/.meixi-connector/bridge-admin-token.txt)"
curl -s -H "x-connector-admin-token: $TOKEN" "http://127.0.0.1:19820/api/status"

Cloud command template (async result):

curl -s -H "Authorization: Bearer <token_or_api_key>" \
  "https://i-sync.cn/api/v1/connector/cloud/commands/<command_id>"

Export Behavior

  • bitable

- run with --export-target bitable - expect export.tableUrl on success

  • csv

- run with --export-target csv - do not require a table link in the final reply

Entry Point

Preferred wrapper:

bash {baseDir}/scripts/run.sh ...

The wrapper:

  • runs scripts/preflight_check.sh first
  • applies stored preferences
  • enforces required setup
  • runs either local bridge mode or cloud dispatch mode
  • local mode dispatches only through scripts/collect_and_export_loop.sh
  • cloud mode dispatches only through scripts/cloud_dispatch_loop.sh
  • never mixes the local and cloud send-command scripts

Bundled Resources

  • scripts/preflight_check.sh

- validates required defaults before dispatch - treats environment-variable configuration as already satisfied and never asks for it

  • scripts/run.sh

- chooses exactly one dispatch path based on connection-mode - never mixes local and cloud send-command scripts

  • scripts/collect_and_export_loop.sh

- local-only send-command script

  • scripts/cloud_dispatch_loop.sh

- cloud-only send-command script

  • scripts/export_preference.sh

- stores reusable defaults and masks cloud token in human-readable output

  • references/learning-guide.md

- compact guidance for complex requests and asking rules

Common Commands

Douyin keyword search:

bash {baseDir}/scripts/run.sh \
  --platform douyin \
  --keyword "AI" \
  --ensure-bridge

Douyin keyword search via cloud dispatch:

bash {baseDir}/scripts/run.sh \
  --connection-mode cloud \
  --cloud-device-id desktop-local-smoke-fix \
  --cloud-token '<user_api_key>' \
  --platform douyin \
  --keyword "AI员工"

Amazon keyword search:

bash {baseDir}/scripts/run.sh \
  --platform amazon \
  --keyword "Chinese porcelain" \
  --ensure-bridge

Bilibili keyword search:

bash {baseDir}/scripts/run.sh \
  --platform bilibili \
  --keyword "古董" \
  --ensure-bridge

Platform Defaults

Wrapper defaults:

  • douyin => videoKeyword
  • tiktok => keywordSearch
  • xiaohongshu => keywordSearch
  • amazon => keywordSearch
  • bilibili => keywordSearch

Supported methods:

  • douyin: videoKeyword, creatorKeyword, creatorLink, creatorVideo, videoComment, videoInfo, videoLink
  • tiktok: keywordSearch, userVideo, tiktokComment, tiktokCreatorKeyword, tiktokCreatorLink
  • xiaohongshu: keywordSearch, creatorNote, creatorLink, creatorKeyword, noteLink, noteComment
  • amazon: keywordSearch, productLink, productReview
  • bilibili: keywordSearch, videoInfo, creatorVideo, bilibiliComment

Closed Loop

local mode:

  1. verify pluginConnected=true
  2. wait for idle state
  3. start /api/collect
  4. handle TASK_RUNNING via stop -> wait idle -> retry
  5. poll /api/tasks/<taskId> until completed or error
  6. if export is required, verify the expected export result

cloud mode:

  1. query /api/v1/connector/cloud/status?device_id=...
  2. dispatch action=collect to /api/v1/connector/cloud/dispatch
  3. keep querying command result (/api/v1/connector/cloud/commands/{command_id} preferred)
  4. after each poll, refresh current collection state from command status
  5. wait for completed or terminal error state
  6. on completion, read result and task_updates for records/count/export snapshot and include key fields in the final reply

Quick query examples:

curl -H "Authorization: Bearer <token_or_api_key>" \
  "https://i-sync.cn/api/v1/connector/cloud/commands?device_id=<device_id>"
curl -H "Authorization: Bearer <token_or_api_key>" \
  "https://i-sync.cn/api/v1/connector/cloud/commands/<command_id>"

Final Reply

When successful:

  1. Mention whether the run used local or cloud mode.
  2. If cloud mode was used, include the command status.
  3. If export mode is bitable and export.tableUrl exists, include the table link first.
  4. If export mode is csv, explicitly say export mode is CSV.
  5. Then include:

- status - export status - collected count - short analysis

When bitable export is expected but no table link exists, explicitly say export did not finish correctly.

Troubleshooting

  • pluginConnected=false

- Chrome/plugin is not connected to the bridge

  • bridge/status mismatch

- in local mode, ensure collect, status, and stop all use the same local base URL

  • cloud dispatch auth failed

- check defaultCloudToken

  • cloud dispatch could not reach device

- check defaultCloudDeviceId and whether the local connector is online

  • TASK_RUNNING

- use stop + retry, or --force-stop-before-start

  • long record output hiding key fields

- trust the connector loop's compact summary output rather than raw task JSON

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

97.11%
按下载量换算8,898

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills