Skip to main content
Glama
1146345502

reddit-skills

by 1146345502

reddit-skills

Reddit自動化スキル — ログイン済みのブラウザと実際のRedditアカウントを直接使用し、一般的なユーザーとしてRedditを操作します。

OpenClawおよびSKILL.md形式と互換性のあるすべてのAIエージェントプラットフォーム(Claude Codeなど)をサポートしています。

⚠️ 利用上の注意: 本プロジェクトは実際のブラウザとアカウントを使用しますが、操作頻度を制御し、短時間での大量のアクションは避けてください。過度な自動化は、Redditのレート制限やアカウント制限を誘発する可能性があります。

機能

スキル

説明

主な機能

reddit-auth

認証

ログイン確認、セッション管理

reddit-publish

コンテンツ投稿

テキスト/リンク/画像投稿の送信

reddit-explore

発見

検索、サブレディット閲覧、投稿詳細、ユーザープロフィール

reddit-interact

ソーシャルインタラクション

コメント、返信、アップボート、ダウンボート、保存

reddit-content-ops

複合操作

サブレディット分析、トレンド追跡、エンゲージメントキャンペーン

連鎖操作をサポートしており、自然言語で複合的な指示を出すと、エージェントが自動的に複数のスキルを連鎖させます。例:

「今週のFastAPIに関する最も評価の高い投稿をr/Pythonで検索し、トップの投稿を保存して、その内容を教えて」

エージェントは以下の順序で実行します: 検索 → トップ/今週でフィルタリング → 保存 → 詳細取得 → 要約。

Related MCP server: Reddit MCP Server

インストール

前提条件

  • Python >= 3.11

  • uv パッケージマネージャー

  • Google Chromeブラウザ

ステップ 1: プロジェクトのインストール

オプション A: ZIPをダウンロード (推奨)

GitHubからダウンロードし、エージェントのスキルディレクトリに展開します:

# OpenClaw
<openclaw-project>/skills/reddit-skills/

# Claude Code
<your-project>/.claude/skills/reddit-skills/

オプション B: Gitクローン

cd <your-agent-project>/skills/
git clone https://github.com/1146345502/reddit-skills.git

次に、Pythonの依存関係をインストールします:

cd reddit-skills
uv sync

ステップ 2: ブラウザ拡張機能のインストール

この拡張機能により、AIが実際のログインセッションを使用してブラウザ上でRedditを操作できるようになります。

  1. Chromeを開き、chrome://extensions/ に移動します

  2. デベロッパーモード(右上)を有効にします

  3. パッケージ化されていない拡張機能を読み込むをクリックし、このプロジェクトの extension/ ディレクトリを選択します

  4. Reddit Bridge 拡張機能が有効になっていることを確認します

インストールが完了すれば準備完了です。すべてのアクションは、あなた自身のブラウザで、あなたのアカウントを使用して実行されます。

使用方法

AIエージェントスキルとして(推奨)

スキルディレクトリにインストールした後、エージェントに自然言語で話しかけるだけです。意図を自動的に適切なスキルにルーティングします。

認証:

「Redditにログインしているか確認して」 / 「Redditからログアウトして」

検索と閲覧:

「Redditで機械学習に関する投稿を検索して」 / 「r/Pythonのトップ投稿を見せて」

コンテンツ投稿:

「r/learnpythonに、このタイトルと本文でテキスト投稿を作成して...」

インタラクション:

「この投稿にアップボートして」 / 「この投稿にコメントして:素晴らしい記事ですね!」 / 「この投稿を保存して」

複合操作:

「今月のr/startupsのトップ投稿を分析して、共通のテーマを要約して」

MCPサーバーとして

reddit-skillsには組み込みの Model Context Protocol サーバーが含まれており、あらゆるMCPクライアント(Claude Desktop、Cursorなど)と互換性があります。

サーバーの起動 (stdio):

cd reddit-skills
python scripts/mcp_server.py

MCPクライアントでの設定 (例: Claude Desktopの claude_desktop_config.json):

{
  "mcpServers": {
    "reddit-skills": {
      "command": "python",
      "args": ["scripts/mcp_server.py"],
      "cwd": "/path/to/reddit-skills"
    }
  }
}

サーバーは16個のツールを公開しています: check_login, logout, home_feed, subreddit_feed, search, get_post_detail, user_profile, subreddit_rules, post_comment, reply_comment, upvote, downvote, save_post, submit_text_post, submit_link_post, submit_image_post

環境変数:

変数

デフォルト

説明

REDDIT_BRIDGE_URL

ws://localhost:9334

ブリッジサーバーのWebSocket URL

CLIツールとして

すべての機能はコマンドラインから直接呼び出すことができ、スクリプト用にJSON出力が可能です。

# Check login status
python scripts/cli.py check-login

# Browse a subreddit
python scripts/cli.py subreddit-feed --subreddit python --sort hot

# Search posts
python scripts/cli.py search --query "FastAPI tutorial" --sort top --time month

# Get post details and comments
python scripts/cli.py get-post-detail \
  --post-url "https://www.reddit.com/r/Python/comments/abc123/title/"

