/install youmind-beehiiv-article
AI Beehiiv Post Writer
Write publication-native Beehiiv posts with AI. Topic research via YouMind knowledge base, Beehiiv-native post writing, Markdown-to-HTML conversion, and one-click publishing through the user's Beehiiv account already connected in YouMind.
Onboarding
MANDATORY: When the user has just installed this skill, present this message IMMEDIATELY. Translate to the user's language:
AI Beehiiv Post Writer installed!
Tell me your topic and I'll write and publish a Beehiiv post for you.
Try it now: "Write a Beehiiv post about how AI coding agents changed weekly product updates"
What it does:
- Research topics from YouMind knowledge base and the web
- Write Beehiiv-native posts for the platform's email + web surfaces
- Convert Markdown to HTML optimized for Beehiiv
- Discover reusable post templates
- Publish directly to Beehiiv through the Beehiiv account connected in YouMind
Setup (one-time):
- Install & configure:
cd toolkit && npm install && npm run build && cd .. && mkdir -p ~/.youmind/config && cp shared/config.example.yaml ~/.youmind/config.yaml- Get YouMind API Key and fill
youmind.api_keyin~/.youmind/config.yaml- Keep
youmind.base_urlpointed athttps://youmind.com/openapi/v1in docs. If you need local backend debugging, change~/.youmind/config.yamlor~/.youmind/config/youmind-beehiiv-article.yaml.- Connect your Beehiiv account inside YouMind before publishing. This skill no longer reads local Beehiiv API keys.
Important:
- Beehiiv
createPostcan return403if the publication does not have the required Send API access.- Beehiiv officially marks
update postasbeta / Enterprise; do not promise it will be available everywhere.- If the user wants a recurring layout, inspect
listPostTemplatesfirst and usepostTemplateId.No Beehiiv connection yet? You can still write and preview locally — just skip the publish step.
Usage
Provide a topic, a raw Markdown file, or describe the Beehiiv post you want.
Write from a topic:
Write a Beehiiv post about the operator lessons we learned after moving to AI-assisted engineering
Publish existing Markdown:
Publish this markdown to Beehiiv as a draft
Manage existing posts:
List my Beehiiv post templates List my Beehiiv drafts Publish this Beehiiv post immediately
Setup
Prerequisites: Node.js >= 18, a YouMind API key, and a Beehiiv account connected in YouMind if you want to publish.
Step 1 -- Install Dependencies
cd toolkit && npm install && npm run build && cd ..
Step 2 -- Create Config File
mkdir -p ~/.youmind/config
cp shared/config.example.yaml ~/.youmind/config.yaml
Canonical credentials: put your shared YouMind credentials in
~/.youmind/config.yaml— filled ONCE and read by every YouMind skill. Seeshared/config.example.yamlfor the template andshared/YOUMIND_HOME.md. Optional skill overrides live in~/.youmind/config/youmind-beehiiv-article.yaml.
Step 3 -- Get YouMind API Key
- Open YouMind API Keys
- Click Create API Key
- Copy the
sk-ym-xxxxkey - Fill in
~/.youmind/config.yamlunderyoumind.api_key - Keep
youmind.base_urlashttps://youmind.com/openapi/v1in examples and documentation. Local backend testing should only override~/.youmind/config.yamlor~/.youmind/config/youmind-beehiiv-article.yaml.
Step 4 -- Connect Beehiiv in YouMind
- Open YouMind and connect your Beehiiv account in the product's publishing / connector settings flow
- Save the Beehiiv API key and publication ID there once
- Keep only
youmind.api_keyin~/.youmind/config.yaml
Verify Setup
cd toolkit && npx tsx src/cli.ts validate
If the account is not connected, the OpenAPI returns a connector URL pointing to https://youmind.com/settings/connector.
If the current plan is not eligible, the OpenAPI returns 402 and points the user to https://youmind.com/pricing.
Skill Directory
This skill is a folder. Read files on demand -- do NOT load everything upfront.
| Path | Purpose | When to read |
|---|---|---|
references/pipeline.md |
Full step-by-step execution | When running the Beehiiv pipeline |
references/platform-dna.md |
Beehiiv publication, email/web, segmentation, and template norms | Before any content work |
references/content-generation-playbook.md |
Idea → Beehiiv-native draft workflow | When generating new content |
references/content-adaptation-playbook.md |
Existing article → Beehiiv-native workflow | When adapting/cross-posting content |
references/content-adaptation.md |
Supplemental Beehiiv writing rules | Supplementary reference |
references/api-reference.md |
YouMind Beehiiv OpenAPI endpoint documentation | When calling Beehiiv through YouMind |
~/.youmind/config.yaml |
Shared API credentials (YouMind only) | Step 1 |
output/ |
Local article Markdown drafts (git-ignored) | When writing the post |
toolkit/dist/*.js |
Executable scripts (run from toolkit/) |
Various steps |
Draft Location Rule
Canonical: write local article Markdown files to ~/.youmind/articles/beehiiv/\x3Cslug>.md. This shared home directory is available to all YouMind skills — see shared/YOUMIND_HOME.md.
Legacy fallback (if ~/.youmind/ is not writable): skills/youmind-beehiiv-article/output/\x3Cslug>.md.
- Correct:
~/.youmind/articles/beehiiv/my-post.md - Correct (legacy):
skills/youmind-beehiiv-article/output/my-post.md - Wrong: skill root directly,
references/,toolkit/, or an ad-hocdrafts/directory
Both locations are git-ignored. Create directories on demand (mkdir -p ~/.youmind/articles/beehiiv). Kebab-case filenames (my-post.md), descriptive slugs over timestamps.
Dispatch Integration (Optional)
This skill is self-contained and fully usable standalone. The youmind-article-dispatch hub is an optional companion; it is NOT required for anything.
- Primary mode — standalone: Invoke directly ("Write a Beehiiv post about X"). Works with zero other YouMind skills installed.
- Author voice lookup: This skill reads
~/.youmind/author-profile.yaml(shared home directory — seeshared/YOUMIND_HOME.md) for cross-platform voice preferences. Works whether or not dispatch is installed. - Optional dispatch-mode invocation: When dispatch invokes this skill with a content brief containing
resolved_author, the skill uses those fields as extra context, but still applies Beehiiv-native rules like email/web dual-surface fit, segmentation, and template-aware structure. - Capability manifest (opt-in):
dispatch-capabilities.yamlis metadata that lets dispatch route intelligently. Deleting it reverts to defaults; it never breaks this skill. - Optional interop protocol:
shared/DISPATCH_CONTRACT.md(v1.0).
Content Modes
Before writing any content, read references/platform-dna.md to internalize Beehiiv's actual post model: one post can serve email, web, segments, free/premium access, and reusable templates.
Intent routing
| User's input | Operation | Playbook to load |
|---|---|---|
| Idea, topic, or thesis only | Generate | references/content-generation-playbook.md |
| Existing article from blog/other platform | Cross-post | references/content-adaptation-playbook.md |
| Long article → Beehiiv post version | Condense | references/content-adaptation-playbook.md (condense mode) |
| Old Beehiiv post to refresh | Revive | references/content-adaptation-playbook.md (revive mode) |
| Section → short launch/update post | Excerpt | references/content-adaptation-playbook.md (excerpt mode) |
Quality gates (before publish)
- Self-critique: Pass all checklist items in the playbook's Step 6
- Conformance report: Generate and present to user (Step 7/8)
- Beehiiv fit: title + subtitle + first screen + segmentation/template decisions are aligned
- User approval: Do not auto-publish without confirmation
Result Links Rule
After any draft, scheduled, or published Beehiiv action, always end with Result links.
- Prefer the public Beehiiv web URL when it exists.
- If the post is still draft-only and has no public URL, clearly say so.
- If template choice, audience targeting, or Send API limitations affected the result, state that in the notes.
- Never leave the user with only a post ID when a public web URL is available.
Pipeline Overview
Read references/pipeline.md for full execution details.
| Step | Action | Key reference |
|---|---|---|
| 1 | Load config and validate the YouMind API key, paid-plan access, and Beehiiv connection in YouMind | -- |
| 2 | Mine YouMind knowledge base for source material | -- |
| 3 | Research topic via web search | -- |
| 4 | Inspect Beehiiv post templates / audience needs when relevant | references/api-reference.md |
| 5 | Adapt content for Beehiiv's email + web + segmentation surfaces | references/content-adaptation.md |
| 6 | Write article in Markdown | -- |
| 7 | Publish to Beehiiv via YouMind Beehiiv OpenAPI | references/api-reference.md |
| 8 | Report results: post ID, status, public URL if available, and send/template caveats | -- |
Routing shortcuts:
List my Beehiiv post templates→ inspect reusable layout options before writingPublish immediately→confirmedflow, but warn about Send API access if certainty mattersKeep it as draft→ safest default
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install youmind-beehiiv-article - 安装完成后,直接呼叫该 Skill 的名称或使用
/youmind-beehiiv-article触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
youmind-beehiiv-article 是什么?
Write and publish Beehiiv posts with AI — topic research via YouMind knowledge base, newsletter-publication writing, Markdown-to-HTML conversion, and publish... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 27 次。
如何安装 youmind-beehiiv-article?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install youmind-beehiiv-article」即可一键安装,无需额外配置。
youmind-beehiiv-article 是免费的吗?
是的,youmind-beehiiv-article 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
youmind-beehiiv-article 支持哪些平台?
youmind-beehiiv-article 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 youmind-beehiiv-article?
由 YouMind(@mindy-youmind)开发并维护,当前版本 v1.0.0。