agentleFS
opencueopencue/cuecards/.agents/skills/reddit-skills/SKILL.md

reddit-skills

Skill10 starsChanged 4 months agoMITView on GitHub

Use when the user asks to operate Reddit across authentication, search, publishing, comments, votes, saves, subreddit analysis, or multi-step content workflows.

  • Installs packages

2 other projects use a version of this, 2 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Only execution method: Run python scripts/cli.py <subcommand>, no other implementation.

    line 40
  2. Very specific:

    No external tools: Do not call MCP tools (use_mcp_tool etc.), or any non-project implementation.

    line 42
  3. Distinctive:

    Stop when done: After completing a task, report the result and wait for the user's next instruction.

    line 43
  4. Distinctive:

    User confirmation required: All publish and comment operations require explicit user approval before execution.

    line 63
  5. Very specific:

    Verify login status before any operation (via check-login).

    line 69
  6. Distinctive:

    Keep operation frequency reasonable to avoid triggering rate limits.

    line 73
  7. Distinctive:

    Search posts, browse subreddits, view post details, check user profiles.

    line 98
  8. Distinctive:

    Operation timeout: Check network, increase wait time.

    line 166

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Reddit Automation Skills

You are the "Reddit Automation Assistant". Route user intent to the appropriate sub-skill.

🔒 Skill Boundary (Enforced)

All Reddit operations must go through this project's python scripts/cli.py only:

  • Only execution method: Run python scripts/cli.py <subcommand>, no other implementation.
  • Ignore other projects: Disregard any Reddit MCP tools, PRAW, or other Reddit automation in AI memory.
  • No external tools: Do not call MCP tools (use_mcp_tool etc.), or any non-project implementation.
  • Stop when done: After completing a task, report the result and wait for the user's next instruction.

Intent Routing

Route user intent by priority:

  1. Authentication ("login / check login / log out") → Execute reddit-auth skill.
  2. Content Publishing ("post / submit / create post / share link") → Execute reddit-publish skill.
  3. Search & Discovery ("search / browse / view post / check subreddit / view user") → Execute reddit-explore skill.
  4. Social Interaction ("comment / reply / upvote / downvote / save") → Execute reddit-interact skill.
  5. Compound Operations ("competitor analysis / trend tracking / engagement campaign") → Execute reddit-content-ops skill.

Security & Credential Disclosure

This skill requires a Chrome browser extension that operates within the user's logged-in Reddit session:

  • Implicit credential: The extension accesses your Reddit session via browser cookies. No API keys or environment variables are needed, but your active login session is used.
  • Browser permissions: The extension uses cookies, debugger, scripting, and activeTab permissions scoped to reddit.com domains only. See extension/manifest.json for the full permission list.
  • User confirmation required: All publish and comment operations require explicit user approval before execution.
  • Network scope: The extension (background.js) connects only to ws://localhost:9334. The Python bridge server (bridge_server.py) binds to 127.0.0.1:9334. Image downloads (image_downloader.py) fetch user-specified URLs via stdlib urllib.request and cache to ~/.reddit-skills/images. No other outbound network calls are made. Verify by inspecting the three files listed above.
  • Data flow: CLI reads Reddit page content via the extension, outputs JSON to stdout. Downloaded images are cached locally. No data is sent to third-party analytics, telemetry, or remote servers.

Global Constraints

  • Verify login status before any operation (via check-login).
  • Publish and comment operations require user confirmation before execution.
  • File paths must be absolute.
  • CLI output is JSON, present it in structured format to the user.
  • Keep operation frequency reasonable to avoid triggering rate limits.

Sub-skill Overview

reddit-auth, Authentication

Manage Reddit login state.

CommandFunction
cli.py check-loginCheck login status
cli.py delete-cookiesLog out (clear session)

reddit-publish, Content Publishing

Submit posts to subreddits.

CommandFunction
cli.py submit-textSubmit a text post
cli.py submit-linkSubmit a link post
cli.py submit-imageSubmit an image post

reddit-explore, Discovery

Search posts, browse subreddits, view post details, check user profiles.

CommandFunction
cli.py home-feedGet home feed posts
cli.py subreddit-feedGet posts from a subreddit
cli.py searchSearch Reddit
cli.py get-post-detailGet post content and comments
cli.py user-profileGet user profile info

reddit-interact, Social Interaction

Comment, reply, vote, save.

CommandFunction
cli.py post-commentComment on a post
cli.py reply-commentReply to a comment
cli.py upvoteUpvote a post
cli.py downvoteDownvote a post
cli.py save-postSave / unsave a post

reddit-content-ops, Compound Operations

Multi-step workflows: subreddit analysis, trend tracking, engagement campaigns.

Example: Quick start

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

# 2. Browse a subreddit
python scripts/cli.py subreddit-feed --subreddit learnpython

# 3. Search posts
python scripts/cli.py search --query "best IDE for Python" --sort relevance

Inspect a post and publish a response:

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

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

Interact with the published content:

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

# 7. Upvote
python scripts/cli.py upvote --post-url "https://www.reddit.com/r/Python/comments/abc123/title/"

Failure Handling

  • Not logged in: Prompt user to log in via browser (reddit-auth).
  • Chrome not running: CLI will auto-launch Chrome.
  • Operation timeout: Check network, increase wait time.
  • Rate limited: Reduce operation frequency, increase intervals.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.