This skill helps you fetch and filter Motion Creative Insights data quickly by constructing precise API queries and returning organized results.
npx playbooks add skill motion-creative/agent-skills --skill creative-insights
When asked for Motion analytics or creative insights, construct a curl request to the Creative Insights API.
The following environment variables must be set:
| Variable | Description |
|----------|-------------|
| MOTION_API_TOKEN | Bearer token for API authentication |
https://builder-be.staging.motionapp.com/api/creative-insights
| Parameter | Type | Description |
|-----------|------|-------------|
| format | 'image' \| 'video' | Filter by creative format |
| grouping | string | How to group the results |
| sortKey | string | Field to sort by (e.g., thumbstop, retention, spend) |
| sortDirection | 'asc' \| 'desc' | Sort order |
| dateRange | string | Preset date range (e.g., last_7d, last_30d, last_90d) |
| startDate | string | Custom start date (ISO format) |
| endDate | string | Custom end date (ISO format) |
| limit | number | Maximum number of results to return |
| creativeAssetIds | string \| Filter by specific creative asset IDs (can pass multiple) |
curl -H "Authorization: Bearer $MOTION_API_TOKEN" "https://builder-be.staging.motionapp.com/api/creative-insights?format=video&sortKey=thumbstop&sortDirection=desc&dateRange=last_30d&limit=10"
If the user doesn't specify parameters, use these sensible defaults:
sortDirection=descdateRange=last_30dlimit=10Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.