@vatio-ai/skills 1.14.2 → 1.16.0

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.
@@ -11,8 +11,8 @@
11
11
  {
12
12
  "name": "vatio",
13
13
  "source": "./",
14
- "description": "Vatio skills for Claude Code, Cursor and Codex: add an AI agent to the app you're building with /vatio-init, then improve it daily with /vatio-improve.",
15
- "version": "1.14.2",
14
+ "description": "Vatio skills for Claude Code, Cursor and Codex: add an AI agent to the app you're building with /vatio-init, put it in your web, iOS or Android app with /vatio-add-to-app, then improve it daily with /vatio-improve.",
15
+ "version": "1.16.0",
16
16
  "homepage": "https://vatio.ai/docs/integrations/claude-code",
17
17
  "category": "development",
18
18
  "keywords": [
@@ -27,6 +27,9 @@
27
27
  "codex",
28
28
  "whatsapp",
29
29
  "supabase",
30
+ "ios",
31
+ "android",
32
+ "chat-widget",
30
33
  "agent-skills"
31
34
  ]
32
35
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vatio",
3
- "description": "Vatio skills for Claude Code, Cursor and Codex: add an AI agent to the app you're building with /vatio-init, then improve it daily with /vatio-improve.",
4
- "version": "1.14.2",
3
+ "description": "Vatio skills for Claude Code, Cursor and Codex: add an AI agent to the app you're building with /vatio-init, put it in your web, iOS or Android app with /vatio-add-to-app, then improve it daily with /vatio-improve.",
4
+ "version": "1.16.0",
5
5
  "author": {
6
6
  "name": "Vatio",
7
7
  "url": "https://vatio.ai"
@@ -21,6 +21,9 @@
21
21
  "codex",
22
22
  "whatsapp",
23
23
  "supabase",
24
+ "ios",
25
+ "android",
26
+ "chat-widget",
24
27
  "agent-skills"
25
28
  ]
26
29
  }
package/README.md CHANGED
@@ -19,9 +19,10 @@ need your app’s project on your computer and Node.js 20 or newer.
19
19
 
20
20
  | Skill | What it does |
21
21
  |---|---|
