# ทักษะเอเจนต์การดึงข้อมูล Reddit

> ดึงโพสต์ ความคิดเห็น ข้อมูลซับเรดดิท และโปรไฟล์ผู้ใช้จาก Reddit โดยใช้ JSON API สาธารณะ เข้าถึงการสนทนาแบบเรียลไทม์และข้อมูลเชิงลึกของชุมชนโดยไม่ต้องใช้คีย์ API

- Canonical: https://nanoskill.ai/th/skills/reddit-content-retrieval
- Markdown: https://nanoskill.ai/th/skills/reddit-content-retrieval.md
- Author: ReScienceLab
- Published: 2026-06-14T02:30:00.000Z
- Updated: 2026-07-23T03:32:24.579Z
- Language: th
- Source type: github
- Popularity signal: 911

## Sources

- https://github.com/ReScienceLab/opc-skills

## Install

```shell
npx skills add https://github.com/ReScienceLab/opc-skills/tree/main/skills/reddit
```

## About

ทักษะการดึงเนื้อหา Reddit มอบวิธีที่ทรงพลังและตรงไปตรงมาในการเข้าถึงข้อมูลจำนวนมหาศาลที่มีอยู่บน Reddit โดยใช้ประโยชน์จาก JSON API สาธารณะของ Reddit ทักษะนี้ช่วยให้ผู้ใช้สามารถดึงโพสต์ ความคิดเห็น รายละเอียดซับเรดดิท และโปรไฟล์ผู้ใช้โดยไม่ต้องใช้คีย์ API หรือกระบวนการตรวจสอบความถูกต้องที่ซับซ้อนใด ๆ มันเป็นเครื่องมือที่จำเป็นสำหรับใครก็ตามที่ต้องการวิเคราะห์การสนทนาของชุมชน ติดตามแนวโน้ม หรือรวบรวมข้อมูลจากหนึ่งในแพลตฟอร์มโซเชียลที่ใหญ่ที่สุดของอินเทอร์เน็ต

ทักษะนี้มีชุดคำสั่งที่ครอบคลุมสำหรับการโต้ตอบกับข้อมูล Reddit ผู้ใช้สามารถดึงโพสต์จากซับเรดดิทที่เฉพาะเจาะจง จัดเรียงตามเกณฑ์ต่าง ๆ เช่น 'กำลังมาแรง', 'ใหม่ล่าสุด', หรือ 'ยอดนิยม' และใช้ตัวกรองเวลาเพื่อจำกัดผลลัพธ์ให้แคบลง นอกเหนือจากการเรียกดูทั่วไป ยังรองรับการค้นหาโพสต์ตามคำสำคัญ ทำให้สามารถทำการวิจัยแบบเจาะจงในหัวข้อที่เฉพาะเจาะจงได้ คุณยังสามารถเจาะลึกเข้าไปในแต่ละโพสต์เพื่อแยกความคิดเห็นหรือดึงข้อมูลโดยละเอียดเกี่ยวกับซับเรดดิทและโปรไฟล์ผู้ใช้

เหมาะสำหรับนักวิจัย นักวิเคราะห์ข้อมูล หรือนักพัฒนา ทักษะการดึงเนื้อหา Reddit ช่วยลดความซับซ้อนของกระบวนการรวบรวมเนื้อหา Reddit สำหรับการวิเคราะห์ความรู้สึก การติดตามแนวโน้ม การรวบรวมเนื้อหา หรือการสร้างแอปพลิเคชันที่กำหนดเอง ความง่ายในการใช้งาน ประกอบกับความลึกของข้อมูลที่สามารถเข้าถึงได้ ทำให้มันเป็นทรัพย์สินที่มีค่าสำหรับการทำความเข้าใจวาทกรรมสาธารณะและพลวัตของชุมชนบน Reddit

## Key features

