Scripts
Validate Skill8 chapters · 39 min
Skills
Chapter 7 of 8
Create, improve, and evaluate Dreambase agent skills in the DreambaseAI/skills repo.
3 minutes · 655 words · 6 sections
This repo holds agent skills for Dreambase. This meta-skill encodes the standards every skill here follows and the workflow for building one. The goal: skills that work across thousands of varied prompts, not just the examples they were tested on.
skills/dreambase-<kebab-case-name>/.name field are identical, and both carry the dreambase- prefix.SKILL.md is required. scripts/, references/, assets/, and evals/ are optional.evals/evals.json) are committed with the skill. Run outputs (*-workspace/ directories) are gitignored — never commit them..mjs using only Node built-ins (node:fs, node:path, fetch), or POSIX shell for glue. Dreambase is a Node/Next.js shop, so Node is the runtime we can rely on everywhere these skills run — avoid Python and avoid anything needing an npm install at skill runtime.node skills/dreambase-skill-creator/scripts/validate-skill.mjs skills/dreambase-<name>dreambase-<name>/
├── SKILL.md # Required: YAML frontmatter + markdown instructions
├── scripts/ # Executable code for deterministic/repetitive steps
├── references/ # Docs loaded into context only when needed
├── assets/ # Templates, fonts, files used in outputs
└── evals/evals.json # Test prompts + assertionsSkills load in three levels (progressive disclosure):
Put in SKILL.md only what every invocation needs. Push per-domain detail, long tables, and API references into references/ with clear pointers on when to read each file. Scripts can run without ever entering context — prefer a bundled script over instructions the model would re-derive every time.
A fresh skill doesn’t need all the directories. Start with just SKILL.md and add resources when testing shows they’re needed.
The description is the only thing Claude sees when deciding whether to use the skill, so it does two jobs: what the skill does, and when to use it. Models under-trigger skills, so be generous — list concrete trigger phrases, file types, and situations, including ones where the user doesn’t name the skill. Keep it under ~1024 characters.
Weak: Generates Dreambase reports.
Strong: Generate Dreambase analytics reports from campaign data. Use whenever the user mentions reports, campaign performance, exports, or wants to summarize Dreambase data — even if they don't say "report".
All “when to use” information belongs in the description, not the body — the body isn’t loaded until after the triggering decision is made.
scripts/ instead.Read references/skill-spec.md for the full frontmatter spec, domain-organization patterns, and formatting details.
Follow this cycle when creating or improving a skill (full mechanics in references/eval-loop.md — read it before running evals):
assets/skill-template/ to skills/dreambase-<name>/ and fill it in.evals/evals.json, confirm them with the user, then run each prompt twice via parallel subagents: once with the skill, once baseline (without it, or with the old version when improving).scripts/validate-skill.mjs, then commit the skill with its evals/.Install this repository
npx skills add DreambaseAI/skillsSkills install per repository, not per chapter — the CLI has no documented per-skill form, so we do not print one.
Create, improve, and evaluate Dreambase agent skills in the DreambaseAI/skills repo. Use this whenever the user wants to build a new skill, edit or optimize an existing skill, add a skill to this repo, run skill evals, or asks about skill conventions, naming, structure, or the SKILL.md format. Trigger even if they just say "add a skill for X" or "make Claude able to do X" without mentioning skills explicitly.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
main, last pushed 5 August 2026.SKILL.md, not by matching a directory convention. One layout observed: skills/*/SKILL.md.h1 and no skipped levels:/DreambaseAI/skills.md, and each chapter at its own .md URL.3 files · 18 KB
Everything this skill ships beside its prose. All of it is set here, as subchapters of chapter 7.
Documentation the agent loads on demand, rather than up front.
Executable code the skill can run.