/anglesite:newsletterfrom anglesite
Sets up an email newsletter with Buttondown or Mailchimp, including a subscribe form via Cloudflare Worker proxy and preparing blog posts for subscribers.
Ships in anglesite. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Connect the site to a newsletter service (Buttondown recommended, Mailchimp supported). Sets up a subscribe form and helps the owner email blog posts to subscribers.
Read the existing newsletter platform guide: ${CLAUDE_PLUGIN_ROOT}/docs/platforms/buttondown.md
Read the newsletter sending guide: docs/newsletter-sending.md
Read EXPLAIN_STEPS from .site-config. If true or not set, explain before every tool call that triggers a permission prompt. If false, proceed without pre-announcing.
Ask the owner: "Do you want to send email newsletters to your customers? It's a great way to stay in touch."
If yes, ask: "Do you already use a newsletter service, or should we set one up?"
Save to .site-config as NEWSLETTER_PLATFORM=buttondown (or mailchimp) using the Write tool.
Guide the owner:
https://buttondown.emailGuide the owner:
https://mailchimp.comSave MAILCHIMP_LIST_ID to .site-config if using Mailchimp.
Tell the owner: "I'm setting up a subscribe form that protects your API key — subscribers' emails go through your Cloudflare account, not directly to the newsletter service."
worker/subscribe-wrangler.toml ships with the template. Deploy the Worker first — secrets attach to an existing Worker:
npx wrangler deploy --config worker/subscribe-wrangler.toml
Save the printed Worker URL to .site-config as SUBSCRIBE_WORKER_URL.
Then set its secrets by following ${CLAUDE_PLUGIN_ROOT}/docs/worker-secrets.md with --config worker/subscribe-wrangler.toml (wrangler secret put prompts for input the shell can't supply):
| Secret | Value | When |
|---|---|---|
NEWSLETTER_API_KEY | the API key the owner copied in Step 1 — ask them to share it | always |
NEWSLETTER_PLATFORM | NEWSLETTER_PLATFORM from .site-config (buttondown or mailchimp) | always |
MAILCHIMP_LIST_ID | MAILCHIMP_LIST_ID from .site-config | Mailchimp only |
The API key lives only in the Worker's secret store. It is not kept in the project, so nothing here can read it back later.
The template ships src/pages/subscribe.astro and the confirmation page src/pages/subscribe/thanks.astro. The subscribe page reads SUBSCRIBE_WORKER_URL from .site-config at build time, so there is nothing to edit in either file — only recreate one from ${CLAUDE_PLUGIN_ROOT}/template/src/pages/ if it is missing.
Edit public/_headers so the CSP's form-action includes the Worker URL (form-action 'self' <SUBSCRIBE_WORKER_URL>), keeping any Worker URLs already listed there. Without it the browser blocks the form submission.
Sending is a deliberate, owner-approved action — nothing is emailed automatically on deploy.
Tell the owner: "When you write a blog post you'd like to email, tick Send as newsletter on the post (sendNewsletter: true). Then ask me to send it and I'll prepare the email for you."
When the owner asks to send a post (or a deploy has just published a post with sendNewsletter: true — ask first: "This post is marked for newsletter — want to send it to your subscribers now?"):
docs/newsletter-sending.md → "Content preparation": a subject line (usually the post title), a short intro, and a read-more link to the published post.syndication field, and set sendNewsletter: false so the post isn't offered again.The live subscriber count is on the platform's dashboard (Buttondown: Subscribers; Mailchimp: Audience). New signups that come through the site's form also appear in /anglesite:stats under conversions (the subscribe Worker row), week over week.
Build the site:
npm run build
Tell the owner: "Your newsletter is set up! Here's what we have:"
/subscribe page where visitors can sign up/anglesite:statsSuggest adding a subscribe link to the site navigation.
What SKILL.md sets; muted values are Claude Code's defaults
Use when the owner wants to collect email subscribers, send a newsletter, or email new blog posts to followers.
Three short reads, in order
npx claudepluginhub anglesite/anglesite-skills --plugin anglesite56 skills in this plugin
/add-storeAdd ecommerce to the site — picks and sets up a provider for physical goods, digital downloads, services, or software/animateDesign CSS animations: hover effects, scroll reveals, page transitions/backupBack up site changes to GitHub, or restore an earlier snapshot/bookingEmbed appointment scheduling (Cal.com or Calendly) into the site/business-infoCollect and display business hours, address, phone, and LocalBusiness JSON-LD/buy-buttonAdd a buy button to sell a product, service, or digital good (Stripe or Polar)Other plugins' skills for the same job