# Redditコンテンツ取得エージェントスキル

> Redditの公開JSON APIを使用して、投稿、コメント、サブレディット情報、ユーザープロフィールを取得します。APIキー不要でリアルタイムの議論やコミュニティの洞察にアクセスできます。

- Canonical: https://nanoskill.ai/ja/skills/reddit-content-retrieval
- Markdown: https://nanoskill.ai/ja/skills/reddit-content-retrieval.md
- Author: ReScienceLab
- Published: 2026-06-14T02:30:00.000Z
- Updated: 2026-07-23T03:32:24.579Z
- Language: ja
- 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で利用可能な膨大な情報にアクセスするための強力で簡単な方法を提供します。Redditの公開JSON APIを活用することで、APIキーや複雑な認証プロセスを必要とせずに、投稿、コメント、サブレディットの詳細、ユーザープロフィールをプログラム的に取得できます。コミュニティの議論を分析したり、トレンドを追跡したり、インターネット最大のソーシャルプラットフォームの1つからデータを収集したい人にとって不可欠なツールです。

このスキルは、Redditデータとやり取りするための包括的なコマンドスイートを提供します。ユーザーは特定のサブレディットから投稿を取得し、「ホット」「新着」「トップ」などのさまざまな基準で並べ替え、時間フィルターを適用して結果を絞り込むことができます。一般的なブラウジングを超えて、キーワードベースの投稿検索をサポートし、特定のトピックに関するターゲットを絞った調査を可能にします。個々の投稿を掘り下げてコメントを抽出したり、サブレディットやユーザープロフィールに関する詳細情報を取得することもできます。

研究者、データアナリスト、開発者に最適なRedditコンテンツ取得スキルは、感情分析やトレンドの監視、コンテンツ集約、カスタムアプリケーションの構築のためにRedditコンテンツを収集するプロセスを簡素化します。使いやすさとアクセスできるデータの深さの組み合わせにより、Redditでの公開談話やコミュニティのダイナミクスを理解するための貴重な資産となります。

## Key features

- **APIキー不要**: 認証やAPIキーなしでRedditの公開JSON 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

### インストール

AIエージェントにRedditマーケットインテリジェンススキルを追加します。

![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スキル

公開JSON APIを介してRedditから投稿、コメント、サブレディット情報、ユーザープロフィールを取得します。

## 前提条件

**APIキーは不要です！** Redditの公開JSON APIは認証なしで動作します。

**クイックチェック**:
```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（認証不要）
- **TIPS**: 任意のReddit URLに`.json`を追加
- **レート制限**: 100リクエスト/分
- **ドキュメント**: https://www.reddit.com/dev/api

## FAQ

### Reddit Content Retrieval Skillとは何ですか？

Redditコンテンツ取得スキルを使用すると、Redditの公開JSON APIを利用して、投稿、コメント、サブレディットの詳細、ユーザープロフィールなどのさまざまなタイプのコンテンツにプログラムでアクセスして取得できます。

### このスキルを使用するにはAPIキーが必要ですか？

いいえ、APIキーは必要ありません。このスキルは、基本的なコンテンツ取得に認証を必要としないRedditの公開JSON APIを利用しています。

### どのようなRedditコンテンツを取得できますか？

サブレディットの投稿（ホット、新着、トップ、ライジング、物議を醸す）の取得、キーワードによる投稿の検索、詳細なサブレディット情報の取得、コメント付きの個別投稿の取得、最近の投稿を含むユーザープロフィールへのアクセスができます。

### 取得したReddit投稿をどのように並べ替えできますか？

投稿は「ホット」（デフォルト）、「新着」、「トップ」、「ライジング」、「議論を呼ぶ」で並べ替えることができます。「トップ」と「議論を呼ぶ」の並べ替えでは、時間、日、週、月、年、全期間などの時間枠を指定することもできます。

### Redditの公開JSON APIの使用にはレート制限がありますか？

はい、Redditの公開JSON APIには1分あたり100リクエストのレート制限があります。継続的なアクセスを確保するために、この制限を守ることが重要です。

### 特定の投稿のコメントを取得できますか？

はい、IDで特定の投稿を取得し、それに付随するコメントの取得数も指定できます。