22
- | `vatio-init` | The first one in a project: looks at what is already there (a `vatio.yml` anywhere in the repository, the app's code) and recommends from it. With no agent yet, builds one: asks the owner what the code does not answer, writes `vatio.yml`, pushes it and hands over a link to try. With one, gets a developer who joined the project up to speed |
22
+ | `vatio-init` | The first one in a project: looks at what is already there (a `vatio.yml` anywhere in the repository, the app's code) and recommends from it. With no agent yet, builds one: asks the owner what the code does not answer, writes `vatio.yml`, pushes it (with no account, as a trial) and hands over a link to try it and one to keep it. With one, gets a developer who joined the project up to speed |
23
+ | `vatio-add-to-app` | Puts the agent in your app once you have tried it: the web widget, or the iOS or Android SDK with a chat screen in your app's style, a publishable token for development and one for release, and your signed-in users passed along |
23
24
  | `vatio-improve` | Takes every reply your supervisors reported in the inbox in one session: reads `vatio flags`, fixes each cause, `vatio push`, proves it with `vatio test` (on Vatio's servers, in the background) and publishes with `vatio publish` after your approval |
24
- | `vatio-share-session` | Sends the coding session to the Vatio team when you ask it to, or offers to when the other two finish (send it, not now, or don't ask again), after showing you what goes (images left out, anything that looks like a secret redacted), with your feedback if you want to add some |
25
+ | `vatio-share-session` | Sends the coding session to the Vatio team when you ask it to, or offers to when the others finish (send it, not now, or don't ask again), after showing you what goes (images left out, anything that looks like a secret redacted), with your feedback if you want to add some |
25
26
 
26
27
  The skills are short on purpose. They tell your coding agent when to reach for
27
28
  the Vatio CLI; the instructions themselves come from the platform when it runs
@@ -50,7 +51,7 @@ auto-update**, or run `claude plugin update vatio@vatio`.
50
51
 
51
52
  Your coding agent then uses them on its own when you ask it to build, improve
52
53
  or fix a Vatio agent, or to send the session to Vatio, or you can call them by
53
- name: `/vatio-init`, `/vatio-improve` and `/vatio-share-session`, or
54
+ name: `/vatio-init`, `/vatio-add-to-app`, `/vatio-improve` and `/vatio-share-session`, or
54
55
  `/vatio:vatio-init` and so on from the plugin.
55
56
 
56
57
  `vatio init` also writes a pointer to `vatio flags` into the workspace's
package/bin/install.mjs CHANGED
@@ -10,9 +10,9 @@ import { fileURLToPath } from "node:url";
10
10
 
11
11
  const usage = `usage: npx @vatio-ai/skills [--dir PATH]
12
12
 
13
- Copies the Vatio skills (vatio-init, vatio-improve, vatio-share-session) into
14
- PATH/.agents/skills and PATH/.claude/skills. PATH defaults to the current
15
- directory.`;
13
+ Copies the Vatio skills (vatio-init, vatio-add-to-app, vatio-improve,
14
+ vatio-share-session) into PATH/.agents/skills and PATH/.claude/skills. PATH
15
+ defaults to the current directory.`;
16
16
 
17
17
  const args = process.argv.slice(2);
18
18
  let root = process.cwd();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vatio-ai/skills",
3
- "version": "1.14.2",
4
- "description": "Vatio skills for Claude Code, Cursor and Codex: add an AI agent to the app you're building with /vatio-init, then improve it daily with /vatio-improve.",
3
+ "version": "1.16.0",
4
+ "description": "Vatio skills for Claude Code, Cursor and Codex: add an AI agent to the app you're building with /vatio-init, put it in your web, iOS or Android app with /vatio-add-to-app, then improve it daily with /vatio-improve.",
5
5
  "keywords": [
6
6
  "vatio",
7
7
  "ai-agent",
@@ -14,6 +14,9 @@
14
14
  "codex",
15
15
  "whatsapp",
16
16
  "supabase",
17
+ "ios",
18
+ "android",
19
+ "chat-widget",
17
20
  "agent-skills",
18
21
  "skills"
19
22
  ],
@@ -0,0 +1,57 @@
1
+ ---
2
+ name: vatio-add-to-app
3
+ description: Puts a Vatio agent where the app's users talk to it — the web widget in a web app, the Swift package in an iOS app, the Kotlin library in an Android app — with a publishable token per environment, the signed-in user passed along, and, on mobile, a chat screen in the app's own style. Use after vatio-init, or when asked to add the agent, the chat, the widget or the Vatio SDK to a website, a web app, an iPhone/iOS app or an Android app.
4
+ ---
5
+
6
+ # Put the agent in the app
7
+
8
+ The agent already exists: a `vatio.yml` in this repository, pushed at least
9
+ once. If there is none, use the `vatio-init` skill first.
10
+
11
+ Vatio keeps the procedure on the platform, so it is never out of date here.
12
+ Read it first:
13
+
14
+ ```bash
15
+ npx @vatio-ai/cli docs
16
+ ```
17
+
18
+ Under **For coding agents**, follow **Putting the agent in the app**. It takes
19
+ precedence over the summary below, and the pages it links (Web widget, iOS
20
+ SDK, Android SDK, Authentication, Supabase) have the details.
21
+
22
+ ## In short
23
+
24
+ 1. **Find where it goes.** Web, iOS, Android, or several, and every origin a
25
+ build will call from: local and production web addresses,
26
+ `ios-app://BUNDLE_ID`, `android-app://APPLICATION_ID` (debug ids count).
27
+ React Native, Expo and Flutter have no Vatio SDK yet: say so, and
28
+ `vatio feedback` that one was asked for.
29
+ 2. **Tell the user what you will add before changing anything**: which
30
+ screens or layout, which tokens, how signed-in users are passed, and ask
31
+ them to confirm.
32
+ 3. **Tokens.** `vatio tokens create --env preview` for development builds and
33
+ `--env live` for release builds, each with its origins. `vatpub_` tokens
34
+ ship in the app's configuration; a `vat_` token never does.
35
+ 4. **Add it.** Web: the widget, once for the whole app. iOS and Android: the
36
+ SDK has no UI, so write the chat screen in the app's own style from the
37
+ example in [vatio-ai/ios](https://github.com/vatio-ai/ios)
38
+ (`Example/VatioExample/Views.swift`) or
39
+ [vatio-ai/android](https://github.com/vatio-ai/android)
40
+ (`example/src/main/kotlin/ai/vatio/example/Views.kt`).
41
+ 5. **Signed-in users.** With `auth: supabase:` the web widget needs nothing
42
+ and the SDKs take the session's access token; with `auth: public_key:` the
43
+ app's backend signs the visitor token, and the private key never goes into
44
+ the app.
45
+ 6. **Try it in a development build**, signed out and signed in, then say what
46
+ you added and where each token lives. Release builds answer once the agent
47
+ is published: `vatio publish` only when they ask.
48
+
49
+ ## Before you finish
50
+
51
+ If an error or the docs left you guessing, say so:
52
+ `vatio feedback "what you were doing and what was missing"`. Then, in Claude
53
+ Code, offer to send this session to the Vatio team, as the
54
+ `vatio-share-session` skill says; if `vatio share-session --should-ask` prints
55
+ `no`, say nothing.
56
+
57
+ `vatio` is `npx @vatio-ai/cli` when it is not installed globally.
@@ -26,8 +26,8 @@ contract for `vatio.yml`, tools, knowledge and the CLI.
26
26
  - **The app.** What the project does and for whom; the API an agent could
27
27
  call (routes, controllers, an OpenAPI file); how its users sign in; and the
28
28
  docs, FAQs or policies an agent could read as knowledge.
29
- - **This machine.** `vatio doctor`: whether it is signed in, and which
30
- workspace this directory resolves to.
29
+ - **This machine.** `vatio doctor`: whether it is signed in, which
30
+ workspace this directory resolves to, and whether it pushed to a trial.
31
31
 
32
32
  ## 2. Say what you found, and recommend
33
33
 
@@ -45,9 +45,17 @@ you recommend, and ask them to confirm.
45
45
  `vatio.yml` (and `tools/` for their APIs).
46
46
  3. `vatio diff`, `vatio push`, then try it with `vatio chat`, including a
47
47
  conversation that should hand off.
48
- 4. Give them the link `vatio push` prints after `Try it:` (the inbox's
49
- Test page, with web chat, WhatsApp and Instagram) with what you
50
- tried. Publish with `vatio publish` only when they ask.
48
+ 4. Give them what `vatio push` printed, with what you tried. With no
49
+ account on this machine, the first push deploys a trial preview and
50
+ prints a **Try it** link and a **Keep it** link: give them both. Try it
51
+ is a web chat anyone with the link can use; Keep it is where they sign
52
+ in (email, Google or GitHub) and keep the agent, which publishing,
53
+ secrets and tokens wait for. Never open Keep it yourself. Signed in,
54
+ `Try it:` is the inbox's Test page, with web chat, WhatsApp and
55
+ Instagram. Publish with `vatio publish` only when they ask.
56
+ 5. Once they have tried it, offer to put it in the app (the web widget,
57
+ or the iOS or Android SDK) with the `vatio-add-to-app` skill. A trial
58
+ has to be kept first.
51
59
  - **A `vatio.yml`: the agent exists.** Never `vatio init` here: it writes a
52
60
  starter agent, and pushing that replaces the real one. Work from the
53
61
  directory of the `vatio.yml` and follow **Joining an existing workspace**:
@@ -72,9 +80,11 @@ you recommend, and ask them to confirm.
72
80
  the `vatio-share-session` skill says. It starts with
73
81
  `vatio share-session --should-ask`: if that prints `no`, say nothing.
74
82
 
75
- `vatio` is `npx @vatio-ai/cli` when it is not installed globally. The first
76
- `vatio push` (or `vatio login`) signs the developer in: it opens the browser
77
- on their machine (if it doesn't, give them the link it prints). Tell them to
78
- sign in with email, Google or GitHub and check that the code on the page
79
- matches the one the terminal printed. If the command times out waiting, run
80
- it again after they have signed in: it picks up the same sign-in page.
83
+ `vatio` is `npx @vatio-ai/cli` when it is not installed globally. Nothing
84
+ asks for an account until they keep the trial (or you run `vatio login`).
85
+ Once they have kept it, the next `vatio` command signs this terminal in: it
86
+ opens the browser on their machine (if it doesn't, give them the link it
87
+ prints). Tell them to sign in with the account that kept it and check that
88
+ the code on the page matches the one the terminal printed. If the command
89
+ times out waiting, run it again after they have signed in: it picks up the
90
+ same sign-in page.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: vatio-share-session
3
3
  allowed-tools: AskUserQuestion
4
- description: Send this coding session to the Vatio team, so they can see where building or improving a Vatio agent got stuck. Use when the user asks to share, send or report this session (or "the conversation", "what we did") to Vatio, when the Vatio team asked them for it, when Vatio itself got in the way and they want the team to see exactly how, or when vatio-init or vatio-improve finish and say to offer it.
4
+ description: Send this coding session to the Vatio team, so they can see where building or improving a Vatio agent got stuck. Use when the user asks to share, send or report this session (or "the conversation", "what we did") to Vatio, when the Vatio team asked them for it, when Vatio itself got in the way and they want the team to see exactly how, or when vatio-init, vatio-add-to-app or vatio-improve finish and say to offer it.
5
5
  ---
6
6
 
7
7
  # Send this session to the Vatio team
@@ -15,7 +15,7 @@ to see where Vatio got in the way and fix it; every read is logged, and it is
15
15
  deleted 30 days after it arrives (sooner on request to dpo@vatio.ai).
16
16
 
17
17
  It is sent in one of two ways: the user asked for it, or you offer it because
18
- `vatio-init` or `vatio-improve` just finished.
18
+ `vatio-init`, `vatio-add-to-app` or `vatio-improve` just finished.
19
19
 
20
20
  1. **Only when you are offering it**, ask the CLI first:
21
21