A collection of open-access data-collection instruments for the Open Data Capture platform. Forms live in lib/forms and interactive tasks live in lib/interactive, with each instrument in its own directory containing an index.ts entrypoint.
An instrument is the unit of data collection in Open Data Capture — it defines what the user sees, what data is produced, and how that data is validated. See the instruments documentation for a full overview. For guidance on authoring instruments in this repo, see AGENTS.md.
This repo uses pnpm. Install dependencies with:
pnpm installYou can setup an agents file with the following command:
pnpm exec instrument-guidelines --file CLAUDE.mdUse serve-instrument to preview an instrument locally. Pass the instrument's directory as the target:
pnpm exec serve-instrument lib/forms/GAD_7The dev server runs on port 3000 by default; override it with -p <number>.
Type-check and lint the instruments with:
pnpm lintBrowse live examples of instruments on our playground: https://playground.opendatacapture.org
This repository is for open-access instruments only. Every instrument must use an approved license — see the list of approved instrument licenses. If you are unsure whether a license qualifies, please open an issue rather than guessing.