/beehiiv:beehiivfrom beehiiv
Manages Beehiiv newsletters via API: list/read posts, create drafts from Markdown/HTML files. Provides 6 commands for newsletter automation.
Ships in beehiiv. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Beehiiv API v2 skill for managing newsletter posts and drafts. All commands go through a single entry point: node <base_directory>/beehiiv.js <command> [flags]. Each command has its own doc file with the full reference for flags and behavior.
[!SETUP] Before first use, check whether <base_directory>/node_modules exists. If it does NOT exist, run npm install --prefix <base_directory>. Then check whether <base_directory>/dist/beehiiv.js exists. If it does NOT exist, run npm run build --prefix <base_directory>. NEVER cd into the skill directory; use --prefix to target it without changing your working directory.
[!COMMANDS]
Reading:
a) publications — list all publications associated with the API key. @docs/publications.md.
b) publication — get a single publication's details and stats. @docs/publication.md.
c) posts — list posts with filters (status, tags, authors, audience, platform). This is the primary search mechanism. @docs/posts.md.
d) get — retrieve a single post by ID with full HTML content. @docs/get.md.
Writing:
e) draft — create a draft post from a title + optional .md/.html file. Enterprise-only endpoint (beta). @docs/draft.md.
Utility:
f) templates — list available post templates. @docs/templates.md.
[!CREDENTIALS] One variable is REQUIRED: BEEHIIV_API_KEY. One variable is OPTIONAL: BEEHIIV_PUBLICATION_ID (default publication — if set, commands use it automatically; if not, pass --pub-id <id>). They resolve from the first source that provides them: a) .env.local in cwd, b) .env in cwd, c) .env.local in the plugin directory, d) .env in the plugin directory, e) environment variables. Obtain the API key from the Beehiiv dashboard (Settings > Integrations > API).
[!PUB-ID] All commands except publications require a publication ID. If BEEHIIV_PUBLICATION_ID is set, it is used by default. Any command can override it with --pub-id <id>. To discover your publication ID, run publications first.
[!API-COVERAGE] Covered resources:
NOT covered (future TODO):
beehiiv.js (opens in a new tab)dist/beehiiv.js (opens in a new tab)dist/client.js (opens in a new tab)dist/commands/draft.js (opens in a new tab)dist/commands/get.js (opens in a new tab)dist/commands/posts.js (opens in a new tab)dist/commands/publication.js (opens in a new tab)dist/commands/publications.js (opens in a new tab)dist/commands/templates.js (opens in a new tab)dist/config.js (opens in a new tab)dist/lib/args.js (opens in a new tab)docs/draft.md (opens in a new tab)docs/get.md (opens in a new tab)docs/posts.md (opens in a new tab)docs/publication.md (opens in a new tab)docs/publications.md (opens in a new tab)docs/templates.md (opens in a new tab)package-lock.json (opens in a new tab)package.json (opens in a new tab)src/__tests__/args.test.ts (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
beehiiv, newsletter, posts, drafts, email-marketing, api-client
npx claudepluginhub alberduris/skills --plugin beehiivOther plugins' skills for the same job