Reddit Browse And Postのロゴ

Reddit Browse And Post

コミュニティ
AtlasOmnia
reddit-browse-and-post

reddit-browse-and-post — Browse Reddit, search, read threads and comments, and create posts through the agent's own authenticated session or OAuth app. Account-agnostic; no credentials in the skill.

概要

公開者AtlasOmnia
リポジトリdonna-starter
スキル名reddit-browse-and-post
スター
131
フォーク
9
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    AtlasOmniaがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Reddit Browse And Post」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/AtlasOmnia/donna-starter/tree/main/skills/social-media/reddit-browse-and-post
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AtlasOmnia/donna-starter.git /tmp/donna-starter
mkdir -p .claude/skills
cp -r /tmp/donna-starter/skills/social-media/reddit-browse-and-post .claude/skills/reddit-browse-and-post
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでReddit Browse And Postを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にReddit Browse And Postを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Reddit Browse And Postは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Reddit Browse & Post

Let an agent read Reddit and publish posts using the user's own Reddit account. Everything here is account-agnostic: the user supplies their credentials through environment variables or a browser login, never through chat.

Hard rules

  • Never ask the user to paste a Reddit password, token, or cookie into chat. Credentials go into environment variables (profile .env) or the user logs in via the browser themselves.
  • Posting is an irreversible publish action. Draft the title and body, show the user exactly what will be posted and where, and get explicit approval before submitting. No exceptions for "the user already asked."
  • Never edit, delete, vote, or mod-queue anything without explicit approval.
  • Respect subreddit rules: read the sidebar / rules (or about/rules.json) before posting to a subreddit you have not posted to.
  • Respect rate limits: keep requests under ~1/second for reads; wait at least a minute between post attempts. Respect 429/403 responses and back off.
  • Do not post spam, affiliate links, or promotional content unless the user explicitly directs it.
  • Vote manipulation, ban evasion, and buying/selling accounts are off-limits.

Reading Reddit

Reddit's public JSON endpoints (/r/<sub>/.json, /search.json, /comments/<id>.json) work without credentials when the network allows it — but Reddit's anti-bot layer frequently returns a 403 HTML block page for plain curl requests, even with a custom User-Agent. Do not fight it: try one curl probe, and if it comes back as HTML/403, switch immediately to one of the reliable paths below.

Reliable paths, in order:

  1. Authenticated API (recommended — works from any network): get an OAuth token (setup below) and read through https://oauth.reddit.com with Authorization: bearer $TOKEN. Same endpoints, dramatically higher rate limits, and it doubles as the posting path.
  2. Hermes browser tools — navigate to the target page; the browser session passes Reddit's checks. Good for JS-gated pages and logged-in work.

If a plain-curl probe does work from the user's network:

bash
# Subreddit listing
curl -s -A "hermes-agent/1.0 by <username>" "https://www.reddit.com/r/<subreddit>/.json?limit=25"

# Search
curl -s -A "hermes-agent/1.0 by <username>" "https://www.reddit.com/search.json?q=<query>&sort=relevance&limit=25"

# Single thread (includes top-level comments in the second JSON block)
curl -s -A "hermes-agent/1.0 by <username>" "https://www.reddit.com/r/<subreddit>/comments/<post_id>.json?limit=100"

# Subreddit rules (check before posting)
curl -s -A "hermes-agent/1.0 by <username>" "https://www.reddit.com/r/<subreddit>/about/rules.json"

Tips:

  • Always send a unique, descriptive User-Agent — Reddit blocks generic clients (e.g. python-requests) aggressively.
  • Prefer old.reddit.com for JSON stability if a request is blocked or returns HTML.
  • limit max is 100. Paginate with after=<fullname> (e.g. t3_abc123).
  • If a listing returns 403/429, wait several seconds and retry once; then fall back to the OAuth or browser path.

Authenticated posting (OAuth app — recommended)

One-time setup (user does this)

  1. Create a script app at https://www.reddit.com/prefs/apps (name anything; type: script; redirect uri: http://localhost:8080 — unused for script apps).
  2. Copy the client ID (under the app name) and secret.
  3. Put them in the profile's .env:
