TheFocus.AI TheFocus.AI

Taxonomy Design

Analyze all content files to identify patterns, series, and topics. Design a comprehensive frontmatter schema for classification.

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/03-classification/06-taxonomy-design.md

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

Taxonomy Design

The Pattern: Let AI Analyze Your Data

Before you can classify content, you need to understand what’s in it. The traditional approach: manually read through files, take notes, identify patterns, design categories. With 209 files, that’s days of work.

Instead, let the AI agent read everything and propose a taxonomy.

The Prompt

look through all the emails in @content/uncategorized. We want to build a taxonomy of the data, where we identify high level series, propose categories and topics, and what other metadata we want to consistently extract from the data. Propose a content schema that we could apply to all of the emails

The @ symbol brings the entire directory into context. The agent reads all 209 files and identifies patterns.

The Agent’s Analysis

Based on reading every file, the agent identifies:

Series Patterns

SeriesTitle PatternCountDescription
FOD (Findings of the Day)FOD#N:~99Weekly digest of AI news and papers
Topic Deep DivesTopic N:~4Technical explainers on specific concepts
Agentic Series🦸🏻#N:~18Agent and reasoning system deep dives
SF Insights🌁#N:~20San Francisco-based AI insights
Concept CardsConcepts:~5Short explainers of AI concepts
Podcast/Interviews🎙️~20Conversations with AI practitioners
Unicorn ProfilesCompany structure~10Deep-dive company profiles

Content Types

TypeDescriptionExample
digestWeekly roundup with multiple sectionsFOD emails
explainerTechnical deep-dive on a conceptTopic emails
articleGeneral article or essayStandalone pieces
interviewQ&A or conversation formatPodcast transcripts
profileCompany or person profileUnicorn series
curatedLists, recommendations, roundupsBook recommendations
announcementNewsletter meta-contentWelcome messages
sponsoredPartner/sponsored contentWebinar promotions
forwardedForwarded email (not original)Fwd: prefix
surveyReader survey or feedback requestInput requests

Topic Categories

The agent identifies primary topic areas:

ValueDescriptionCommon Keywords
llmLanguage models, architectures, trainingtransformer, GPT, attention
agentsAI agents, agentic workflows, multi-agentagent, workflow, tool use
infrastructureML ops, training, optimizationFSDP, inference, GPU, scaling
researchAcademic papers, benchmarks, methodspaper, benchmark, SOTA
industryCompany news, funding, launchesunicorn, funding, valuation
businessEnterprise AI, productivityenterprise, ROI, adoption
ethicsAI safety, policy, regulationsafety, alignment, bias
hardwareChips, robotics, physical AIGPU, TPU, robot, chip
multimodalVision, audio, video AIimage, video, vision

Refining with Human Judgment

we should also add to this the list of people mentioned. write out the report, focusing on describing the content schema which will be used to populate the frontmatter of the emails, so make sure it’s in a form thats good for that

You steer the agent to add people tracking. The final schema includes:

people_mentioned:
  - name: "string" # Full name
    role: "string" # Their role/title (optional)
    affiliation: "string" # Company/institution (optional)

The report is saved to reports/2025-12-01-content-taxonomy-schema.md. It includes:

  1. Series identification patterns — Regex and emoji detection
  2. Complete frontmatter schema — All fields with types and allowed values
  3. People tracking — name/role/affiliation structure
  4. Four detailed examples — FOD digest, Topic explainer, Unicorn profile, Podcast interview
  5. Notable people reference — Frequently mentioned individuals for entity recognition
  6. Exclusion criteria — What to filter out (forwarded emails, surveys)
  7. Implementation notes — Regex hints for automated extraction

The Complete Schema

Required Fields

FieldTypeValues
titlestringClean 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

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

FieldType
people_mentionedArray of {name, role?, affiliation?}
companies_mentionedArray of strings
models_mentionedArray of strings

Content Characteristics

FieldTypeValues
audiencestringtechnical, general, business, mixed
depthstringoverview, intermediate, deep-dive
has_research_papersboolean
has_code_examplesboolean
is_premiumboolean

Why Design the Schema First

This is a critical pattern: define your output before you build the pipeline. The schema serves as:

  1. A contract between the extraction phase and classification phase
  2. A target for the classification agent to aim at
  3. A validation reference for catching errors
  4. A discovery tool — the act of designing the schema reveals what’s in your data

Without a schema, the classification agent would produce inconsistent output. With it, every file follows the same structure, making downstream processing (search, filtering, cross-linking) reliable.

The Meta-Pattern

The taxonomy report itself is an example of a compounding pattern:

  1. Agent reads all content → identifies patterns
  2. Human reviews → adds people tracking
  3. Refined schema → written to reports/
  4. Schema report → becomes context for classification agent
  5. Classification agent → applies schema to every file

Each step builds on the last. The schema report isn’t just documentation — it’s machine-readable context that future agents consume.


Next: Parallel Classification — Create the classifier and process 50 files at once.