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

opencode · Social Media

How to Use Reddit post comments in opencode

Returns comments beneath a specified Reddit post, with continuation information for more comments. Use it to read the discussion around a post before expanding individual reply branches.

Prompts to try with Reddit post comments in opencode

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

Use Reddit post comments to look this up and give me the result as a table. Save the result in ./assets.

Reddit post commentsopencode
Try asking
  • Pull the latest numbers from Reddit post comments and tell me what changed since last week.

  • Check Reddit post comments and summarize what you find in three bullet points.

  • Pull the newest data from Reddit post comments and give me the result as a table.

  • Check Reddit post comments every morning and tell me only when something changed.

How to set up Reddit post comments in opencode

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

Use Spiral's MCP server

  1. 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
  2. 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
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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 Reddit post 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-post-comments",
        "input": {
          "post_id": "t3_1ojnvca"
        }
      }'

Then paste one of the prompts above: opencode finds Reddit post comments on Spiral, shows the price and runs it.

Reddit post comments providers and prices

Spiral runs Reddit post comments through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
Reddit App · Fetch Reddit APP Post Comments
tikhub/reddit-app-fetch-post-comments

Settings you can ask for

Reddit post comments works from your after. Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Sort typeCONFIDENCE, NEW, TOP, HOT, CONTROVERSIAL, OLD, or RANDOMCONFIDENCE

Sort method: CONFIDENCE, NEW, TOP, HOT, CONTROVERSIAL, OLD, RANDOM

Need formaton or offoff

Whether to clean and format the data

Every API field of Reddit App · Fetch Reddit APP Post Comments is on its tool page: open its card above.

What can you do with Reddit post comments in opencode?

Build a Reddit research reader with views for discovery, post details, and discussion context. Use retrieved Reddit content to populate the corresponding view and test how the project handles pagination and nested replies.

Prepare gaming launch coverage

Find launch discussions through gaming, news, home, and popular feeds or targeted search. Check community highlights, inspect shortlisted posts individually or in batches, and read comments and replies for reactions worth investigating.

Build a Reddit discussion reader

Create separate views for recommended feeds, topic searches, and community highlights. Let readers open post details and expand comments and nested replies; retrieve details in batches when populating a shortlist.

Research gaming hardware feedback

Find Steam Deck discussions through search, gaming recommendations, and community highlights. Read post details, comments, and reply branches to group reported problems and proposed fixes without profiling individual users.

Check the context behind technology news

Select technology stories from news, home, or popular recommendations, then search for related discussion. Inspect the original posts and comment branches to distinguish the submitted story from commenters' interpretations.

Draft answers to recurring product questions

Use searches and community highlights to select public product discussions. Compare post details, comments, and nested replies to draft a FAQ that identifies repeated questions and separates suggested fixes from verified documentation.

Questions about Reddit post comments in opencode

Can opencode use Reddit post comments?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Reddit post comments like any built-in tool.

How much does Reddit post 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 post comments in opencode?

No. Spiral runs Reddit post 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 post comments in opencode?

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

Does opencode wait while Reddit post comments runs?

Reddit post comments runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

What Reddit content does this cover?

TikHub describes its service as publicly available social media data. Reddit excludes posts and comments in private or quarantined communities from public content licensing.

How fresh are the results?

TikHub says every request retrieves fresh, real-time data, including repeat requests with identical parameters.

Does Reddit guarantee that the content is accurate?

Reddit's user agreement disclaims guarantees of completeness, truthfulness, accuracy, and reliability for user content. Product claims and news discussions carry that limitation.

Can public Reddit content be reused commercially?

Reddit's public content policy allows noncommercial uses such as learning and community, but says to contact Reddit about commercial purposes.

What happens when Reddit content is deleted?

Reddit requires commercial data licensees to stop using or displaying content when users delete it. Reddit also supplies compliance tools that notify those licensees of deletions in real time.

Get started

Start using Reddit post comments in opencode

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

Paste this into opencode:

Set up opencode

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