How to Use Reddit account comments in opencode
Returns an account's comments with parent-post context, timestamps, upvote counts, reply counts, and pagination information. Use it to review a public organization's published replies across discussions.
Prompts to try with Reddit account comments in opencode
Copy an example into opencode, or ask in your own words.
Use Reddit account comments to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Reddit account comments and tell me what changed since last week.
Check Reddit account comments and summarize what you find in three bullet points.
Pull the newest data from Reddit account comments and give me the result as a table.
Check Reddit account comments every morning and tell me only when something changed.
How to set up Reddit account comments 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 Reddit account comments
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": "tikhub", "model": "tikhub/reddit-app-fetch-user-comments", "input": { "username": "spez" } }'
Then paste one of the prompts above: opencode finds Reddit account comments on Spiral, shows the price and runs it.
Reddit account comments providers and prices
Spiral runs Reddit account comments through TikHub. Open a card for today's price, with every fee included.
Settings you can ask for
Reddit account comments works from your after. Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Sort | NEW, TOP, HOT, or CONTROVERSIAL | NEW | Sort method: NEW, TOP, HOT, CONTROVERSIAL |
| Page size | 1 to 100 | 25 | Page size (default: 25) |
| Need format | on or off | off | Whether to clean and format the data |
Every API field of Reddit App · Fetch User Comments is on its tool page: open its card above.
What can you do with Reddit account comments in opencode?
Build a Reddit research view that puts community context beside the material being reviewed. Combine the requested Reddit data with project code to create readable views for discussions, discovery, or contribution review.
Product feedback brief
Explore search suggestions and trending topics, inspect relevant community metadata, and read selected feed posts in bulk. Add a public brand account's published replies and active communities to explain the organization's participation.
Release communications plan
Review a public organization's replies and active communities, then examine those communities' metadata, channels, rules, and posting settings. Read relevant posts to prepare a contribution plan for human review.
Technology newsletter research
Find subjects through trending searches and suggestions, then select community posts for closer reading. Use community metadata and a public organization's replies and active communities to add context to a draft issue.
Reddit research interface
Build a research view with search suggestions, trending subjects, community metadata, channels, rules, settings, and post reading. Include a separate view of a public organization's published comments and active communities.
Product terminology research
Compare suggested search terms and trending topics with language in relevant community posts and a public brand account's replies. Turn the findings into questions for documentation or customer research.
More on Reddit account comments and opencode
Overview
Reddit account comments in other agents
Questions about Reddit account comments in opencode
Can opencode use Reddit account comments?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Reddit account comments like any built-in tool.
How much does Reddit account comments cost in opencode?
$0.0013 per request. 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 TikHub account to use Reddit account comments in opencode?
No. Spiral runs Reddit account comments on its own TikHub account. You sign in to Spiral once and never paste a key.
How long does it take to set up Reddit account comments in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Reddit account comments runs?
Reddit account comments runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Does Reddit's public data cover every community?
Reddit excludes posts and comments in private and quarantined communities from its public data licensing. Public Reddit research therefore has a defined coverage boundary.
Are deleted posts and comments still public?
Reddit says deleted posts and comments are no longer publicly displayed. These endpoints should not be described as a deleted-content archive.
Can publicly visible Reddit data be reused commercially?
Reddit's public-content policy directs people with commercial purposes to contact Reddit. Public visibility alone does not establish permission for commercial reuse.
Does access include permission to train an AI model?
Reddit's Data API Terms do not grant permission to train a machine learning or AI model on user content without express permission from the applicable rightsholders.
Does Reddit guarantee accurate and complete data?
Reddit's Data API Terms expressly disclaim guarantees that the data APIs are reliable, accurate, or complete. A research report should not describe a Reddit extract as a complete census of discussion.
Start using Reddit account comments 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