- **ไม่ต้องใช้คีย์ API**: เข้าถึง Reddit public JSON API โดยตรงโดยไม่ต้องมีการยืนยันตัวตนหรือคีย์ API ทำให้การตั้งค่าและการใช้งานง่ายขึ้นทันที
- **การเรียกดูเนื้อหาที่ครอบคลุม**: ดึงเนื้อหา Reddit ประเภทต่างๆ ได้อย่างง่ายดาย รวมถึงโพสต์แต่ละรายการ ความคิดเห็นที่เกี่ยวข้อง ข้อมูลซับเรดดิตโดยละเอียด และโปรไฟล์ผู้ใช้
- **การค้นหาและจัดเรียงที่ยืดหยุ่น**: ใช้ตัวเลือกการจัดเรียงที่หลากหลาย เช่น 'ฮอต' 'ใหม่' 'ยอดนิยม' 'กำลังมา' และ 'แรงขัดแย้ง' สำหรับโพสต์ พร้อมด้วยตัวกรองเวลา (ชั่วโมง วัน สัปดาห์ เดือน ปี ทั้งหมด) เพื่อปรับแต่งการค้นหาเนื้อหา Reddit ของคุณ
- **การเข้าถึงข้อมูลซับเรดดิตและผู้ใช้โดยตรง**: เรียกดูข้อมูลสำหรับซับเรดดิตหรือโปรไฟล์ผู้ใช้ที่เฉพาะเจาะจงได้อย่างรวดเร็ว รวมถึงโพสต์ล่าสุดสำหรับผู้ใช้ เพื่อรับข้อมูลเชิงลึกเกี่ยวกับกิจกรรมของชุมชนและบุคคล

## Use cases

- **ติดตามการสนทนาในซับเรดดิต**: ติดตามหัวข้อที่กำลังได้รับความนิยม โพสต์ใหม่ หรือการสนทนายอดนิยมภายในซับเรดดิตที่เฉพาะเจาะจง เพื่อรับทราบความรู้สึกของชุมชนและเนื้อหายอดนิยม
- **วิเคราะห์กิจกรรมผู้ใช้**: เรียกดูโปรไฟล์ผู้ใช้และโพสต์ล่าสุดของพวกเขาเพื่อทำความเข้าใจการมีส่วนร่วม ความสนใจ หรือรูปแบบการมีส่วนร่วมของผู้ใช้ Reddit เฉพาะราย
- **ค้นคว้าหัวข้อเฉพาะ**: ค้นหาโพสต์ทั่ว Reddit หรือภายในซับเรดดิตเฉพาะโดยใช้คำสำคัญเพื่อรวบรวมข้อมูลและข้อมูลเชิงลึกเกี่ยวกับหัวข้อใดๆ

## Result preview

สำรวจรายงานข่าวกรองตลาด Reddit ที่พร้อมใช้งานจริงซึ่งขับเคลื่อนโดยทักษะนี้

