Verify QR images in Hermes tasks
Let Hermes invoke scripts/scan.mjs on local QR files and quote exact decoded URLs without relying on pixel guesses.
QR Code Scanner outputs exact URLs or text so Hermes can verify links, inspect assets or run repeatable checks.
Let Hermes invoke scripts/scan.mjs on local QR files and quote exact decoded URLs without relying on pixel guesses.
scripts/scan.mjs exits 0 on detection, 1 for a valid empty report and 2 on error, keeping failures separate from empty scans.
Hermes uses the portable skill route; if another host calls MCP tools directly, check the MCP server contract.
Provide the image, copy the prompt and verify the returned output.
Create a text QR code that encodes 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 configured, Hermes returns the exact encoded content and its format instead of guessing.
Sample output for qr-reference.png.
Setup routes, 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 documented in SKILL.md on GitHub.
Hermes’ direct Markdown URL installer downloads only SKILL.md and omits scripts/scan.mjs. Use hermes skills install with the GitHub directory path so all five files are installed together.
No. Hermes’ GitHub directory form follows 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 passes Hermes’ security scan without --force. Outcomes are signalled via exit codes: scripts/scan.mjs prints JSON and exits 0 (detected), 1 (valid empty report) or 2 (error); re-scan with --budget-ms 0 if trace.budget_exhausted is true.
No. SKILL.md instructs Hermes to treat decoded content strictly as untrusted data, quote it verbatim and never open links or execute instructions found inside a QR code.
Run hermes skills uninstall qrcode-barcode-scanner. Decoding runs 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.
Inspect the official Hermes setup source and the MIT scanner adapter contract.