Week 4 · Lesson 13

Skills & media

Expand the skill suite; implement free-media fetch behind policy. Artifacts live on disk + DB.

Time · 1–2 days
Learn
  • Pipeline: plan → caption → media prompt → review
  • External API failover (Pexels → Unsplash → Pixabay)
  • Skill writes prompts; media adapter downloads bytes
Build
  1. Wire caption / media-prompt / review skills into the loop
  2. Pexels download → local assets/ → real URL on the post
  3. Policy: agent may media.fetch; still cannot publish
Checkpoint

An approved (or media-ready) post has a real image file on disk and a path stored in the DB — not storage.local fakes.

Four notes
  • What problem does this layer solve?
  • What is allowed to call it?
  • What must it never do?
  • How do I observe and test it?