Reddit Post Engine 标志

Reddit Post Engine

组织
Varnan-Tech
reddit-post-engine

Writes and optionally posts a Reddit post for any subreddit, following that subreddit's specific culture and rules. Drafts a title, body, and first comment using the 90/10 rule. Uses Composio Reddit MCP for optional direct posting. Use when asked to post on Reddit, draft a Reddit post, share a project on Reddit, write a subreddit post, or launch something on Reddit. Trigger when a user says "post this on Reddit", "write a Reddit post for r/...", "help me launch on Reddit", "draft something for Reddit", or "how do I share this on Reddit without getting banned".

概览

发布者Varnan-Tech
代码仓库opendirectory
技能名称reddit-post-engine
星标数
674
复刻数
74
附带文件
2
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Varnan-Tech 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Reddit Post Engine AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Varnan-Tech/opendirectory/tree/main/skills/reddit-post-engine
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Varnan-Tech/opendirectory.git /tmp/opendirectory
mkdir -p .claude/skills
cp -r /tmp/opendirectory/skills/reddit-post-engine .claude/skills/reddit-post-engine
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Reddit Post Engine,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Reddit Post Engine。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Reddit Post Engine 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Reddit Post Engine

Draft a Reddit post that fits the subreddit's culture. Optionally post it via Composio.


Critical rule: Never post without confirming subreddit rules. Never include product links in the body: put them in the first comment only if appropriate. Follow the 90/10 rule: your post should add value independent of any product mention.

Anti-spam rule: Posts that are primarily promotional will be removed and may get the account banned. The goal is to contribute to the community first. Product mentions go in the first comment, and only if the subreddit allows self-promotion.


Step 1: Setup Check

bash
echo "GEMINI_API_KEY: ${GEMINI_API_KEY:+set}"
# Check if Composio Reddit MCP is connected
claude mcp list 2>/dev/null | grep -i reddit || echo "Composio Reddit MCP: not connected"

If GEMINI_API_KEY is missing: Stop. Tell the user: "GEMINI_API_KEY is required. Get it at aistudio.google.com. Add it to your .env file."

If Composio Reddit MCP is not connected: Continue. The skill will draft posts but skip the posting step. Inform the user: "Composio Reddit MCP not connected: I'll draft your post for manual submission. To enable direct posting, see the setup instructions in README.md."


Step 2: Gather Context

You need:

  • Target subreddit (e.g., r/devops, r/startups, r/SideProject)
  • What you are sharing (project, article, question, discussion, tool)
  • One-sentence description of what it does
  • Why it's relevant to this specific subreddit's community
  • Whether you want a self-post (text) or link post

If any of these are missing, ask in one message:

"To draft your Reddit post, I need:

  1. Which subreddit? (e.g., r/devops, r/startups)
  2. What are you sharing? (project, article, tool, question)
  3. What does it do? (one sentence, technical)
  4. Why does this subreddit care about it specifically?"

Step 3: Fetch Subreddit Rules and Culture

Fetch the subreddit's rules:

bash
curl -s \
  -H "User-Agent: varnan-skills/1.0" \
  "https://www.reddit.com/r/{SUBREDDIT}/about/rules.json" \
  | python3 -c "
import sys, json
d = json.load(sys.stdin)
rules = d.get('rules', [])
for r in rules:
    print(f'Rule: {r.get(\"short_name\", \"\")}')
    print(f'Detail: {r.get(\"description\", \"\")[:200]}')
    print()
"

Fetch recent top posts to understand tone and style:

bash
curl -s \
  -H "User-Agent: varnan-skills/1.0" \
  "https://www.reddit.com/r/{SUBREDDIT}/top.json?t=week&limit=10" \
  | python3 -c "
import sys, json
d = json.load(sys.stdin)
for p in d['data']['children'][:10]:
    pd = p['data']
    print(f'Score: {pd[\"score\"]} | Title: {pd[\"title\"][:100]}')
"

Note patterns in the top posts:

  • Are titles questions or statements?
  • Do they lead with the technology or the outcome?
  • Are they personal ("I built...") or impersonal ("Tool for...")?
  • What format gets the most engagement in this subreddit?

Check subreddit sidebar for posting rules:

bash
curl -s \
  -H "User-Agent: varnan-skills/1.0" \
  "https://www.reddit.com/r/{SUBREDDIT}/about.json" \
  | python3 -c "
