> For the complete documentation index, see [llms.txt](https://help.imotions.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.imotions.com/lab/analysis/skills.md).

# Skills/ AI Agent Integration

Use the iMotions Lab skill with an AI agent to explore studies, analyze data, create segments and annotations, and get answers from the Help Center.

A *skill* teaches an AI agent, such as Claude Code, how to work with a specific product. With the iMotions Lab skill, you can ask an AI agent in plain language about the studies in your local iMotions Lab library, let it analyze the recorded data, and have it create segments and annotations for you. This article explains what the skill can do, how to set it up and how to write prompts that get good results.

## What the iMotions Lab skill does

The skill gives the agent access to your iMotions Lab study library through the iMotions Lab command-line tool (`AtCli.exe`), which is installed with iMotions Lab. The agent works on the computer that runs iMotions Lab and reads the same studies you see in the library.

| Task                    | What the agent can do                                                                                                                                                                                                                                                                                           |
| ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Explore studies         | List studies and describe their respondents, stimuli, sensors, segments and screen resolution.                                                                                                                                                                                                                  |
| Read respondent data    | Read demographics, respondent variables, survey answers, exposure times and existing annotations.                                                                                                                                                                                                               |
| Analyze data            | Find the recorded sensor data, analysis results, AOI metrics and data quality summaries in the study folder, and calculate statistics, comparisons and charts from them. Survey answers can be combined with the sensor data and the stimuli, for example to correlate ratings with responses to each stimulus. |
| Summaries and reports   | Write summaries of a study and its results, and create reports with tables and charts, for example as a document or a slide deck.                                                                                                                                                                               |
| Create segments         | Create a segment from a group of respondents, for example based on survey answers or data quality.                                                                                                                                                                                                              |
| Create annotations      | Add respondent annotations, for example to mark events that the agent finds in the data.                                                                                                                                                                                                                        |
| Import data             | Prepare custom time series data for [import into iMotions](https://help.imotions.com/lab/import-and-post-processing/importing-time-series-data-into-imotions.md), and prepare AOI files for import.                                                                                                             |
| Answer how-to questions | Search the iMotions Help Center and answer with a link to the relevant article, checked against your installed version.                                                                                                                                                                                         |

The skill also contains background articles about eye tracking, facial expression analysis, GSR, ECG and EEG, which the agent can use to explain metrics and methods.

### Limits

* The agent only changes the study library when you ask it to. It can create segments and respondent annotations, but it cannot change or delete anything; remove items it created in iMotions Lab.
* Stimulus annotations, AOIs and imported data are not created directly in the library. The agent prepares the files, and you import them in iMotions Lab.
* The agent works on studies in the local library. It does not run recordings or start analyses in iMotions Lab.

## Requirements

* iMotions Lab installed on a Windows 11 computer, with `AtCli.exe` in the installation folder, `C:\Program Files\iMotions\Lab_XG`.
* iMotions Lab running while the agent works.
* An AI agent that supports skills and runs on the same computer, such as Claude Code or the Code tab of the Claude desktop app. The skill runs on the iMotions computer, so it does not work in agents that only run in the cloud, such as Claude on the web.
* Internet access for Help Center questions.

{% hint style="warning" %}
The agent sends what it reads, such as study details, respondent information and data, to the AI service it uses. Follow your organization's rules for personal and research data, for example by using studies with anonymized respondents.
{% endhint %}

## Installing the skill

The skill is available in the [iMotions skills repository on GitHub](https://github.com/imotions/skills), which also contains a skill for iMotions Online. Install it in one of these ways, then start iMotions Lab and your AI agent.

### Ask your AI agent to install it

1. Download the repository as a .zip file from GitHub (**Code** > **Download ZIP**), or use a .zip file of the skill that you have received.
2. Add the .zip file to a conversation with your agent and ask it to install the skill, for example:
   * Install the iMotions Lab skill from this zip file, so that you can use it in all my projects.

### Install it with a command

If [Node.js](https://nodejs.org/) is installed, open a terminal and run:

```
npx skills add imotions/skills
```

The command installs the iMotions skills for the AI agents on your computer.

### Copy the folder yourself

1. Download the repository as a .zip file from GitHub and extract it.
2. Copy the `skills\imotions-desktop` folder to the skills folder of your agent. For Claude Code, this is `%USERPROFILE%\.claude\skills`, so that the file `%USERPROFILE%\.claude\skills\imotions-desktop\SKILL.md` exists.
3. Restart the agent.

## Working with the skill

Ask for what you want in plain language. The agent works out which studies, respondents and files it needs.

* **Name the study.** Give the study name as it appears in the library, so that the agent finds the right one.
* **Say what you want as the result**, for example a table, a chart, a summary or a file.
* **Describe groups and conditions in your own terms**, for example "respondents who answered Yes to question 3" or "the first 10 seconds of each video".
* **Ask for changes explicitly.** The agent only creates segments or annotations when you ask for it. Check the result in iMotions Lab.
* **Ask the agent to explain its method** when results matter, for example which files and signals it used and how it calculated a metric.

## Example prompts

### Exploring a study

* List my studies and give me an overview of the study "Shelf test 2026": respondents, stimuli, sensors and segments.
* Which stimuli were shown in "Shelf test 2026", in what order and for how long?
* Summarize the respondents in "Shelf test 2026" by age and gender, and list any respondent variables.

### Checking data quality

* Check the data quality in "Shelf test 2026". Which respondents have less than 80% eye tracking data on any stimulus?
* Are there respondents whose face was not detected for most of the recording?

### Analyzing data

* Compare the time to first fixation on the logo AOI between the two packaging designs in "Shelf test 2026", and show the result as a bar chart.
* For each video stimulus, calculate the average number of GSR peaks per minute, and compare different genders.
* Plot the average Joy and Surprise values over time for the stimulus "Ad 1", across all respondents.
* Which stimulus had the highest average heart rate, and is the difference to the others meaningful?

### Combining survey answers with sensor data

* In "Shelf test 2026", correlate how much respondents liked each ad in the survey with their average Joy and their number of GSR peaks during that ad.
* Compare the dwell time on the price tag between respondents who answered "Yes" and "No" to "Would you buy this product?".
* For each stimulus, show the average survey rating next to the average heart rate and the time spent looking at the product.

### Creating summaries and reports

* Write a one-page summary of "Shelf test 2026": the study design, the respondents, data quality and the main findings per stimulus.
* Create a report for my client with the key results of "Shelf test 2026", including a chart of attention and emotional response for each packaging design.
* Summarize the differences between the two segments "Under 30" and "30 and over" across all sensors, and highlight what stands out.

### Creating segments and annotations

* Create a segment called "Under 30" with all respondents in "Shelf test 2026" who are younger than 30.
* Find the moments where each respondent's GSR rises sharply during "Ad 1", and add a respondent annotation called "Arousal peak" for each of them.

### Importing data

* I have heart rate data from a chest strap in `C:\Data\heartrate`, one CSV file per respondent. Prepare it so that I can import it into "Shelf test 2026" as custom time series.
* Create an AOI import file with a rectangle around the price tag on the stimulus "Shelf A".

### Asking how-to questions

* How do I set up a Smart Eye Aurora eye tracker in iMotions?
* How do I export AOI metrics for each respondent?

## Related articles

* [General data analysis and interpretation](https://help.imotions.com/lab/getting-started/multimodal-data-overview/general-data-analysis-and-interpretation.md)
* [Using Annotations](https://help.imotions.com/lab/analysis/using-annotations.md)
* [Importing Time Series Data into iMotions](https://help.imotions.com/lab/import-and-post-processing/importing-time-series-data-into-imotions.md)
* [iMotions Lab API](https://help.imotions.com/lab/sensor-setup/api/imotions-lab-api.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.imotions.com/lab/analysis/skills.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