# Submit a text post
python scripts/cli.py submit-text \
  --subreddit learnpython \
  --title-file title.txt \
  --body-file body.txt

# Submit a link post
python scripts/cli.py submit-link \
  --subreddit programming \
  --title-file title.txt \
  --url "https://example.com/article"

# Submit an image post
python scripts/cli.py submit-image \
  --subreddit pics \
  --title-file title.txt \
  --images "/abs/path/image.jpg"

# Comment on a post
python scripts/cli.py post-comment \
  --post-url "https://www.reddit.com/r/Python/comments/abc123/title/" \
  --content "Thanks for sharing!"

# Upvote / Downvote / Save
python scripts/cli.py upvote --post-url "https://www.reddit.com/r/..."
python scripts/cli.py downvote --post-url "https://www.reddit.com/r/..."
python scripts/cli.py save-post --post-url "https://www.reddit.com/r/..."

# View user profile
python scripts/cli.py user-profile --username spez

初回実行時、Chromeが開いていない場合はCLIが自動的に起動します。

CLIコマンドリファレンス

サブコマンド

説明

check-login

ログイン状態を確認し、ログイン中の場合はユーザー名を返す

delete-cookies

ログアウト(UIベースのログアウト)

home-feed

ホームフィードの投稿を取得

subreddit-feed

サブレディットの投稿を取得(ソート対応: hot/new/top/rising)

search

投稿を検索(ソートおよび時間フィルタ対応)

get-post-detail

投稿の全内容とコメントを取得

user-profile

ユーザープロフィールと最近の投稿を取得

post-comment

投稿にコメントする

reply-comment

特定のコメントに返信する

upvote

投稿にアップボートする

downvote

投稿にダウンボートする

save-post

投稿を保存/保存解除する

submit-text

テキスト(セルフ)投稿を送信する

submit-link

リンク投稿を送信する

submit-image

画像投稿を送信する

終了コード: 0 成功 · 1 未ログイン · 2 エラー

プロジェクト構造

reddit-skills/
├── extension/                  # Chrome Extension (MV3)
│   ├── manifest.json
│   └── background.js
├── scripts/                    # Python automation engine
│   ├── reddit/                 # Core automation library
│   │   ├── bridge.py           # Extension bridge client
│   │   ├── selectors.py        # CSS selectors (centralized)
│   │   ├── login.py            # Login check + logout
│   │   ├── feeds.py            # Home feed + subreddit feed
│   │   ├── search.py           # Search + filters
│   │   ├── post_detail.py      # Post detail + comment loading
│   │   ├── user_profile.py     # User profile
│   │   ├── comment.py          # Comment, reply
│   │   ├── vote.py             # Upvote, downvote, save
│   │   ├── publish.py          # Post submission
│   │   ├── types.py            # Data types
│   │   ├── errors.py           # Exception hierarchy
│   │   ├── urls.py             # URL constants
│   │   └── human.py            # Behavior simulation
│   ├── cli.py                  # Unified CLI entry point
│   ├── mcp_server.py           # MCP server wrapper (stdio/HTTP)
│   ├── bridge_server.py        # Local WebSocket bridge
│   └── image_downloader.py     # Image download with local cache
├── skills/                     # AI Agent skill definitions
│   ├── reddit-auth/SKILL.md
│   ├── reddit-publish/SKILL.md
│   ├── reddit-explore/SKILL.md
│   ├── reddit-interact/SKILL.md
│   └── reddit-content-ops/SKILL.md
├── SKILL.md                    # Skill router (routes to sub-skills)
├── CONTRIBUTING.md             # Contributor guide
├── Dockerfile                  # Container build for MCP deployment
├── pyproject.toml
└── README.md

開発

uv sync                    # Install dependencies
uv run ruff check .        # Lint
uv run ruff format .       # Format
uv run pytest              # Run tests

ライセンス

MIT

A
license - permissive license
-
quality - not tested
F
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Enables AI assistants to browse Reddit, search posts, analyze user activity, and fetch comments without requiring API keys. Features smart caching, clean data responses, and optional authentication for higher rate limits.
    8
    5
    1,883
    798
    MIT
  • A
    license
    C
    quality
    D
    maintenance
    Enables comprehensive Reddit interaction including fetching posts, analyzing users and subreddits, searching content, and creating posts/comments. Supports both read-only mode with client credentials and full functionality with user authentication.
    17
    1,331
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables AI agents to search, monitor, and analyze Reddit's communities and discussions through authenticated API access with intelligent caching and rate limiting.
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables AI agents to search, read, and analyze Reddit content, including posts, comments, subreddits, and user profiles using natural language commands. It provides atomic tools for interacting with the Reddit API to retrieve trending topics and community metadata.
    MIT

View all related MCP servers

Related MCP Connectors

  • Reddit posts, comments, subreddits, and search for AI agents. Free key, self-minted, no signup.

  • Browse and manage Reddit posts, comments, and threads. Fetch user activity, explore hot/new/rising…

  • Give your agent live data from Twitter, Reddit, the web and GitHub. No API keys, no scraping stack.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/1146345502/reddit-skills'

If you have feedback or need assistance with the MCP directory API, please join our Discord server