Content Marketing with AI
Build a content marketing engine: blog pipeline, social media calendar, email newsletter, and repurposing system — all powered by AI to create a week's content in an hour.
The content marketing engine concept
Content marketing works because it compounds: every blog post, social update, and email newsletter builds on the last, creating an growing library of searchable, shareable material that drives traffic without ongoing ad spend. The problem for solo founders and small teams is time — creating quality content consistently feels impossible alongside building a product. AI changes the economics. Instead of spending 5 hours writing a blog post, you spend 1 hour directing AI and editing the output. Instead of brainstorming social posts daily, you generate a week of content in one sitting. The AI does not replace your expertise — it handles the mechanical parts (drafting, formatting, repurposing) while you focus on the strategic parts (what to say, what angle to take, what your audience needs). Ask Claude Code: Create a new project folder for our content marketing system. Set up a directory structure with folders for blog (drafts, published, templates), social (twitter, linkedin, threads), email (newsletters, sequences), and assets (images, graphics). Create a content-calendar.json file with a schema for tracking content: each entry has a title, type (blog, social, email), status (idea, drafted, editing, scheduled, published), publish date, channel, and tags. Populate it with 10 content ideas relevant to a SaaS product launch — mix of blog posts, social threads, and newsletter issues. This directory structure and calendar become your editorial system. Every piece of content flows through the same pipeline: idea, draft, edit, schedule, publish.
Building a blog content pipeline
A blog post pipeline transforms a topic into a published, SEO-optimised article. Ask Claude Code: Create a blog post template at blog/templates/standard-post.md with front matter (title, slug, date, author, description for SEO, tags, status) and a structure with an introduction hook, 4 to 5 H2 sections with body paragraphs, a conclusion with a call to action, and an author bio block. Then create a script called generate-blog-draft.js that takes a topic and target keyword as arguments and generates a complete first draft following the template. The script should generate an SEO-optimised title under 60 characters, a meta description under 155 characters, an engaging introduction that hooks the reader in 3 sentences, 4 to 5 sections covering the topic thoroughly with practical examples, and a conclusion that drives a specific action. Run it: node generate-blog-draft.js "How to choose your first AI coding tool" "ai coding tools". The output should be a markdown file in blog/drafts/ that you can edit and refine. Ask Claude Code: Create a blog editing checklist at blog/templates/editing-checklist.md. Include checks for: headline is specific and promises value, introduction hooks in the first sentence, every section has a practical takeaway, no jargon without explanation, internal links to other content, external links to credible sources, call to action is clear, meta description is compelling, and images or code examples break up text walls. Then create a script that analyses a draft against this checklist and flags issues. The pipeline workflow is: run the generator for a first draft, edit manually for voice and accuracy, run the checker for quality, and publish. This system lets you produce 2 to 3 quality blog posts per week with about an hour of total effort each.
Social media content calendar
Social media drives awareness but only when consistent. Ask Claude Code: Create a social media content system. Build a script called generate-social-week.js that takes a blog post markdown file as input and generates a full week of social media content from it. The output should include: 5 Twitter or X posts (each under 280 characters, each highlighting a different insight from the blog post), 2 LinkedIn posts (professional tone, 150 to 300 words, with a question or insight that drives engagement), 1 Twitter thread (5 to 7 tweets that walk through the key points of the blog post as a story), and 1 LinkedIn article summary (a teaser that drives clicks to the full blog post). Save each piece in the appropriate social/ subfolder with the scheduled date in the filename. Run it against one of the blog drafts and review the output. Ask Claude Code: Create a posting schedule template. Research the best times to post on each platform for B2B audiences and create a weekly schedule: Monday through Friday posting times for Twitter, Tuesday and Thursday for LinkedIn. Add the schedule to content-calendar.json with specific dates and times for the next 4 weeks. Ask Claude Code: Build a social media asset generator. Create a script that takes a quote or statistic from a blog post and generates a shareable image using HTML and CSS rendered to a PNG with Puppeteer. The image should have a branded background colour, the quote in large text, and a small logo or product name in the corner. Generate 3 quote images from the blog post for use in social posts. These images dramatically increase engagement compared to text-only posts. The complete system turns one blog post into 10 or more social media pieces, multiplying your content output without multiplying your effort.
Email newsletter system
Email is the highest-ROI marketing channel because you own the audience — no algorithm changes can take it away. Ask Claude Code: Create a newsletter system. Build a template at email/templates/weekly-digest.html that has a branded header, a featured article section with image, title, and excerpt, a secondary articles section with 3 smaller entries, a tips and tools section with 2 to 3 quick recommendations, and a footer with social links and unsubscribe. The design should use inline CSS for email client compatibility, a maximum width of 600px, and a clean, readable layout. Create a script called generate-newsletter.js that takes a list of blog post slugs and generates a complete newsletter HTML file. It should read the blog posts, extract key content, write engaging summaries, and assemble the newsletter. Run it: node generate-newsletter.js post-slug-1 post-slug-2 post-slug-3. Ask Claude Code: Create an email sequence for new subscribers. Build 5 emails that send over 2 weeks after someone joins the mailing list. Email 1 (immediately): Welcome and what to expect. Email 2 (day 2): Your best piece of content — the one that demonstrates the most value. Email 3 (day 5): A practical tip or tool recommendation. Email 4 (day 9): A case study or success story. Email 5 (day 14): An invitation to reply and share what they are working on. Each email should be in the template format with subject line, preview text, and HTML body. Save in email/sequences/. This sequence builds a relationship with new subscribers and establishes your expertise before they receive regular newsletters. Ask Claude Code: Create an email analytics tracker. Add unique tracking pixels and link parameters to each email. Build a simple dashboard that shows open rates, click rates, and most-clicked links. Understanding what resonates helps you create better content over time.
Content repurposing system
One piece of content should become many. A blog post becomes social posts, a newsletter feature, a podcast talking point, a video script, and a presentation slide. Ask Claude Code: Create a content repurposing engine. Build a script called repurpose.js that takes a blog post markdown file and generates all of the following in one run: a Twitter thread version (7 tweets telling the story), a LinkedIn post version (300 words, professional tone, ends with a question), a newsletter section (150-word summary with a read more link), a podcast script outline (key talking points, transitions, audience questions to address), a video script (90-second explainer with intro hook, three key points, and call to action), a slide deck outline (10 slides with title and 3 bullet points each), and an infographic text (key statistics and takeaways formatted for a visual designer). Save each output in its appropriate directory with clear filenames. Run it against a blog post: node repurpose.js blog/published/choosing-ai-tools.md. Review each output and note which need the most editing. Ask Claude Code: Create a repurposing quality checker that reads each generated piece and flags issues like exceeding character limits for Twitter, using overly casual language for LinkedIn, or missing a call to action. The goal is to identify pieces that need manual attention versus those that are ready to schedule. The multiplier effect is powerful: one hour of blog writing plus 15 minutes of AI repurposing equals content for every channel for the entire week. Over a month, that is 4 blog posts, 20 social posts, 4 newsletters, 4 podcast outlines, and 4 video scripts — all originating from just 4 hours of original content creation.
SEO strategy and keyword tracking
Organic search traffic is the most valuable kind — it is free, targeted, and compounds over time. Ask Claude Code: Create an SEO planning system. Build a keyword research template at blog/templates/keyword-brief.json with fields for the target keyword, search intent (informational, transactional, navigational), estimated difficulty (based on competitor analysis), related keywords and long-tail variations, content angle (what unique perspective we bring), target word count, and internal linking opportunities. Create a script called keyword-plan.js that takes a seed keyword, generates 20 related keywords with suggested content angles, and saves them to a keywords.json file for tracking. For each keyword, estimate whether it is worth targeting based on relevance to our product and estimated competition. Ask Claude Code: Create an SEO audit script that analyses a published blog post for on-page SEO factors. Check: the target keyword appears in the title, first paragraph, at least one H2, and the meta description. Check that the post has at least 1500 words for competitive keywords. Check for internal links to other content and external links to authoritative sources. Check image alt text includes relevant keywords. Check URL slug is keyword-optimised and under 60 characters. Output a score out of 100 with specific recommendations for improvement. Ask Claude Code: Build a rank tracking system. Create a script that searches Google for our target keywords and finds our ranking position. Store historical ranking data in a JSON file. Generate a weekly report showing position changes for each keyword — up, down, or unchanged. Over time, this data shows which content strategies are working and where to double down. Common pitfall: writing for search engines instead of humans. The SEO tools should inform your content strategy but your writing should always prioritise reader value. Google's algorithms increasingly reward content that genuinely helps the reader.
Measuring and iterating on content performance
The final piece is a feedback loop: measure what works, do more of it, and stop doing what does not. Ask Claude Code: Create a content performance dashboard as an HTML file. The dashboard should track each piece of content with metrics for page views, time on page, social shares, email clicks (if featured in newsletter), and conversion actions (signups, downloads, purchases). Since we do not have real analytics data yet, create a mock data generator that produces realistic performance data for 20 content pieces. Build the dashboard with charts showing content performance over time, the top 10 performing pieces by views, the correlation between content type (blog, social, email) and engagement, and publishing frequency versus total traffic trend. Ask Claude Code: Create a content scoring model. Based on the mock data, create a formula that scores each piece of content by its overall effectiveness. Weight the factors: views multiplied by 1, time on page multiplied by 2 (indicates quality), social shares multiplied by 3 (indicates share-worthiness), and conversion actions multiplied by 5 (indicates business value). Rank all content by this weighted score. Analyse what the top-performing content has in common — topic, format, length, publish day, headline style. Ask Claude Code: Generate a next month content plan based on the performance data. Identify the top 3 content themes by performance score. Suggest 8 new content pieces that build on successful themes. Include a mix of formats: 4 blog posts, 2 long-form guides, and 2 tool-focused tutorials. Schedule them across the month with the social and email repurposing plan for each. Save as content-plan-next-month.json. This data-driven approach ensures your content efforts compound over time. Instead of guessing what works, you have evidence. Instead of creating content sporadically, you have a system. The content marketing engine runs with about 5 hours of work per week — well within the capacity of a solo founder.
AI for Content Creation
This guide is hands-on and practical. The full curriculum covers the conceptual foundations in depth with structured lessons and quizzes.
Go to lesson