Get the FREE Ultimate OpenClaw Setup Guide →

auto-commenter

A Claude skill that automatically posts personalized, authentic comments in your target communities.

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio rokpiy-auto-commenter node server.js \
  --env LOG_LEVEL="info" \
  --env CLAUDE_API_KEY="Your Claude API key" \
  --env OPENAI_API_KEY="Your OpenAI API key (if used)" \
  --env REDDIT_PASSWORD="Reddit password or installed app password" \
  --env REDDIT_USERNAME="Reddit username" \
  --env REDDIT_CLIENT_ID="Reddit app client id" \
  --env REDDIT_CLIENT_SECRET="Reddit app client secret"

How to use

Auto-Commenter is a Claude-powered skill that automatically generates personalized, authentic comments for Reddit (with planned extension to other platforms). It learns your writing style from your existing comments, analyzes posts to understand context and intent, and then creates comments that align with your voice while respecting platform rules and rate limits. The tool supports batch execution to help you meet daily quotas across multiple subreddits, and it includes lead identification and activity tracking to help you measure engagement. To use it, clone the repository, configure your personalization and target communities, then run the server. Interact with the MCP server to trigger single comments or batch fills, and review tracking logs to monitor activity and quality of posts.

How to install

Prerequisites:

  • Node.js (v14+ or as required by the project) and npm installed
  • Git installed

Steps:

  1. Clone the repository git clone https://github.com/rokpiy/auto-commenter.git
  2. Navigate into the project cd auto-commenter
  3. Install dependencies npm install
  4. Prepare configuration files
    • Create and populate .claude/skills/reddit-commenter/resources/personalization_reddit.md with your writing style
    • Create and populate .claude/skills/reddit-commenter/resources/subreddits.md with target subreddits rules and topics
    • Optionally add product details to .claude/skills/reddit-commenter/resources/product.md
  5. Run the MCP server npm start (If your setup uses a direct Node invocation, you can run: node server.js)

Notes:

  • Ensure environment variables for API keys and Reddit credentials are set as described in the mcp_config env block.

Additional notes

Tips:

  • Start with a small set of subreddits to test rate limits and quality before scaling up.
  • Regularly review the tracking logs (tracking/reddit/) to verify engagement quality and avoid spam-like behavior.
  • If extending to other platforms, copy the Reddit skill directory and adapt personalization and APIs accordingly (as described in the README).
  • Keep personalization and subreddit-specific guidelines updated as community rules evolve.
  • Use the Batch mode to automatically fill daily quotas while monitoring feedback and performance. Environment variables to consider: CLAUDE_API_KEY, OPENAI_API_KEY, Reddit credentials, and LOG_LEVEL for logging verbosity.

Related MCP Servers

Sponsor this space

Reach thousands of developers