본문으로 건너뛰기
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 / 1,000자

이 양식은 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의 스킬 모두 보기

이 스킬의 문제 신고