Hermes Barcode Scanner Skill

Give Hermes a real local barcode decoder. It reads 16 1D and 2D barcode formats and returns exact identifiers with leading zeros intact.

Install the scanner skill in Hermes

Requires Node.js 22+.

  1. 1

    Run the command with no account required. Hermes copies all five files into <HERMES_HOME>/skills/qrcode-barcode-scanner.

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

    Install @qrcode-ai-com/qrcode-barcode-scanner into a project-local .qrcode-barcode-scanner-runtime folder as SKILL.md sets out.

  3. 3

    Try it. Ask Hermes:

    Read the Code 128 barcode in barcode-reference.png and give me the exact value with leading zeros preserved.

Passes Hermes’ security check without --force. Avoid Markdown-only URL installs that omit scripts/scan.mjs. See the Barcode Scanner Skills guide.

Read SKILL.md on GitHub

Use a decoded barcode in a Hermes task

Barcode Scanner returns exact identifiers and symbologies so Hermes can check labels without guessing digits.

Read barcode labels in Hermes

Extract Code 128, EAN-13, UPC-A and 2D identifiers locally via scripts/scan.mjs with leading zeros intact.

Deterministic exit codes

scripts/scan.mjs exits 0 on detection, 1 for a valid empty report and 2 on error, without querying product APIs.

Need MCP tool calls instead?

Hermes uses the portable skill route; for MCP-native assistants, inspect the shared stdio MCP server guide.

Try a barcode image in Hermes

Supply the image, copy the request and compare the returned content.

barcode-reference.png

Create a Code 128 barcode containing STOCK-4827 and save it as barcode-reference.png.

Ask Hermes to read it

Text
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.
Expected result · Code 128
STOCK-4827

With the scanner, Hermes returns the exact identifier and its format rather than a guess.

Example result for barcode-reference.png.

Hermes Barcode Scanner Skill questions

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 directory (never inside the skill directory) as detailed in SKILL.md on GitHub.

It decodes 16 barcode symbologies: Code 128, Code 39, Code 93, EAN-13 (including book ISBNs), 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 whilst decoding and never queries product catalogues or ISBN databases.

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 check without --force.

scripts/scan.mjs signals outcomes via exit codes: 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.