stitch::upload-to-stitch

Upload base64-encoded images or HTML to Stitch via batchCreate API.

Updated Jun 7, 2026
One-click install
npx skills add https://github.com/vikingokft/vikingo-studio-skills --skill stitch-upload-to-stitch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stitch::upload-to-stitch
Source: https://github.com/vikingokft/vikingo-studio-skills/tree/main/design/upload-to-stitch
Command: npx skills add https://github.com/vikingokft/vikingo-studio-skills --skill stitch-upload-to-stitch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Upload local assets (images, mockups, HTML) to a Stitch project, bypassing MCP tool base64 output limits which can truncate or fail large payloads.

Core Features & Use Cases

  • Upload images and HTML to Stitch projects using a dedicated Python script, bypassing base64 token limits during MCP tool usage.
  • Build and submit BatchCreateScreens requests to Stitch, with support for optional screen titles and automatic screen-instance creation.
  • Use Case: When you need to publish design assets or HTML pages to a Stitch project for presentation or review.

Quick Start

Run the upload_to_stitch.py script with --project-id, --file-path, and --api-key to push your asset to Stitch.

Frequently Asked Questions about stitch::upload-to-stitch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I upload images to a Stitch project when base64 payloads exceed MCP tool limits?

To upload images to a Stitch project without base64 truncation, run a Python script that encodes the file, selects the MIME type, and submits a create-screen request via the batchCreate API using your project ID and API key.

Why does uploading large HTML assets to Stitch fail during MCP tool usage?

Uploading large HTML assets to Stitch fails because MCP tool output limits can truncate or reject oversized base64 payloads, a problem solved by using a dedicated script to push the asset directly via the batchCreate API.

What's the best way to publish design mockups to Stitch for presentation?

The best way to publish design mockups to Stitch is using a Python script that identifies the target project, encodes the asset to base64, and constructs a batchCreate API request with an optional title and automatic screen-instance creation.

Do I need an API key and project ID to batch create screens in Stitch?

Yes, you need an API key and project ID to batch create screens in Stitch, as these parameters are required to authenticate and route the create-screen request for your image or HTML content.

Can I assign a custom title when I upload local HTML files to Stitch?

Yes, you can assign a custom title when uploading local HTML files to Stitch by passing the optional title parameter in your batchCreate API request alongside the base64 encoded content and MIME type.