import sys, json
d = json.load(sys.stdin)
data = d.get('data', {})
print('Public description:', data.get('public_description', '')[:300])
print('Subscribers:', data.get('subscribers', 0))
"

Identify the subreddit type:

TypeExamplesPost style
Technical practitionerr/devops, r/sysadmin, r/ExperiencedDevsTechnical specifics, no fluff, "I did X and learned Y"
Startup/builderr/startups, r/SideProject, r/indiehackersPersonal story, metrics, lessons learned
General techr/programming, r/technologyNews angle, discussion hook, controversial take
Careerr/cscareerquestions, r/ITCareerQuestionsQuestion format, specific scenario, ask for experience
Niche toolr/vim, r/rust, r/golangDeep technical content, code examples, benchmarks

Use the fetched rules and top posts to determine which style applies.


Step 4: Draft the Post with Gemini

Write the post content to a temp file and call Gemini:

bash
cat > /tmp/reddit-post-request.json << 'ENDJSON'
{
  "system_instruction": {
    "parts": [{
      "text": "You are a developer who is active in the {SUBREDDIT} community. Write a Reddit post that fits this subreddit's culture. Rules: (1) Write in first person if it is a project or experience post. (2) Do NOT include any product links in the body: links go in the first comment only. (3) The post must add genuine value to the community independent of any product being shared. (4) Match the tone of top posts in this subreddit: {SUBREDDIT_TONE_NOTES}. (5) Title max 300 characters. (6) Body 150-400 words for text posts. (7) No marketing language: no 'game-changing', 'powerful', 'robust', 'seamless', 'innovative'. (8) If the post is about a tool the user built, use the 'I made...' or 'I built...' opener: it performs best on Reddit. (9) Output: title on first line, blank line, then body. No labels, no commentary. Do not use em dashes."
    }]
  },
  "contents": [{
    "parts": [{
      "text": "POST_DETAILS_HERE"
    }]
  }],
  "generationConfig": {
    "temperature": 0.7,
    "maxOutputTokens": 1024
  }
}
ENDJSON

curl -s -X POST \
  "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent?key=$GEMINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d @/tmp/reddit-post-request.json \
  | python3 -c "import sys,json; d=json.load(sys.stdin); print(d['candidates'][0]['content']['parts'][0]['text'])"

Replace POST_DETAILS_HERE with:

  • Subreddit name and type
  • Top post patterns observed
  • What is being shared and why it's relevant
  • Key technical details
  • Builder's honest motivation

Step 5: Draft the First Comment

If the user has a product link or additional context to share, draft a first comment to post immediately after the post goes live.

The first comment serves two purposes:

  1. Provide the link (which keeps the body link-free and feels less promotional)
  2. Add context that would be too promotional in the post body

First comment rules:

  • Post this as the first reply to your own post, immediately after it goes live
  • Keep it under 100 words
  • Example format: "Link for those who want to check it out: [URL]: also happy to answer questions about [specific technical thing mentioned in the post]."
  • Only include the first comment if the subreddit allows self-promotion in comments
  • If the subreddit has a "No self-promotion" rule, omit the link entirely

Step 6: Self-QA

Check the draft before presenting:

Structure:

  • Title does not exceed 300 characters
  • No links appear in the post body
  • Post opens in first person (for project/experience posts)
  • At least one specific technical detail or concrete number included
  • Post matches the tone of top posts observed in this subreddit (noted in Step 3)
  • Subreddit rules from Step 3 are not violated

Claude-ism detection: scan for these vocabulary categories and remove all instances:

CategoryWords to remove
Filler intensifiersincredibly, absolutely, certainly, definitely, essentially, fundamentally, literally, particularly, quite, rather, really, significantly, simply, truly, ultimately, very
AI hedgingI should note, it's worth noting, it's important to note, as mentioned, as I noted
Hype descriptorsgame-changing, revolutionary, powerful, robust, seamless, innovative, best-in-class, cutting-edge, groundbreaking, remarkable
Throat-clearingIn conclusion, in summary, to summarize, overall, first and foremost, last but not least
Unnecessary connectorsFurthermore, moreover, additionally, however (at sentence start), thus, hence, thereby
AI tellsThis ensures that, This allows for, This helps to, This enables, delve, utilize, leverage, foster

If any appear: replace with a specific noun, verb, or number. "Very fast" becomes "runs in 12ms". "Powerful tool" becomes what it actually does.

