Hermes Agent 二維碼掃描器技能

為 Hermes 配備真正的本機二維碼解碼器,直接讀取圖片並返回準確的編碼網址或文字,無需從像素猜測。

在 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 中的二維碼,並提供準確的網址。

無需加上 --force 即可通過 Hermes 安全掃描。請避免使用僅下載 Markdown 的網址安裝方式,否則會遺漏 scripts/scan.mjs。詳情請參閱二維碼掃描器技能指南。

在 GitHub 閱讀 SKILL.md

在 Hermes 任務中使用解碼二維碼

二維碼掃描器會返回準確的網址或文字,讓 Hermes 核對連結、驗證素材或重複執行檢查。

在 Hermes 任務中核對二維碼圖片

讓 Hermes 透過 scripts/scan.mjs 掃描本機二維碼檔案,原樣引述解碼網址而非憑像素猜測。

明確的結束狀態碼

scripts/scan.mjs 偵測到結果時返回 0、有效空報告返回 1、發生錯誤時返回 2,清楚區分異常與空掃描。

需要改用 MCP 工具呼叫?

Hermes 採用可攜式技能路徑;若另一主機直接呼叫 MCP 工具,請檢視 MCP 伺服器規格。

在 Hermes 測試二維碼圖片

準備測試圖片、複製以下請求,並比對工具返回的解碼內容。

qr-reference.png

製作文字二維碼,內容填入 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 二維碼掃描器技能常見問題

安裝方式、圖片輸入、不受信任資料安全守則、疑難排解及 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。請透過 hermes skills install 配合 GitHub 目錄路徑安裝,確保全部五個檔案齊全保留。

不可以。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 將解碼內容嚴格視為不受信任的資料並原樣引述,絕不自動開啟連結或執行二維碼內的文字指令。

執行 hermes skills uninstall qrcode-barcode-scanner 即可移除。解碼完全於本機透過 Node.js 22 或以上版本執行(上限 10 MiB、4,096 px、16 MP;Hermes 會將對話內容傳送至您設定的 LLM)。現有技能及引擎版本均為免費並採用 MIT 授權。

繼續瀏覽其他二維碼掃描器指南

閱讀通訊協定指南、切換至 Hermes 條碼掃描方案,或瀏覽所有二維碼整合方案。

二維碼掃描器技能

檢視 SKILL.md、Node 輔助指令碼、結束狀態碼及獨立引擎設定。

閱讀技能指南

Hermes 條碼掃描器技能

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

探索 Hermes 條碼掃描器