Token导航 LogoToken导航

Agent Skill · 研究检索

qr-bridge(二维码桥)

qr-bridge 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

qr-bridge 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为操作浏览器;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 23,253。

总安装 4,320周安装 180GitHub Stars 公开资料未说明下载 1,440核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.1

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install qr-bridge

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

qr-bridge 用于解码 QR 码、跟踪重定向并解释链接实际指向的内容。适合在 OpenClaw 中分析二维码背后的真实目的地和门控策略。通过 openclaw skills install qr-bridge 命令安装使用。建议确认权限范围和维护状态,注意是否涉及联网、命令执行或文件读写操作。

qr-bridge 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install qr-bridge;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

qr-bridge 怎么安装?

在终端执行 openclaw skills install qr-bridge。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

qr-bridge 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

qr-bridge 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

qr-bridge 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

qr-bridge 用的人多吗?

公开数据是累计安装 4,320 次,近一周安装 180 次,下载 1,440 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

qr-bridge 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
qr-bridge

二维码桥 · 本页

4,320—操作浏览器MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
qr-bridge
description
Decode QR codes, trace redirects, inspect gated destinations, and explain what the link actually needs
author
Vicky-v7
version
1.0.0
allowed-tools
Bash, Read, Write, Glob, Grep, WebFetch, WebSearch
tags
qr, redirect, reconnaissance, macos, coreimage

QR Bridge

Entry point reconnaissance tool. Decode QR codes, trace redirect chains, inspect gated destinations, and explain what the link actually needs.

When to Use This Skill

Activate when the user asks to:

  • Decode / scan / read a QR code from an image
  • Trace where a short URL redirects to
  • Check if a link requires WeChat / WeCom / login / app
  • Diagnose why a link "doesn't work"
  • Generate a QR code from text or URL

Setup (First Run Only)

Before first use, compile the Swift decoder binary:

bash ~/.claude/skills/qr-bridge/scripts/setup.sh

If setup was already run, the binary exists at ~/.claude/skills/qr-bridge/scripts/qr-decode. Skip setup if it exists.

Commands

1. DECODE - Extract QR code content from an image

Step 1: Check if binary exists

ls ~/.claude/skills/qr-bridge/scripts/qr-decode 2>/dev/null && echo "COMPILED" || echo "NEED_SETUP"

If NEED_SETUP, run:

swiftc ~/.claude/skills/qr-bridge/scripts/qr-decode.swift -o ~/.claude/skills/qr-bridge/scripts/qr-decode -O

Step 2: Run decoder (compiled binary - fast)

~/.claude/skills/qr-bridge/scripts/qr-decode "/path/to/image.png"

Step 3: If compiled binary fails, use interpreted mode (slower but always works)

swift ~/.claude/skills/qr-bridge/scripts/qr-decode.swift "/path/to/image.png"

Step 4: If CoreImage fails, try pyzbar fallback

python3 -c "
from pyzbar.pyzbar import decode
from PIL import Image
import json, sys
img = Image.open(sys.argv[1])
results = decode(img)
out = [{'message': r.data.decode(), 'symbology': r.type} for r in results]
print(json.dumps({'ok': bool(out), 'count': len(out), 'results': out}, indent=2))
" "/path/to/image.png"

Output format (JSON):

{
  "ok": true,
  "count": 1,
  "results": [
    {
      "message": "https://example.com/path",
      "symbology": "QRCode",
      "bounds": { "x": 0, "y": 0, "width": 200, "height": 200 }
    }
  ],
  "file": "/path/to/image.png",
  "error": null
}

2. TRACE - Follow redirect chains

After decoding a URL from a QR code (or given a URL directly), trace the full redirect chain:

curl -sIL -o /dev/null -w '%{url_effective}\
' --max-redirs 15 --connect-timeout 10 "URL_HERE" 2>&1

For the full chain with each hop, use:

curl -sIL --max-redirs 15 --connect-timeout 10 -w '\
--- FINAL: %{url_effective} (HTTP %{http_code}) ---\
' "URL_HERE" 2>&1

Parse the Location: headers from the output to build the chain:

1. https://short.link/abc        → 302
2. https://tracking.example.com  → 301
3. https://final-destination.com → 200

3. INSPECT - Detect gated destinations

After tracing, inspect the final URL for access gates. Check for these patterns:

WeChat/WeCom Gates (common in Chinese QR codes):

  • Domain contains: weixin.qq.com, work.weixin.qq.com, mp.weixin.qq.com, open.weixin.qq.com
  • Redirect to open.weixin.qq.com/connect/oauth2/authorize
  • Response contains: 请在微信客户端打开, 请在企业微信客户端打开
  • Response header logicret: -2 = article not found / deleted / unpublished
  • User-Agent gating: returns different content for WeChat UA vs browser UA
  • WeChat mini-program links: weixin://dl/business/?appid= — cannot be opened outside WeChat

App-Gated Links:

  • Taobao: tb.cn, m.tb.cn — returns 200 with JS redirect to Taobao app. Look for tbopen:// scheme or s_status: STATUS_NORMAL header
  • Douyin: v.douyin.com — 302 redirect to www.douyin.com, then 404 for invalid links. Valid links redirect to www.douyin.com/video/
  • Xiaohongshu: xhslink.com — 307 → www.xiaohongshu.com. Look for snssdk:// or xhsdiscover:// deep-link schemes
  • Alipay: ur.alipay.com — redirects to alipays:// scheme
  • Response contains deep-link schemes: weixin://, alipays://, tbopen://, snssdk://, xhsdiscover://
  • Meta refresh or JavaScript redirect to app store

