Skill · Capture SDK
RecommendedHow to integrate @neurologyca/capture: the kit first, the proxy in your backend, the enrolment, the capture, the results and the pitfalls, with validate-config and doctor to check the work.
Install the Neurologyca skills in your coding agent, paste the index into AGENTS.md and ask for the integration. It follows the verified steps of this documentation instead of guessing.
npx skills add https://devlab.neurologyca.com -a claude-code
# then, in your project:
claude "Add Neurologyca on-device capture with Measurement to this page."npx skills add https://devlab.neurologyca.com -a codex -a cursor -a github-copilot# Download https://devlab.neurologyca.com/docs/agents/skills/neurologyca-capture.zip, then:
mkdir -p .agents/skills/neurologyca-capture .claude/skills/neurologyca-capture
unzip neurologyca-capture.zip -d .agents/skills/neurologyca-capture
unzip neurologyca-capture.zip -d .claude/skills/neurologyca-capture
# By the HTTP API from another language, download https://devlab.neurologyca.com/docs/agents/skills/neurologyca-engine-api.zip and do the same:
mkdir -p .agents/skills/neurologyca-engine-api .claude/skills/neurologyca-engine-api
unzip neurologyca-engine-api.zip -d .agents/skills/neurologyca-engine-api
unzip neurologyca-engine-api.zip -d .claude/skills/neurologyca-engine-apiIf these docs ask you to sign inThe installer cannot sign in. While this DevLab asks for a session to read its docs, download the zip from this page while signed in and unzip it as in «Without the installer». /docs/llms-full.txt has every page in one file.
How to integrate @neurologyca/capture: the kit first, the proxy in your backend, the enrolment, the capture, the results and the pitfalls, with validate-config and doctor to check the work.
The calls from your backend, in any language: token, people, enrolments, batches, results and the interpretation.
Agents with skills/docs/llms.txtOne line per page, grouped by section, plus the pages of one path in one file (llms/sdk.txt, llms/deferred.txt, llms/api.txt) and every page as .md.
AGENTS.mdThe rules and the index by path, always read by your agent; your kit includes it.
Codex · Cursor · GitHub Copilot · Claude Code (CLAUDE.md)Anyone can read and evaluate the skills; installing and using them requires a Neurologyca account. They have their own license, in LICENSE.txt. Every file, with what it contains, is in For AI agents.
A skill loads when the task asks for it; an index in AGENTS.md (or CLAUDE.md for Claude Code) is read every time. Paste this block into the one at the root of your project. The kit in Your integration includes the same file.
## Neurologyca (Engine 2)
DevLab: https://devlab.neurologyca.com
Prefer retrieval-led reasoning over pre-training-led reasoning for anything about Neurologyca: read the pages below before you write code, and trust them over what you remember.
### Rules
- The Engine API key (`ENGINE_API_KEY`) lives only in your backend, behind your proxy (`/engine`): never in browser code, in `neuro.config.json` or in git.- Never invent `contextId`, `PROTOCOL_ID`, `ENGINE_BASE` or the key: they come from your team's kit (https://devlab.neurologyca.com/integration → Your integration → Protocols → a protocol → Kit): `ENGINE_BASE` is already filled in `.env.example` (in a starter zip, `.env`). The key is not in the kit: reveal it in Your account and API key (Engine keys › Reveal) or download a starter with «Include my key», and never commit it. Without the kit, stop and ask for it.- Start with Measurement: it only measures (`triggerAnalysis: false`).- Use the same person and the same source (camera or file) for the baseline and the measurement.- These docs win over what you remember: if a route, option or code is not in them, it does not exist.
**Only with the SDK** (capture in the browser):
- Keep the tab visible while capturing, and serve the page from a secure context (HTTPS or localhost).- Deferred (Preview): call `/analyze` only as the job's `interpretation` says. With `ready` it is served from the cache; with `degraded` or `failed` every call regenerates it and costs, so ask once if you need it, never in a loop.
### Index (Markdown pages)
- **SDK (recommended):** [Quickstart](https://devlab.neurologyca.com/docs/start/quickstart.md) · [Devices, quality and mode](https://devlab.neurologyca.com/docs/start/devices-and-modes.md) · [Install](https://devlab.neurologyca.com/docs/start/install.md) · [Authentication](https://devlab.neurologyca.com/docs/start/authentication.md) · [Measurement only](https://devlab.neurologyca.com/docs/guides/measurement.md) · [How the SDK works](https://devlab.neurologyca.com/docs/sdk.md) · [On-device (real time)](https://devlab.neurologyca.com/docs/sdk/on-device.md) · [Load the models](https://devlab.neurologyca.com/docs/guides/load-models.md) · [Steps and marking](https://devlab.neurologyca.com/docs/sdk/steps.md) · [Your backend](https://devlab.neurologyca.com/docs/sdk/backend.md) · [Results in your backend](https://devlab.neurologyca.com/docs/sdk/results-backend.md) · [Show and use the results](https://devlab.neurologyca.com/docs/guides/show-results.md) · [Responsible use](https://devlab.neurologyca.com/docs/guides/responsible-use.md) · [Errors, warnings and retries](https://devlab.neurologyca.com/docs/sdk/errors.md) · [SDK reference](https://devlab.neurologyca.com/docs/sdk/reference.md) · [Protocols and their hierarchy](https://devlab.neurologyca.com/docs/concepts/protocols.md) · [Baseline](https://devlab.neurologyca.com/docs/concepts/baseline.md) · [Declared limits and failure modes](https://devlab.neurologyca.com/docs/concepts/limits.md) · [CSP and transcription](https://devlab.neurologyca.com/docs/guides/csp-transcription.md) · [Before production](https://devlab.neurologyca.com/docs/guides/production-checklist.md) · [Known pitfalls](https://devlab.neurologyca.com/docs/resources/pitfalls.md)- **Deferred (server-side) · Preview:** [Deferred (server-side)](https://devlab.neurologyca.com/docs/sdk/deferred.md) · [Devices, quality and mode](https://devlab.neurologyca.com/docs/start/devices-and-modes.md) · [Processing service](https://devlab.neurologyca.com/docs/sdk/processing.md) · [Show and use the results](https://devlab.neurologyca.com/docs/guides/show-results.md) · [Responsible use](https://devlab.neurologyca.com/docs/guides/responsible-use.md) · [Timeouts](https://devlab.neurologyca.com/docs/guides/timeouts.md) · [Errors, warnings and retries](https://devlab.neurologyca.com/docs/sdk/errors.md) · [Privacy and data](https://devlab.neurologyca.com/docs/resources/privacy.md) · [Known pitfalls](https://devlab.neurologyca.com/docs/resources/pitfalls.md)- **HTTP API (complementary):** [HTTP API guide](https://devlab.neurologyca.com/docs/api.md) · [Quickstart](https://devlab.neurologyca.com/docs/start/quickstart.md) · [Authentication](https://devlab.neurologyca.com/docs/start/authentication.md) · [Measurement only](https://devlab.neurologyca.com/docs/guides/measurement.md) · [Protocols and their hierarchy](https://devlab.neurologyca.com/docs/concepts/protocols.md) · [Capturing for the best accuracy](https://devlab.neurologyca.com/docs/concepts/capture.md) · [Devices, quality and mode](https://devlab.neurologyca.com/docs/start/devices-and-modes.md) · [Sessions, enrolments and interruptions](https://devlab.neurologyca.com/docs/concepts/sessions.md) · [HCIs and results](https://devlab.neurologyca.com/docs/concepts/results.md) · [Show and use the results](https://devlab.neurologyca.com/docs/guides/show-results.md) · [Responsible use](https://devlab.neurologyca.com/docs/guides/responsible-use.md) · [Baseline](https://devlab.neurologyca.com/docs/concepts/baseline.md) · [Declared limits and failure modes](https://devlab.neurologyca.com/docs/concepts/limits.md) · [Timeouts](https://devlab.neurologyca.com/docs/guides/timeouts.md) · [Known pitfalls](https://devlab.neurologyca.com/docs/resources/pitfalls.md) · [API reference](https://devlab.neurologyca.com/docs/reference.md)- **Everything:** https://devlab.neurologyca.com/docs/llms.txt
### Check your work
With the Neurologyca skill installed (in `.agents/skills/` or `.claude/skills/`):
- `node <skills dir>/neurologyca-capture/scripts/validate-config.mjs .`, fix what it reports and run it again.- `node <skills dir>/neurologyca-capture/scripts/doctor.mjs . --url http://localhost:3000` with your backend running.- By the HTTP API from another language: `node <skills dir>/neurologyca-engine-api/scripts/doctor.mjs .` (the key must not reach what you serve).ENGINE_API_KEY), never in the page./engine), not to Engine.node .agents/skills/neurologyca-capture/scripts/doctor.mjs . --url http://localhost:3000 reports no ERROR.The skills change with the SDK and with Engine. Each one says its version in metadata.version of its SKILL.md, and the News in your account menu say when one changes.
npx skills check tells you whether a skill changed (it compares the digest this DevLab publishes in /.well-known/agent-skills/index.json, and exits with code 1 when there is an update, so it also fits in CI); npx skills update brings it. Add -g if you installed it globally.AGENTS.md block does not update itself: when the skill changes, compare yours with the one on this page.If your DevLab has it on, the assistant (the button at the bottom of the page, or Ctrl/⌘I) answers questions about these docs while you browse, gives you tested code and takes you to the right page. It is not the skill: the skill is for the coding agent in your editor; the assistant is for you, here. It only answers from the docs and says so when something is not in them. What it records: Privacy and data.