| name | create-survey |
| description | Create Surveys from questions, QSF files, or programmatically with branching logic |
| allowed-tools | Read, Glob, Bash(python:*), AskUserQuestion |
| user-invocable | true |
| arguments | survey_description |
Creating Surveys
You will create a survey in EDSL.
Input Parameter
When this skill is invoked, you will receive a survey_description string that explains the purpose and context of the survey. Use this description to:
- Determine the appropriate questions to include
- Choose suitable question types (free text, multiple choice, scale, etc.)
- Structure the survey flow logically
- Name the output file descriptively based on the survey's purpose
If no description is provided, ask the user: "What is the survey for? Please describe its purpose and any specific topics or questions you'd like to include."
Basic Survey Creation
from edsl import Survey, QuestionFreeText, QuestionMultipleChoice
q1 = QuestionFreeText(
question_name=,
question_text=
)
q2 = QuestionMultipleChoice(
question_name=,
question_text=,
question_options=[, , , ]
)
q3 = QuestionFreeText(
question_name=,
question_text=
)
survey = Survey([q1, q2, q3])