The template package format
Reference for reviewers and hands-on creators. If you're creating through the structured report, you never touch these files — the AI interview builds them for you.
Two formats are accepted. The validate check picks the right one for each folder:
- App format —
template.json+stages/*.json. What SkillSimm runs, and what the starters use. Use it when you edit by hand. - Lite format —
template.yaml+steps.yaml. What the AI/MCP path produces. Machine-readable schemas live inschemas/.
App format (template.json + stages/)
templates/
your-template-slug/
template.json # settings for the whole simulation
stages/
01_first_stage.json # one file per stage, run in name order
02_next_stage.json
materials/ # what participants read (md, pdf, html, txt, csv)
skills/ # AI coach instructions, plain English (optional)
evaluation/rubric.json # what good answers look like (optional)
README.md # for reviewers: what it teaches, how it works
Copy a starter from
examples/
rather than starting empty. Step-by-step: Start from an example.
template.json
| Key | Required | Meaning |
|---|---|---|
template_id | yes | Unique id, the folder slug with _ for - |
name | yes | Display name |
team_size | yes | Number of seats |
version | no | Semver; defaults to 1.0.0. Bump it when you change the template |
lens_assignments | no | Per seat: member_slot, lens (title), goal |
staffing | no | allowed_sizes, human_seat_order (who gets seated first), vacant_functions: "pool" (empty seats' tasks go to the leader), start.min_humans |
materials | no | List of {name, path, mime, visibility, description, audience?}; audience.slots makes a file private to those seats |
ai_chat_enabled, ai_chat_policy | no | AI assistant in chat on/off; "coach" coaches without answering |
ai_answer_randomization | no | {enabled, p_support, p_correct} — how often cards show an AI suggestion, and how often it is right |
ai_mediation | no | Per task: which seats the AI may ask on the participant's behalf, and the suggested request |
group_communication_allowed | no | Team chat on/off |
coordination | no | routing.takeover (who may take over a task), contacts (who to ask), nudges, escalation (alert the facilitator) |
timing | no | {enabled: false} for no time limit |
privacy | no | encrypt_participant_contacts, encrypt_case_contacts |
stages_dir, materials_dir, skills_dir, evaluation_config | no | Folder and file locations (defaults shown in the starters) |
metadata | no | domain, industry, difficulty, duration_minutes, scoring_type, license, author, tags, learning_goals, team_size {min, max} |
stages/NN_name.json
| Key | Meaning |
|---|---|
stage_id | Unique id |
name, description | Shown on the stage rail and to the AI coach |
dependencies | Stage ids that must finish first |
stage_kind | "survey_pre" / "survey_post" for unscored surveys placed first / last |
estimated_duration_minutes | Planning estimate |
tasks | The cards in this stage (below) |
Task (one card)
| Key | Meaning |
|---|---|
task_id | Unique across the template |
participant_slot, role | Which seat does it |
type | "human" for a person's card; "auto" for an AI step |
name, hitl_prompt | Card title and question |
field_schema | The answer fields: select, multi_select, textarea, text, number, likert; each with label, options where needed, required |
required_fields | Field names that must be filled; each must be in field_schema |
ai_guidance_skill | Path to the coach file in skills/ |
ai_answer | {correct, wrong} — the AI suggestion shown on the card; each must equal an option exactly |
chat_context_override | Extra instructions to the AI coach for this card |
evaluation_point, evaluation_weight | Scored or not, and its share of the total |
ui_options | e.g. information_requests, submit_label |
Lite format (AI/MCP submissions)
The structured-report path produces one folder under templates/:
templates/
your-template-slug/
template.yaml # identity: id, title, objective, audience, roles, team size
steps.yaml # the ordered steps, human/AI modes, and grading rules
metadata.yaml # domain, difficulty, duration, tags, license, learning goals
creator.yaml # who you are + royalty preference
sample_inputs.json # example inputs for a test run
expected_outputs.json # what a good run produces
README.md # human-readable description of the simulation
LICENSE.md # license text
Scaffold one with
python scripts/new_template.py --slug your-template-slug.
template.yaml
| Field | Required | Meaning |
|---|---|---|
id | yes | Unique snake_case identifier, e.g. consumer_complaint_escalation |
title | yes | Display name |
objective | yes | The skill or judgment the simulation trains |
audience | no | Who it's for, e.g. "MBA / enterprise training" |
roles | no | List of participant roles, e.g. support_agent, manager |
version | no | Semver, defaults to 1.0.0 |
team_size | no | Default team size (integer, default 5) |
ai_chat_enabled | no | Whether participants get an AI chat assistant (default true) |
group_communication_allowed | no | Whether team members may talk to each other (default true) |
steps.yaml — one entry per step
| Field | Required | Meaning |
|---|---|---|
id | yes | Unique snake_case step id |
title | yes | Short step name |
actor_mode | yes | Who acts — see table below |
task_type | yes | Shape of the answer — see table below |
task_description | yes | What the participant is asked to do |
role | no | Which role performs this step |
depends_on | no | List of step ids that must complete first (defines the workflow DAG) |
ai_assist | no | What the AI may do: suggests · critiques · grades · decides |
grading | no | Grading rule block — see below |
Actor modes — the human decision boundary
| Mode | Who decides |
|---|---|
human | A person, working alone — no AI involvement |
human_with_ai | A person decides; AI assists per ai_assist |
team_with_ai | The team decides together; AI assists |
ai | The AI acts autonomously; humans see the output downstream |
Task types
| Type | The participant produces… |
|---|---|
multiple_choice | One choice from fixed options |
numeric_input | A number (checked against value/range/tolerance) |
structured_response | A structured answer, e.g. decision + justification fields |
open_response | Free-form writing |
document_review | A judgment on a provided document |
Grading rules
type | Requires | Use when |
|---|---|---|
answer_key | correct_answer, usually options and distractors, points | One objectively correct answer |
numeric | expected_value or expected_range, optional tolerance / formula | Calculations |
rubric | criteria list (each measurable) | Judgment quality scored by named criteria |
llm_judge | criteria and anchor_examples (good/bad answer examples) | Open responses graded by an LLM against anchors |
none | — | Ungraded steps (context-setting, handoffs) |
metadata.yaml & creator.yaml
metadata.yaml carries discovery info: domain,
industry, difficulty,
duration_minutes, team_size (min/max),
scoring_type, license, tags, and
learning_goals.
creator.yaml identifies you and states your royalty
preference: fixed_fee · revenue_share ·
per_run · open_source ·
enterprise_only.
Validation
Every pull request runs
scripts/validate_package.py
over every folder in templates/ and examples/.
App-format folders are checked for valid JSON, unique stage and task ids,
known stage dependencies, seat numbers within team_size,
required fields that exist, AI answers that match an option, and files
that exist. Lite-format folders are checked for schema conformance, step-id
uniqueness, depends_on references and grading-rule completeness.
Run it locally before opening a PR (lite format needs
pip install pydantic pyyaml):
python scripts/validate_package.py templates/<your-slug>