Skip to content
Writing Your First Agent Skill
Chapter 4 of 6·4 min

references/ vs scripts/ (when to use which)

A skill folder can include two optional subfolders: references/ and scripts/. They serve different purposes and choosing the wrong one is a frequent rejection reason. The rule is simple: references/ for static content the LLM reads, scripts/ for executable code the LLM runs. The hard part is recognizing which side of the line your content falls on.

Want to keep reading?

Sign in to unlock the rest of the course and track your progress.