Get the FREE Ultimate OpenClaw Setup Guide →

stitch-mcp-list-projects

npx machina-cli add skill gabelul/stitch-kit/stitch-mcp-list-projects --openclaw
Files (1)
SKILL.md
1.8 KB

Stitch MCP — List Projects

Lists Stitch projects available to the user. Use this when you need to find an existing projectId rather than creating a new project.

Critical prerequisite

Only use this skill when the user explicitly mentions "Stitch".

When to use

  • User says "continue working on my Stitch project" without providing an ID
  • User says "list my Stitch projects" or "what projects do I have?"
  • You need to find an existing projectId before calling generate_screen_from_text
  • Checking whether a project already exists before creating a new one

Call the MCP tool

To list owned projects (default):

{
  "name": "list_projects",
  "arguments": {
    "filter": "view=owned"
  }
}

To list projects shared with the user:

{
  "name": "list_projects",
  "arguments": {
    "filter": "view=shared"
  }
}

To list all accessible projects (owned + shared):

{
  "name": "list_projects",
  "arguments": {}
}

Output schema

{
  "projects": [
    {
      "name": "projects/3780309359108792857",
      "title": "Analytics Dashboard",
      "updateTime": "2024-11-15T10:30:00Z"
    }
  ]
}

After listing

  1. Present the project list to the user with titles and last-updated timestamps
  2. Ask which project to work in (if multiple)
  3. Extract the numeric ID from the chosen name field: projects/IDID
  4. Store both the full name and numeric ID for subsequent calls

ID format reminder

  • list_screens, get_project → use projects/NUMERIC_ID
  • generate_screen_from_text, get_screen → use NUMERIC_ID only

Source

git clone https://github.com/gabelul/stitch-kit/blob/main/skills/stitch-mcp-list-projects/SKILL.mdView on GitHub

Overview

This skill lists Stitch MCP projects accessible to the user, so you can locate an existing projectId before resuming work or generating new screens. It can return owned, shared, or all accessible projects, making it easy to identify the right project to continue.

How This Skill Works

It invokes the MCP tool's list_projects operation. By default it lists owned projects (filter=view=owned); you can request shared or all via explicit filters. The response includes a projects array with fields like name (projects/ID), title, and updateTime, from which you extract the numeric ID.

When to Use It

  • User says continue working on my Stitch project without providing an ID
  • User asks list my Stitch projects or what projects do I have
  • You need to find an existing projectId before calling generate_screen_from_text
  • Checking whether a Stitch project exists before creating a new one
  • User wants to review all Stitch projects (owned and shared)

Quick Start

  1. Step 1: Call list_projects with filter view=owned (default) to fetch your Stitch projects.
  2. Step 2: Present the returned projects showing titles and updateTime; ask the user to pick one.
  3. Step 3: From the chosen item, extract the numeric ID from the name field (projects/ID) and store it for later calls.

Best Practices

  • Only invoke this skill when the user explicitly mentions Stitch
  • Prefer listing owned projects by default; switch to shared or all only if requested
  • Present the project list with clear titles and updateTime to aid decision
  • If multiple projects are found, ask the user to pick and provide the numeric ID
  • Store both the full project name (projects/ID) and the numeric ID for downstream calls

Example Use Cases

  • User: list my Stitch projects
  • System: returns a list of owned Stitch projects with titles and update times
  • User selects a project named Analytics Dashboard with name projects/3780309359108792857
  • System: extracts numeric ID 3780309359108792857 from the chosen name and stores it
  • User: continue in Stitch using the selected project ID

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers