OpenClaw Barcode Scanner Plugin & Skill

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

Install the ClawHub plugin bundle

Requires Node.js 22.19+ or 24+.

  1. 1

    Install from ClawHub using --no-enable, inspect the declared capabilities and re-run with --accept-capabilities if OpenClaw prompts for consent.

    Shell
    openclaw plugins install clawhub:@qrcode-ai-com/qrcode-barcode-scanner --no-enable
  2. 2

    Inside the installed plugin folder, run node scripts/setup.mjs to initialise ./runtime, then run openclaw plugins enable qrcode-barcode-scanner.

  3. 3

    Try a quick check. Ask OpenClaw:

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

The bundle pairs the scanner skill with stdio MCP scan_image (bytes only) and checks ENGINE-LICENSE before loading native code.

Open bundle on ClawHub

Use a decoded barcode in an OpenClaw task

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

Extract stock labels verbatim

Decode Code 128, EAN-13, UPC-A and 2D barcodes locally so digits and leading zeros remain exact rather than guessed.

MCP bytes versus local skill files

Use bundle MCP scan_image for supplied bytes, or run scripts/scan.mjs with ./runtime to scan local label files on disk.

Keep product lookups separate

Decode raw identifiers and symbologies locally without querying external retail, book or stock databases.

Try a barcode image in OpenClaw

Provide 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 OpenClaw 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, OpenClaw returns the exact identifier and its format rather than a guess.

Example output for barcode-reference.png.

OpenClaw Barcode Scanner Plugin & Skill questions

Setup routes, barcode formats, leading zeros, local privacy and MIT licence.

Install the ClawHub plugin bundle for both the skill and stdio MCP configuration sharing a single ./runtime folder, or install the standalone ClawHub skill (clawhub install qrcode-barcode-scanner) if you only want scripts/scan.mjs.

The bundle ships without precompiled engine binaries. Running node scripts/setup.mjs installs @qrcode-ai-com/qrcode-barcode-scanner-mcp with lifecycle scripts disabled, verifies ENGINE-LICENSE and initialises ./runtime for both MCP and the skill helper.

It reads 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 scanner makes no network calls while decoding and never queries product or ISBN APIs.

In the OpenClaw bundle, MCP scan_image accepts supplied base64 image bytes only. To scan a standard local image file on disk inside your workspace, run the bundled skill helper scripts/scan.mjs with --engine-root ./runtime.

Every detected code returns together in the same detections array, each labelled with its symbology and exact content.text. Check each detection's symbology rather than assuming index 0 is the barcode.

Decoding runs locally on your machine using Node.js 22.19+ or 24+ (OpenClaw still sends conversation text to your configured LLM). Current bundle, skill, MCP adapter and engine releases are free and open-source under the MIT licence, separate from QR Code AI paid plans.

OpenClaw setup and Barcode Scanner references

Inspect the official OpenClaw setup source and the MIT scanner adapter contract.