sandbox-qr
БесплатноБез исполняемых скриптовНе проверенEncode text into a QR matrix or SVG inside a Code node or CodeAct action, with uqr running in the guest
от nodetool-ai★ 674 звезды на GitHubОб этом скилле
QR codes in the sandbox
Specifier: @nodetool-ai/sandbox-qr. One module, the uqr root export.
Import it at the top of the body.
encode — text to a QR matrix
import { encode } from "@nodetool-ai/sandbox-qr";
const qr = encode(inputs.text);
return { size: qr.size, data: qr.data };
data is a boolean matrix (true is a dark module). size is the module count.
encode — text to SVG
import { encode } from "@nodetool-ai/sandbox-qr";
const qr = encode(inputs.text);
const cells = [];
for (let y = 0; y < qr.size; y++) {
for (let x = 0; x < qr.size; x++) {
if (qr.data[y][x]) cells.push(`<rect x="${x}" y="${y}" width="1" height="1"/>`);
}
}
const svg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${qr.size} ${qr.size}" shape-rendering="crispEdges">${cells.join("")}</svg>`;
return { svg, size: qr.size };
Or pass the matrix to @nodetool-ai/sandbox-fabric if you already have that pack.
Gotchas
- Guest only. No canvas, no PNG encoder. Build SVG yourself or rasterize with Fabric.
- Named export.
import { encode } from "@nodetool-ai/sandbox-qr".
Установить sandbox-qr в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл sandbox-qr?
Encode text into a QR matrix or SVG inside a Code node or CodeAct action, with uqr running in the guest
Как установить скилл sandbox-qr?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл sandbox-qr запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic