sandbox-gif
БесплатноБез исполняемых скриптовНе проверенEncode an animated GIF from RGBA frames inside a Code node or CodeAct action, with gifenc running in the guest
от nodetool-ai★ 674 звезды на GitHubОб этом скилле
GIF encoding in the sandbox
Specifier: @nodetool-ai/sandbox-gif. One module, gifenc. Import it at the top of the body.
Frames to a GIF
import { GIFEncoder, quantize, applyPalette } from "@nodetool-ai/sandbox-gif";
const gif = GIFEncoder();
for (const frame of inputs.frames) {
const palette = quantize(frame.rgba, 256);
const index = applyPalette(frame.rgba, palette);
gif.writeFrame(index, inputs.width, inputs.height, {
palette,
delay: frame.delay ?? 100
});
}
gif.finish();
return { bytes: gif.bytes() };
Each frame.rgba is a Uint8Array of length width * height * 4.
delay is milliseconds.
Gotchas
- You supply RGBA. Decode a still with
image.bytes/ canvas, then pack frames yourself. gif.bytes()is aUint8Array. Write it withworkspace.writeBytes.
Установить sandbox-gif в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл sandbox-gif?
Encode an animated GIF from RGBA frames inside a Code node or CodeAct action, with gifenc running in the guest
Как установить скилл sandbox-gif?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл sandbox-gif запускает скрипты?
Нет, скилл состоит только из инструкций (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