Hermes Barcode Scanner Skill

Equip Hermes with 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 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 outlined in SKILL.md.

  3. 3

    Try it out. Ask Hermes:

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

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

Read SKILL.md on GitHub

Use a decoded barcode in your Hermes workflow

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

Decode barcode labels in Hermes

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

Deterministic exit codes

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

Need MCP tool calls instead?

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

Test a barcode image in Hermes

Prepare the test image, copy the prompt and compare the returned output.

barcode-reference.png

Generate a Code 128 barcode encoding STOCK-4827 and save it as barcode-reference.png.

Ask Hermes to decode 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 active, Hermes returns the exact identifier and its format instead of guessing.

Sample output for barcode-reference.png.

Hermes Barcode Scanner Skill questions

Setup options, 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 bundles 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 outlined in SKILL.md.

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, alongside 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 during 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 clear Hermes’ security audit without --force.

scripts/scan.mjs exits 0 when barcodes are detected, 1 for a valid empty JSON report and 2 for a usage, file or scan failure. Re-scan with --budget-ms 0 if trace.budget_exhausted is true.

Run hermes skills uninstall qrcode-barcode-scanner. Decoding executes 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.

Hermes setup and Barcode Scanner references

Review the official Hermes setup documentation and the MIT scanner adapter contract.