Skills for Real Engineers. Straight from my .agents directory.
stitch::upload-to-stitch
Agent skill fromgoogle-labs-code/stitch-skills
Upload local assets (images, mockups, extracted HTML, design markdown) to a Stitch project. ALWAYS use this skill when you need to upload visual assets, HTML pages, or design docs to Stitch, particularly when direct MCP tool calls fail or truncate due to base64 token limits.
How to install stitch::upload-to-stitch
npx skills add google-labs-code/stitch-skills# or add only this skill to Claude Code: copy the folder
plugins/stitch-design/skills/upload-to-stitch/
# into
~/.claude/skills/upload-to-stitch/ (all projects)
.claude/skills/upload-to-stitch/ (one project)
1# Upload-to-Stitch23Upload local assets (images, mockups, HTML, and markdown files) to a Stitch project using the4provided upload script, which bypasses the MCP tool's base64 output token limits.56> [!NOTE]7> The AI model cannot upload files via MCP tools directly because the base648> encoding of even a small file exceeds the model's output token limit (~16K9> tokens). This script reads the file and sends it directly over HTTP.1011## Steps1213### 1. Identify Target Project1415Use `list_projects` to find the correct `projectId`.1617### 2. Get the API Key1819Locate your active MCP server configuration file and extract the API key:20- **Antigravity**: `.gemini/antigravity/mcp_config.json` or `.gemini/jetski/mcp_config.json`21- **Gemini CLI**: `~/.gemini/settings.json` or `~/.gemini/extensions/Stitch/gemini-extension.json`22- **Claude Code**: `~/.claude.json`2324Extract:25- **API Key**: From the `X-Goog-Api-Key` header or auth argument26- **MCP URL** (optional): From the `httpUrl` or endpoint argument (defaults to27 `https://stitch.googleapis.com`)2829> [!IMPORTANT]30> If you cannot find the API key in any of these locations, or if you cannot access these files, you MUST ask the user to provide the Stitch API key. Do not proceed without a valid API key.3132### 3. Run Upload Script3334> [!WARNING]35> **Checkpoint — User Confirmation Required.**36> Before running the upload script, you **MUST** pause and present the file(s)37> to be uploaded (paths, sizes, and types) to the user and wait for explicit38…
Excerpt shown under the repository's Apache-2.0 license.
More skills in stitch-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
