/cognitive3d-sdk-implementation:cognitive3d-sdk-implementationfrom cognitive3d-sdk-implementation
Cognitive3D SDK implementation strategy across engines and platforms — Unity, Unreal Engine, native Apple Vision Pro (visionOS), native Android XR (Jetpack XR and Meta Spatial SDK), WebXR (Three.js, Mattercraft, Wonderland, PlayCanvas, Babylon, plain WebXR), and the standalone C++ SDK for custom engines. Use this skill whenever someone asks about integrating Cognitive3D analytics, planning what to track, setting up the SDK, creating a tracking plan, or implementing custom events/dynamic objects/exit polls/session properties. Also use when the user mentions Cognitive3D, C3D, @cognitive3d/analytics, cvr-sdk-unreal, cvr-sdk-cpp, BP_Cognitive3DActor, Cognitive3DManager, Cognitive3DAnalyticsCore, CognitiveVRAnalyticsCore, cognitive3d_ros, com.cognitive3d, Apple Vision Pro, XR analytics, spatial analytics, or wants to instrument a VR/AR/MR/WebXR application for behavioral data collection. This covers the full workflow: SDK identification, discovery, data strategy, phased implementation, and technical routing.
Trending skills
7-day visitors to each skill page
Ships in cognitive3d-sdk-implementation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill guides the full workflow for implementing Cognitive3D analytics — from discovery through validated instrumentation — for any supported SDK.
Supported targets:
| Target | Reference file | Covers |
|---|---|---|
| Unity | references/unity_sdk_reference.md | Unity VR/AR/MR projects, including Unity apps shipped to Vision Pro or Android headsets |
| Unreal Engine | references/unreal_sdk_reference.md | Unreal 4.26.2+ VR/AR/MR projects, Blueprint and C++ |
| visionOS | references/visionos_sdk_reference.md | Native Apple Vision Pro apps in Swift, RealityKit and SwiftUI |
| Android XR | references/androidxr_sdk_reference.md | Native Kotlin/Java apps on Android XR (Jetpack XR) and Meta Spatial SDK |
| WebXR | references/webxr_sdk_reference.md | Three.js, Mattercraft, Wonderland Engine, PlayCanvas, Babylon.js, plain WebXR/WebGL |
| C++ | references/cpp_sdk_reference.md | Custom engines and native applications on the standalone C++ SDK. Not Unreal C++, which is an Unreal project |
Two targets name a device, not a toolchain, and both resolve to an engine more often than people expect:
In both cases the engine wins when engine project files are present. Step 0 carries the tiebreak.
The strategy layer (what to track and why) is shared across every target. Only the technical reference changes.
Read this file first. Load reference files progressively — only when needed for the current step. Do not load all reference files at once, and never load more than one SDK reference file: load only the one matching the project's target. Each SDK reference is self-contained, including its dashboard routing, so there is never a reason to open a second one.
This skill works standalone, but two companions make it materially better. Mention them when relevant; never require them.
list_slicer_fields, get_field_values, get_scene_sessions, query_data, and others) turn validation and data questions into live lookups instead of dashboard round-trips, and objectives/ExitPoll configuration can be done programmatically (see Step 7). The MCP is SDK-agnostic: it talks to the platform, not to the app, so everything here applies equally on every target. It earns the most on Android XR, WebXR and C++, which have the least local tooling for confirming that data actually arrived. If the team will use AI tooling against their data, recommend setting it up: https://docs.cognitive3d.com/mcp-server/getting-started/. The MCP and references/queryable_data.md answer different questions — use both. The reference describes the platform's built-in fields with units and planning implications; list_slicer_fields tells you what a specific project actually holds, including its own custom properties and events. Confirm a field exists in the target project with the MCP; decide what is worth tracking from the reference.cognitive3d-public-api skill (same marketplace) — for REST API query construction, data pipelines, and programmatic exports. Route there when the developer's question is "how do I pull this data out," not "what should I track."Every technical answer in this skill depends on the target SDK, and several strategy recommendations do too. Establish the target before routing any implementation question, and before finalizing any plan. See Step 0.
Never answer an implementation question with generic Cognitive3D knowledge when the SDK is unknown — the APIs differ in shape (WebXR custom events require a position argument, the others do not; Android XR documents a ten-property limit on events and associates dynamic objects by convention rather than by parameter), the workflows differ in kind (in-engine tooling versus web app uploads), and several features exist on one target and not another. Five targets need a second question, and Step 0 covers each: on Vision Pro, native Swift or Unity, because they are different SDKs entirely; on Unreal, Blueprint or C++, and within Blueprint which nodes, because the one-node Send Custom Event stringifies property values while the Make Custom Event node path and C++ keep them; on Android XR, Jetpack XR or Meta Spatial; on WebXR, which framework; on C++, whether the gaze point the host passes in is eye-tracked or a head ray, because every attention metric inherits that answer. Ask, or infer from the project, then route.
When a developer or client asks to integrate, set up, or improve Cognitive3D analytics, you must ask the Core Discovery Questions and wait for answers before recommending instrumentation, writing code, or editing files.
Do not infer business questions from project structure alone. You may inspect the project for technical context, but that is not a substitute for discovery.
Fast path for direct technical questions. Discovery and the progress tracker apply to planning and integration engagements. When a developer asks a specific how-do-I question ("how do I add a custom event?", "why is my material white in replay?"), skip the workflow and go straight to Step 7 (technical routing) — do not run discovery, and do not create a tracker file. Identifying the SDK (rule 1) is still required, because the answer differs. If the question reveals a broader planning need, offer the full workflow rather than imposing it.
Before recommending instrumentation or writing code, check whether the project defines its own Cognitive3D conventions — an implementation guide, data design document, telemetry standard, project configuration, or a relevant section of CLAUDE.md or CONTRIBUTING.md. Look in the repo root, in docs/, and at any markdown file whose name mentions telemetry, analytics, instrumentation, data design, or Cognitive3D.
If such a document exists, it wins. Match its event naming, property casing, required-property lists, environment layout and session-tag vocabulary, even where this skill's generic recommendations differ. A team with a house standard cares more about conformance than about optimality, and a parallel scheme is worse than an imperfect one applied consistently.
Where the document labels which items are authoring-tool work and which are code, honour those labels rather than re-deriving them, and never offer to perform a step that has to happen in an editor or a web app (see rule 9). The one exception: if a label contradicts what the platform can actually do — for example, it calls something editor work that can only be achieved in code, or vice versa — treat that as a documentation bug to raise with the team, not a rule to follow.
If the project has no such document, offer to draft one. A short conventions file is the cheapest way to keep later instrumentation consistent, and it makes every future session on the project more useful. If the team ships to more than one SDK, this document matters more, not less: event names, property keys and units must be identical across builds or the dashboard series split permanently.
Never read, log, store, or output API keys, developer keys, SSO secrets, or credentials from any source — Unity's Cognitive3D_Preferences, Unreal's c3dlocal/Cognitive3DKeys.ini and Config/c3dlocal/Cognitive3DSettings.ini, visionOS's Info.plist APPLICATION_API_KEY, Android XR's assets/cognitive3d.json, a WebXR settings.js or .env, a C++ project's CoreSettings.APIKey assignment or the define that feeds it, environment variables, config files, build scripts, or any other file that may contain secrets. If the SDK needs keys, instruct the developer to enter them themselves.
Note for Unreal: the docs state explicitly that Cognitive3DKeys.ini should not be in source control. Checking that it is git-ignored is a legitimate and useful thing to verify, and it needs no reading of the file's contents.
Note for WebXR: the Application Key is necessarily shipped to the browser. That is inherent to a client-side SDK, not a misconfiguration. Recommend sourcing it from an environment variable at build time so it is not committed to the repository, and be clear that this keeps it out of the source tree rather than out of the client. Never read or echo the value itself.
The strategy docs answer what to track and why. The SDK references answer how to implement it. Keep them separate. Do not jump to code until the tracking plan is clear.
Do not recommend every available feature by default. A good plan answers the developer's questions with the smallest decision-grade set of custom events, dynamic objects, session properties, participant properties, objectives, exit polls, and tags.
Do not create separate events for every variation. Use one event plus properties when that answers the question better. Use explicit units in property names — at minimum, durations should use _seconds. Properties have a budget too: each one has to earn its slot, and anything the platform already records (scene, time, device, app version, session length) never goes in it. See "Property hygiene" in references/data_strategy.md.
Do not hard-code SDK versions, release notes, supported hardware, dashboard UI paths, or API auth details into recommendations. When freshness matters, route to live docs. This applies with extra force to WebXR, where the framework support matrix is still expanding.
Not all implementation steps are code tasks. Before writing a script for any SDK feature, establish which kind of task it is on this SDK, and check whether the project already has an established pattern for it.
Cognitive3DAnalyticsCore.shared, configuration is code plus an Info.plist key, and geometry goes through the Upload Web App. Dynamic objects follow RealityKit's ECS pattern (register a component and a system, set the immersive root), which is closer to an engine idiom than the other code-only SDKs.Cognitive3DManager, configuration is a JSON asset rather than a settings window, and scene and object geometry go through the Upload Web App. The check that replaces the editor check here is whether the feature is documented for this SDK at all, since its documented surface is among the narrowest in the skill.CognitiveVRAnalyticsCore, including the HTTPS transport, the per-frame gaze call and every sensor sample. The check that replaces the editor check is whether the host already produces the input: a gaze point, a controller pose, a frame-time counter. If it does not, the plan row is host-engine work before it is Cognitive3D work.references/sdk_capability_matrix.md, and the matrix in references/webxr_sdk_reference.md). Scene and dynamic object geometry uploads are web app workflows, not code and not editor work.Only write code when the feature genuinely requires runtime logic (custom events fired from game logic, session properties set from runtime state, object registration for spawned objects).
Unless the developer explicitly asks for a full integration roadmap, produce a quick plan (Phase 1 only). The full template exists for comprehensive plans, but most first conversations should produce a focused, approachable starting point. See references/track_plan_template.md for the quick plan format.
Do this first, in every engagement, before discovery and before any technical answer.
Look for these signals before asking:
| Signal | Target |
|---|---|
Assets/, ProjectSettings/, Packages/manifest.json, .unity scene files, .cs scripts | Unity |
manifest.json containing com.cognitive3d.c3d-sdk or a cvr-sdk-unity git URL | Unity, SDK installed |
.uproject, Source/, Content/, Config/DefaultEngine.ini, .uasset | Unreal |
Plugins/Cognitive3D/, Cognitive3D.Build.cs, c3dlocal/Cognitive3DKeys.ini | Unreal, SDK installed |
BP_Cognitive3DActor referenced in a level or Blueprint | Unreal, SDK wired into a level |
.xcodeproj/.xcworkspace with Swift sources and no engine project files | visionOS |
import Cognitive3DAnalytics, or Cognitive3DAnalyticsCore in source | visionOS, SDK installed |
CoreSettings, SceneData, DynamicComponent in Swift source | visionOS, SDK wired in |
APPLICATION_API_KEY in an Info.plist | visionOS, SDK configured |
build.gradle(.kts), AndroidManifest.xml, src/main/kotlin, no engine project files | Android XR |
com.cognitive3d:android-xr-sdk in a Gradle file | Android XR / Jetpack XR, SDK installed |
com.cognitive3d:meta-spatial-sdk in a Gradle file | Android XR / Meta Spatial, SDK installed |
src/main/assets/cognitive3d.json, or Cognitive3DManager in source | Android XR, SDK configured |
androidx.xr.* or com.meta.spatial.* imports | Android XR, platform named |
package.json containing @cognitive3d/analytics | WebXR, SDK installed |
package.json containing @cognitive3d/three-mattercraft | WebXR / Mattercraft |
three, @babylonjs/core, playcanvas, @wonderlandengine/api in package.json | WebXR, framework named |
c3d-bundle-playcanvas.umd.js in the project | WebXR / PlayCanvas |
.mattercraft project files | WebXR / Mattercraft |
navigator.xr, requestSession("immersive-vr"), renderer.xr in source | WebXR |
settings.js exporting config.APIKey and allSceneData | WebXR, SDK configured |
CMakeLists.txt or a .sln with C++ sources, and no .uproject, Assets/, Gradle or Xcode project | C++ (custom engine or native app) |
#include "cognitive/CognitiveVRAnalytics.h", CognitiveVRAnalyticsCore or cognitive::CoreSettings in C++ source | C++, SDK installed |
package.xml, a colcon workspace, *.launch.py, cognitive3d_ros or ~/cognitive3d/params.yaml | ROS 2 robot — not an XR target; see Targets this skill does not cover |
Two of the targets are commonly described by hardware rather than by how the app is built, and getting this wrong routes the whole engagement to the wrong reference.
| The team says | It could be | Settle it by |
|---|---|---|
| "we're building for Apple Vision Pro" | native visionOS or Unity | .xcodeproj with Swift sources, versus an Assets/ folder and a Unity project |
| "we're on Quest" or "it's an Android headset" | Unity, Unreal or native Android XR | engine project files, versus Gradle files with no engine |
If both engine project files and platform project files are present, the engine wins. A Unity app built for Vision Pro produces an Xcode project as build output, and an Android build produces Gradle files; neither makes it a native project. Ask if the signals are genuinely mixed rather than guessing, because the SDKs share no API surface at all.
The same SDK family ships two Maven artifacts: android-xr-sdk for Android XR (Jetpack XR) and meta-spatial-sdk for Meta Spatial SDK. The Cognitive3D API is shared, but the surrounding platform APIs are not, so anything touching entities, build setup or device behaviour depends on which one the project uses. Read it from the Gradle file, or ask.
Beware the ambiguous case: a Unity or Unreal project that ships to an Android headset is not an Android XR project. It is a Unity or Unreal project, possibly using the External Android Plugin. Engine project files (Assets/, .uproject) settle it; if both engine files and Gradle files are present, the engine wins.
"Unreal" alone is not enough. Establish whether the team works in Blueprint, C++, or both, because the answer differs and one difference is not cosmetic: the one-node Blueprint Send Custom Event (an array of AnalyticsEventAttr) converts every property value to a string, while Blueprint's Make Custom Event plus Set Float/Integer/Bool Property nodes and the C++ FJsonObject variant preserve types. A Blueprint-authored plan containing numeric properties is fine if it uses the typed nodes, and produces data that cannot be averaged or charted if it uses the one-node send. Ask which. Check Source/ for gameplay code, and ask if it is ambiguous.
Also confirm the project is C++ based at all. The plugin requires it; a pure Blueprint project must be converted first, which is quick but is a prerequisite worth surfacing during discovery rather than at install time.
The C++ SDK records whatever gaze point the host passes to RecordGaze. If that comes from eye tracking, dashboard attention metrics mean eye attention; if it is a forward ray from the HMD, they mean head direction, exactly as on visionOS. The SDK cannot tell and neither can the dashboard. Ask during discovery, and carry the answer into every attention claim in the plan. Also confirm the project has a .uproject-free codebase: C++ written against the Unreal plugin is an Unreal project.
"WebXR" alone is not enough to answer an implementation question. Capability differs sharply by adapter: dynamic objects exist only on Three.js and Mattercraft, and plain JS has no gaze tracking at all. Determine the framework from package.json, the imports in the app's entry point, or by asking.
Ask directly, as part of the same message as the discovery questions rather than as a separate round trip:
Which Cognitive3D SDK is this project on — Unity, Unreal, native visionOS, native Android XR, WebXR, or the standalone C++ SDK? If it targets Vision Pro, is it native Swift or Unity? If Unreal, do you work mostly in Blueprint or C++? If Android XR, is it Jetpack XR or the Meta Spatial SDK? If WebXR, which framework: Three.js, Mattercraft, Wonderland, PlayCanvas, Babylon, or plain WebXR? If C++, is the gaze point you can supply eye-tracked or a head ray?
Put the SDK, and the framework, platform or authoring surface, at the top of the progress tracker (Step 3). Then:
references/sdk_capability_matrix.md before finalizing any plan (Step 5), so nothing in the plan is impossible on this target.Unity, Unreal, visionOS, Android XR, WebXR and C++ are covered here.
ROS 2 is deliberately not. The Cognitive3D SDK for ROS 2 records a robot's runs, not a person's experience, and nothing in this skill's strategy layer transfers: there is no participant, no exit poll and no gaze attention; sensors come from allowlisted topics, objectives from action-server outcomes, events from diagnostics and Nav2 recoveries, and the integration is a params file plus a launch include rather than app code. Do not run discovery, classify an archetype or write a track plan from this skill for a robot. Route instead to the integration skill the SDK ships, integrate-cognitive3d-ros2, in the repository's .claude/skills/ directory (https://github.com/CognitiveVR/c3d-sdk-ros2/tree/main/.claude/skills), which surveys the live robot, writes the params file, runs doctor and verifies the first session. That repository's docs/ folder is the documentation; the docs site has no ROS pages. The dashboard directory in any reference here, and the MCP-based validation in Step 7, still apply to a robot's sessions.
Cognitive3D may ship integrations beyond those, and new ones appear. If a project targets something not in the table above, say so plainly, route to https://docs.cognitive3d.com/ for the correct documentation, and offer the parts of this skill that still apply. An uncovered target is most likely to resemble the C++ SDK in shape: no editor, code-only integration, host-supplied inputs, and geometry through the Upload Web App, so that reference is the closest analogue if the team wants a sense of the shape. The strategy layer — discovery, classification, primitives, phasing, naming, the business question map — is SDK-neutral and remains useful; only Step 7 technical routing does not.
Ask these questions first and wait for answers.
What is the experience about? Examples: training simulation, VR game, content library, meditation app, product evaluation, academic study, virtual showroom
Who are the target end users or participants? Examples: trainees, employees, players, consumers, researchers, students, patients
What decisions or insights are you trying to support? Examples: completion rates, retention, errors, time to proficiency, content engagement, attention, comparison between variants
What are the key interactions, activities, or content units? Examples: tool use, puzzle steps, missions, classes, meditation sessions, prototype handling, menu use
What KPIs or success metrics matter most right now? Examples: completion, duration, accuracy, return rate, score, rating, preference, compliance, comfort
Only ask these if needed for the project type:
Training / assessment / education:
Games / progression / interactive entertainment:
Content / wellness / practice apps:
Evaluation / consumer research / studies:
Multiplayer / collaboration / social flows:
AI guides / agents / conversational features:
Inspect the project to determine (confirm only if unclear):
shouldEndSessionOnBackground and isHandTrackingRequired settings, and whether anyone has assumed eye tracking existscognitive3d.json exists and is filled in, enable_gaze state, and whether the asset pipeline can emit glTF Separate rather than GLBCoreSettings.webRequest and whether it retries, which commit of the SDK is pinned, whether the host can supply an eye-tracked gaze point or only a head ray, and whether the asset pipeline can emit glTF Separate rather than GLBgazeTrackingSource is webxr or engine, whether the renderer is passed to the C3D constructorBP_Cognitive3DActorcognitiveSDKInit() and the async startSession() are called, whether the returned Bool is checked, which scene phase the session is tied to, and whether the immersive root is assigned so dynamic objects are traversed at allCognitive3DManager is initialized, and the coroutine or executor that carries any sensor samplingCognitiveVRAnalyticsCore is constructed and which loop calls RecordGaze at GazeInterval, where SendData() is called, and which thread owns the object, since threading is undocumentedsetAnimationLoop or a custom XR frame callback), the app's own event system or state machine, and where XR session lifecycle events are handledreferences/data_strategy.md before recommending additionsreferences/sdk_capability_matrix.mdAfter discovery, classify before recommending. Do not jump straight from discovery to a feature list.
Classification is SDK-neutral: business motion and archetype describe the experience, not the engine.
Choose one primary business motion:
Use when the team needs to prove completion, competency, accuracy, or adherence to a process.
Typical examples: training simulation, SOP walkthrough, certification flow, education module with pass/fail logic.
Use when the team needs to improve onboarding, progression, mechanic use, or repeat play.
Typical examples: games, narrative experiences, puzzle flows, sandbox progression.
Use when the team needs to understand what content is chosen, completed, repeated, paused, bookmarked, or abandoned.
Typical examples: fitness and wellness apps, meditation libraries, music practice or instrument trainers, reading or media experiences.
Use when the team needs to understand what people noticed, touched, compared, or preferred in an environment.
Typical examples: showrooms, architecture and design reviews, retail or product evaluation, prototype comparison.
Use when the team needs to compare conditions, cohorts, blocks, trials, or repeated measures.
Typical examples: academic studies, UX research studies, controlled experiments, pilot programs with explicit conditions.
Choose one or two archetypes:
Business motion tells you the decision. Archetype tells you the shape of the experience.
Add overlays only where they truly apply:
| Example project | Primary motion | Archetype | Common overlays |
|---|---|---|---|
| Fire safety simulation | Performance and compliance | Procedural assessment | shared device, LMS |
| VR puzzle adventure | Progression and retention | Progression loop | live tuning |
| Meditation library | Content engagement | Session-based content loop | content catalog |
| Product comparison study | Exploration and evaluation | Exploration loop | survey, cohort tags |
| Academic experiment | Structured research | Trial or condition loop | condition assignment |
| Browser-based product configurator | Exploration and evaluation | Exploration loop | multi-SDK delivery |
| Unreal heavy-equipment operator trainer | Performance and compliance | Procedural assessment | shared device, LMS |
| Android XR spatial productivity app | Content engagement and habit formation | Session-based content loop | multi-scene flows |
| Native Vision Pro design review app | Exploration and evaluation | Exploration loop | privacy-sensitive capture |
Before proceeding to recommendations, create a progress tracker file for this client using c3d-progress-tracker-template.md — or update the existing one if this is a returning project. Save it in the client's project directory, not in the skill folder. Populate it with the target SDK from Step 0 and the discovery answers and classification from Steps 1–2. This is required. Do not proceed to Step 4 until the tracker exists and reflects current SDK, discovery and classification status.
| Need | Best primitive |
|---|---|
| Something happened at a moment in time | Custom event |
| A value describes the whole session | Session property |
| A value describes the person across sessions | Participant property |
| Object seen, used, moved, or fixated | Dynamic object. On visionOS "seen" means faced: the platform exposes no eye tracking |
| Completion logic or sequences | Objective |
| Self-reported feedback or cohort questions | Exit poll |
| Continuous value sampled over time (physiological, performance, gameplay telemetry) | Sensor. How much is recorded for free varies sharply by SDK — check sdk_capability_matrix.md |
| Analyst-added grouping after the fact | Session tag |
For detailed guidance on event vs property and objective vs event decisions, see references/data_strategy.md.
Availability is not uniform across SDKs. Dynamic objects in particular are unavailable on several WebXR frameworks. Confirm against references/sdk_capability_matrix.md before a primitive becomes a plan row.
Read references/data_strategy.md for strategy guidance. Then read only the relevant sections of references/playbooks.md for the chosen archetype(s). Do not load all playbooks — pull only the ones that fit.
Check references/field_notes.md for any topics relevant to the chosen archetypes and overlays. Notes are tagged with the SDKs they apply to; skip the ones that do not.
Before finalizing, screen the plan twice:
Against references/sdk_capability_matrix.md — remove anything the target SDK or framework cannot do, and flag anything whose effort differs sharply from the other targets, and anything the platform measures differently (the WebXR exit poll UI, Unreal's opt-in built-in components, Android XR's documented ten-property event limit, and visionOS gaze being head direction rather than eye attention are the usual four). A plan containing an impossible row is worse than a smaller plan.
Against references/queryable_data.md (and list_slicer_fields when an MCP server is connected, to catch project-specific fields) — drop anything the platform already captures automatically: session duration, scene time, FPS, comfort, device context, geography. Make sure custom properties are typed so they are queryable (numbers as numbers). Spend the instrumentation budget on app-specific context only.
Caveat for non-Unity projects: queryable_data.md is generated from the Unity SDK's capture behaviour, so its automatic-sensor and device-field lists over-promise elsewhere. On WebXR, battery, CPU/GPU level, passthrough, wifi, biometrics, pupil diameter and multiplayer ping are all Unity-only. On Unreal, the data exists but much of it is opt-in: framerate, HMD orientation, room size, battery and boundary events come from built-in components the team has to add, so it is capturable rather than automatic. On visionOS the platform itself removes a row that exists nowhere else: Apple does not expose eye-tracking rays to apps, so gaze is head direction and no amount of instrumentation recovers eye attention. On Android XR the automatic layer is the narrowest of all: FPS is the only documented automatic sensor, so most of what queryable_data.md lists as free has to be recorded explicitly or not at all. Note in particular that the file's "Android Plugin" sensor category is the External Android Plugin used by Unity and Unreal apps on Android headsets, not the native Android XR SDK, and does not apply to an Android XR project. On C++ none of the automatic lists apply at all: the SDK captures nothing on its own, so every row the team wants is a RecordGaze, RecordSensor or RecordDynamic call the host has to make, and the plan should list those as work rather than as free. Where queryable_data.md and sdk_capability_matrix.md disagree, the capability matrix wins. Dropping an instrumentation row because the platform "already captures it" is only safe once you have checked it against the right SDK.
Phase 1 — Foundation: Make the project observable.
Phase 2 — Decision-grade instrumentation: Answer the real questions.
Phase 3 — Optimization and experimentation: Tune and compare.
Use references/track_plan_template.md to produce the actual recommendation.
Default to the quick plan format unless the developer explicitly asks for a comprehensive roadmap. A quick plan includes only:
Do not include code snippets in the quick plan. The plan should describe what to track and why, not how to implement it. Code examples belong in Step 7 (technical routing) when the developer asks you to implement a specific item.
Use the full plan format when:
See references/example_plans.md for pattern references.
When the developer asks how to implement something, load the SDK reference for the target identified in Step 0 — references/unity_sdk_reference.md, references/unreal_sdk_reference.md, references/visionos_sdk_reference.md, references/androidxr_sdk_reference.md, references/webxr_sdk_reference.md, or references/cpp_sdk_reference.md, never more than one — and route to the correct documentation page from there.
If the SDK is still unknown at this point, establish it before answering. A generic answer here is usually a wrong answer: the custom event API requires a position argument on WebXR and C++ and not elsewhere, and the docs limit properties to ten on Android XR; dynamic objects are editor components on Unity and Unreal, a RealityKit component-and-system registration plus an assigned immersive root on visionOS, userData tags plus explicit registration on WebXR, a three-argument registration call on Android XR, and explicit registration plus host-driven snapshots on C++; spawned-object identity uses ID Pools on the engine SDKs and per-instance registration elsewhere; and several features, ExitPoll among them, exist on some targets and not others.
On Unreal, the authoring surface matters as much as the SDK. Answer in Blueprint or C++ to match the project, and raise the property-typing difference whenever a numeric property is involved.
When routing implementation, identify whether the step is:
.gltf plus .bin) and not GLB. Either way this is a human step you describe rather than perform, and on every SDK the dynamic object mesh upload is separate from the scene upload and is routinely missed.Both resources are configurable either on the dashboard or programmatically through the MCP server, and both routes are fully supported — this is a team preference, not a best practice with one right answer. The dashboard needs no API key and is the right default when a non-developer (analyst, researcher, instructional designer) owns the definitions, or when the team would rather not have a write-enabled key in circulation. The MCP route suits teams who want definitions version-controlled, reviewed like code, or kept in exact parity across environments.
The tool names, doc links, and full platform-constraint lists for both resources live in the SDK reference files ("How do I create or change objectives?" and "How do I ask users questions in-app?"), and the constraints are identical in both because they are properties of the platform. Read the relevant section there before executing any write.
Behavioral gates — never skip these:
delete_objective, ExitPoll versioning and hook-reassignment traps.references/sdk_capability_matrix.md and the framework matrix in references/webxr_sdk_reference.md are the check.[String: Any], so numbers survive, but the docs example shows only a string and teams copy it. Send numbers as numbers.Every plan should end with a validation plan confirming:
bounded-floor session, and for Unreal's requirement that the corresponding built-in components are presentget_field_values on each custom property is the fastest way to spot a constant columnAdd the SDK-specific validation items from the relevant reference file. The Unreal, visionOS, Android XR, WebXR and C++ references each carry a troubleshooting quick table of the failure modes worth checking first; the Unity reference routes to https://docs.cognitive3d.com/unity/troubleshooting/ and its project validation page.
If a Cognitive3D MCP server is connected, validate programmatically as well as visually. MCP read tools can confirm most of the checklist without leaving the conversation: recent sessions arrived for the scene, key custom events appear with the expected properties, session and participant properties are populated, sensor streams are present. Prefer read tools for verification loops — they close the implement → verify cycle directly. Never use write tools during validation.
If the SDK is already partially integrated, do not start from scratch. Instead:
references/data_strategy.md. Which of the 12 baseline items are already in place? Which are missing? Audit payloads, not the event-name list: pull one raw session's events and map properties per event name before judging coverage. A name list undersells what is there (properties often already cover the gaps the names suggest) and hides what is wrong (a shared context bag, four identities for one noun, constant-valued fields). Never propose new events from the name list alone. See field note: Audit the payloads, not the event list.BP_Cognitive3DActor, since its presence is what makes a session record at all. Then check whether instrumentation lives in Blueprint graphs, C++ classes, or both, and whether the graphs carrying it are reachable at runtime. A Blueprint node sitting in an unreferenced graph is the Unreal form of a script attached to nothing. Audit the Blueprint-versus-C++ split for custom events specifically: Blueprint-sent properties arrive as strings, so an integration can look complete and still be unqueryable for anything numeric.startSession() is awaited and its Bool result checked, that core.entity is set to the immersive root (without it no dynamic object is ever traversed), and that any SwiftUI window content the plan counts on has a PositionTrackerView. Check event properties for numbers sent as strings; the dictionary is [String: Any], so "4" where 4 was meant is a code slip rather than an SDK limit.Cognitive3DManager is initialized and which activity lifecycle the session is scoped to, that cognitive3d.json carries a real scene ID and the current version, and that any sensor sampling loop is actually running rather than cancelled with its scope. Check event property counts against the documented ten-property limit while auditing: the SDK does not enforce it, so an over-limit event raises no error and what the platform does with the surplus is unspecified.webRequest is set and its implementation calls the response callback, that RecordGaze runs at GazeInterval from the main loop, that SendData() is called somewhere other than session end, that dynamic snapshots are gated on movement rather than per frame, and that controllers are registered with the controller overloads if the plan expects them in replay.C3D is constructed with the renderer, that the adapter's update() is actually called in the live render loop, and that session start and end are wired to the real XR session events. Imported-but-unused instrumentation modules are the web equivalent of a script attached to nothing, and a missing per-frame update() silently disables gaze and dynamic object tracking while leaving events working, which makes the integration look half-broken rather than misconfigured.references/track_plan_template.md — New, Keep, Amend, Revive, Replaces: …, Retire — and state a break-risk decision (cut over, dual-send for one release, or leave it alone) for every replaced or retired event. Renames break every dashboard query, saved segment, and objective built on the old name, and split the historical series permanently; never propose one silently.Important: stage the output in two steps. First, present only the audit — what's working, what's missing, and the project classification. Then stop and ask the developer if they'd like you to propose improvements before presenting a plan. Do not combine the audit and the plan into a single response. This keeps the audit digestible and gives the developer a chance to correct misunderstandings before you build on them.
Progress tracker required here too. After completing the audit and before presenting improvement recommendations, create or update the progress tracker using c3d-progress-tracker-template.md. Save it in the client's project directory. Pre-populate it with the audit findings so the existing instrumentation status is captured.
A tracking plan is not a one-time deliverable. Teams should revisit it when:
When revisiting, re-run the discovery questions with updated context. The business motion and archetype may stay the same, but the top questions and phase priorities will evolve.
These apply to almost every Cognitive3D project, on every SDK. See references/data_strategy.md for full details on each:
A strong recommendation should be:
completed = true on step_completed), or sending values the platform already records (scene, timestamp, session length)See Step 3 in the core workflow. The progress tracker is a required gate — create or update it before moving to recommendations. For brownfield projects, create it after the audit. Update it as work progresses so the next session can pick up where you left off.
These are SDK-neutral and should be identical across every build a team ships.
module_started, step_completed, content_bookmarkedapp.noun.verb names mimic the SDK's own c3d.* events; if several apps report into one project, tell them apart with a session property, not a prefix_seconds for time fields, consider _percent, _count, _metersoutcome. Enum values lower-case_number for a position in a fixed sequence (step_number, attempt_number), _order for the order a person did things (interaction_order). Never _index, never 0-based. State every counter's scope (per session, per attempt, per participant)mission, training uses module, research uses trial)Load files in this order as needed. Do not load them all at once, and never load more than one SDK reference.
list_slicer_fields to confirm what the specific project holds)c3d-progress-tracker-template.md (opens in a new tab)references/androidxr_sdk_reference.md (opens in a new tab)references/cpp_sdk_reference.md (opens in a new tab)references/data_strategy.md (opens in a new tab)references/example_plans.md (opens in a new tab)references/field_notes.md (opens in a new tab)references/playbooks.md (opens in a new tab)references/queryable_data.md (opens in a new tab)references/sdk_capability_matrix.md (opens in a new tab)references/track_plan_template.md (opens in a new tab)references/unity_sdk_reference.md (opens in a new tab)references/unreal_sdk_reference.md (opens in a new tab)references/visionos_sdk_reference.md (opens in a new tab)references/webxr_sdk_reference.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub cognitivevr/c3d-marketplace-public --plugin cognitive3d-sdk-implementation