awd-skill 0.0.0-stage → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +324 -3
- package/bin/install.js +758 -0
- package/commands/awd-skill-assets.md +25 -0
- package/commands/awd-skill-backend.md +12 -0
- package/commands/awd-skill-content.md +12 -0
- package/commands/awd-skill-deploy.md +12 -0
- package/commands/awd-skill-design.md +12 -0
- package/commands/awd-skill-frontend.md +12 -0
- package/commands/awd-skill-growth.md +12 -0
- package/commands/awd-skill-launch.md +12 -0
- package/commands/awd-skill-list.md +12 -0
- package/commands/awd-skill-mode-e.md +18 -0
- package/commands/awd-skill-mode-f.md +16 -0
- package/commands/awd-skill-motion.md +12 -0
- package/commands/awd-skill-qa.md +12 -0
- package/commands/awd-skill-research.md +12 -0
- package/commands/awd-skill-strategy.md +12 -0
- package/commands/awd-skill-taste.md +18 -0
- package/commands/awd-skill-template-use.md +15 -0
- package/commands/awd-skill.md +11 -0
- package/docs/EXAMPLES.md +124 -0
- package/docs/INSTALL.md +203 -0
- package/docs/LICENSING.md +150 -0
- package/docs/PRODUCTION.md +921 -0
- package/docs/TEMPLATES.md +105 -0
- package/docs/VISUAL-GATES.md +131 -0
- package/docs/animotion/AGENTIC-MODE.md +537 -0
- package/docs/animotion/API-REFERENCE.md +2457 -0
- package/docs/animotion/DECLARATIVE-ATTRIBUTES.md +8563 -0
- package/docs/animotion/EFFECTS-PLAYBOOK.md +377 -0
- package/docs/animotion/IMPERATIVE-API.md +9056 -0
- package/docs/design-editor-plan.md +259 -0
- package/docs/generative-ai-canvas-plan.md +144 -0
- package/docs/target-state-plan.md +466 -0
- package/package.json +68 -4
|
@@ -0,0 +1,537 @@
|
|
|
1
|
+
# Agentic Tier Guide
|
|
2
|
+
|
|
3
|
+
**Tier:** `agentic` — the one full skill
|
|
4
|
+
**Plan:** Studio, $25/month · **Skill:** `animotion-agentic` (version 1.0.0)
|
|
5
|
+
|
|
6
|
+
> **Two tier names, one skill.** The **agentic** skill is the only skill with
|
|
7
|
+
> everything — the former *Studio* skill was folded into it. `--tier=studio`
|
|
8
|
+
> and `/cdn/studio/*` serve the exact same file as `agentic` — same features,
|
|
9
|
+
> same price, same activation command. Existing users of either tier change
|
|
10
|
+
> nothing.
|
|
11
|
+
|
|
12
|
+
The Agentic skill turns your agent into an **AnimotionJS recreation engine**.
|
|
13
|
+
Give it any of four inputs — a prompt copied from getlayers.ai or motionsites.ai,
|
|
14
|
+
a website link, a video file or URL, or a plain description of what you want —
|
|
15
|
+
and it rebuilds the result strictly with AnimotionJS: the imperative API, the
|
|
16
|
+
declarative `am-*` attributes and the plugin CDN. No other animation library is
|
|
17
|
+
ever used.
|
|
18
|
+
|
|
19
|
+
## The flow
|
|
20
|
+
|
|
21
|
+
| Input | You say | Agent does |
|
|
22
|
+
|-------|---------|------------|
|
|
23
|
+
| 1. A pasted prompt | paste what you copied from getlayers.ai / motionsites.ai | Reads what the prompt is asking for (hero, section, background, component, motion idea), maps every motion concept to an AnimotionJS call, builds it in your project |
|
|
24
|
+
| 2. A website link | `/recreate https://stripe.com` | Inspects the page, writes a motion spec (what moves, when, with which ease and staging), rebuilds it — same look, same timing, AnimotionJS only |
|
|
25
|
+
| 3. A video | `/video ./hero.mp4` or `/video https://…/hero.mp4` | Studies the clip's timing and beats, recreates it as an AnimotionJS sequence (scroll, text, media, 3D as needed) |
|
|
26
|
+
| 4. A plain description | "animate our dashboard", "magnetic button", "stagger the features" | Authors the described interaction straight from the full API reference |
|
|
27
|
+
|
|
28
|
+
Hard rules baked into the skill: **AnimotionJS only for motion** (never GSAP,
|
|
29
|
+
CSS `@keyframes`, jQuery), **match the source exactly** when recreating (timing,
|
|
30
|
+
easing, staging), **read the existing project first** — its styling and
|
|
31
|
+
structure win — and **never guess at an unreadable source**: ask, or state the
|
|
32
|
+
assumption, instead of inventing.
|
|
33
|
+
|
|
34
|
+
## What's inside the skill
|
|
35
|
+
|
|
36
|
+
- **Entry points** — `/recreate` (link or description), `/video`, `/animate`, plus plain pasted prompts; the agent picks the right one and never loses the original request
|
|
37
|
+
- **Complete AnimotionJS reference** — a surface map of all 50 API sections (foundations, scroll, pointer input, text, media, Lottie/Rive, state machines, shaders/Three.js, principles) plus tweens, timelines, ScrollTrigger, springs, stagger, paths, eases, variants, declarative `am-*` attributes, plugins, framework bootstraps, performance and accessibility
|
|
38
|
+
- **One command per feature area** — `/core`, `/scroll`, `/text`, `/pointer`, `/media`, `/files`, `/path`, `/three`, `/state`, `/layout`, `/principles`, `/ease`, `/attr`, `/plugins`, `/plugin`, `/oil`, `/perf`, `/a11y`
|
|
39
|
+
- **Project setup** — `/init` writes the licence and bootstrap for your stack (vanilla, React, Next.js), `/key` manages the license key
|
|
40
|
+
- **Bespoke interactions** — describe the interaction or recreate one from another website, then build it in your project from the complete API reference
|
|
41
|
+
- **Effect library** — `/fx` (alias `/effects`) draws on three effect catalogues — Hyperiux Vault, No Code-Shader (Unicorn Studio) and Originkit — with live catalogue endpoints and a family-by-family recipe matrix mapping every effect type (text reveals, cursor systems, scroll pins, shader scenes, transitions, loaders, carousels, …) onto AnimotionJS, wired to hover/scroll/drag/pointer interactions on your own elements
|
|
42
|
+
- **Oil Motion** — point the agent at your video section (already set up with `am-video-oil-motion`), say which part of the video and what interaction you want — it generates the attributes, timeline or agent config for you
|
|
43
|
+
- **References on demand** — `/docs imperative|declarative|quick|install|no-code|effects` fetches the guides from the CDN when the agent needs them
|
|
44
|
+
|
|
45
|
+
The underlying references: [Imperative API](IMPERATIVE-API.md) and
|
|
46
|
+
[Declarative Attributes](DECLARATIVE-ATTRIBUTES.md).
|
|
47
|
+
|
|
48
|
+
## Prerequisites
|
|
49
|
+
|
|
50
|
+
- **Node.js 18+** (for the npm/npx installer)
|
|
51
|
+
- One or more supported AI coding agents installed
|
|
52
|
+
- An active **Studio** subscription ($25/month) — see [License & subscription](#license--subscription)
|
|
53
|
+
|
|
54
|
+
**Supported agents (15):** `aider`, `amazonq`, `augment`, `claude`, `cline`,
|
|
55
|
+
`codex`, `codium`, `cody`, `continue`, `copilot`, `cursor`, `jetbrains`,
|
|
56
|
+
`opencode`, `roo`, `windsurf`.
|
|
57
|
+
|
|
58
|
+
## Installing
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
# Requires a Studio license key
|
|
62
|
+
npx animotion-skills install --tier=agentic --license-key=YOUR_KEY
|
|
63
|
+
|
|
64
|
+
# Specific agent / everything detected
|
|
65
|
+
npx animotion-skills install --tier=agentic --agent=cursor --license-key=YOUR_KEY
|
|
66
|
+
npx animotion-skills install --tier=agentic --all --license-key=YOUR_KEY
|
|
67
|
+
|
|
68
|
+
# Studio tier — deprecated alias, installs the identical skill
|
|
69
|
+
npx animotion-skills install --tier=studio --license-key=YOUR_KEY
|
|
70
|
+
|
|
71
|
+
# Force reinstall (overwrite an existing install)
|
|
72
|
+
npx animotion-skills install --all --force
|
|
73
|
+
|
|
74
|
+
# Install with admin credentials instead of a personal key
|
|
75
|
+
npx animotion-skills install --tier=agentic --admin-email=you@email.com --admin-secret=SECRET
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
# Global install, then the short alias
|
|
80
|
+
npm install -g animotion-skills
|
|
81
|
+
as install --agent=copilot
|
|
82
|
+
as install --all --tier=agentic --license-key=YOUR_KEY
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Useful flags: `--detect` (list detected agents), `--list` (all supported
|
|
86
|
+
agents), `--agent <name>`, `--all`, `--force`, `--admin-email` /
|
|
87
|
+
`--admin-secret`.
|
|
88
|
+
|
|
89
|
+
The npm package ships **the installer only** — agent detection, the license
|
|
90
|
+
validator and the CDN client (`bin/`, `lib/`, `index.js`). The skill text and
|
|
91
|
+
the reference docs are downloaded with your key at install time
|
|
92
|
+
(`GET /cdn/{tier}/{agent}`, `GET /cdn/docs/{doc}`) and cached in
|
|
93
|
+
`~/.animotion-skills/cache/`, so no skill source is readable from the tarball
|
|
94
|
+
and re-installs still work offline.
|
|
95
|
+
|
|
96
|
+
CDN (raw skill text — requires `?license=` or `X-License-Key`):
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
GET https://skills.animotion.click/cdn/agentic/cursor?license=YOUR_KEY
|
|
100
|
+
GET https://skills.animotion.click/cdn/studio/opencode?license=YOUR_KEY # alias
|
|
101
|
+
GET https://skills.animotion.click/load/agentic/opencode.js?license=YOUR_KEY
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
Without a key the endpoints respond `401` — see [CDN access](#cdn-access) for
|
|
105
|
+
every endpoint, auth method and example.
|
|
106
|
+
|
|
107
|
+
## License & subscription
|
|
108
|
+
|
|
109
|
+
The skill ships with a **$25/month Studio** subscription, processed by Stripe.
|
|
110
|
+
|
|
111
|
+
1. **Subscribe:** visit https://skills.animotion.click/checkout?plan=template
|
|
112
|
+
2. **Receive the license key:** it arrives by email right after payment
|
|
113
|
+
3. **Install:** pass it with `--license-key=YOUR_KEY`
|
|
114
|
+
4. **Renewal:** Stripe renews monthly
|
|
115
|
+
5. **Validation:** the skill validates the key against the backend daily
|
|
116
|
+
|
|
117
|
+
```
|
|
118
|
+
subscribe → Stripe subscription active → license key generated (Supabase)
|
|
119
|
+
→ skill validates and works → monthly renewal
|
|
120
|
+
→ cancelled → license invalidated at the end of the billing period → skill stops
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
- **Manage subscription:** https://billing.stripe.com
|
|
124
|
+
- **Key lookup order inside the agent:** `ANIMOTION_LICENSE_KEY` env var →
|
|
125
|
+
`animotion-config.json` (`licenseKey`) → ask you
|
|
126
|
+
- **Teams:** an admin can use `X-Admin-Email` + `X-Admin-Secret` instead of
|
|
127
|
+
individual keys; the secret is encrypted when stored locally
|
|
128
|
+
|
|
129
|
+
## Using it
|
|
130
|
+
|
|
131
|
+
Activate the skill with `/animotion-agentic` (on both tier names):
|
|
132
|
+
|
|
133
|
+
```
|
|
134
|
+
/animotion-agentic /recreate https://stripe.com
|
|
135
|
+
/animotion-agentic /video ./hero.mp4
|
|
136
|
+
/animotion-agentic [paste the prompt you copied from getlayers.ai]
|
|
137
|
+
/animotion-agentic Animate this dashboard — reading the code first
|
|
138
|
+
/animotion-agentic Make a magnetic button with spring hover
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
### Commands — `/command type`
|
|
142
|
+
|
|
143
|
+
Inside an active session, start your message with `/` — the first word is the
|
|
144
|
+
command, everything after it is the `type` (argument). No argument means "all".
|
|
145
|
+
Commands are case-insensitive and also work without the leading `/`.
|
|
146
|
+
|
|
147
|
+
**Entry points**
|
|
148
|
+
|
|
149
|
+
| Command | Type (argument) | Does |
|
|
150
|
+
|---|---|---|
|
|
151
|
+
| `/help` | — | Print the command table |
|
|
152
|
+
| `/start` | — | Restate the request, pick the right entry point and lay out the plan |
|
|
153
|
+
| `/recreate` | `<url or description>` | Recreate a website's effect (or a described one) and apply it to your project |
|
|
154
|
+
| `/video` | `<file path or URL>` | Recreate a video as an AnimotionJS sequence — same timing and beats |
|
|
155
|
+
| `/animate` | `<element or interaction>` | Describe the interaction — the agent builds it on your connected project |
|
|
156
|
+
| `/fx` | `<source:>effect [on <element>] [with <interaction>]` | The effect library — advanced effects from Hyperiux Vault (151 interaction effects), No Code-Shader (57 Unicorn Studio WebGL scenes) and Originkit (250+ animated components), built on any element with its interaction (alias: `/effects`) |
|
|
157
|
+
|
|
158
|
+
**Engine features** — one command per area of the API
|
|
159
|
+
|
|
160
|
+
| Command | Type (argument) | Does |
|
|
161
|
+
|---|---|---|
|
|
162
|
+
| `/core` | `[topic]` | Foundations: init, `Animotion.to/timeline`, easing, stagger, variants, delays |
|
|
163
|
+
| `/scroll` | `[topic]` | ScrollTrigger: pin, scrub, reverse, callbacks, auto-stagger |
|
|
164
|
+
| `/text` | `[topic]` | SplitText, TextEffects (typewriter, wave, scramble), reveals |
|
|
165
|
+
| `/pointer` | `[topic]` | Pointer/mouse input, Draggable, hover and press gestures |
|
|
166
|
+
| `/media` | `[topic]` | Video and audio scrubbing, Lottie/dotLottie, PNGSequence |
|
|
167
|
+
| `/files` | — | Which references are available and how to fetch them |
|
|
168
|
+
| `/path` | — | MotionPath along SVG paths or point arrays |
|
|
169
|
+
| `/three` | `[topic]` | Three.js objects, GLTF state machines, WebGL shaders |
|
|
170
|
+
| `/state` | `[topic]` | ViewModel, StateMachine, Binding — data-driven animation |
|
|
171
|
+
| `/layout` | — | Layouts: circular, orbit, spiral, wave, scatter, radial-tree |
|
|
172
|
+
| `/principles` | — | Principles helpers: parallax, marquee, tilt, and friends |
|
|
173
|
+
| `/ease` | `[name]` | The easing catalog and when to use each curve |
|
|
174
|
+
|
|
175
|
+
**Attributes, plugins and setup**
|
|
176
|
+
|
|
177
|
+
| Command | Type (argument) | Does |
|
|
178
|
+
|---|---|---|
|
|
179
|
+
| `/attr` | `[attribute]` | Declarative `am-*` attribute reference and usage |
|
|
180
|
+
| `/plugins` | `[category]` | The 40-plugin catalog with tiers, grouped by category (`effects`, `physics`, `three`, `layout`, `scroll`, `text`, `debug`) |
|
|
181
|
+
| `/plugin` | `<slug>` | One plugin (`/plugin particles`): what it does, tier, and the exact registration snippet |
|
|
182
|
+
| `/oil` | `<section selector and/or ask>` | Oil Motion: point at the video section you already set up (`/oil #showcase`), say which part of the video and what interaction — the agent generates the config |
|
|
183
|
+
| `/init` | `cdn`, `npm`, `react`, `vue`, `svelte`, or `astro` | The setup snippet for that stack — script/import, `init({ licenseKey })`, cleanup |
|
|
184
|
+
| `/perf` | — | Performance rules: durations, will-change, batching, reduced cost on mobile |
|
|
185
|
+
| `/a11y` | — | Accessibility floors: readable contrast, `prefers-reduced-motion`, focus |
|
|
186
|
+
| `/docs` | `<topic>` | Fetch a reference: `imperative`, `declarative`, `quick`, `install`, `no-code`, `effects` (the `/fx` library) |
|
|
187
|
+
| `/key` | — | Where the license key lives and how to add one |
|
|
188
|
+
|
|
189
|
+
### Writing good prompts
|
|
190
|
+
|
|
191
|
+
| Include | Example |
|
|
192
|
+
|---------|---------|
|
|
193
|
+
| The source | "recreate https://linear.app/pricing", "[paste the getlayers.ai prompt]", "/video ./showreel.mp4" |
|
|
194
|
+
| Page type + sections | "SaaS landing page with hero, features, pricing, testimonials" |
|
|
195
|
+
| Animation style | "scroll-triggered stagger, parallax background, spring hover" |
|
|
196
|
+
| Framework | "React component", "Vue page", "Vanilla HTML" |
|
|
197
|
+
| Visual direction | "dark theme, accent #ff6b6b", "minimal, professional" |
|
|
198
|
+
| Recreate an effect | "rebuild the nav hover from linear.app on our header", "count-up stats like vercel.com" |
|
|
199
|
+
| Effect library | `/fx blur-text on our hero h1`, `/fx ncs:portal background following the mouse`, `/fx origin:fluid trail as our cursor`, `/fx list cursor` |
|
|
200
|
+
| Oil Motion | "#showcase has Oil Motion wired up — make the first three seconds scrub with the scroll" |
|
|
201
|
+
|
|
202
|
+
Prompt anatomy: `[source] + [page type] + [animations] + [framework] + [style] + [requirements]`
|
|
203
|
+
|
|
204
|
+
## CDN access
|
|
205
|
+
|
|
206
|
+
Base URL: `https://skills.animotion.click` — every endpoint answers with
|
|
207
|
+
`Access-Control-Allow-Origin: *`, skill endpoints cache as
|
|
208
|
+
`private, no-cache`.
|
|
209
|
+
|
|
210
|
+
### Authentication methods
|
|
211
|
+
|
|
212
|
+
Three ways to authenticate; all of them require an active Studio subscription.
|
|
213
|
+
|
|
214
|
+
**1. License key (recommended)** — header or query parameter:
|
|
215
|
+
|
|
216
|
+
```
|
|
217
|
+
X-License-Key: am_abc123def456ghi789jkl012mno345
|
|
218
|
+
?license=am_abc123def456ghi789jkl012mno345
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
**2. Admin credentials (teams)** — header or query parameter:
|
|
222
|
+
|
|
223
|
+
```
|
|
224
|
+
X-Admin-Email: admin@company.com
|
|
225
|
+
X-Admin-Secret: sec_9f8e7d6c5b4a3210
|
|
226
|
+
?adminEmail=admin@company.com&adminSecret=sec_9f8e7d6c5b4a3210
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
**3. Session token (server-to-server)** — mint one, then send it as a bearer:
|
|
230
|
+
|
|
231
|
+
```bash
|
|
232
|
+
POST https://skills.animotion.click/api/auth/session
|
|
233
|
+
Content-Type: application/json
|
|
234
|
+
|
|
235
|
+
{ "licenseKey": "YOUR_LICENSE_KEY" }
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
```json
|
|
239
|
+
{ "token": "eyJhbGciOiJIUzI1NiIs...", "expiresIn": 86400 }
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
```
|
|
243
|
+
Authorization: Bearer eyJhbGciOiJIUzI1NiIs...
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
### Endpoints
|
|
247
|
+
|
|
248
|
+
| Endpoint | Description | Auth | Response |
|
|
249
|
+
|----------|-------------|------|----------|
|
|
250
|
+
| `/cdn/agentic/{agent}` | The agentic skill file | Yes | `text/markdown` (`application/json` for `cursor`) |
|
|
251
|
+
| `/cdn/studio/{agent}` | Alias of `agentic` — identical file | Yes | `text/markdown` |
|
|
252
|
+
| `/cdn/library` | Content library index — optional, not used by the skill (kinds, plugins, docs) | No | JSON |
|
|
253
|
+
| `/cdn/library/{kind}` | Browse/search one kind, `?q=` ranked search | No (premium entries need license) | JSON |
|
|
254
|
+
| `/cdn/library/{kind}/{id}` | Full content entry — prompt + animation spec | Free entries open, premium needs license | JSON |
|
|
255
|
+
| `/cdn/docs/{doc}` | Documentation as markdown (`IMPERATIVE-API`, `DECLARATIVE-ATTRIBUTES`, `INSTALLATION-GUIDE`, `NO-CODE-GUIDE`, `QUICK-REFERENCE`, `ADDING-LAYERS`, `EFFECTS-PLAYBOOK`) | No | `text/markdown` |
|
|
256
|
+
| `/cdn/agents` | Supported agents + tiers | No | JSON |
|
|
257
|
+
| `/cdn/plugins` | Plugin catalog | No | JSON |
|
|
258
|
+
| `/load/{tier}/{agent}.js` | Script loader — fires `animotion-skill-loaded` | Yes (`?license=`) | `application/javascript` |
|
|
259
|
+
| `/raw/{tier}/{agent}` | Plain text for `fetch()` / automation | Yes | `text/markdown` |
|
|
260
|
+
| `/widget/{agent}?tier=agentic` | Embeddable HTML viewer (iframe) | Yes | HTML |
|
|
261
|
+
| `/embed/skill?agent=&tier=agentic&callback=` | JSONP | Yes | `application/javascript` |
|
|
262
|
+
| `/embed/urls?license=` | Every embeddable URL as JSON | Yes | JSON |
|
|
263
|
+
| `/api/license/validate` | Validate a license key | Yes | JSON |
|
|
264
|
+
| `/api/auth/session` | Mint a session token | Yes | JSON |
|
|
265
|
+
|
|
266
|
+
X-Auth on skill responses reports which method was used (`license`, `admin`,
|
|
267
|
+
`session`).
|
|
268
|
+
|
|
269
|
+
### Examples
|
|
270
|
+
|
|
271
|
+
```bash
|
|
272
|
+
# License key as a header
|
|
273
|
+
curl -H "X-License-Key: am_abc123def456ghi789jkl012mno345" \
|
|
274
|
+
https://skills.animotion.click/cdn/agentic/copilot
|
|
275
|
+
|
|
276
|
+
# License key as a query parameter
|
|
277
|
+
curl "https://skills.animotion.click/cdn/agentic/copilot?license=YOUR_KEY"
|
|
278
|
+
|
|
279
|
+
# Admin credentials
|
|
280
|
+
curl "https://skills.animotion.click/cdn/agentic/opencode?adminEmail=admin@company.com&adminSecret=sec_9f8e7d6c5b4a3210"
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
```javascript
|
|
284
|
+
const response = await fetch('https://skills.animotion.click/cdn/agentic/claude?license=YOUR_KEY', {
|
|
285
|
+
headers: { 'X-License-Key': 'am_abc123def456ghi789jkl012mno345' }
|
|
286
|
+
});
|
|
287
|
+
const skill = await response.text();
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
```python
|
|
291
|
+
import requests
|
|
292
|
+
|
|
293
|
+
headers = {'X-License-Key': 'am_abc123def456ghi789jkl012mno345'}
|
|
294
|
+
skill = requests.get('https://skills.animotion.click/cdn/agentic/copilot?license=YOUR_KEY',
|
|
295
|
+
headers=headers).text
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
```powershell
|
|
299
|
+
$headers = @{ "X-License-Key" = "am_abc123def456ghi789jkl012mno345" }
|
|
300
|
+
$skill = Invoke-WebRequest -Uri "https://skills.animotion.click/cdn/agentic/copilot?license=YOUR_KEY" -Headers $headers
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
```bash
|
|
304
|
+
# Documentation
|
|
305
|
+
curl https://skills.animotion.click/cdn/docs/IMPERATIVE-API
|
|
306
|
+
curl https://skills.animotion.click/cdn/docs/DECLARATIVE-ATTRIBUTES
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
### Script loader
|
|
310
|
+
|
|
311
|
+
```html
|
|
312
|
+
<script src="https://skills.animotion.click/load/agentic/copilot.js?license=YOUR_KEY"></script>
|
|
313
|
+
<script>
|
|
314
|
+
document.addEventListener('animotion-skill-loaded', function (e) {
|
|
315
|
+
console.log(e.detail.tier, e.detail.agent, e.detail.content);
|
|
316
|
+
});
|
|
317
|
+
</script>
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
### JSONP (legacy platforms)
|
|
321
|
+
|
|
322
|
+
```html
|
|
323
|
+
<script>
|
|
324
|
+
function handleSkill(data) { console.log(data.content); }
|
|
325
|
+
</script>
|
|
326
|
+
<script src="https://skills.animotion.click/embed/skill?agent=copilot&tier=agentic&license=YOUR_KEY&callback=handleSkill"></script>
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
### Raw text and embed widget
|
|
330
|
+
|
|
331
|
+
```
|
|
332
|
+
https://skills.animotion.click/raw/agentic/copilot?license=YOUR_KEY
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
```html
|
|
336
|
+
<iframe src="https://skills.animotion.click/widget/copilot?tier=agentic&license=YOUR_KEY"
|
|
337
|
+
width="100%" height="400" frameborder="0"></iframe>
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
### Programmatic API (Node)
|
|
341
|
+
|
|
342
|
+
```javascript
|
|
343
|
+
const { AnimotionSkills } = require('animotion-skills');
|
|
344
|
+
|
|
345
|
+
const skills = new AnimotionSkills('YOUR_LICENSE_KEY');
|
|
346
|
+
// or: new AnimotionSkills({ adminEmail: 'you@email.com', adminSecret: 'SECRET' })
|
|
347
|
+
|
|
348
|
+
const skill = await skills.getSkill('agentic', 'copilot');
|
|
349
|
+
console.log(skill.content);
|
|
350
|
+
|
|
351
|
+
const docs = await skills.getDocumentation('IMPERATIVE-API');
|
|
352
|
+
const agents = await skills.listAgents();
|
|
353
|
+
```
|
|
354
|
+
|
|
355
|
+
## No-code platforms
|
|
356
|
+
|
|
357
|
+
Every snippet is the same call — the skill is just fetched and stored. The
|
|
358
|
+
`?license=YOUR_KEY` parameter is mandatory.
|
|
359
|
+
|
|
360
|
+
### Webflow
|
|
361
|
+
|
|
362
|
+
**Site Settings → Custom Code → Head Code** (site-wide) or an **Embed** element
|
|
363
|
+
(page-specific):
|
|
364
|
+
|
|
365
|
+
```html
|
|
366
|
+
<script>
|
|
367
|
+
fetch('https://skills.animotion.click/cdn/agentic/copilot?license=YOUR_KEY')
|
|
368
|
+
.then(r => r.text())
|
|
369
|
+
.then(skill => { window.animotionSkill = skill; });
|
|
370
|
+
</script>
|
|
371
|
+
```
|
|
372
|
+
|
|
373
|
+
### Wix
|
|
374
|
+
|
|
375
|
+
Velo **Code Panel** (or a Custom Element):
|
|
376
|
+
|
|
377
|
+
```javascript
|
|
378
|
+
import wixFetch from 'wix-fetch';
|
|
379
|
+
|
|
380
|
+
$w.onReady(function () {
|
|
381
|
+
wixFetch.fetch('https://skills.animotion.click/cdn/agentic/opencode?license=YOUR_KEY')
|
|
382
|
+
.then(response => response.text())
|
|
383
|
+
.then(skill => { window.animotionSkill = skill; });
|
|
384
|
+
});
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
### Squarespace
|
|
388
|
+
|
|
389
|
+
**Settings → Advanced → Code Injection** (Header/Footer), or a Markdown block
|
|
390
|
+
in code view:
|
|
391
|
+
|
|
392
|
+
```html
|
|
393
|
+
<script>
|
|
394
|
+
fetch('https://skills.animotion.click/cdn/agentic/copilot?license=YOUR_KEY')
|
|
395
|
+
.then(r => r.text())
|
|
396
|
+
.then(skill => { window.animotionSkill = skill; });
|
|
397
|
+
</script>
|
|
398
|
+
```
|
|
399
|
+
|
|
400
|
+
### Framer
|
|
401
|
+
|
|
402
|
+
Add a **Code Component**:
|
|
403
|
+
|
|
404
|
+
```jsx
|
|
405
|
+
import { useEffect, useState } from "react";
|
|
406
|
+
|
|
407
|
+
export default function AnimotionSkill() {
|
|
408
|
+
const [skill, setSkill] = useState(null);
|
|
409
|
+
|
|
410
|
+
useEffect(() => {
|
|
411
|
+
fetch("https://skills.animotion.click/cdn/agentic/opencode?license=YOUR_KEY")
|
|
412
|
+
.then(r => r.text())
|
|
413
|
+
.then(setSkill);
|
|
414
|
+
}, []);
|
|
415
|
+
|
|
416
|
+
return <div style={{ display: "none" }}>{skill}</div>;
|
|
417
|
+
}
|
|
418
|
+
```
|
|
419
|
+
|
|
420
|
+
### Shopify
|
|
421
|
+
|
|
422
|
+
**Online Store → Themes → Edit Code → `theme.liquid`**, before `</head>` (or a
|
|
423
|
+
custom Liquid section):
|
|
424
|
+
|
|
425
|
+
```html
|
|
426
|
+
<script>
|
|
427
|
+
fetch('https://skills.animotion.click/cdn/agentic/copilot?license=YOUR_KEY')
|
|
428
|
+
.then(r => r.text())
|
|
429
|
+
.then(skill => { window.animotionSkill = skill; });
|
|
430
|
+
</script>
|
|
431
|
+
```
|
|
432
|
+
|
|
433
|
+
### WordPress
|
|
434
|
+
|
|
435
|
+
`functions.php` hooked into `wp_head`, or a **Code Snippets** plugin:
|
|
436
|
+
|
|
437
|
+
```php
|
|
438
|
+
function load_animotion_skill() {
|
|
439
|
+
?>
|
|
440
|
+
<script>
|
|
441
|
+
fetch('https://skills.animotion.click/cdn/agentic/copilot?license=YOUR_KEY')
|
|
442
|
+
.then(r => r.text())
|
|
443
|
+
.then(skill => { window.animotionSkill = skill; });
|
|
444
|
+
</script>
|
|
445
|
+
<?php
|
|
446
|
+
}
|
|
447
|
+
add_action('wp_head', 'load_animotion_skill');
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
### Notion
|
|
451
|
+
|
|
452
|
+
A Callout block converted to **Code → HTML**, or `/embed` with the skill URL:
|
|
453
|
+
|
|
454
|
+
```html
|
|
455
|
+
<script>
|
|
456
|
+
fetch('https://skills.animotion.click/cdn/agentic/opencode?license=YOUR_KEY')
|
|
457
|
+
.then(r => r.text())
|
|
458
|
+
.then(skill => { window.animotionSkill = skill; });
|
|
459
|
+
</script>
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
### Airtable
|
|
463
|
+
|
|
464
|
+
**Scripting** extension:
|
|
465
|
+
|
|
466
|
+
```javascript
|
|
467
|
+
let response = await fetch('https://skills.animotion.click/cdn/agentic/copilot?license=YOUR_KEY');
|
|
468
|
+
let skill = await response.text();
|
|
469
|
+
output.text('Agentic skill loaded: ' + skill.substring(0, 200) + '...');
|
|
470
|
+
```
|
|
471
|
+
|
|
472
|
+
### Zapier / Make / n8n
|
|
473
|
+
|
|
474
|
+
Webhook / HTTP Request, method `GET`:
|
|
475
|
+
|
|
476
|
+
```
|
|
477
|
+
https://skills.animotion.click/cdn/agentic/copilot?license=YOUR_KEY
|
|
478
|
+
X-License-Key: YOUR_LICENSE_KEY
|
|
479
|
+
```
|
|
480
|
+
|
|
481
|
+
- **Zapier:** *Webhooks by Zapier → Catch Hook*, then *Code by Zapier → Run
|
|
482
|
+
JavaScript* with `return { skill: await (await fetch(url)).text() };`
|
|
483
|
+
- **Make:** *HTTP → Make a request*, GET, the URL above
|
|
484
|
+
- **n8n:** *HTTP Request* node, GET, the URL above
|
|
485
|
+
|
|
486
|
+
## Agent install locations
|
|
487
|
+
|
|
488
|
+
The installer writes these automatically (`--agent=<name>`); the paths are here
|
|
489
|
+
for manual setup. The installed file is always downloaded from
|
|
490
|
+
`/cdn/agentic/<agent>?license=YOUR_KEY`.
|
|
491
|
+
|
|
492
|
+
| Agent | Directory | File |
|
|
493
|
+
|-------|-----------|------|
|
|
494
|
+
| GitHub Copilot | `~/.copilot/skills/animotion/` | `SKILL.md` |
|
|
495
|
+
| Cursor | `~/.cursor/skills/rules/` | `animotion.mdc` |
|
|
496
|
+
| Claude Code | `~/.claude/skills/animotion/` | `SKILL.md` |
|
|
497
|
+
| OpenCode | `~/.opencode/skills/animotion/` | `SKILL.md` |
|
|
498
|
+
| Windsurf (Codeium) | `~/.codeium/windsurf/skills/animotion/` | `skill.md` |
|
|
499
|
+
| Cody (Sourcegraph) | `~/.cody/skills/animotion/` | `SKILL.md` |
|
|
500
|
+
| Codium | `~/.codium/skills/animotion/` | `skill.md` |
|
|
501
|
+
| Aider | `~/.aider/skills/` | `CONVENTIONS.md` (no YAML frontmatter) |
|
|
502
|
+
| Continue | `~/.continue/skills/rules/` | `animotion.md` |
|
|
503
|
+
|
|
504
|
+
Every directory also receives `animotion-validator.js` (license check),
|
|
505
|
+
`animotion-config.json` (license key / admin credentials) and a `docs/` copy.
|
|
506
|
+
Run `npx animotion-skills install --list` for the remaining agents
|
|
507
|
+
(`amazonq`, `augment`, `cline`, `codex`, `jetbrains`, `roo`, …).
|
|
508
|
+
|
|
509
|
+
## Troubleshooting
|
|
510
|
+
|
|
511
|
+
| Issue | Fix |
|
|
512
|
+
|-------|-----|
|
|
513
|
+
| `401` from `/cdn/agentic/...` or `/cdn/studio/...` | Both tier names need a **Studio** ($25/mo) key — Pro keys are rejected |
|
|
514
|
+
| `401`/`403` on `/cdn/library/<kind>/<id>` | Optional content library — send `?license=` or `X-License-Key`; the skill itself never needs it |
|
|
515
|
+
| `401` on any other skill endpoint | Send `X-License-Key` / `?license=`, admin credentials, or a bearer session token; also check the agent name is lowercase |
|
|
516
|
+
| `403` on any endpoint | License expired or wrong plan — check the subscription at https://skills.animotion.click/checkout?plan=template, or delete `animotion-config.json` and reinstall |
|
|
517
|
+
| License validation fails | Internet required, key must match the active subscription; clear the cached `animotion-config.json` and reinstall |
|
|
518
|
+
| Skill not found in agent | Re-run install with `--force`, confirm the agent name via `--list` |
|
|
519
|
+
| Agent ignores the skill | Activate with `/animotion-agentic` at the start of your request |
|
|
520
|
+
| Agent writes GSAP/CSS animations instead | Re-activate and insist on AnimotionJS only — the skill's non-negotiable |
|
|
521
|
+
| Agent guesses a design it can't see | It skipped reading the source — point it at the link/video again, or say "match it exactly" |
|
|
522
|
+
| Animations blocked on license | Pass the key: `Animotion.init({ licenseKey: 'YOUR_KEY' })` |
|
|
523
|
+
| Plugin import fails | Core first, then `https://skills.animotion.click/cdn/plugins/<slug>` (`?license=` for pro plugins) |
|
|
524
|
+
| npm install fails | Node.js 18+, `npm cache clean --force`, run as admin on Windows / `sudo` on macOS-Linux |
|
|
525
|
+
| CORS errors on a no-code platform | Use the [JSONP](#jsonp-legacy-platforms) callback or the [script loader](#script-loader) instead of `fetch()` |
|
|
526
|
+
|
|
527
|
+
## Support
|
|
528
|
+
|
|
529
|
+
- **Docs:** https://animotion.click/docs
|
|
530
|
+
- **Pricing / checkout:** https://skills.animotion.click/checkout?plan=template
|
|
531
|
+
- **Issues:** https://github.com/animotion/animotionjs/issues
|
|
532
|
+
- **Email:** support@animotion.click
|
|
533
|
+
|
|
534
|
+
## See also
|
|
535
|
+
|
|
536
|
+
- [Imperative API](IMPERATIVE-API.md) / [Declarative Attributes](DECLARATIVE-ATTRIBUTES.md) — the underlying references
|
|
537
|
+
- [Pricing](../README.md#pricing--stripe-checkout) — get a Studio key
|