Overview
A Claude Code skill collects the week's new posts, drafts a newsletter in the creator's voice for review, and after approval uploads it as a draft that the creator schedules in their newsletter platform.
Problem or Objective
More in Content and Media
AI Agents and Models
Tools and Integrations
- Tools
- Claude Code
- Prerequisites
- Needs Claude Code (check which Claude plan or API key your setup needs), a newsletter platform whose API can create unsent drafts (check yours), and that platform's API key stored in an environment variable.
How It Works
Keep a project folder with a short style file (a few past issues and notes on tone) and a list of where your posts live, such as a feed URL or a folder of published files. Create a skill in .claude/skills with a SKILL.md that tells Claude Code to collect posts published in the last seven days, write a newsletter draft in your voice to a Markdown file, and stop there. Run it with its /skill-name each week, then read and edit the draft yourself. Separately, ask Claude Code to write a small script that sends an approved draft to your newsletter platform's API as an unsent draft, reading the API key from an environment variable; check whether your platform's API offers draft issues, since that side was not verified. Only after you approve the final text, tell Claude Code to run that script, then open the draft in the platform and schedule it yourself.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Claude Code.
- Connect the toolsConnect the tools this workflow relies on: Claude Code.
- Check the prerequisitesNeeds Claude Code (check which Claude plan or API key your setup needs), a newsletter platform whose API can create unsent drafts (check yours), and that platform's API key stored in an environment variable.
- Gather your detailsCollect what the prompt asks for: Where your posts are published, File with tone notes and past issues, Where to write the draft.
- Run the starter promptPaste the starter prompt below into Claude Code and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at code.claude.com before you rely on it.
Practical Starter Prompt: Draft this week's newsletter
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Collect the posts I published on [Where your posts are published] in the last seven days. Read [File with tone notes and past issues] for my tone and past issues. Write a newsletter draft to [Where to write the draft] with a short opening, one paragraph and link per post, and a sign-off in my voice. Quote titles exactly and do not invent details that are not in the posts. Stop after writing the file: do not run any upload script or contact the newsletter platform until I have edited the draft and told you it is approved.Save this as the instructions of a skill so you can run it with its /skill-name. Read and edit the draft, approve it, and only then ask Claude Code to run the upload script that creates an unsent draft; schedule the issue yourself in your newsletter platform.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. Claude Code's docs say it reads a codebase, edits files and runs commands, and that a SKILL.md file adds instructions Claude can follow or that you can invoke directly with /skill-name. Nothing cited covers any newsletter platform's API, how well the drafts match a writer's voice, or how much time the routine saves.
Limitations and Considerations
The skill only writes a draft file; nothing reaches subscribers until you approve the text, run the upload script and schedule the issue in your platform. Keep the platform's API key in an environment variable, never in the skill, the script or the repository. Check your newsletter platform's API terms, rate limits and whether creating drafts through it is allowed on your plan. AI drafts can misstate what a post says, so check every summary and link before approving. Check which Claude plan or API key your Claude Code setup needs. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Official Website
The official site of the main tool or project in this use case.
Visit Website (opens in a new tab)code.claude.com
Related Videos
About anthropics/claude-code
The SECRET Claude Code Upgrade That Has Everyone Going Nuts (Full Guide) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)About anthropics/claude-code
The only Claude Code guide you'll ever need (Opus 4.5) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Overview - Claude Code Docs (opens in a new tab)
Project documentation · code.claude.com · Undated · Source checked 25 Nov 2026, 11:57 UTC
What this source supports
- Claude Code is an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools.
- Extend Claude with skills - Claude Code Docs (opens in a new tab)
Project documentation · code.claude.com · Undated · Source checked 27 Nov 2026, 05:34 UTC
What this source supports
- Create a SKILL.md file with instructions, and Claude adds it to its toolkit.
- Claude uses skills when relevant, or you can invoke one directly with /skill-name .

