← 返回
内容创作 中文

Scan To Skill

QR-based skill installer for ClawHub. Decodes QR images (Telegram uploads, screenshots, camera captures), extracts a valid skill slug or install command, and...
基于二维码的ClawHub技能安装器。解码二维码图像(Telegram上传、截图、摄像头捕获),提取有效的技能标识或安装命令,并执行安装。
jackleeio
内容创作 clawhub v0.2.2 1 版本 99826.1 Key: 无需
★ 0
Stars
📥 574
下载
💾 15
安装
1
版本
#latest

概述

Scan to Skill

Install skills from QR codes in one flow: decode -> parse slug -> install -> verify.

Trigger

When a user sends an image and asks to install from QR:

  1. Detect image attachment in the current message.
  2. Run scripts/install_from_qr.py (dry run by default).
  3. Show the decoded text and parsed slug to the user.
  4. Prompt the user: "Decoded skill: . Do you want me to install it?"
  5. If the user confirms, run scripts/install_from_qr.py --confirm to execute the install.
  6. Show the install result and suggest next steps.

Workflow

  1. Get QR input image
    • Use uploaded image, screenshot, or camera snapshot.
  2. Decode QR content
    • Prefer scripts/install_from_qr.py --decode-only .
  3. Parse install target
    • Accept:
    • direct slug (skill-feed)
    • ClawHub URL (https://clawhub.ai// or https://clawhub.ai/)
    • install command text (clawhub install )
  4. Install with ClawHub CLI
    • Run install command generated by script.
  5. Verify installation
    • Check with clawhub list.

Commands

  • Decode only (no install attempt):
  • python3 scripts/install_from_qr.py --decode-only
  • Dry run (decode + show install command, but do not install):
  • python3 scripts/install_from_qr.py
  • Install after user confirms:
  • python3 scripts/install_from_qr.py --confirm
  • Install to custom dir:
  • python3 scripts/install_from_qr.py --confirm --dir skills

Safety

  • The script defaults to dry run. Install only executes when --confirm is explicitly passed.
  • The agent must never pass --confirm without the user's explicit approval.
  • Only accept URLs from verified ClawHub domains (clawhub.ai, clawhub.com and their www. variants).
  • URLs from non-ClawHub domains are rejected by the script (exit code 4).
  • Plain slugs and clawhub install commands are accepted as trusted sources.
  • For any slug the user hasn't seen before, recommend checking the skill page on ClawHub before installing.

Output format

  • Decoded QR:
  • Parsed slug:
  • Install command:
  • Result: success/failure + reason
  • Next step: open skill page or run quick test

References

  • Parsing rules and examples: references/slug-parsing.md

版本历史

共 1 个版本

  • v0.2.2 当前
    2026-03-29 18:33 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

BNBot

jackleeio
最安全、最高效的Twitter/X自动化方式——BNBot通过真实浏览器会话运行,提供40+ AI驱动的CLI工具,帮助您快速增长Twitter...
★ 1 📥 971
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 860 📥 199,820
content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,200