reddit-readonly
Reddit Readonly
Read-only Reddit browsing for Clawdbot.
What this skill is for
- Finding posts in one or more subreddits (hot/new/top/controversial/rising)
- Searching for posts by query (within a subreddit or across all)
- Pulling a comment thread for context
- Producing a shortlist of permalinks so the user can open Reddit and reply manually
Hard rules
- Read-only only. This skill never posts, replies, votes, or moderates.
- Be polite with requests:
- Prefer small limits (5–10) first.
- Expand only if needed.
- When returning results to the user, always include permalinks.
Output format
All commands print JSON to stdout.
- Success:
{ "ok": true, "data": ... } - Failure:
{ "ok": false, "error": { "message": "...", "details": "..." } }
Commands
1) List posts in a subreddit
node {baseDir}/scripts/reddit-readonly.mjs posts <subreddit> \
--sort hot|new|top|controversial|rising \
--time day|week|month|year|all \
--limit 10 \
--after <token>
2) Search posts
# Search within a subreddit
node {baseDir}/scripts/reddit-readonly.mjs search <subreddit> "<query>" --limit 10
# Search all of Reddit
node {baseDir}/scripts/reddit-readonly.mjs search all "<query>" --limit 10
3) Get comments for a post
# By post id or URL
node {baseDir}/scripts/reddit-readonly.mjs comments <post_id|url> --limit 50 --depth 6
4) Recent comments across a subreddit
node {baseDir}/scripts/reddit-readonly.mjs recent-comments <subreddit> --limit 25
5) Thread bundle (post + comments)
node {baseDir}/scripts/reddit-readonly.mjs thread <post_id|url> --commentLimit 50 --depth 6
6) Find opportunities (multi-subreddit helper)
Use this when the user describes criteria like: "Find posts about X in r/a, r/b, and r/c posted in the last 48 hours, excluding Y".
node {baseDir}/scripts/reddit-readonly.mjs find \
--subreddits "python,learnpython" \
--query "fastapi deployment" \
--include "docker,uvicorn,nginx" \
--exclude "homework,beginner" \
--minScore 2 \
--maxAgeHours 48 \
--perSubredditLimit 25 \
--maxResults 10 \
--rank new
Suggested agent workflow
- Clarify scope if needed: subreddits + topic keywords + timeframe.
- Start with
find(orposts/search) using small limits. - For 1–3 promising items, fetch context via
thread. - Present the user a shortlist:
- title, subreddit, score, created time
- permalink
- a brief reason why it matched
- If asked, propose draft reply ideas in natural language, but remind the user to post manually.
Troubleshooting
- If Reddit returns HTML, re-run the command (the script detects this and returns an error).
- If requests fail repeatedly, reduce
--limitand/or set slower pacing via env vars:
export REDDIT_RO_MIN_DELAY_MS=800
export REDDIT_RO_MAX_DELAY_MS=1800
export REDDIT_RO_TIMEOUT_MS=25000
export REDDIT_RO_USER_AGENT='script:clawdbot-reddit-readonly:v1.0.0 (personal)'
More from leoyeai/openclaw-master-skills
readgzh
ReadGZH — Let AI read full-text WeChat Official Account articles. Supports standard articles and image-post formats.
4tushare-finance
获取中国金融市场数据(A股、港股、美股、基金、期货、债券)。支持220+个Tushare Pro接口:股票行情、财务报表、宏观经济指标。当用户请求股价数据、财务分析、指数行情、GDP/CPI等宏观数据时使用。
3find-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
2eastmoney_financial_data
本 Skill 基于东方财富权威数据库及最新行情底层数据构建,支持通过自然语言查询行情类数据(股票、行业、板块、指数、基金、债券的实时行情、主力资金流向、估值等)、财务类数据(上市公司基本信息、财务指标、高管信息、主营业务等)、关系与经营类数据(关联关系、企业经营数据)。避免模型基于过时知识回答金融数据问题,提供权威及时的金融数据。
2stock-analysis
Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management, watchlists with alerts, dividend analysis, 8-dimension stock scoring, viral trend detection (Hot Scanner), and rumor/early signal detection. Use for stock analysis, portfolio tracking, earnings reactions, crypto monitoring, trending stocks, or finding rumors before they hit mainstream.
2linkedin
LinkedIn automation via browser relay or cookies for messaging, profile viewing, and network actions.
1