[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EDKZGDK0T8XW4KRVFJN9S2":3,"skill-same:01M7EDKZGDK0T8XW4KRVFJN9S2":49},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":13,"repositoryHtmlUrl":25,"repositoryHomepageUrl":6,"ownerHtmlUrl":26,"ownerBlogUrl":6,"ownerDescription":27,"updatedAt":28,"install":29,"resources":42},"01M7EDKZGDK0T8XW4KRVFJN9S2","reddit-reading",null,"jonahthan433\u002FCortexOS","jonahthan433","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F211465495?v=4","01M7ECH9HPHGA89DCXHHJBTS3C","jonah.ai","01M7ECH9JCEM45DZMWPT7148S1",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fsocial-media\u002Freddit-reading\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# reddit-reading\n\n# Reddit Reading Skill\n\nReads Reddit content — subreddit listings, site or subreddit search, full threads with\ncomments, and user activity — from a server or headless machine where the normal routes\nare dead. It does not post, vote, or log in as a user. Idea credit: the per-platform\nbackend routing in [Agent Reach](https:\u002F\u002Fgithub.com\u002FPanniantong\u002FAgent-Reach).\n\n## When to Use\n\n- \"What is r\u002FLocalLLaMA saying about X\", \"find Reddit threads on Y\", \"summarise this\n  Reddit thread\", \"what has u\u002Fsomeone posted lately\".\n- Any `reddit.com` URL the user shares. `web_extract`, `browser_navigate` and the\n  `.json` endpoints all fail from server IPs (403 or a \"Prove your humanity\" wall);\n  this skill is the working path.\n- Not for posting, voting, messaging, or anything needing a user login.\n\n## Prerequisites\n\n**None.** No Reddit account, login, cookie, or API key is needed. The default backend is\nReddit's public Atom feeds (`.rss` endpoints), the only unauthenticated route Reddit still\nserves to non-residential IPs. It is throttled to about one request per minute per IP and\nreturns thinner data (no scores, top-level comments only), which is fine for a few calls.\n\n**Optional upgrade (app credentials, still no user login):** for sustained use or full\ndata, register a free \"script\" type app at https:\u002F\u002Fwww.reddit.com\u002Fprefs\u002Fapps and put its\ntwo values in `~\u002F.hermes\u002F.env`:\n\n```\nREDDIT_CLIENT_ID=...\nREDDIT_CLIENT_SECRET=...\n```\n\nThis is an application registration, not a login: the script uses the app-only\n`client_credentials` grant, never a username, password, or browser cookie, and never\nacts as the user. With both values set it switches to the OAuth API automatically\n(~100 requests per minute, scores, nested comments, `num_comments`); if they are\nmissing or rejected it falls back to the anonymous feeds and says so on stderr.\n\n| | Anonymous feeds (default) | OAuth app credentials |\n|---|---|---|\n| Setup | nothing | 1-minute app registration, two `.env` values |\n| Rate limit | ~1 request \u002F minute \u002F IP | ~100 requests \u002F minute |\n| Thread data | post + top-level comments, no scores | nested comments, scores, comment counts |\n| Acts as a user | no | no |\n\n## How to Run\n\nRun every command through `terminal` with the skill-relative script path:\n\n```bash\npython3 scripts\u002Freddit.py doctor                                  # which backend, current rate-limit window\npython3 scripts\u002Freddit.py sub LocalLLaMA --sort hot --limit 15\npython3 scripts\u002Freddit.py search \"hermes agent\" --sub LocalLLaMA --sort new\npython3 scripts\u002Freddit.py thread https:\u002F\u002Fwww.reddit.com\u002Fr\u002Fx\u002Fcomments\u002Fabc123\u002Fslug\u002F --limit 40\npython3 scripts\u002Freddit.py user spez --limit 10\npython3 scripts\u002Freddit.py --json search \"topic\"                  # machine-readable\n```\n\n## Quick Reference\n\nEvery command works on both backends; the script chooses the backend, you never pass a flag.\n\n| Need | Command | Anonymous | OAuth |\n|---|---|---|---|\n| Subreddit front page | `sub NAME --sort hot\\|new\\|top\\|rising [--time week]` | ✔ | ✔ |\n| Search all of Reddit | `search \"q\" --sort relevance\\|new\\|top\\|comments` | ✔ | ✔ |\n| Search one subreddit | `search \"q\" --sub NAME` | ✔ | ✔ |\n| Thread + comments | `thread URL --limit N` | ✔ top-level only, no scores | ✔ nested, scores |\n| User posts\u002Fcomments | `user NAME` | ✔ | ✔ |\n| Backend + rate limit | `doctor` | ✔ | ✔ |\n\n## Procedure\n\n① `doctor` once per task if you have not called it this session — it tells you which\nbackend is live and how many seconds remain in the anonymous window.\n\n② Plan your calls before making them. Anonymous Reddit allows roughly **one request per\nminute per IP**; the script sleeps until the window resets on a 429 and retries once, so\na five-call plan costs about five minutes. Prefer one `search --sub` over several `sub`\nlistings, and read one thread rather than the whole listing.\n\n③ For \"what is the community saying\" questions, read the thread bodies (`thread`) rather\nthan stopping at titles; the listing only carries the first ~300 characters of each post.\n\n④ Cite the permalink (`url` field), not the listing page, when the result feeds a report.\n`grounded-citations` registers these URLs like any other source.\n\n⑤ If the user needs sustained Reddit access (monitoring, more than ~10 calls), stop and\nask them to register the app credentials (Prerequisites) rather than grinding through the\nthrottle. Tell them plainly: it is a free app registration, not logging Hermes into their\naccount. Never ask for a Reddit password or browser cookies.\n\n## Pitfalls\n\n- `www.reddit.com\u002F…\u002F.json`, `api.reddit.com` and `old.reddit.com` return 403 or an\n  empty \"Welcome to Reddit\" shell for datacentre IPs. Do not fall back to them; do not\n  spoof a browser User-Agent (also 403).\n- `r.jina.ai` and the `browser_navigate` tool hit the same block (\"blocked by network\n  security\" \u002F humanity check). `blocked-page-recovery`'s Wayback route can still recover\n  an **old** thread that was archived; it cannot fetch fresh ones.\n- Anonymous thread feeds only contain the post plus top-level comments (Reddit caps the\n  feed at a handful of entries); scores and reply nesting are OAuth-only.\n- Reddit's `limit` on feeds is advisory — expect 5–25 entries regardless of what you ask.\n- Never paste `REDDIT_CLIENT_SECRET` into a chat or log; the script reads it from the\n  environment only.\n- Do not \"fix\" a 429 by retrying in a loop or adding a proxy; the throttle is per IP and\n  the script already waits out the window once. More than one 429 in a row means the\n  task needs the app credentials.\n\n## Verification\n\n`python3 scripts\u002Freddit.py doctor` prints `anonymous_feed: ok` and an\n`x-ratelimit-reset` value; `sub announcements --limit 1` returns one entry with a\n`reddit.com\u002Fr\u002Fannouncements\u002Fcomments\u002F` URL. With credentials set, `doctor` prints\n`active_backend: oauth` and `thread …` output shows numeric scores.\n",{},"main","38b32c99e7ed0b8e215d638e92cfa452c1ec3079","skills\u002Fimported\u002Fsocial-media\u002Freddit-reading","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS","https:\u002F\u002Fgithub.com\u002Fjonahthan433","AI Consultant","2026-10-24 05:13:39",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add jonahthan433\u002FCortexOS --skill reddit-reading",{"tool":35,"command":36},"bunx","bunx skills add jonahthan433\u002FCortexOS --skill reddit-reading",{"tool":38,"command":39},"pnpm","pnpm dlx skills add jonahthan433\u002FCortexOS --skill reddit-reading","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fsocial-media\u002Freddit-reading\u002FSKILL.md",true,[43],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"skill.json","REFERENCE","参考文档",350,"https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fsocial-media\u002Freddit-reading\u002Fskill.json",[50,56,62,68,74,80],{"skillNo":51,"name":52,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":18},"01M7EDQZDQX3Q8Y7GCQX6KN9V7","opportunity-brief","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fsales\u002Fopportunity-brief\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M7EDQYA0V9Y99VKBREJJ3MRT","morning-intel","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fmorning-intel\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M7EDQVX1JVY0B6PDHKKGM19G","decision-brief","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fdecision-brief\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7EDQV1GENZAC2SZSD8KZ3GM","weekly-review","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fweekly-review\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7EDQT2KETJ1Y3CGVN9EKW2J","system-health","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fops\u002Fsystem-health\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7EDQQN2JK3XPWMS1M4T0F3K","backup-restore","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fops\u002Fbackup-restore\u002FSKILL.md",[],[]]