Install
openclaw skills install psychopy-experiment-design-skillHelps design and refine PsychoPy experiments by clarifying research focus, specifying variables, structuring hypotheses, and planning analysis for rigorous a...
openclaw skills install psychopy-experiment-design-skillThis skill helps users design, build, troubleshoot, and document experimental tasks using PsychoPy, PsychoJS, Pavlovia, or similar online psychology experiment platforms. It is especially suitable for psychology, cognitive neuroscience, rehabilitation, and behavioral experiments.
The skill focuses on practical implementation, clear trial structure, reliable data recording, and participant-friendly task design.
Use this skill when the user needs help with:
The user may provide:
If the user provides screenshots, infer the likely PsychoPy Builder structure and explain concrete steps.
Identify:
Represent each trial clearly, for example:
Fixation: 500 ms
Stimulus: 1000 ms
Response window: 2000 ms
Blank screen / ITI: 500 ms
For clinical or child participants, avoid overly fast presentation and provide adequate practice.
Translate the task into PsychoPy Builder components:
instructions
practice_trials loop
practice_feedback
formal_instructions
block_loop
trial_loop
break_screen
ending
Explain what each routine and loop should contain.
Condition files should usually include columns such as:
trial_index
block
mini_block
stimulus
condition
correct_answer
is_target
duration
feedback_text
For reaction-time tasks, include correct response keys and target labels.
Important data columns may include:
For online studies, ensure that resources are uploaded and paths are compatible with PsychoJS.
Common problems include:
When diagnosing errors, prioritize the likely Builder structure and timing settings before suggesting complex code changes.
The output should be practical and step-by-step. When possible, provide:
Use clear headings such as:
1. Overall Task Structure
2. Builder Setup
3. Condition File Design
4. Timing Settings
5. Response Recording
6. Data Output Check
7. Common Problems
Tasks should be:
Check:
Recommend excluding or flagging trials with:
Do not claim data are valid based only on file existence. Check trial counts, target counts, missing responses, accuracy pattern, and reaction-time distribution.
我需要用 PsychoPy 做一个 oddball 程序,请告诉我 Builder 里每一步怎么设置。
请帮我把这个 CPT 表格拆分成两个 block。
这个 PsychoPy 数据对吗?请帮我检查 target 数量、反应和正确率。
我的任务上传到 Pavlovia 后图片不显示,可能是什么原因?
请帮我写一段实验流程,用于开题报告或伦理申请。
For a task design request, use a concrete structure:
Routine 1: instruction
- Text component: task instructions
- Keyboard component: press space to continue
Routine 2: fixation
- Text component: +
- Duration: 0.5 s
Routine 3: stimulus
- Image or text component: $stimulus
- Keyboard component: record response
- Duration: 2 s
Loop: trials
- Conditions file: conditions.xlsx
- Number of repetitions: 1
For data checking, summarize clearly:
The data file contains 40 formal trials. There are 8 target trials and 32 non-target trials. No missing responses were found. The target count matches the task design, so the basic structure appears correct.