Hermes Barcode Scanner Skill

Give Hermes a dedicated 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 needed. 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 documented in SKILL.md.

  3. 3

    Test it out. Ask Hermes:

    Read the Code 128 barcode in barcode-reference.png and return the exact value with leading zeros intact.

Passes Hermes’ security scan without --force. Avoid Markdown-only URL installs that leave out scripts/scan.mjs. Refer to the Barcode Scanner Skills guide.

Read SKILL.md on GitHub

Use a decoded barcode in a Hermes task

Barcode Scanner outputs exact identifiers and symbologies so Hermes can verify 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, check the shared stdio MCP server guide.

Test a barcode image in Hermes

Provide the image, copy the prompt and verify the returned output.

barcode-reference.png

Create a Code 128 barcode that encodes 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 output · Code 128
STOCK-4827

With the scanner configured, Hermes returns the exact identifier and its format instead of guessing.

Sample output 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 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.