How to Use Cosmos post details in opencode
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 opencode
Copy an example into opencode, 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.
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 opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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 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: opencode 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.
What can you do with Cosmos post details in opencode?
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.
More on Cosmos post details and opencode
Cosmos post details in other agents
Questions about Cosmos post details in opencode
Can opencode use Cosmos post details?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Cosmos post details like any built-in tool.
How much does Cosmos post details cost in opencode?
$0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need a ScrapeCreators account to use Cosmos post details in opencode?
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 opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Cosmos post details runs?
Cosmos post details runs in the background. opencode 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.
Start using Cosmos post details in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


