Week 4 · Lesson 13
Skills & media
Expand the skill suite; implement free-media fetch behind policy. Artifacts live on disk + DB.
Learn
- Pipeline: plan → caption → media prompt → review
- External API failover (Pexels → Unsplash → Pixabay)
- Skill writes prompts; media adapter downloads bytes
Build
- Wire caption / media-prompt / review skills into the loop
- Pexels download → local
assets/→ real URL on the post - 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?