Agent Skills
************

PsyNet's Agent Skills describe recommended workflows for PsyNet users:
how to implement an experiment, simulate participants, plan a design
simulation, prepare a deployment, and more. They are written mainly
for coding agents, which follow them step by step, and they also work
as checklists for people. The documentation describes what PsyNet
provides; the skills describe how to use it well, and each one starts
by listing the documentation pages it relies on.

"psynet setup" and "psynet scripts update" install the skills into the
experiment's ".cursor/skills/psynet/" folder. PsyNet manages that
folder, so edit the canonical skills in the PsyNet repository at
".cursor/skills/experiment/" rather than the copies in an experiment;
skills elsewhere in ".cursor/skills/" belong to the experiment and are
left alone. In Cursor, agents pick skills up automatically from their
descriptions, and you can run one directly by typing "/" and its name,
for example "/implement-experiment". Other agents can be pointed at
the skill's "SKILL.md" file.

+------------------------------+----------------------------------------------+------------------------------+
| Skill                        | Use it to                                    | Main PsyNet documentation    |
|==============================|==============================================|==============================|
| **Planning and building**    |                                              |                              |
+------------------------------+----------------------------------------------+------------------------------+
| Implement PsyNet experiments | Turn a natural-language description into a   | Working with a coding agent  |
|                              | planned, built, tested and audited           |                              |
|                              | experiment. It calls the other skills as     |                              |
|                              | needed.                                      |                              |
+------------------------------+----------------------------------------------+------------------------------+
| Explore PsyNet repository    | Find the closest demo and the relevant       | Starting from a demo or an   |
|                              | PsyNet source.                               | existing experiment          |
+------------------------------+----------------------------------------------+------------------------------+
| Develop experiment back end  | Write the timeline, trial makers and         | Writing a timeline, Writing  |
|                              | experiment logic.                            | a static trial maker         |
+------------------------------+----------------------------------------------+------------------------------+
| Develop experiment front end | Build participant-facing pages, controls and | Writing pages                |
|                              | custom prompts.                              |                              |
+------------------------------+----------------------------------------------+------------------------------+
| Make an experiment adaptive  | Make later trials depend on earlier          | Writing a static trial       |
|                              | responses.                                   | maker, Chains                |
+------------------------------+----------------------------------------------+------------------------------+
| Implement synchronous PsyNet | Group participants and keep them in step     | Groups and barriers in       |
| experiments                  | with barriers.                               | detail                       |
+------------------------------+----------------------------------------------+------------------------------+
| Implement real-time          | Build live interactions between participants | Real-time interaction        |
| synchronous PsyNet           | over websockets.                             |                              |
| experiments                  |                                              |                              |
+------------------------------+----------------------------------------------+------------------------------+
| Psychophysics experiments    | Get precise visual displays, timing,         | Graphics, Event management   |
|                              | responses and reaction times.                |                              |
+------------------------------+----------------------------------------------+------------------------------+
| Tapping experiments          | Build tapping and sensorimotor               | Pre-screening and            |
|                              | synchronization experiments.                 | questionnaires               |
+------------------------------+----------------------------------------------+------------------------------+
| Implement task-specific pre- | Add pre-screening that matches the           | Pre-screening and            |
| screening                    | recruiter's own filters.                     | questionnaires               |
+------------------------------+----------------------------------------------+------------------------------+
| Prepare for translation      | Mark participant-facing text for translation | Internationalization         |
|                              | and check it.                                |                              |
+------------------------------+----------------------------------------------+------------------------------+
| PsyNet participant quality   | Record signals of participant quality and AI | Participants                 |
| telemetry                    | assistance.                                  |                              |
+------------------------------+----------------------------------------------+------------------------------+
| Turn a pure-human experiment | Let AI participants take part alongside, or  | Participants                 |
| into an AI hybrid            | instead of, humans.                          |                              |
+------------------------------+----------------------------------------------+------------------------------+
| Verify AI model usability    | Check that the AI models an experiment       | Configuration                |
|                              | relies on are reachable.                     |                              |
+------------------------------+----------------------------------------------+------------------------------+
| Upgrade to PsyNet 14         | Move an existing experiment through the      | Upgrading to PsyNet 14       |
|                              | PsyNet 14 breaking changes.                  |                              |
+------------------------------+----------------------------------------------+------------------------------+
| **Testing and auditing**     |                                              |                              |
+------------------------------+----------------------------------------------+------------------------------+
| PsyNet simulated             | Write bots that take the experiment, for     | Testing back-end logic       |
| participants                 | tests and practice data.                     |                              |
+------------------------------+----------------------------------------------+------------------------------+
| Participant response models  | Model how participants respond, for          | Audits                       |
|                              | simulations.                                 |                              |
+------------------------------+----------------------------------------------+------------------------------+
| Power analysis               | Choose participant, stimulus and trial       | Audits                       |
|                              | counts before collecting data.               |                              |
+------------------------------+----------------------------------------------+------------------------------+
| Precision estimation         | Run the default simulation method for        | Audits                       |
|                              | "power-analysis".                            |                              |
+------------------------------+----------------------------------------------+------------------------------+
| Playwright testing           | Write browser tests and layout checks for    | Testing front-end logic      |
|                              | participant pages.                           |                              |
+------------------------------+----------------------------------------------+------------------------------+
| Record participant visual    | Capture screenshots and a video of a         | Testing front-end logic      |
| evidence                     | participant's session.                       |                              |
+------------------------------+----------------------------------------------+------------------------------+
| Produce an experiment audit  | Assemble and validate the experiment's       | Audits                       |
|                              | audit.                                       |                              |
+------------------------------+----------------------------------------------+------------------------------+
| **Deploying and data**       |                                              |                              |
+------------------------------+----------------------------------------------+------------------------------+
| Prepare for Cint             | Make an experiment ready for recruitment     | CINT (Lucid)                 |
|                              | through Cint.                                |                              |
+------------------------------+----------------------------------------------+------------------------------+
| Plan server resources        | Measure how much CPU async jobs use and plan | Testing scalability          |
|                              | worker processes.                            |                              |
+------------------------------+----------------------------------------------+------------------------------+
| PsyNet Deployment Ops        | Check deployment readiness and run           | Running a study              |
|                              | deployments safely.                          |                              |
+------------------------------+----------------------------------------------+------------------------------+
| PsyNet experiment monitoring | Watch a running study's participant flow and | Running a study              |
|                              | data.                                        |                              |
+------------------------------+----------------------------------------------+------------------------------+
| Basic data                   | Define the experiment's basic data for       | Basic data                   |
|                              | analysis.                                    |                              |
+------------------------------+----------------------------------------------+------------------------------+
| Process group experiment     | Turn data from experiments where             | Basic data                   |
| data                         | participants play in groups into a table for |                              |
|                              | analysis.                                    |                              |
+------------------------------+----------------------------------------------+------------------------------+
| **Previewing**               |                                              |                              |
+------------------------------+----------------------------------------------+------------------------------+
| Public tunnel                | Share a running local experiment, or any     | Running and debugging        |
|                              | local service, through a temporary public    | locally                      |
|                              | link.                                        |                              |
+------------------------------+----------------------------------------------+------------------------------+
