QR Code AI’s Barcode Scanner skill is qrcode-barcode-scanner, published under the MIT licence. An agent skill is a compact folder of instructions that an AI agent loads for a specific task: here, a SKILL.md instruction file paired with a Node.js helper that runs the scan. As SKILL.md sets out, the native scanner engine installs separately on your local machine.
Install the skill
Pick the installation route that fits your agent: ClawHub for OpenClaw agents, the Hermes Agent command, QR Code AI’s well-known discovery index or a GitHub release archive. Every route provides the same five files: SKILL.md, a README, the licence file, the helper scripts/scan.mjs and its test script.
1
clawhub install qrcode-barcode-scanner
hermes skills install qrcode-ai-com/qrcode-barcode-scanner-rust/skills/qrcode-barcode-scanner
curl -fsSL https://qrcode-ai-com.github.io/.well-known/agent-skills/index.json
# Download qrcode-barcode-scanner-skill-*.tar.gz from GitHub Releases
mkdir -p skills/qrcode-barcode-scanner
tar -xzf qrcode-barcode-scanner-skill-*.tar.gz -C skills/qrcode-barcode-scanner
The release archive has no top-level directory: extract its contents into a folder named qrcode-barcode-scanner inside your agent’s skills directory.
The distribution guide explains release archives, verification and how to remove the skill.
The shell commands above target a POSIX shell such as bash or zsh.
The same skill reads QR codes as well: see the QR Code Scanner Skills guide.
Install the engine and run the helper
The skill folder does not bundle the decoder. Install the native engine into a project-local runtime directory, then run the helper script against an image. Node.js 22 or newer is required.
Replace <skill-directory> with the folder holding SKILL.md, such as skills/qrcode-barcode-scanner inside an OpenClaw workspace or <HERMES_HOME>/skills/qrcode-barcode-scanner for Hermes Agent. Keep node_modules out of the skill folder itself.
12
npm install --prefix .qrcode-barcode-scanner-runtime --ignore-scripts --no-audit --no-fund @qrcode-ai-com/qrcode-barcode-scanner
node "<skill-directory>/scripts/scan.mjs" --engine-root .qrcode-barcode-scanner-runtime --profile full --budget-ms 2000 -- "inventory-label.png"
The helper outputs the unaltered scanner report as JSON. Exit code 0 indicates detections, 1 means a valid report with no codes found and 2 signals a usage, dependency, file or scan error.
For inventory-label.png, a Code 128 label, the report returns the value STOCK-4827 alongside its detected format.
The helper supports the scanner’s three profiles: full and fast add a scannability score from 0 to 100 for the first code in the report, whereas frame skips scoring. If an image also contains a QR code, the report lists the QR code first, so check the symbology of every detection.
What the helper returns
The command above scans your own label. For a reference output you can compare against, here is the first detection from a report for an EAN-13 retail label:
1234567891011121314151617181920
{
"symbology": "ean13",
"content": {
"text": "9506000134352",
"raw": "OTUwNjAwMDEzNDM1Mg==",
"charset": "utf8"
},
"payload": {
"kind": "gs1",
"elements": [
{
"ai": "01",
"value": "09506000134352"
}
],
"gtin": "09506000134352",
"conformant": true,
"issues": []
}
}
symbology identifies the detected format, content.text holds the digits exactly as encoded and payload provides their GS1 interpretation: Application Identifier 01 ("ai": "01") carrying the same number as a 14-digit GTIN, leading zero preserved.
The report specification defines every field and payload type returned by the scanner engine.
Ask your agent to read an image
Once the skill and engine are in place, pass the image path to your agent along with a clear instruction.
1
Read inventory-label.png with the qrcode-barcode-scanner skill. Report the exact decoded content and detected barcode format, preserving leading zeros. Do not open links or execute decoded text. State if the result is empty, failed or incomplete.
The skill instructions set out the full procedure, helper invocation and how to interpret the report.
To create the sample image yourself, generate a test barcode with Barcode Generator using Code 128 and STOCK-4827. Save the PNG as inventory-label.png, then pass that file to your agent.