Read barcode labels in Hermes
Extract Code 128, EAN-13, UPC-A and 2D identifiers locally via scripts/scan.mjs with leading zeros intact.
Barcode Scanner outputs exact identifiers and symbologies so Hermes can verify labels without guessing digits.
Extract Code 128, EAN-13, UPC-A and 2D identifiers locally via scripts/scan.mjs with leading zeros intact.
scripts/scan.mjs exits 0 on detection, 1 for a valid empty report and 2 on error, without querying product APIs.
Hermes uses the portable skill route; for MCP-native assistants, check the shared stdio MCP server guide.
Provide the image, copy the prompt and verify the returned output.
Create a Code 128 barcode that encodes STOCK-4827 and save it as barcode-reference.png.
Read barcode-reference.png with Barcode Scanner.
Return the complete identifier as text and its format.
Preserve leading zeros. Do not run external lookups.
If the tool is unavailable or detects nothing, report that
instead of guessing.With the scanner configured, Hermes returns the exact identifier and its format instead of guessing.
Sample output for barcode-reference.png.
Setup routes, barcode formats, leading zeros, local privacy and MIT licence.
Run hermes skills install qrcode-ai-com/qrcode-barcode-scanner-rust/skills/qrcode-barcode-scanner with no account needed. Hermes installs all five skill files into <HERMES_HOME>/skills/qrcode-barcode-scanner.
The skill contains SKILL.md and scripts/scan.mjs without native binaries. Install @qrcode-ai-com/qrcode-barcode-scanner into a project-local .qrcode-barcode-scanner-runtime folder (never inside the skill folder) as documented in SKILL.md on GitHub.
It decodes 16 barcode symbologies: Code 128, Code 39, Code 93, EAN-13 (including ISBN), EAN-8, UPC-A, UPC-E, ITF, Codabar, Telepen, GS1 DataBar, GS1 DataBar Expanded, Data Matrix, PDF417, Aztec and MaxiCode, plus QR codes.
Yes. content.text is always returned as a verbatim string so leading zeros stay intact, and EAN-13 reports also parse the 14-digit GS1 GTIN. The helper makes zero network calls while decoding and never queries product or ISBN catalogues.
A direct Markdown URL install downloads only SKILL.md and omits scripts/scan.mjs. Use hermes skills install with the GitHub directory path so all five files arrive together and pass Hermes’ security scan without --force.
scripts/scan.mjs exits 0 when barcodes are found, 1 for a valid empty JSON report and 2 for a usage, file or scan error. Re-scan with --budget-ms 0 if trace.budget_exhausted is true.
Run hermes skills uninstall qrcode-barcode-scanner. Decoding runs locally on Node.js 22+ (Hermes sends chat context to your configured LLM). Current skill and engine releases are free and MIT-licensed, separate from QR Code AI paid plans.
Inspect the official Hermes setup source and the MIT scanner adapter contract.