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

VS Code · Social Media

How to Use Cosmos post details in VS Code

Get one public Cosmos post with media URLs, its caption, source links, and save count. Use it to turn a saved visual reference into a research brief or compare changes to that specific post.

Prompts to try with Cosmos post details in VS Code

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

Use Cosmos post details for https://www.cosmos.so/e/2107587668 and add its returned caption and source link to this project's reference view.

Cosmos post detailsVS Code
Try asking
  • Fetch https://www.cosmos.so/e/2107587668 with Cosmos post details and build a mapper that keeps its caption, title, and description separate.

  • Use Cosmos post details for https://www.cosmos.so/e/2107587668 and add its save count to our existing reference dashboard.

  • Fetch https://www.cosmos.so/e/2107587668 using Cosmos post details and compare its caption with the observation already stored in this project.

  • Use Cosmos post details for https://www.cosmos.so/e/2107587668 and populate our reference component with links to the returned media.

How to set up Cosmos post details 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 post details

    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-post",
        "input": {
          "url": "https://www.cosmos.so/e/2107587668"
        }
      }'

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

Cosmos post details providers and prices

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

ScrapeCreatorsSocial Media
Cosmos · Post
scrapecreators/cosmos-post

What can you do with Cosmos post details in VS Code?

Build a reference browser that pairs selected Cosmos posts with their captions and source links. Add comparisons of saved observations to surface caption edits or save-count changes.

Prepare a visual reference brief

Turn a selected public post's caption and source links into a short reference note for a design discussion.

Build a reference index

Organize selected Cosmos posts by their captions and source links so a creative team can revisit the references behind an idea.

Research reuse permissions

Gather source links for shortlisted visual references to support rights-holder research before requesting permission to reuse the work.

Compare save counts

Compare returned save counts across a chosen set of public design references to help prioritize which ones to discuss.

Review caption changes

Compare a post's returned caption with an earlier observation and flag edits that could change a reference brief.

Check reference links

Compare source links and media URLs with earlier observations to identify references that need another review.

Questions about Cosmos post details in VS Code

Can VS Code use Cosmos post details?

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

How much does Cosmos post details 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 post details in VS Code?

No. Spiral runs Cosmos post details 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 post details in VS Code?

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

Does VS Code wait while Cosmos post details runs?

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

Does this fetch a whole Cosmos collection?

It fetches one public post with its media, caption, source links, and save count. That is a narrower view than a collection, and Cosmos also supports private collections outside this public-data boundary.

How fresh is the Cosmos data?

ScrapeCreators says it fetches the latest available Cosmos information when you make a request. Cosmos itself does not warrant the timeliness of its content.

Will every post have a title and description?

The documented Beatles poster response has a caption but null text, title, and description values. A caption does not mean those other text fields are populated.

Are Cosmos captions verified descriptions?

Cosmos explicitly lets users report inaccurate captions. Treat a caption's identification of an artwork, designer, or date as a claim to check against the linked source.

Can I reuse images found on Cosmos?

Cosmos says reuse, reproduction, or distribution beyond personal inspiration requires explicit permission from the creator or rights holder. A returned media URL does not establish that permission.

Get started

Start using Cosmos post details 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