Reddit Automation via Rube MCP
Automate Reddit operations through Composio's Reddit toolkit via Rube MCP.
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active Reddit connection via
RUBE_MANAGE_CONNECTIONS with toolkit reddit
- Always call
RUBE_SEARCH_TOOLS first to get current tool schemas
Setup
Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLS responds
- Call
RUBE_MANAGE_CONNECTIONS with toolkit reddit
- If connection is not ACTIVE, follow the returned auth link to complete Reddit OAuth
- Confirm connection status shows ACTIVE before running any workflows
Core Workflows
1. Search Reddit
When to use: User wants to find posts across subreddits
Tool sequence:
REDDIT_SEARCH_ACROSS_SUBREDDITS - Search for posts matching a query [Required]
Key parameters:
query: Search terms
subreddit: Limit search to a specific subreddit (optional)
sort: Sort results by 'relevance', 'hot', 'top', 'new', 'comments'
time_filter: Time range ('hour', 'day', 'week', 'month', 'year', 'all')
limit: Number of results to return
Pitfalls:
- Search results may not include very recent posts due to indexing delay
- The
time_filter parameter only works with certain sort options
- Results are paginated; use after/before tokens for additional pages
- NSFW content may be filtered based on account settings
2. Create Posts
When to use: User wants to submit a new post to a subreddit
Tool sequence:
REDDIT_LIST_SUBREDDIT_POST_FLAIRS - Get available post flairs [Optional]
REDDIT_CREATE_REDDIT_POST - Submit the post [Required]
Key parameters:
subreddit: Target subreddit name (without 'r/' prefix)
title: Post title
text: Post body text (for text posts)
url: Link URL (for link posts)
flair_id: Flair ID from the subreddit's flair list
Pitfalls:
- Some subreddits require flair; use LIST_SUBREDDIT_POST_FLAIRS first
- Subreddit posting rules vary widely; karma/age restrictions may apply
- Text and URL are mutually exclusive; a post is either text or link
- Rate limits apply; avoid rapid successive post creation
- The subreddit name should not include 'r/' prefix
3. Manage Comments
When to use: User wants to comment on posts or manage existing comments
Tool sequence:
REDDIT_RETRIEVE_POST_COMMENTS - Get comments on a post [Optional]
REDDIT_POST_REDDIT_COMMENT - Add a comment to a post or reply to a comment [Required]
REDDIT_EDIT_REDDIT_COMMENT_OR_POST - Edit an existing comment [Optional]
REDDIT_DELETE_REDDIT_COMMENT - Delete a comment [Optional]
Key parameters:
post_id: ID of the post (for retrieving or commenting on)
parent_id: Full name of the parent (e.g., 't3_abc123' for post, 't1_xyz789' for comment)
body: Comment text content
thing_id: Full name of the item to edit or delete
Pitfalls:
- Reddit uses 'fullname' format: 't1_' prefix for comments, 't3_' for posts
- Editing replaces the entire comment body; include all desired content
- Deleted comments show as '[deleted]' but the tree structure remains
- Comment depth limits may apply in some subreddits
4. Browse Subreddit Content
When to use: User wants to view top or trending content from a subreddit
Tool sequence:
REDDIT_GET_R_TOP - Get top posts from a subreddit [Required]
REDDIT_GET - Get posts from a subreddit endpoint [Alternative]
REDDIT_RETRIEVE_REDDIT_POST - Get full details for a specific post [Optional]
Key parameters:
subreddit: Subreddit name
time_filter: Time range for top posts ('hour', 'day', 'week', 'month', 'year', 'all')
limit: Number of posts to retrieve
post_id: Specific post ID for full details
Pitfalls:
- Top posts with time_filter='all' returns all-time top content
- Post details include the body text but comments require a separate call
- Some posts may be removed or hidden based on subreddit rules
- NSFW posts are included unless filtered at the account level
5. Manage Posts
When to use: User wants to edit or delete their own posts
Tool sequence:
REDDIT_EDIT_REDDIT_COMMENT_OR_POST - Edit a post's text content [Optional]
REDDIT_DELETE_REDDIT_POST - Delete a post [Optional]
REDDIT_GET_USER_FLAIR - Get user's flair in a subreddit [Optional]
Key parameters:
thing_id: Full name of the post (e.g., 't3_abc123')
body: New text content (for editing)
subreddit: Subreddit name (for flair)
Pitfalls:
- Only text posts can have their body edited; link posts cannot be modified
- Post titles cannot be edited after submission
- Deletion is permanent; deleted posts show as '[deleted]'
- User flair is per-subreddit and may be restricted
Common Patterns
Reddit Fullname Format
Prefixes:
t1_ = Comment (e.g., 't1_abc123')
t2_ = Account (e.g., 't2_xyz789')
t3_ = Post/Link (e.g., 't3_def456')
t4_ = Message
t5_ = Subreddit
Usage:
1. Retrieve a post to get its fullname (t3_XXXXX)
2. Use fullname as parent_id when commenting
3. Use fullname as thing_id when editing/deleting
Pagination
- Reddit uses cursor-based pagination with 'after' and 'before' tokens
- Set
limit for items per page (max 100)
- Check response for
after token
- Pass
after value in subsequent requests to get next page
Flair Resolution
1. Call REDDIT_LIST_SUBREDDIT_POST_FLAIRS with subreddit name
2. Find matching flair by text or category
3. Extract flair_id
4. Include flair_id when creating the post
Known Pitfalls
Rate Limits:
- Reddit enforces rate limits per account and per OAuth app
- Posting is limited to approximately 1 post per 10 minutes for new accounts
- Commenting has similar but less restrictive limits
- 429 errors should trigger exponential backoff
Content Rules:
- Each subreddit has its own posting rules and requirements
- Some subreddits are restricted or private
- Karma requirements may prevent posting in certain subreddits
- Auto-moderator rules may remove posts that match certain patterns
ID Formats:
- Always use fullname format (with prefix) for parent_id and thing_id
- Raw IDs without prefix will cause 'Invalid ID' errors
- Post IDs from search results may need 't3_' prefix added
Text Formatting:
- Reddit uses Markdown for post and comment formatting
- Code blocks, tables, and headers are supported
- Links use
text format
- Mention users with
u/username, subreddits with r/subreddit
Quick Reference
| Task |
Tool Slug |
Key Params |
| Search Reddit |
REDDIT_SEARCH_ACROSS_SUBREDDITS |
query, subreddit, sort, time_filter |
| Create post |
REDDIT_CREATE_REDDIT_POST |
subreddit, title, text/url |
| Get post comments |
REDDIT_RETRIEVE_POST_COMMENTS |
post_id |
| Add comment |
REDDIT_POST_REDDIT_COMMENT |
parent_id, body |
| Edit comment/post |
REDDIT_EDIT_REDDIT_COMMENT_OR_POST |
thing_id, body |
| Delete comment |
REDDIT_DELETE_REDDIT_COMMENT |
thing_id |
| Delete post |
REDDIT_DELETE_REDDIT_POST |
thing_id |
| Get top posts |
REDDIT_GET_R_TOP |
subreddit, time_filter, limit |
| Browse subreddit |
REDDIT_GET |
subreddit |
| Get post details |
REDDIT_RETRIEVE_REDDIT_POST |
post_id |
| Get specific comment |
REDDIT_RETRIEVE_SPECIFIC_COMMENT |
comment_id |
| List post flairs |
REDDIT_LIST_SUBREDDIT_POST_FLAIRS |
subreddit |
| Get user flair |
REDDIT_GET_USER_FLAIR |
subreddit |
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Source: sickn33/agentic-awesome-skills → skills/reddit-automation/SKILL.md
Also appears in: sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills/skills/reddit-automation/SKILL.md, sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills-claude/skills/reddit-automation/SKILL.md
1---2name: reddit-automation3description: "Automate Reddit tasks via Rube MCP (Composio): search subreddits, create posts, manage comments, and browse top content. Always search tools first for current schemas."4category: mcp-and-integrations5source_repo: sickn33/agentic-awesome-skills6source_path: "skills/reddit-automation/SKILL.md"7source_url: https://github.com/sickn33/agentic-awesome-skills/blob/HEAD/skills/reddit-automation/SKILL.md8metadata:9 source: https://skillmd.com/skills/sickn33/reddit-automation10---111213# Reddit Automation via Rube MCP1415Automate Reddit operations through Composio's Reddit toolkit via Rube MCP.1617## Prerequisites1819- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)20- Active Reddit connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `reddit`21- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas2223## Setup2425**Get Rube MCP**: Add `https://rube.app/mcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.2627281. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds292. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `reddit`303. If connection is not ACTIVE, follow the returned auth link to complete Reddit OAuth314. Confirm connection status shows ACTIVE before running any workflows3233## Core Workflows3435### 1. Search Reddit3637**When to use**: User wants to find posts across subreddits3839**Tool sequence**:401. `REDDIT_SEARCH_ACROSS_SUBREDDITS` - Search for posts matching a query [Required]4142**Key parameters**:43- `query`: Search terms44- `subreddit`: Limit search to a specific subreddit (optional)45- `sort`: Sort results by 'relevance', 'hot', 'top', 'new', 'comments'46- `time_filter`: Time range ('hour', 'day', 'week', 'month', 'year', 'all')47- `limit`: Number of results to return4849**Pitfalls**:50- Search results may not include very recent posts due to indexing delay51- The `time_filter` parameter only works with certain sort options52- Results are paginated; use after/before tokens for additional pages53- NSFW content may be filtered based on account settings5455### 2. Create Posts5657**When to use**: User wants to submit a new post to a subreddit5859**Tool sequence**:601. `REDDIT_LIST_SUBREDDIT_POST_FLAIRS` - Get available post flairs [Optional]612. `REDDIT_CREATE_REDDIT_POST` - Submit the post [Required]6263**Key parameters**:64- `subreddit`: Target subreddit name (without 'r/' prefix)65- `title`: Post title66- `text`: Post body text (for text posts)67- `url`: Link URL (for link posts)68- `flair_id`: Flair ID from the subreddit's flair list6970**Pitfalls**:71- Some subreddits require flair; use LIST_SUBREDDIT_POST_FLAIRS first72- Subreddit posting rules vary widely; karma/age restrictions may apply73- Text and URL are mutually exclusive; a post is either text or link74- Rate limits apply; avoid rapid successive post creation75- The subreddit name should not include 'r/' prefix7677### 3. Manage Comments7879**When to use**: User wants to comment on posts or manage existing comments8081**Tool sequence**:821. `REDDIT_RETRIEVE_POST_COMMENTS` - Get comments on a post [Optional]832. `REDDIT_POST_REDDIT_COMMENT` - Add a comment to a post or reply to a comment [Required]843. `REDDIT_EDIT_REDDIT_COMMENT_OR_POST` - Edit an existing comment [Optional]854. `REDDIT_DELETE_REDDIT_COMMENT` - Delete a comment [Optional]8687**Key parameters**:88- `post_id`: ID of the post (for retrieving or commenting on)89- `parent_id`: Full name of the parent (e.g., 't3_abc123' for post, 't1_xyz789' for comment)90- `body`: Comment text content91- `thing_id`: Full name of the item to edit or delete9293**Pitfalls**:94- Reddit uses 'fullname' format: 't1_' prefix for comments, 't3_' for posts95- Editing replaces the entire comment body; include all desired content96- Deleted comments show as '[deleted]' but the tree structure remains97- Comment depth limits may apply in some subreddits9899### 4. Browse Subreddit Content100101**When to use**: User wants to view top or trending content from a subreddit102103**Tool sequence**:1041. `REDDIT_GET_R_TOP` - Get top posts from a subreddit [Required]1052. `REDDIT_GET` - Get posts from a subreddit endpoint [Alternative]1063. `REDDIT_RETRIEVE_REDDIT_POST` - Get full details for a specific post [Optional]107108**Key parameters**:109- `subreddit`: Subreddit name110- `time_filter`: Time range for top posts ('hour', 'day', 'week', 'month', 'year', 'all')111- `limit`: Number of posts to retrieve112- `post_id`: Specific post ID for full details113114**Pitfalls**:115- Top posts with time_filter='all' returns all-time top content116- Post details include the body text but comments require a separate call117- Some posts may be removed or hidden based on subreddit rules118- NSFW posts are included unless filtered at the account level119120### 5. Manage Posts121122**When to use**: User wants to edit or delete their own posts123124**Tool sequence**:1251. `REDDIT_EDIT_REDDIT_COMMENT_OR_POST` - Edit a post's text content [Optional]1262. `REDDIT_DELETE_REDDIT_POST` - Delete a post [Optional]1273. `REDDIT_GET_USER_FLAIR` - Get user's flair in a subreddit [Optional]128129**Key parameters**:130- `thing_id`: Full name of the post (e.g., 't3_abc123')131- `body`: New text content (for editing)132- `subreddit`: Subreddit name (for flair)133134**Pitfalls**:135- Only text posts can have their body edited; link posts cannot be modified136- Post titles cannot be edited after submission137- Deletion is permanent; deleted posts show as '[deleted]'138- User flair is per-subreddit and may be restricted139140## Common Patterns141142### Reddit Fullname Format143144**Prefixes**:145```146t1_ = Comment (e.g., 't1_abc123')147t2_ = Account (e.g., 't2_xyz789')148t3_ = Post/Link (e.g., 't3_def456')149t4_ = Message150t5_ = Subreddit151```152153**Usage**:154```1551. Retrieve a post to get its fullname (t3_XXXXX)1562. Use fullname as parent_id when commenting1573. Use fullname as thing_id when editing/deleting158```159160### Pagination161162- Reddit uses cursor-based pagination with 'after' and 'before' tokens163- Set `limit` for items per page (max 100)164- Check response for `after` token165- Pass `after` value in subsequent requests to get next page166167### Flair Resolution168169```1701. Call REDDIT_LIST_SUBREDDIT_POST_FLAIRS with subreddit name1712. Find matching flair by text or category1723. Extract flair_id1734. Include flair_id when creating the post174```175176## Known Pitfalls177178**Rate Limits**:179- Reddit enforces rate limits per account and per OAuth app180- Posting is limited to approximately 1 post per 10 minutes for new accounts181- Commenting has similar but less restrictive limits182- 429 errors should trigger exponential backoff183184**Content Rules**:185- Each subreddit has its own posting rules and requirements186- Some subreddits are restricted or private187- Karma requirements may prevent posting in certain subreddits188- Auto-moderator rules may remove posts that match certain patterns189190**ID Formats**:191- Always use fullname format (with prefix) for parent_id and thing_id192- Raw IDs without prefix will cause 'Invalid ID' errors193- Post IDs from search results may need 't3_' prefix added194195**Text Formatting**:196- Reddit uses Markdown for post and comment formatting197- Code blocks, tables, and headers are supported198- Links use `text` format199- Mention users with `u/username`, subreddits with `r/subreddit`200201## Quick Reference202203| Task | Tool Slug | Key Params |204|------|-----------|------------|205| Search Reddit | REDDIT_SEARCH_ACROSS_SUBREDDITS | query, subreddit, sort, time_filter |206| Create post | REDDIT_CREATE_REDDIT_POST | subreddit, title, text/url |207| Get post comments | REDDIT_RETRIEVE_POST_COMMENTS | post_id |208| Add comment | REDDIT_POST_REDDIT_COMMENT | parent_id, body |209| Edit comment/post | REDDIT_EDIT_REDDIT_COMMENT_OR_POST | thing_id, body |210| Delete comment | REDDIT_DELETE_REDDIT_COMMENT | thing_id |211| Delete post | REDDIT_DELETE_REDDIT_POST | thing_id |212| Get top posts | REDDIT_GET_R_TOP | subreddit, time_filter, limit |213| Browse subreddit | REDDIT_GET | subreddit |214| Get post details | REDDIT_RETRIEVE_REDDIT_POST | post_id |215| Get specific comment | REDDIT_RETRIEVE_SPECIFIC_COMMENT | comment_id |216| List post flairs | REDDIT_LIST_SUBREDDIT_POST_FLAIRS | subreddit |217| Get user flair | REDDIT_GET_USER_FLAIR | subreddit |218219## When to Use220This skill is applicable to execute the workflow or actions described in the overview.221222## Limitations223- Use this skill only when the task clearly matches the scope described above.224- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.225- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.226227---228229**Source:** [`sickn33/agentic-awesome-skills`](https://github.com/sickn33/agentic-awesome-skills) → `skills/reddit-automation/SKILL.md`230231**Also appears in:** `sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills/skills/reddit-automation/SKILL.md`, `sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills-claude/skills/reddit-automation/SKILL.md`