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

Claude Code · Social Media

How to Use Cosmos collection posts in Claude Code

Get public posts saved to a specific Cosmos collection, including captions, source links, media details, and save timestamps where available. Use it to review a curated reference board or compare its contents over time.

Prompts to try with Cosmos collection posts in Claude Code

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

Use Cosmos collection posts for https://www.cosmos.so/design/the-best-band-posters and create a reference index in this project with the returned post IDs, captions, post links, and source links.

Cosmos collection postsClaude Code
Try asking
  • Use Cosmos collection posts for https://www.cosmos.so/design/words-on-cakes and add a report to this project showing image widths, heights, and calculated aspect ratios.

  • Use Cosmos collection posts for https://www.cosmos.so/design/the-best-band-posters and compare the returned post IDs with the project's previous collection snapshot. Report newly observed IDs.

  • Use Cosmos collection posts for https://www.cosmos.so/design/words-on-cakes and create a CSV in this project with each returned post's caption, creation timestamp, save timestamp, and source link.

  • Use Cosmos collection posts for https://www.cosmos.so/design/the-best-band-posters and https://www.cosmos.so/design/words-on-cakes. Add a project report listing shared post IDs and the IDs unique to each collection.

How to set up Cosmos collection posts in Claude Code

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

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude 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 collection posts

    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-cluster-posts",
        "input": {
          "url": "https://www.cosmos.so/design/the-best-band-posters"
        }
      }'

Then paste one of the prompts above: Claude Code finds Cosmos collection posts on Spiral, shows the price and runs it.

Cosmos collection posts providers and prices

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

ScrapeCreatorsSocial Media
Cosmos · Collection Posts
scrapecreators/cosmos-cluster-posts

What can you do with Cosmos collection posts in Claude Code?

Build a reference index from a public Cosmos collection using post IDs, captions, source links, and media dimensions. A coding agent can add collection comparisons and aspect-ratio summaries to a project, subject to Cosmos's restrictions on automated access.

Prepare a poster reference brief

Review posts in Design's the best band posters collection and organize the returned captions and source links into a reference list for a poster design discussion.

Compare collection snapshots

With permission for automated access, compare post IDs across repeated retrievals of a public design collection and report newly observed references.

Build a source-link checklist

Extract available source links from collection posts so a researcher can inspect the referenced pages before requesting permission to reuse an image.

Review image proportions

Calculate aspect ratios from returned media dimensions and separate portrait, landscape, and square references for a layout discussion.

Find overlap between reference boards

Compare returned post IDs from two public collections to identify shared references and posts unique to each board.

Prepare a lettering discussion

Turn the returned captions and post links from Design's words on cakes collection into a reading list for a lettering workshop.

Questions about Cosmos collection posts in Claude Code

Can Claude Code use Cosmos collection posts?

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Cosmos collection posts like any built-in tool.

How much does Cosmos collection posts cost in Claude 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 Claude Code plan is separate.

Do I need a ScrapeCreators account to use Cosmos collection posts in Claude Code?

No. Spiral runs Cosmos collection posts 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 collection posts in Claude Code?

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

Does Claude Code wait while Cosmos collection posts runs?

Cosmos collection posts runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

Can this retrieve private Cosmos collections?

The endpoint covers public collection posts. Cosmos says private collections are visible only to their owner and invited collaborators, and the all-elements collection is private too.

How fresh are the collection contents?

ScrapeCreators says it fetches the latest available Cosmos information when a request is made. That describes a request-time fetch, not a fixed daily or weekly update schedule.

Does one response contain the entire collection?

The endpoint supports pagination, and its documented example explicitly indicates that more results remain. The example total of 46 is a collection count, not a promised number of posts per call.

Does Cosmos limit how much a collection can contain?

Cosmos says there is no cap on elements, saves, or collections. That platform policy does not specify the endpoint's page size.

Can I reuse images from a public collection?

Public visibility does not grant reuse permission. Cosmos requires explicit permission from the creator or rights holder for use, reproduction, or distribution beyond personal inspiration.

Get started

Start using Cosmos collection posts in Claude Code

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

Paste this into Claude Code:

Set up Claude Code

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