Choose a task family
Start with N-back, Stroop, Flanker, or Go/No-Go and configure the task rather than prompting for a generic experiment.
CogniSpec helps researchers and students design, validate, and export cognitive experiments from Cursor or VS Code, without hiding the choices that make a study reproducible.
CogniSpec keeps the parts that matter for technical implementation explicit, versioned, and close to your code.
Start with N-back, Stroop, Flanker, or Go/No-Go and configure the task rather than prompting for a generic experiment.
Make timing, trials, balance, response rules, and your random seed visible in the study specification.
Catch technical constraint problems before a runnable task is created, including timing and required export fields.
Open the self-contained experiment, pilot it, and preserve the configuration that produced it.
General tools can produce code. CogniSpec focuses on the technical details researchers need to review, preserve, and revise.
Keep the study configuration, random seed, and generated materials together in your project folder.
Check trial counts, timing, response windows, balance bounds, seeds, and expected CSV fields before generation.
Generate a self-contained index.html task with a readable README and study configuration.
Participant-level CSV data downloads locally in the browser at the end of a completed task.
Use the command palette from VS Code or Cursor, alongside the rest of your research project.
CogniSpec does not collect telemetry or transmit study specifications or participant data.
Built-in templates are technical implementation starters. Your methods, piloting, accessibility, and interpretation remain your responsibility.
CogniSpec helps implement an experiment. It does not establish construct validity or replace ethics review.
CogniSpec supports technical implementation. It deliberately does not turn a passing validation result into a claim about scientific validity.
CogniSpec is intentionally focused. Here is what it does, and what it does not claim to do.
CogniSpec is a VS Code extension and can be used in VS Code or Cursor. Install it from Open VSX, open a project folder, then run CogniSpec: Create Cognitive Study from the Command Palette.
Each generated study folder includes a runnable index.html experiment, cognispec-study.json with the versioned study specification, and a README. A .gitignore helps keep participant CSV exports out of Git by default.
No. CogniSpec does not collect telemetry or transmit study specifications or participant data. Participant CSV data downloads locally in the browser.
No. CogniSpec validates technical constraints only. A passing result does not establish construct validity, provide clinical assessment, replace piloting, or replace IRB or ethics review.
Generated previews retrieve jsPsych from its official CDN. For an offline or locked-down deployment, use a locally pinned jsPsych copy.
Yes. CogniSpec is MIT licensed. The source, privacy documentation, and security documentation are available on GitHub.
Install CogniSpec, create a study from the Command Palette, and keep the configuration that produced your experiment in the same project.