REDDIT_CLIENT_ID=...
REDDIT_CLIENT_SECRET=...
REDDIT_USERNAME=...
REDDIT_PASSWORD=...

Script apps use the account's own password grant; no separate consent flow needed.

Getting a token (from the agent)

bash
TOKEN=$(curl -s -u "$REDDIT_CLIENT_ID:$REDDIT_CLIENT_SECRET" \
 -d "grant_type=password&username=$REDDIT_USERNAME&password=$REDDIT_PASSWORD" \
 -A "hermes-agent/1.0 by $REDDIT_USERNAME" \
 https://www.reddit.com/api/v1/access_token | python3 -c "import sys,json;print(json.load(sys.stdin)['access_token'])")

Do not print $REDDIT_CLIENT_SECRET or the token; read them from env only.

Submitting a post

bash
# Self/text post
curl -s -X POST "https://oauth.reddit.com/api/submit" \
 -H "Authorization: bearer $TOKEN" \
 -A "hermes-agent/1.0 by $REDDIT_USERNAME" \
 -d "api_type=json&sr=<subreddit>&title=<URL-encoded title>&kind=self&text=<URL-encoded body>&resubmit=false"

# Link post
curl -s -X POST "https://oauth.reddit.com/api/submit" \
 -H "Authorization: bearer $TOKEN" \
 -A "hermes-agent/1.0 by $REDDIT_USERNAME" \
 -d "api_type=json&sr=<subreddit>&title=<URL-encoded title>&kind=link&url=<URL-encoded URL>&resubmit=false"

# With a flair (if the sub requires one — check rules first)
# -d "flair_id=<flair_template_id>"

The response is JSON: {"json": {"errors": []}} on success (empty errors), with json.data.url pointing at the live post.

Verifying a post

  • Fetch the returned URL (or https://www.reddit.com/comments/<id>.json) and confirm the title/body render.
  • Report the final URL to the user.
  • If errors is non-empty, read the error strings (e.g. RATELIMIT, NO_TEXT, SUBREDDIT_NOTALLOWED), fix, and retry only after the user re-approves.

Browser-session option (no API app)

If the user does not want an OAuth app, they can log into Reddit in the Hermes browser once:

  1. Have the user log in through the browser (agent never sees the password).
  2. The agent uses that logged-in session: navigate to the target subreddit's submit page, fill title/body (or flair selector), and show the user a full-screen draft for approval.
  3. The user clicks Submit themselves — or explicitly tells the agent to click it.
  4. Verify the post exists by fetching its URL afterwards.

Browser sessions do not persist across restarts; the user may need to log in again.

Workflow summary

  1. Understand the goal — find the right subreddit and read its rules.
  2. Read existing threads to check for duplicates and learn the format.
  3. Draft the post (title + body, markdown) and show it to the user.
  4. Get explicit approval: exact subreddit, title, body, flair.
  5. Submit via OAuth or browser; never via unauthenticated endpoints.
  6. Verify the live post and report the URL.

Pitfalls

  • Reddit blocks default User-Agents; always set a custom one — but note that a 403 HTML block page (the theme-beta page) can still appear from some networks regardless of UA; that is IP-level anti-bot blocking, not a request bug. Switch to the OAuth or browser path rather than retrying endlessly.
  • api_type=json is required or the error format is unparseable.
  • New accounts and accounts with low karma may hit RATELIMIT or shadow-removal; if a post 404s right after success, it was likely removed — report it honestly rather than claiming success.
  • Link posts to the same URL repeatedly are blocked (resubmit=false helps only for edits).
  • Do not store tokens in skill files, memory, or chat — only in env.

よくある質問

AIスキル「Reddit Browse And Post」では何ができますか?

reddit-browse-and-post — Browse Reddit, search, read threads and comments, and create posts through the agent's own authenticated session or OAuth app. Account-agnostic; no credentials in the skill.

TypingMindでReddit Browse And Postを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Reddit Browse And Postはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにReddit Browse And Postをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/AtlasOmnia/donna-starter/tree/main/skills/social-media/reddit-browse-and-postを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Reddit Browse And Postを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Reddit Browse And Postで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもReddit Browse And Postを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Reddit Browse And Post」は無料ですか?

はい。AtlasOmniaがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