Automates finding, posting, and tracking social media comments and original posts across Reddit, X/Twitter, LinkedIn, and Moltbook.
Quick Start
Command
What it does
/social-autoposter
Comment run — find threads + post comment + log (cron-safe)
/social-autoposter post
Create an original post/thread (manual only, never cron)
/social-autoposter stats
Update engagement stats via API
/social-autoposter engage
Scan and reply to responses on our posts
/social-autoposter audit
Full browser audit of all posts
View your posts live:
https://yourapp.com/stats/[your_handle]
The handles come from
config.json → accounts.*.handle/username
. Each platform account has its own URL.
CRITICAL: Platform agents
Platform
Tool to use
Never use
Reddit
reddit-agent
MCP
macos-use, Playwright
X/Twitter
twitter-agent
MCP
macos-use, Playwright
LinkedIn
macos-use
—
Moltbook
curl API
—
Reddit and Twitter have dedicated MCP agents with pre-loaded browser sessions. Using macos-use or Playwright for these platforms will fail or post from the wrong account.
FIRST: Read config
Before doing anything, read
~/social-autoposter/config.json
. Everything — accounts, projects, subreddits, content angle — comes from there.
cat
~/social-autoposter/config.json
Key fields you'll use throughout every workflow:
accounts.reddit.username
— Reddit handle to post as
accounts.twitter.handle
— X/Twitter handle
accounts.linkedin.name
— LinkedIn display name
accounts.moltbook.username
— Moltbook username
subreddits
— list of subreddits to monitor and post in
content_angle
— the user's unique perspective for writing authentic comments
projects
— products/repos to mention naturally when relevant (each has
name
,
description
,
website
,
github
,
links
,
topics
). The
links
object has per-platform URLs:
links.reddit
,
links.twitter
,
links.linkedin
,
links.github
, etc.
Always use
links[platform]
for the current platform
— e.g.
links.reddit
when posting on Reddit,
links.twitter
on X. Fall back to
website
or
github
only if
links[platform]
is absent.
database
— unused (DB is Neon Postgres via
DATABASE_URL
in
.env
)
Use these values everywhere below instead of any hardcoded names or links.
. Find replies to the handle in config.json. Respond to substantive ones (max 5). Log to
replies
table.
Notification replies default to Tier 2.
When someone replies to your comment, they've already shown interest. This is the ideal moment to naturally mention the product. Don't hard-sell, but do weave in a reference with the tracking link (e.g.
yourapp.com/x
). Examples:
"yeah thats basically what we built at yourapp.com/x - agent that [does the thing they're describing]"
"agreed, we use the same approach for [topic] at yourapp.com/x"
Skip Tier 2 only if the reply is off-topic, a one-word response ("Cool"), or crypto/spam.
Phase D: Edit high-performing posts with project link
Find posts that earned >2 upvotes but haven't had a link appended yet:
SELECT
id
,
platform
,
our_url
,
our_content
,
thread_title
,
source_summary
FROM
posts
WHERE
status
=
'active'
AND
upvotes
>
2
AND
posted_at
<
NOW
(
)
-
INTERVAL
'6 hours'
AND
link_edited_at
IS
NULL
AND
our_url
IS
NOT
NULL
ORDER
BY
upvotes
DESC
For each post:
Pick the project from
config.json → projects[]
whose
topics
best match the thread. If no project fits, skip.
Write 1 sentence + link (same style as old self-replies):
"fwiw I built something for this - [project.website]"
"we open sourced the thing I mentioned if anyone wants to poke around [project.github]"
"here's the repo if useful [project.github]"
Edit the original comment to append a blank line + the link text at the bottom.
Don't always start with credentials. Sometimes just jump into the topic.
Reply to comments on your posts.
Zero engagement on your own post = bot signal. Reply within 24h.
Bad vs Good (Comments)
BAD: "Makes sense — Claude already tries to tail the output on its own but by then the tokens are already in context."
GOOD: "gonna try this, I run 5 agents in parallel and my API bill is becoming a second rent payment"
BAD: "What everyone here is describing is basically specification-driven development."
GOOD: "I spend more time writing CLAUDE.md specs than I ever spent writing code. the irony is I'm basically doing waterfall now and shipping faster than ever."
Bad vs Good (Original Posts)
BAD title: "What I Wish I'd Known Before My First Vipassana Retreat: A Complete Guide"
GOOD title: "just did my 7th course, some things that surprised me"
BAD body: Structured with headers, bold, numbered lists, "As a tech founder..."
GOOD body: Paragraphs, incomplete thoughts, personal details, casual tone, ends with a genuine question
Tiered Reply Strategy
Tier 1 — Default (no link):
Genuine engagement. Expand topic, ask follow-ups. Most replies.
Tier 2 — Natural mention:
Conversation touches a topic matching one of the user's projects (from
config.json → projects[].topics
). Mention casually, link only if it adds value. Triggers: "what tool do you use", problem matches a project topic, 2+ replies deep,
or replying to someone who engaged with your post
(notifications/mentions).
Tier 3 — Direct ask:
They ask for link/try/source. Give it immediately using
id, post_id, platform, their_author, their_content, our_reply_content, status (pending|replied|skipped|error), depth
Platform Reference
Reddit:
Use
reddit-agent
MCP (NOT macos-use or Playwright). The
reddit-agent
has a pre-loaded Reddit session. Always use
old.reddit.com
URLs for reliable element targeting.
X/Twitter:
Use
twitter-agent
MCP (NOT macos-use or Playwright). The
twitter-agent
has a pre-loaded X/Twitter session. Reply to existing tweets, 1-2 sentences ideal.
LinkedIn:
Professional tone, brief. Comments don't have stable URLs. Browser only.
Moltbook:
Full REST API, no browser needed. Base:
https://www.moltbook.com/api/v1
. Auth:
Bearer $MOLTBOOK_API_KEY
. Agent-first platform — write as an agent.