设计与多媒体

OpenClaw Capture

试用

Wrap a local openclaw_capture_workflow checkout as an OpenClaw/ClawHub skill that captures links, text, images, and videos, routes STT by platform, and fans...

它能做什么

Wrap a local openclaw_capture_workflow checkout as an OpenClaw/ClawHub skill that captures links, text, images, and videos, routes STT by platform, and fans...

技能文档

OpenClaw Capture

Use this skill when the user wants to send a link, pasted text, image, or video into the local openclaw_capture_workflow backend without modifying that repo, while choosing STT and notification modules by environment.

Behavior

  1. Normalize the request into the legacy payload contract:
    • chat_id
    • reply_to_message_id
    • request_id
    • source_kind
    • source_url
    • raw_text
    • image_refs
    • platform_hint
    • requested_output_lang
  2. Immediately tell the user: 已收到,开始处理。
  3. Dispatch the payload through the wrapper runtime:
python3 scripts/dispatch_capture.py --payload-file /path/to/payload.json

You may also pipe JSON through stdin:

python3 scripts/dispatch_capture.py <<'JSON'
{"chat_id":"-1001","source_kind":"url","source_url":"https://example.com"}
JSON

Routing Rules

  • Keep the payload contract unchanged from the legacy workflow.
  • For mixed, preserve URL, pasted text, and images together.
  • STT profile resolves as:
    • macOS -> mac_local_first
    • non-macOS with OPENCLAW_CAPTURE_LOCAL_STT_COMMAND -> local_cli_then_remote
    • otherwise -> remote_only
  • Output modules resolve from OPENCLAW_CAPTURE_OUTPUTS:
    • telegram
    • feishu

Required Environment

  • OPENCLAW_CAPTURE_LEGACY_PROJECT_ROOT should point to the local openclaw_capture_workflow checkout when this skill is not being run from the source repo.
  • OPENCLAW_CAPTURE_BACKEND_MODE=library|http
  • OPENCLAW_CAPTURE_BACKEND_URL when BACKEND_MODE=http
  • OPENCLAW_CAPTURE_STT_PROFILE=mac_local_first|local_cli_then_remote|remote_only to override the default routing
  • OPENCLAW_CAPTURE_LOCAL_STT_COMMAND for non-mac local CLI transcription fallback
  • OPENCLAW_CAPTURE_MODEL_PROFILE=openai_direct|aihubmix_gateway
  • OPENCLAW_CAPTURE_MODEL_API_BASE_URL
  • OPENCLAW_CAPTURE_MODEL_API_KEY
  • OPENCLAW_CAPTURE_OUTPUTS=telegram,feishu
  • OPENCLAW_CAPTURE_TELEGRAM_BOT_TOKEN
  • OPENCLAW_CAPTURE_FEISHU_WEBHOOK

References

  • Runtime profiles and environment matrix: references/runtime-profiles.md
  • Module behavior and output fanout: references/module-matrix.md
  • Legacy payload contract and mixed-input rules: references/payload-contract.md

Do not manually summarize after dispatch succeeds unless the user explicitly asks for an inline summary.

相关技能

Create and wire a new OpenClaw agent with a fixed workflow. Use when the user asks to create/add a new OpenClaw agent or says “我要创建一个新的 Agent”, automate mult...

31 次安装

A smart assistant specialized in helping users configure OpenClaw. It provides guidance based on vague user requirements (clarifying needs through multi-roun...

24 次安装

按命令族和 profile 选择合适的 OpenClaw CLI 命令,并校验执行结果。

335 次安装6 星标

Install and configure the security-related plugins required by OpenClaw, including the `claw-sentry` plugins. Use this skill when you want to complete instal...

28 次安装

Navigate and use OpenClaw documentation efficiently with cached doc fetch/search tooling, sitemap/category routing, and config snippet lookup. Use when answe...

26 次安装