Hermes QR Code 掃描器技能

為 Hermes 配備真正的本機 QR Code 解碼器。它會直接讀取圖片並回傳確切的編碼網址或文字,而非憑像素猜測。

在 Hermes 中安裝掃描器技能

需要 Node.js 22 以上版本。

  1. 1

    執行此指令,無需任何帳號。Hermes 會將全部五個檔案複製至 <HERMES_HOME>/skills/qrcode-barcode-scanner。

    Shell
    hermes skills install qrcode-ai-com/qrcode-barcode-scanner-rust/skills/qrcode-barcode-scanner
  2. 2

    依照 SKILL.md 說明,將 @qrcode-ai-com/qrcode-barcode-scanner 安裝至專案本機的 .qrcode-barcode-scanner-runtime 資料夾。

  3. 3

    試試看,請這樣詢問 Hermes:

    讀取 qr-reference.png 中的 QR Code,並給我確切的網址。

不需加上 --force 即可通過 Hermes 安全性掃描。請避免使用會遺漏 scripts/scan.mjs 的純 Markdown 網址安裝方式。詳見QR Code 掃描器技能指南。

在 GitHub 上閱讀 SKILL.md

在 Hermes 任務中運用已解碼的 QR Code

QR Code 掃描器會回傳確切的網址或文字,讓 Hermes 能核對連結、驗證素材或重複執行檢查。

在 Hermes 任務中檢查 QR Code 圖片

讓 Hermes 針對本機 QR Code 檔案呼叫 scripts/scan.mjs,逐字引用確切的解碼網址,而不是從像素猜測。

明確一致的結束碼

scripts/scan.mjs 在偵測成功時回傳 0、有效空結果回傳 1、發生錯誤時回傳 2,清楚區分錯誤與無結果。

需要改用 MCP 工具呼叫嗎?

Hermes 採用可攜式技能路線;若其他主機環境支援直接呼叫 MCP 工具,請檢視 MCP 伺服器規範。

在 Hermes 中測試 QR Code 圖片

準備好圖片、複製請求提示詞,並比對回傳的內容。

qr-reference.png

建立文字 QR Code,內容填入 https://qrcode-ai.com/ 並儲存為 qr-reference.png。

請 Hermes 讀取這張圖片

Text
Read qr-reference.png with QR Code Scanner.
Return its encoded content and format as data.
Do not open the URL. If the tool is unavailable or
detects nothing, report that instead of guessing.
預期結果 · QR code
https://qrcode-ai.com/

搭配掃描器後,Hermes 會回傳確切的編碼內容與格式,而非憑空猜測。

qr-reference.png 的範例結果。

Hermes QR Code 掃描器技能常見問題

安裝方式、圖片輸入、不可信任資料防護、疑難排解與 MIT 授權說明。

執行 hermes skills install qrcode-ai-com/qrcode-barcode-scanner-rust/skills/qrcode-barcode-scanner。無需任何帳號,Hermes 會將 SKILL.md、README.md、LICENSE、scripts/scan.mjs 與 scripts/test.mjs 複製至 <HERMES_HOME>/skills/qrcode-barcode-scanner。

不會。請依照 SKILL.md 的說明,另外將 @qrcode-ai-com/qrcode-barcode-scanner 安裝至專案本機的 .qrcode-barcode-scanner-runtime 資料夾(切勿安裝於技能資料夾內)。

Hermes 的純 Markdown 直接網址安裝器只會抓取 SKILL.md,而不會下載 scripts/scan.mjs。請使用搭配 GitHub 目錄路徑的 hermes skills install,確保全部五個檔案完整保留。

不行。Hermes 的 GitHub 目錄安裝形式會追蹤儲存庫的預設分支。若要鎖定特定發佈版本,請從 GitHub Releases 下載附有檢查碼的技能壓縮檔並解壓縮至 <HERMES_HOME>/skills/qrcode-barcode-scanner。執行 hermes skills search qrcode-barcode-scanner 也能找到 ClawHub 上的項目。

可以,完整五個檔案的安裝無需加上 --force 就能通過 Hermes 安全性掃描。scripts/scan.mjs 會輸出 JSON 並以結束碼 0(偵測成功)、1(有效空結果)或 2(發生錯誤)結束;若 trace.budget_exhausted 為 true,請加上 --budget-ms 0 重新掃描。

不會。SKILL.md 明確指示 Hermes 必須將解碼內容嚴格視為不可信任資料,僅原樣引用文字,絕不開啟連結或執行 QR Code 內的任何文字指令。

執行 hermes skills uninstall qrcode-barcode-scanner 即可移除。解碼作業完全在本機 Node.js 22 以上版本執行(上限 10 MiB、4,096 px、16 MP;Hermes 會將對話脈絡傳送至您設定的 LLM)。目前的技能與引擎版本皆免費提供並採用 MIT 授權。

繼續閱讀其他 QR Code 掃描器指南

閱讀通訊協定指南、切換至適用於條碼的 Hermes 整合,或瀏覽所有 QR Code 整合方案。

QR Code 掃描器技能

檢視 SKILL.md、Node 輔助指令碼、結束碼與獨立引擎的安裝方式。

閱讀技能指南

Hermes 條碼掃描器技能

在 Hermes 中解碼 16 種一維與二維條碼格式,完整保留確切數字與前導零。

探索 Hermes 條碼掃描器