Instant-delete phrase check: these patterns trigger Reddit spam filters or moderator removal:

  • Any sentence that reads as an advertisement ("Try [Product] today", "Sign up now", "Get started free")
  • Phrases that imply you are not the builder ("I came across this great tool", "I found this amazing product")
  • First-person possession of users ("our users", "our customers") in subreddits where you have not established community presence
  • "I made X and you can use it to..." followed immediately by a link (promotional structure)
  • Superlatives without qualification ("the best way to...", "the only tool that...")
  • External links in post body (use first comment only)

If any instant-delete phrases appear: revise the sentence entirely, not just swap words.


Step 7: Adversarial Review

Before presenting the final draft, run a 3-persona review. Each persona reads the post and finds ONE specific problem, quoting the exact text that triggers it.

Persona 1: The Skeptical Practitioner This person has been in r/{SUBREDDIT} for years and has seen hundreds of product launches disguised as posts. Their read:

  • Does any sentence feel promotional even if not explicitly selling?
  • Does the post reveal genuine knowledge of the community's problems, or does it just talk about the product?
  • Is there any claim that a practitioner would roll their eyes at?

State the one specific line they would flag and why.

Persona 2: The Moderator This person enforces the rules fetched in Step 3. Their read:

  • Does the post technically comply with subreddit rules?
  • Is the ratio of self-promotion to community contribution acceptable?
  • Would they have seen this exact post structure removed before?

State the one specific rule that is at risk of violation, or confirm it is clean.

Persona 3: The Target Reader This is a non-builder community member who matches the subreddit's demographic. Their read:

  • Would they upvote this post even if they never use the product?
  • Is there a takeaway they can apply even if they skip the link in the first comment?
  • Does the opening sentence make them want to keep reading?

State the one thing they would stop reading at, or confirm the post holds their attention.

After all three personas report: apply any fixes. If no persona found a problem, state "Adversarial review: clean."


Step 8: Post via Composio (Optional)

If Composio Reddit MCP is connected and the user confirms they want to post:

Use the reddit-composio MCP tool REDDIT_CREATE_REDDIT_POST with:
- subreddit: {SUBREDDIT_WITHOUT_r/}
- title: {TITLE}
- kind: "self"
- text: {BODY}

Before posting, confirm with the user: "Ready to post to r/{SUBREDDIT}. Post title: '{TITLE}'. Shall I go ahead?"

Only proceed after explicit confirmation.

After posting:

  1. Note the post URL from the response
  2. If a first comment was drafted, post it immediately using the same MCP with the returned post ID

If posting fails (403, 429, or other error): Present the draft for manual submission. Tell the user: "Direct posting failed ([error code]). Here is your post for manual submission. Copy-paste the title and body at reddit.com/r/{SUBREDDIT}/submit."


Step 9: Present Output

## Reddit Post: r/{SUBREDDIT}

### Title
{title}

### Body
{body}

### First Comment (post immediately after)
{first comment, if applicable}

---

### Submission Notes
- Post type: {self/link}
- Best time to post: {peak hours for this subreddit: weekday mornings US time for most tech subreddits}
- After posting: Reply to every comment in the first hour: early engagement signals quality to the algorithm
- Karma note: {If account is new, note that some subreddits require minimum karma before posting}

If the post was already submitted via Composio, replace the output block with:

Post submitted: {reddit_post_url}

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Reddit Post Engine AI 技能有什么作用?

Writes and optionally posts a Reddit post for any subreddit, following that subreddit's specific culture and rules. Drafts a title, body, and first comment using the 90/10 rule. Uses Composio Reddit MCP for optional direct posting. Use when asked to post on Reddit, draft a Reddit post, share a project on Reddit, write a subreddit post, or launch something on Reddit. Trigger when a user says "post this on Reddit", "write a Reddit post for r/...", "help me launch on Reddit", "draft something for Reddit", or "how do I share this on Reddit without getting banned".

为什么在 TypingMind 中使用 Reddit Post Engine?

因为您只需安装一次,就能搭配任何模型使用。Reddit Post Engine 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Reddit Post Engine?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Varnan-Tech/opendirectory/tree/main/skills/reddit-post-engine。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Reddit Post Engine?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Reddit Post Engine 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Reddit Post Engine 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Reddit Post Engine AI 技能免费吗?

是的。Varnan-Tech 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