How to Use Cosmos post search in VS Code
Find public Cosmos posts with captions, media, and links to their original sources. Use it to gather design references by topic; results can include related material without an exact keyword match.
Prompts to try with Cosmos post search in VS Code
Copy an example into VS Code, or ask in your own words.
Read our design brief and use Cosmos post search for Bauhaus exhibition posters. Add a shortlist of relevant Cosmos links and captions to the project's research notes.
Use Cosmos post search for Swiss typography posters. Create a JSON research fixture containing the returned post IDs, captions, and Cosmos links.
Use Cosmos post search for Budapest architecture. Create a reference table with captions, Cosmos links, and available original source links for our architecture demo.
Use Cosmos post search for coffee packaging. Compare the returned references with our brand brief and save a linked shortlist with reasons for each choice.
Use Cosmos post search for museum wayfinding. Build a text-only reference list in our prototype using returned captions and links.
How to set up Cosmos post search in VS Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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"}' - 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
- Send VS Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Cosmos post search
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-search", "input": { "query": "architecture" } }'
Then paste one of the prompts above: VS Code finds Cosmos post search on Spiral, shows the price and runs it.
Cosmos post search providers and prices
Spiral runs Cosmos post search through ScrapeCreators. Open a card for today's price, with every fee included.
What can you do with Cosmos post search in VS Code?
Turn a project's design brief into a linked reference shortlist from Cosmos. A coding agent can organize returned captions and source links alongside the project's design notes.
Prepare an architecture reference brief
Search for Budapest facades and organize relevant results into architectural details to investigate, with Cosmos and original source links.
Compare packaging directions
Gather references for coffee packaging and compare the typography, materials, and layouts visible in the returned images.
Research exhibition poster design
Find Bauhaus exhibition poster references and build a linked reading list for a design discussion.
Check reference provenance
Collect available original source links and attribution for a shortlist of public design references before seeking reproduction permission.
Refresh a creative research shortlist
Repeat searches for ceramic lighting and identify previously unseen Cosmos posts for a weekly review.
Turn a project brief into reference searches
Translate a museum website brief into searches for exhibition typography, wayfinding, and editorial layouts, then retain the most relevant links.
More on Cosmos post search and VS Code
Overview
Cosmos post search in other agents
Questions about Cosmos post search in VS Code
Can VS Code use Cosmos post search?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Cosmos post search like any built-in tool.
How much does Cosmos post search 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 search in VS Code?
No. Spiral runs Cosmos post search 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 search in VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while Cosmos post search runs?
Cosmos post search runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.
Does Cosmos search include private collections?
The endpoint searches public Cosmos posts. Cosmos says private collections are visible only to their owners and invited collaborators, and its all elements collection is private.
Why do results sometimes lack my exact search phrase?
Cosmos can return related posts without an exact keyword match. Use results to find references, then check each result before counting it as a literal brand or topic mention.
Are Cosmos captions verified?
Cosmos includes inaccurate captions among the reasons users can report an element. A caption alone is therefore insufficient evidence of a work's location, creator, or history.
Does Cosmos contain complete copies of imported boards?
Its import feature excludes private boards, boards with sections, and imports over 5,000 items. Video pins and Tumblr text posts are also skipped, which limits what imported collections can contain.
Can I reuse images found on Cosmos in published work?
Cosmos does not guarantee that any element is copyright-free. Its guidance requires explicit permission from the creator or rights holder to use, reproduce, or distribute content beyond personal inspiration.
Start using Cosmos post search 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 https://spiral.ai/SKILL.md