![Clean minimalist cover page for a confidential strategy document titled FlowMind Reddit Market Intelligence Report. The layout features large bold black typography for 'FlowMind' and a subtitle describing Reddit-based market intelligence, with a supporting line 'Turn community intelligence into product advantage'. A small header reads 'CONFIDENTIAL STRATEGY ARTIFACT'. On the right side is a geometric network visualization representing connected Reddit community insights and discussion graphs. Footer tags include 'June 2026' and 'Reddit sentiment analysis'. The overall style resembles a modern consulting-grade research report cover with strong whitespace and data-network aesthetics.](https://file.nanoskill.ai/reddit-retrieval-outcome1.png)

![Insight dashboard from a Reddit-based market intelligence report showing four key findings in a clean card grid layout. Insight 1 states 'Fragmentation is the wedge', describing how users manage knowledge across 3–5 tools and add AI agents as another silo. Insight 2 highlights 'AI fatigue is rising', noting users spend increasing time configuring prompts and automations, turning convenience into cognitive load. Insight 3 states 'Trust is the adoption ceiling', explaining that reliability issues, hallucinations, and opaque agent behavior reduce user confidence in AI tools. Insight 4 shows 'Integrated products win comparisons', stating that all-in-one solutions reduce tool switching and are preferred in 73% of comparisons. Below the insights are metric cards showing 68% of users frustrated with current AI productivity tools, 42% reporting fragmented workflows, and 57% wanting AI that understands their knowledge base.](https://file.nanoskill.ai/reddit-retrieval-outcome2.png)

![Data visualization slide titled 'Community signal is polarized, active, and unusually diagnostic.' The graphic shows a segmented donut chart representing thread-level sentiment distribution: Positive 35%, Mixed 30%, Negative 20%, and Neutral 15%. To the right, observed communities are listed as pill tags including r/ClaudeAI, r/ChatGPT, r/Productivity, r/Notion, r/ObsidianMD, r/zapier, r/SaaS, r/automation, and r/Artificial. The overall layout presents Reddit community sentiment analysis across AI and productivity-related subreddits, emphasizing polarized but highly active discussion patterns.](https://file.nanoskill.ai/reddit-retrieval-outcome3.png)

![A trend analysis dashboard showing emerging AI technology categories ranked by signal velocity and month-over-month growth. The vertical list includes Multi-Agent Workflows (+45% MoM, Early stage), Personal Knowledge Graphs (+38% MoM, Growing), On-Device AI Processing (+28% MoM, Niche), AI-Native Collaboration (+52% MoM, Early stage), and Voice-First Interfaces (+20% MoM, Niche). Each category is displayed with a horizontal signal velocity bar on the right indicating momentum strength, using gradient progress bars in blue, purple, and orange tones. The layout presents a comparative overview of AI innovation trends and adoption maturity levels.](https://file.nanoskill.ai/reddit-retrieval-outcome4.png)

## Result walkthrough

### ติดตั้ง

เพิ่มทักษะข่าวกรองตลาด Reddit ให้กับเอเจนต์ AI ของคุณ

![Terminal-based AI agent interface showing installation of a Reddit retrieval skill from the ReScienceLab opc-skills repository using an npx skills add command. The system processes an interactive agent selection prompt, selects Claude Code, retries installation with an auto-confirm flag, and successfully installs the Reddit skill. The output confirms symlink setup for Hermes Agent and shows capability details including accessing Reddit via public JSON endpoints without API keys. A command reference table lists available scripts such as get\_posts, search\_posts, get\_subreddit, get\_post by ID, and get\_user profile data, enabling Reddit content search, retrieval, and analysis workflows.](https://file.nanoskill.ai/reddit-retrieval-install.png)

### วิเคราะห์ข้อมูล

ระบุหัวข้อหรือผลิตภัณฑ์เพื่อแยกข้อมูลเชิงลึกจาก Reddit

![AI agent interface showing a detailed prompt for generating a Reddit-based market intelligence report for FlowMind, an AI productivity startup. The instructions describe extracting and analyzing real Reddit discussions across relevant subreddits to understand user sentiment, pain points, feature requests, adoption barriers, and competitor comparisons. The workflow specifies structured output sections including sentiment analysis, key frustrations, feature expectations, competitor mentions, emerging trends, and direct user quotes. A follow-up section shows the agent planning research, critiquing subreddit selection strategy, and preparing to launch parallel data collection and synthesis for high-confidence insights.](https://file.nanoskill.ai/reddit-retrieval-task)

### สร้างข้อมูลเชิงลึก

สร้างรายงานที่มีโครงสร้างพร้อมข้อค้นพบสำคัญและคำแนะนำ

![Clean executive cover page for a confidential strategy document titled FlowMind Reddit Market Intelligence Report. The design uses a minimalist white background with bold black typography for 'FlowMind' and a subtitle describing Reddit-based market intelligence. A small label indicates 'CONFIDENTIAL STRATEGY ARTIFACT' at the top. The page includes a visual network graph on the right representing community connections and Reddit discussion networks, along with tags such as June 2026 and Reddit sentiment analysis. The layout resembles a consulting-style research report cover focused on turning community intelligence into product advantage.](https://file.nanoskill.ai/reddit-retrieval-outcome.png)

## Skill definition

# ทักษะ Reddit

ดึงโพสต์ ความคิดเห็น ข้อมูลซับเรดดิท และโปรไฟล์ผู้ใช้จาก Reddit ผ่าน JSON API สาธารณะ

## ข้อกำหนดเบื้องต้น

**ไม่จำเป็นต้องใช้คีย์ API!** JSON API สาธารณะของ Reddit ทำงานได้โดยไม่ต้องผ่านการตรวจสอบความถูกต้อง

**ตรวจสอบอย่างรวดเร็ว**:
```bash
cd <skill_directory>
python3 scripts/get_posts.py python --limit 3
```

## คำสั่ง

คำสั่งทั้งหมดทำงานจากไดเรกทอรีทักษะ

### โพสต์ซับเรดดิท
```bash
python3 scripts/get_posts.py python --limit 20           # Hot posts (default)
python3 scripts/get_posts.py python --sort new --limit 20
python3 scripts/get_posts.py python --sort top --time week
python3 scripts/get_posts.py python --sort top --time all --limit 10
```

### ค้นหาโพสต์
```bash
python3 scripts/search_posts.py "AI agent" --limit 20
python3 scripts/search_posts.py "MCP server" --subreddit ClaudeAI --limit 10
python3 scripts/search_posts.py "async python" --sort top --time year
```

### ข้อมูลซับเรดดิท
```bash
python3 scripts/get_subreddit.py python
python3 scripts/get_subreddit.py ClaudeAI
```

### โพสต์และความคิดเห็น
```bash
python3 scripts/get_post.py abc123                       # Get post by ID
python3 scripts/get_post.py abc123 --comments 50         # With more comments
```

### โปรไฟล์ผู้ใช้
```bash
python3 scripts/get_user.py spez
python3 scripts/get_user.py spez --posts 10              # Include recent posts
```

## ตัวเลือกการเรียงลำดับ

| การเรียง | คำอธิบาย | ตัวเลือกเวลา |
|------|-------------|--------------|
| `hot` | โพสต์ที่กำลังมาแรง (ค่าเริ่มต้น) | - |
| `new` | โพสต์ล่าสุด | - |
| `top` | ได้รับคะแนนโหวตสูงสุด | ชั่วโมง, วัน, สัปดาห์, เดือน, ปี, ทั้งหมด |
| `rising` | กำลังได้รับความนิยม | - |
| `controversial` | คะแนนโหวตปนกัน | ชั่วโมง, วัน, สัปดาห์, เดือน, ปี, ทั้งหมด |

## ข้อมูล API
- **วิธีการ**: JSON API สาธารณะ (ไม่จำเป็นต้องผ่านการตรวจสอบ)
- **เคล็ดลับ**: เพิ่ม `.json` ต่อท้าย URL ของ Reddit ใด ๆ
- **ขีดจำกัดอัตราการร้องขอ**: 100 คำขอ/นาที
- **เอกสาร**: https://www.reddit.com/dev/api

## FAQ

### ทักษะการดึงเนื้อหา Reddit คืออะไร?

ทักษะการเรียกดูเนื้อหา Reddit ช่วยให้คุณเข้าถึงและเรียกดูเนื้อหาประเภทต่างๆ จาก Reddit เช่น โพสต์ ความคิดเห็น รายละเอียดซับเรดดิต และโปรไฟล์ผู้ใช้ โดยใช้ JSON API สาธารณะของ Reddit

### ฉันจำเป็นต้องใช้คีย์ API เพื่อใช้ทักษะนี้หรือไม่

ไม่ คุณไม่จำเป็นต้องใช้คีย์ API ทักษะนี้ใช้ประโยชน์จาก JSON API สาธารณะของ Reddit ซึ่งไม่จำเป็นต้องมีการยืนยันตัวตนสำหรับการเรียกดูเนื้อหาพื้นฐาน

### ฉันสามารถเรียกดูเนื้อหา Reddit ประเภทใดได้บ้าง

คุณสามารถเรียกดูโพสต์ในซับเรดดิต (ฮอต ใหม่ ยอดนิยม กำลังมา แรงขัดแย้ง) ค้นหาโพสต์ด้วยคำสำคัญ รับข้อมูลโดยละเอียดของซับเรดดิต ดึงโพสต์แต่ละรายการพร้อมความคิดเห็น และเข้าถึงโปรไฟล์ผู้ใช้รวมถึงโพสต์ล่าสุดของพวกเขา

### ฉันสามารถจัดเรียงโพสต์ Reddit ที่เรียกดูได้อย่างไร

โพสต์สามารถจัดเรียงตาม 'ฮอต' (ค่าเริ่มต้น) 'ใหม่' 'ยอดนิยม' 'กำลังมา' หรือ 'แรงขัดแย้ง' สำหรับการจัดเรียงแบบ 'ยอดนิยม' และ 'แรงขัดแย้ง' คุณยังสามารถระบุกรอบเวลา เช่น ชั่วโมง วัน สัปดาห์ เดือน ปี หรือตลอดกาล

### มีขีดจำกัดอัตราการใช้งานสำหรับ Reddit public JSON API หรือไม่

ใช่ Reddit public JSON API มีขีดจำกัดอัตราการใช้งานที่ 100 คำขอต่อนาที การเคารพขีดจำกัดนี้เป็นสิ่งสำคัญเพื่อให้แน่ใจว่าสามารถเข้าถึงได้อย่างต่อเนื่อง

### ฉันสามารถรับความคิดเห็นสำหรับโพสต์ที่เฉพาะเจาะจงได้หรือไม่

ได้ คุณสามารถเรียกดูโพสต์ที่เฉพาะเจาะจงด้วย ID ของมัน และยังระบุจำนวนความคิดเห็นที่คุณต้องการดึงมาพร้อมกับโพสต์นั้น
