spritecook-upload-assets
/spritecook-upload-assets
Wgrywa lokalne pliki graficzne do SpriteCook przez MCP bez kluczy API i bez logowania base64.
- Autor
- asrarkhann116-ops ↗
- Repozytorium
- red-gravity ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 11.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 11.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Wgrywa lokalne pliki graficzne do SpriteCook przez MCP bez kluczy API i bez logowania base64.
Oryginalny opis (EN)
Upload local image files into SpriteCook through MCP without API keys or base64 logs. Use when the user provides a local file path that should become a SpriteCook asset for generation references, style guides, tilesets, animation, background removal, presets, or asset organization.
Jak działa
- Preferred Flow
- PowerShell Pattern
- When To Use Inline Import
- Reusing Uploaded Assets
Podgląd SKILL.md
--- name: spritecook-upload-assets description: "Upload local image files into SpriteCook through MCP without API keys or base64 logs. Use when the user provides a local file path that should become a SpriteCook asset for generation references, style guides, tilesets, animation, background removal, presets, or asset organization." --- # SpriteCook Upload Assets Use this skill when a local image file should become a reusable SpriteCook `asset_id`. Pair it with `spritecook-workflow-essentials` for credential safety, manifests, and downstream asset reuse. ## Preferred Flow 1. Inspect the local file path without printing file bytes. 2. Determine `file_name`, MIME `content_type`, optional `size_bytes`, and whether `pixel` should be true. 3. Call `create_asset_upload(file_name=..., content_type=..., pixel=..., size_bytes=...)`. 4. Upload the file bytes to the returned `upload_url` with HTTP `PUT` and the returned headers. 5. Call `finalize_asset_upload(upload_token=...)`. 6. Use the returned `asset_id` in the next SpriteCook tool. The upload URL and token are short-lived secrets. Do not print them in user-facing prose, save them to project files, or include them in manifests. ## PowerShell Pattern On Windows, upload without printing bytes: ```powershell Invoke-WebRequest -Method Put -Uri $uploadUrl -InFile $path -ContentType $contentType | Out-Null ``` Use variables for `$uploadUrl`, `$path`, and `$contentType`; do not echo them if they include the upload token. ## When To Use Inline Import Use `import_asset(image=...)` only when the image is already a small data URL or base64 value that can be passed directly without logging it. Do not use shell commands that print base64 to the terminal. If encoding is necessary, store the value in memory or a private variable and pass it directly to the MCP tool. ## Reusing Uploaded Assets - Use `reference_asset_id` when the uploaded asset is one specific source or context image. - Use `edit_asset_id` only when the uploaded asset is the one image being directly modified. - Use `style_asset_ids` on `generate_game_art` when uploaded assets are ambient style guides; pass up to 10 IDs. - Use `style_asset_id` on `generate_tileset` for one tileset style guide image. - Use `asset_id` on `animate_game_art` when the uploaded asset is the source to animate. Save the returned `asset_id` and a local file hash in the project manifest when the workspace is writable.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · asrarkhann116-ops/red-gravity | 100 | MIT |
| SpriteCook/skills | 90 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 20417a6691af (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 4 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90spritecook-use-presets
Korzysta z zapisanych presetów SpriteCook przez MCP, w tym zapisuje prywatne presety dla spójnego generowania zasobów graficznych. - 100spritecook-use-assets-in-godot
Przekształca spritesheety i animacje SpriteCook w zasoby SpriteFrames i węzły AnimatedSprite2D lub 3D w Godot, ręcznie lub przez endpoint eksportu MCP. - 100spritecook-use-dual-grid-tilesets
Pokazuje, jak mapować tilesety 15-elementowe SpriteCook na teren w rendererze dual-grid i pisać ten kod. - 90stitch::upload-to-stitch
Wgrywa lokalne zasoby, takie jak obrazy, makiety, wyodrębniony HTML i dokumenty projektowe, do projektu Stitch także wtedy, gdy bezpośrednie wywołania MCP zawodzą przez limity base64. - 90stitch::upload-to-stitch
Wgrywa lokalne zasoby, takie jak obrazy, makiety, wyodrębniony HTML i dokumenty projektowe, do projektu Stitch także wtedy, gdy bezpośrednie wywołania MCP zawodzą przez limity base64. - 100image-generation
Generuje zasoby graficzne do gier przez API Google Gemini i przetwarza je w gotowe pliki sprite'ów, z wyborem modelu, proporcji, obrazu referencyjnego i liczby wariantów.