Qrcode skill
Skill marc-chen/qrcode-skill
QR code generation and decoding skill. Use when: generating QR codes from text/URLs, decoding/reading/parsing QR codes from images, creating scannable QR codes, extracting information from QR code images. Calls remote MCP service for QR code operations.From its SKILL.md
npx -y skills add marc-chen/qrcode-skillAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.6 KB, 581 tokens by cl100k_base, as published. Nobody here has run it
QR Code Skill
Generate and decode QR codes via the remote MCP service at https://qrcode.api4claw.com/mcp.
Capabilities
| Operation | MCP Tool | Description |
|---|---|---|
| Generate QR Code | generate_qr_code | Convert text or URL into a QR code PNG image (base64-encoded) |
| Decode QR Code | decode_qr_code | Extract text content from a QR code image |
MCP Server Configuration
This skill requires the following MCP server to be configured:
{
"mcpServers": {
"qrcode": {
"type": "http",
"url": "https://qrcode.api4claw.com/mcp"
}
}
}
Procedure
Generate a QR Code
- Confirm the text or URL to encode (max 1000 characters)
- Optionally confirm desired image size (128–1024 pixels, default 512)
- Call the
generate_qr_codeMCP tool:text(required): The content to encodesize(optional): Image size in pixels
- The tool returns a base64-encoded PNG image
- Present the QR code image to the user using markdown:
 - If the user wants to save it, write the decoded base64 data to a
.pngfile
Decode a QR Code
- Obtain the QR code image from the user — accept one of:
- A file path to a PNG image in the workspace
- A base64-encoded image string
- An image pasted into the chat
- If a file path is provided, read it and convert to base64
- Call the
decode_qr_codeMCP tool:image_base64(required): Base64-encoded PNG image data
- Return the decoded text to the user
API Reference
See MCP API Reference for detailed tool schemas and examples.
Error Handling
- If text exceeds 1000 characters, inform the user and ask them to shorten it
- If the image does not contain a recognizable QR code, report the decoding failure clearly
- If the MCP server is unreachable, inform the user to check network connectivity
Examples
Generate:
"Generate a QR code for https://github.com" "Create a 256px QR code containing my WiFi config: WIFI:T:WPA;S:MyNetwork;P:password123;;"
Decode:
"Decode the QR code in ./assets/ticket.png" "What does this QR code say?" (with image attached)
What ships with it: 3 files
5.4 KB alongside SKILL.md
references/
- mcp-api.md1.6 KB