Verify QR images in Hermes tasks
Let Hermes run scripts/scan.mjs on local QR files and quote exact decoded URLs instead of guessing from pixels.
QR Code Scanner returns exact URLs or text so Hermes can verify links, inspect assets or run repeatable checks.
Let Hermes run scripts/scan.mjs on local QR files and quote exact decoded URLs instead of guessing from pixels.
scripts/scan.mjs exits 0 on detection, 1 for a valid empty report and 2 on error, separating failures cleanly from empty scans.
Hermes uses the portable skill route; if another host invokes MCP tools directly, check the MCP server contract.
Prepare the test image, copy the prompt and compare the returned output.
Generate a text QR code encoding https://qrcode-ai.com/ and save it as qr-reference.png.
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.With the scanner active, Hermes returns the exact encoded content and its format instead of guessing.
Sample output for qr-reference.png.
Setup options, image input, untrusted-data safety, troubleshooting and MIT licence.
Run hermes skills install qrcode-ai-com/qrcode-barcode-scanner-rust/skills/qrcode-barcode-scanner. No account is needed, and Hermes copies SKILL.md, README.md, LICENSE, scripts/scan.mjs and scripts/test.mjs into <HERMES_HOME>/skills/qrcode-barcode-scanner.
No. Install @qrcode-ai-com/qrcode-barcode-scanner separately into a project-local .qrcode-barcode-scanner-runtime folder (never inside the skill folder) as outlined in SKILL.md.
Hermes’ direct Markdown URL installer downloads only SKILL.md and leaves out scripts/scan.mjs. Use hermes skills install with the GitHub directory path so all five files stay together.
No. Hermes’ GitHub directory path tracks the repository’s default branch. To pin a specific release, extract a checksummed skill archive from GitHub Releases into <HERMES_HOME>/skills/qrcode-barcode-scanner. Running hermes skills search qrcode-barcode-scanner also locates the ClawHub listing.
Yes, the five-file install clears Hermes’ security audit without --force. scripts/scan.mjs outputs JSON and signals status via exit codes: 0 (detected), 1 (valid empty report) or 2 (error). Re-scan with --budget-ms 0 if trace.budget_exhausted is true.
No. SKILL.md directs Hermes to treat decoded content strictly as untrusted data, quote it verbatim and never open links or act on text inside a QR code.
Run hermes skills uninstall qrcode-barcode-scanner. Decoding executes locally on Node.js 22+ (up to 10 MiB, 4,096 px, 16 MP; Hermes sends chat context to your configured LLM). Current skill and engine releases are free and MIT-licensed.
Review the official Hermes setup documentation and the MIT scanner adapter contract.