Skip to content

marc-chen/qrcode-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

qrcode-skill

An OpenClaw Skill for QR code generation and decoding, powered by MCP.

License: MIT

Overview

qrcode-skill is a standard OpenClaw skill that provides QR code generation and decoding capabilities through a remote MCP (Model Context Protocol) service. It can be used as a slash command (/qrcode-skill) in any compatible AI coding agent.

Features

  • Generate QR Code — Convert any text or URL (up to 1000 characters) into a QR code PNG image with configurable size (128–1024px)
  • Decode QR Code — Extract text content from a QR code image (base64-encoded PNG)

Quick Start

1. Install the Skill

Copy the skill folder into your project or personal skills directory:

# Project-level
.github/skills/qrcode-skill/

# Or personal-level
~/.copilot/skills/qrcode-skill/
~/.agents/skills/qrcode-skill/
~/.claude/skills/qrcode-skill/

2. Configure the MCP Server

Add the following MCP server configuration to your editor settings:

VS Code (settings.json):

{
  "mcp": {
    "servers": {
      "qrcode": {
        "type": "http",
        "url": "https://qrcode.api4claw.com/mcp"
      }
    }
  }
}

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "qrcode": {
      "type": "http",
      "url": "https://qrcode.api4claw.com/mcp"
    }
  }
}

3. Use the Skill

Type /qrcode-skill in the chat or simply describe what you need:

Generate a QR code for https://github.com
Decode the QR code in ./images/ticket.png

Skill Structure

qrcode-skill/
├── SKILL.md              # Skill definition (entry point)
├── README.md             # This documentation
├── LICENSE               # MIT License
└── references/
    └── mcp-api.md        # MCP tool schemas and examples

MCP Service

Property Value
Endpoint https://qrcode.api4claw.com/mcp
Protocol MCP over HTTP (Streamable HTTP)
Version 2024-11-05

Tools

Tool Description Required Params
generate_qr_code Text → QR code PNG (base64) text
decode_qr_code QR code PNG (base64) → text image_base64

See references/mcp-api.md for full API details.

Compatibility

This skill follows the standard OpenClaw skill format and is compatible with:

  • GitHub Copilot (VS Code, JetBrains)
  • Claude Code / Claude Desktop
  • OpenClaw-compatible agents
  • ClawHub.ai skill marketplace

License

MIT © 2026 Marc Chen

About

skill for qrcode generate、decode

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors