本文へ移動
cccskills
無料GitHub で公開

reddit

Read Reddit posts, comment threads, subreddit listings, and search results through a logged-in session cookie. Use when given a reddit.com link, or when asked to check what people say on Reddit (r/liftosaur, r/fitness, r/weightroom, r/boostcamp, etc).

日本語の概要は準備中です。原文の説明を表示しています。

astashov/liftosaurスター 761(GitHub 761 + cccskills 0)
連携ツールReddit

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.6 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Read Reddit

Target: $ARGUMENTS

Reddit blocks anonymous requests and WebFetch. Every request here sends the logged-in cookie from lambda/scripts/reddit_cookie.txt and a desktop Chrome User-Agent. Without both, Reddit returns 403 or an HTML page.

A single post with its comments

Use lambda/scripts/fetch_reddit.ts. It appends .json to the URL and prints the post and the full comment tree as Markdown.

REDDIT_COOKIE="$(cat lambda/scripts/reddit_cookie.txt)" npm run r lambda/scripts/fetch_reddit.ts "<post-url>" 2>/dev/null
  • Pass the post permalink: https://www.reddit.com/r/<sub>/comments/<id>/<slug>/. Share links (/s/<code>) and redd.it/<id> must be resolved first: curl -sLI -o /dev/null -w '%{url_effective}' "<url>".
  • Strip query strings (?utm_source=...) from the URL before passing it. The script appends .json to the end of the string.
  • 2>/dev/null hides the ts-node punycode warning. Drop it when the output is empty, to see the Failed: <status> line.
  • The script only handles post URLs. A subreddit or search URL prints nothing.
  • Long threads: pipe through head -n 300 first, then read more if needed.

Subreddit listings and search

The script does not handle listings. Call the JSON API with curl and the same headers:

UA="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36"
reddit() { curl -s -A "$UA" -H "Accept: application/json" -H "Cookie: $(cat lambda/scripts/reddit_cookie.txt)" "$1"; }
LIST='.data.children[].data | "\(.created_utc | todate | .[:10])  \(.score)↑ \(.num_comments)c  r/\(.subreddit)  \(.title)\n    https://www.reddit.com\(.permalink)"'

reddit "https://www.reddit.com/r/liftosaur/new.json?limit=25" | jq -r "$LIST"
reddit "https://www.reddit.com/r/liftosaur/top.json?t=month&limit=25" | jq -r "$LIST"
reddit "https://www.reddit.com/search.json?q=liftosaur&sort=new&limit=25" | jq -r "$LIST"
reddit "https://www.reddit.com/r/fitness/search.json?q=liftosaur&restrict_sr=1&sort=new&limit=25" | jq -r "$LIST"
  • Sort options: new, hot, top (with t=day|week|month|year|all), relevance and comments for search.
  • Paging: take .data.after from the response and pass &after=<value>. The maximum limit is 100.
  • A user's posts and comments: https://www.reddit.com/user/<name>/submitted.json and /comments.json. Comments have .body and .link_permalink in place of .title and .permalink.
  • To read a thread from a listing, pass its permalink to fetch_reddit.ts.

When requests fail

  • 403, or HTML where JSON was expected: the cookie expired. Ask Anton to paste a fresh Cookie header from a logged-in reddit.com tab (DevTools → Network → any reddit.com request → Request Headers → cookie) into lambda/scripts/reddit_cookie.txt.
  • 429: rate limited. Wait a minute and make fewer requests. Never loop over many threads in parallel.
  • 404: the post was deleted, or the subreddit is private or banned.

Rules

  • Read only. Never post, vote, comment, or send messages with this cookie. It is Anton's personal account.
  • Never print the cookie value into the chat or into any file other than reddit_cookie.txt.
  • When summarizing a thread, quote users by u/<name> and link the permalink, so Anton can open the source.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

Add a new built-in exercise to Liftosaur end-to-end — image (gymvisual.com → S3), catalog registration, description page, and the LLM/MCP exercise list. Use when adding one or more built-in exercises to the app catalog.

日本語の概要は準備中です。原文の説明を表示しています。

astashov/liftosaur7612026年10月26日 更新

add-page

無料

Add a new server-rendered page to the Liftosaur website. Use when creating new public-facing pages with routing, SSR, and client hydration.

日本語の概要は準備中です。原文の説明を表示しています。

astashov/liftosaur7612026年10月26日 更新

Create a 30%-off coupon for an affiliate or creator on iOS and Android, and draft the reply that tells them how to use it. Use when asked to create, set up or send a coupon or promo code for an affiliate, influencer or creator.

日本語の概要は準備中です。原文の説明を表示しています。

astashov/liftosaur7612026年10月26日 更新

Interactively investigate a production Rollbar error. Accepts an occurrence id, item id, item counter, or Rollbar URL. Fetches the error data, assesses how widespread it is, drills into affected users (events, logs, storage, captured state), and works with the developer toward a fix or ignore decision. Use for collaborative debugging; use /fix-rollbar for a straight fetch-and-fix of a single occurrence.

日本語の概要は準備中です。原文の説明を表示しています。

astashov/liftosaur7612026年10月26日 更新

Investigate a user-reported issue using server logs, user events, storage snapshots, and Rollbar. Use when given a user id or email plus an issue description (e.g. from a support email).

日本語の概要は準備中です。原文の説明を表示しています。

astashov/liftosaur7612026年10月26日 更新

feature

無料

Build a feature end to end — decide worktree vs here, design the architecture and debate it with codex, get the user's approval on a one-pass-readable plan, state the API/state contract, implement with visible diffs, then run two codex reviews (bugs + architecture) and document the result. Use when asked to build/implement/add a feature or do a refactor that involves design decisions.

日本語の概要は準備中です。原文の説明を表示しています。

astashov/liftosaur7612026年10月26日 更新

astashov のスキルをすべて見る

このスキルの問題を報告する