TheFocus.AI TheFocus.AI
About This Course

About This Course

Prerequisites, tools needed, and what you'll build in the Repurposing Content with AI Agents course.

TUTOR WITH THEFOCUS.AI

Agent Integration

Copy this prompt into Claude, ChatGPT, or any external AI assistant. It points the assistant to the course instructions and links it to your student profile to track your progress and customize observations.

Please tutor me in this lesson using the following context. First, read the instructions at: https://courses.thefocus.ai/llms.txt My Student ID is: <none> The lesson markdown source is at: https://courses.thefocus.ai/content-repurpose/about.md

You are not enrolled yet. Enroll to generate a Student ID to track lesson completions and store learning notes.

About This Course

What This Course Covers

This is a hands-on tutorial that teaches you how to build a content processing pipeline using AI coding agents. You’ll convert 218 email newsletters into structured, searchable markdown with rich taxonomy metadata. Along the way, you’ll learn five powerful patterns for working with AI agents that apply far beyond email processing.

The email newsletter pipeline is the example — the patterns are the point.

Prerequisites

  • A computer with macOS or Linux (Windows with WSL should work)
  • Basic familiarity with the terminal
  • No Python knowledge required (the AI agents write the Python)
  • A newsletter archive or batch of similar files you’d like to process (optional — you can follow along conceptually)

Tools You’ll Use

ToolWhat It DoesWhy
miseRuntime version managerManages Python, Node, and tool versions from a single config file
Claude CodeAI coding assistantThe agent that does the research, writes code, and orchestrates subagents
Python 3.12Scripting runtimeHandles EML parsing, image downloading, and validation
uvPython package manager10-100x faster than pip, managed through mise

All tool installation is handled through mise — no manual Python setup required.

Output Format

The pipeline produces markdown files with YAML frontmatter. Here’s an example of a fully decorated file:

---
title: "Golden Age for Indie Devs and Engineers"
date: 2024-08-26
series: fod
episode: 64
content_type: digest
primary_topic: industry
tags: ["cursor", "lerobot", "indie-hacking", "robotics", "fine-tuning"]
people_mentioned:
  - name: "Andrej Karpathy"
    affiliation: "OpenAI (former)"
  - name: "Andrew Ng"
    affiliation: "Landing AI"
companies_mentioned: ["Cursor", "Hugging Face", "OpenAI", "Anthropic", "Meta"]
models_mentioned: ["GPT-4o", "Phi-3.5", "Hermes 3", "Jamba-1.5"]
audience: mixed
depth: overview
has_research_papers: true
has_code_examples: false
is_premium: false
source: "Turing Post"
author: "Ksenia Se"
original_subject: "FOD#64: Golden Age for Indie Devs and Engineers"
original_file: "FOD#64_ Golden Age for Indie Devs and Engineers.eml"
url: "https://www.turingpost.com/p/fod64"
---

The Taxonomy Schema

The classification system captures rich metadata about each piece of content. Here’s the complete field reference:

Required Fields

FieldTypeValues
titlestringCleaned article title
dateYYYY-MM-DDPublication date
seriesstring or nullfod, topic, agentic, insights, concepts, podcast, unicorn, guestpost, or null
content_typestringarticle, digest, explainer, interview, profile, curated, announcement, sponsored, forwarded, survey

Categorization Fields

FieldTypeValues
primary_topicstringllm, agents, infrastructure, research, industry, business, ethics, hardware, multimodal
tagsarray of stringsSpecific technologies, techniques, or concepts
episodeintegerEpisode number (for numbered series)

People & Organizations

FieldTypeDescription
people_mentionedarray of objectsEach with name, optional role, optional affiliation
companies_mentionedarray of stringsOrganizations referenced
models_mentionedarray of stringsAI models referenced (e.g., “GPT-4”, “Llama 3”)

Content Characteristics

FieldTypeValues
audiencestringtechnical, general, business, mixed
depthstringoverview, intermediate, deep-dive
has_research_papersbooleanContains academic paper references
has_code_examplesbooleanContains code snippets
is_premiumbooleanPremium subscriber content

Source Metadata

FieldTypeDescription
sourcestringOrigin publication
authorstringPrimary author
original_subjectstringRaw email subject line
original_filestringOriginal .eml filename
urlstringCanonical URL

Series Identification

The newsletters follow consistent patterns detectable from subject lines:

SeriesPatternseries Value
Findings of the DayFOD#N:fod
Topic Deep DivesTopic N:topic
Agentic Series🦸🏻#N:agentic
SF Insights🌁#N:insights
Concept CardsConcepts:concepts
Podcast/Interviews🎙️podcast
Unicorn ProfilesCompany deep-dive structureunicorn
Guest PostsGuest Post:guestpost

What You’ll Walk Away With

After completing this course, you’ll understand:

  1. How to use AI agents for context-aware research — getting answers specific to your stack, not generic recommendations
  2. How to delegate code generation to AI — describing what you want and letting agents write the implementation
  3. How to build compound agent pipelines — each agent layer building on the research of the last
  4. How to scale with parallel agents — processing hundreds of files in minutes
  5. How to validate and iterate — using scripts to catch edge cases and improve quality

These patterns apply to any batch content processing task: migrating documentation, organizing knowledge bases, enriching datasets, building content sites from archives.