Spiral gives your agent every tool with one account. Browse the tools →

VS Code · Social Media

How to Use Cosmos user collections in VS Code

Get a Cosmos account’s public collection names, descriptions, links, covers, and post counts. Use it to find relevant moodboards before reviewing the posts inside them.

Prompts to try with Cosmos user collections in VS Code

Copy an example into VS Code, or ask in your own words.

Use Cosmos user collections for @cosmos and add a collection directory with names, descriptions, and links to this project.

Cosmos user collectionsVS Code
Try asking
  • Use Cosmos user collections for @brands.people and export collection names, links, and post counts to CSV.

  • Use Cosmos user collections for @cosmos and build a title-and-description filter for typography references.

  • Use Cosmos user collections for @brands.people and compare returned post counts with our saved snapshot.

  • Use Cosmos user collections for @cosmos and create a text-only index organized by collection topic.

How to set up Cosmos user collections in VS Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to VS Code on the console's Agents & MCP page, or run:

    code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
  2. Sign in

    VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

Use the Spiral skill

  1. Send VS Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Cosmos user collections

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "scrapecreators",
        "model": "scrapecreators/cosmos-user-clusters",
        "input": {
          "handle": "design"
        }
      }'

Then paste one of the prompts above: VS Code finds Cosmos user collections on Spiral, shows the price and runs it.

Cosmos user collections providers and prices

Spiral runs Cosmos user collections through ScrapeCreators. Open a card for today's price, with every fee included.

ScrapeCreatorsSocial Media
Cosmos · User Collections
scrapecreators/cosmos-user-clusters

What can you do with Cosmos user collections in VS Code?

Build a searchable directory of a design studio’s public Cosmos collections. Use collection links and descriptions for navigation, and post counts to help reviewers choose what to open.

Find moodboards for a creative brief

Shortlist public collections whose names and descriptions match a packaging, typography, or interiors brief.

Build a studio’s collection directory

Turn a public studio account’s collection names and links into a searchable reference index.

Compare public curation themes

Compare collection names and descriptions across design studios to identify shared topics and distinct categories.

Review collection growth

Compare saved snapshots of a business account’s public collections to find changes in post counts.

Prepare a workshop reading list

Select collection links relevant to a workshop on editorial design, branding, or visual research.

Audit collection organization

Review a studio’s public collection titles and descriptions for duplicate topics or unclear naming.

Questions about Cosmos user collections in VS Code

Can VS Code use Cosmos user collections?

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Cosmos user collections like any built-in tool.

How much does Cosmos user collections cost in VS Code?

$0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your VS Code plan is separate.

Do I need a ScrapeCreators account to use Cosmos user collections in VS Code?

No. Spiral runs Cosmos user collections on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.

How long does it take to set up Cosmos user collections in VS Code?

About two minutes: add the hosted server, then sign in.

Does VS Code wait while Cosmos user collections runs?

Cosmos user collections runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.

Does this include private Cosmos collections?

Coverage is limited to public collections owned by the account. Cosmos says private collections and the all elements collection are private, so this is not a complete inventory of everything an account has saved.

How fresh are the collection details?

ScrapeCreators says it fetches the latest available information when you make a request. That describes retrieval from Cosmos, rather than a daily or weekly data release.

How do I retrieve more than the first page?

Pass the previous response’s cursor unchanged to continue. The documentation says to stop when the cursor is null.

Can I reuse images from public collections?

Cosmos requires explicit permission from the creator or rights holder for use, reproduction, or distribution beyond personal inspiration. A public collection or returned cover image link does not provide that permission.

Do Cosmos’s terms allow unrestricted automated collection?

No. Section 8(F) restricts automated access and downloading to Cosmos-provided software and search agents or generally available third-party web browsers.

Get started

Start using Cosmos user collections in VS Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into VS Code:

Set up VS Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options