Login Walls:

  • HTTP 401 or 403 status
  • Redirect to /login, /signin, /oauth/authorize
  • Response contains login form elements

Content Validity Check (run AFTER gate detection):

  • WeChat: header logicret value — -2 means content invalid/deleted
  • Douyin: final destination is 404 = video removed or link expired
  • Taobao: response body contains 对不起 or 宝贝不存在 = product delisted

Detection commands:

# Step 1: Check response headers for platform signals
curl -sI --max-redirs 10 --connect-timeout 10 "URL_HERE" 2>&1

# Step 2: Check with browser-like UA
curl -sL --max-redirs 10 --connect-timeout 10 \
  -H "User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15" \
  "URL_HERE" | head -c 5000

# Step 3: Check with WeChat UA (reveals WeChat-gated content)
curl -sL --max-redirs 10 --connect-timeout 10 \
  -H "User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 MicroMessenger/8.0.0" \
  "URL_HERE" | head -c 5000

# Step 4: Compare — if Step 2 and Step 3 return different content, the link is UA-gated

Header signals to check:

  • logicret: -2 → WeChat article invalid
  • s_status: STATUS_NORMAL → Taobao link active
  • Location: containing app deep-link schemes → app-gated redirect

4. DIAGNOSE - Explain and suggest next steps

Based on decode + trace + inspect results, provide a structured diagnosis:

Output format:

## QR Bridge Diagnosis

**Source:** [image filename]
**Decoded:** [raw content from QR]
**Type:** [URL | Text | vCard | WiFi | other]

### Redirect Chain
1. [url] → [status]
2. [url] → [status]
3. [url] → [final status]

### Access Gate
- **Gate type:** [WeChat | WeCom | Login | App-only | None]
- **Why it fails:** [explanation in plain language]
- **What it needs:** [specific requirement]

### Next Steps
- [actionable suggestion 1]
- [actionable suggestion 2]

Common diagnoses to provide:

Gate TypeWhy It FailsWhat It Needs
WeChatLink requires WeChat's built-in browserOpen in WeChat app > scan QR
WeChat (invalid)logicret: -2 — article deleted/unpublishedRequest a valid article link
WeComEnterprise WeChat onlyMust be a WeCom member of that org
TaobaoJS redirect to Taobao appOpen link in Taobao/淘宝 app
Douyin302→douyin.com, content requires appOpen in Douyin/抖音 app
Xiaohongshu307→xiaohongshu.com, app deep-linkOpen in 小红书 app
Alipayalipays:// scheme redirectOpen in Alipay/支付宝 app
Mini Programweixin://dl/business/ schemeOpen in WeChat > scan QR to launch mini-program
Login WallRequires authenticationSign in at [domain] first
App-OnlyDeep link to native appInstall [app name] and scan in-app
ExpiredShort link no longer resolvesLink has expired, request a new one
Geo-blockedReturns different content by regionMay need VPN to [region]

5. GENERATE - Create QR codes from text/URLs

python3 -c "
import qrcode, sys, os
data = sys.argv[1]
out = sys.argv[2] if len(sys.argv) > 2 else os.path.expanduser('~/Desktop/qr-output.png')
qr = qrcode.QRCode(version=None, error_correction=qrcode.constants.ERROR_CORRECT_H, box_size=10, border=4)
qr.add_data(data)
qr.make(fit=True)
img = qr.make_image(fill_color='black', back_color='white')
img.save(out)
print(f'QR code saved to: {out}')
print(f'Content: {data}')
print(f'Size: {img.size[0]}x{img.size[1]}px')
" "CONTENT_HERE" "/output/path.png"

If qrcode is not installed:

pip3 install "qrcode[pil]"

Full Workflow

When the user provides a QR code image, run the full pipeline automatically:

  1. DECODE the image
  2. If the decoded content is a URL:

a. TRACE the redirect chain b. INSPECT the final destination for gates c. DIAGNOSE with full report

  1. If the decoded content is NOT a URL (plain text, WiFi config, vCard, etc.):

a. Present the content with type identification b. Skip trace/inspect

Always present results in the structured diagnosis format above.

Error Handling

Image cannot be read:

  • Verify the file exists and path is correct
  • Check format (PNG, JPEG, HEIC, TIFF supported)
  • Suggest converting if format is unusual: sips -s format png input.webp --out converted.png

No QR code detected:

  • Image may be too low resolution
  • QR code may be partially obscured
  • Suggest: crop to QR region, improve contrast, try a screenshot instead of photo
  • Try pyzbar fallback (different algorithm may succeed)

Redirect fails (timeout/DNS):

  • Short link service may be down
  • Link may have expired
  • Try again with longer timeout: --connect-timeout 30

Cannot determine gate type:

  • Fetch page content and look for clues in HTML/JS
  • Check response headers for X-Powered-By, Server, custom headers
  • Report what IS known and suggest manual inspection

Notes

  • This skill is macOS-native. CoreImage is the primary decoder (zero external dependencies).
  • The Swift binary is compiled once and reused for speed (~10ms vs ~2s interpreted).
  • For batch processing, loop the binary over multiple files.
  • All output is designed to be actionable: never just say "it failed" -- explain WHY and WHAT TO DO.

平台分布

OpenClaw

75.74%
按下载量换算1,091

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills