OpenClawSkills
GitHub

QR Code Gen

Community

Generate a QR code URL for any text.

Installation

Save as `qrcode.js`.

Source Code

JavaScript
Tutorial.terminal

// qrcode.js
// Uses goqr.me public API

module.exports = async function(context) {
    const data = encodeURIComponent(context.args.join(' '));
    const url = `https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=${data}`;
    
    return {
        imageUrl: url,
        markdown: `![QR Code](${url})`
    };
};

Live Preview

● Live Demo
Agent Session
Starting session...

How to use

  • Ensure you have the necessary dependencies installed (if any).
  • Place the file in your OpenClaw skills folder (e.g., ~/.openclaw/skills/).
  • Restart your agent or reload configuration.
  • Invoke it using the filename (without extension) as the tool name, or through natural language if the description is clear.