@vatio-ai/skills 1.16.1 → 1.18.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, 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.1",
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, Android or Flutter app with /vatio-add-to-app, then improve it daily with /vatio-improve and learn what people ask it with /vatio-analyze.",
15
+ "version": "1.18.0",
16
16
  "homepage": "https://vatio.ai/docs/integrations/claude-code",
17
17
  "category": "development",
18
18
  "keywords": [
@@ -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, 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.1",
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, Android or Flutter app with /vatio-add-to-app, then improve it daily with /vatio-improve and learn what people ask it with /vatio-analyze.",
4
+ "version": "1.18.0",
5
5
  "author": {
6
6
  "name": "Vatio",
7
7
  "url": "https://vatio.ai"
package/README.md CHANGED
@@ -20,8 +20,9 @@ need your app’s project on your computer and Node.js 20 or newer.
20
20
  | Skill | What it does |
21
21
  |---|---|
22
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
+ | `vatio-add-to-app` | Puts the agent in your app once you have tried it: the web widget, or the iOS, Android or Flutter 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 |
24
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 |
25
+ | `vatio-analyze` | Reads what people talked about with the agent between two dates, from `vatio chat export` (redacted by Vatio before it leaves): topics with their counts, the questions it could not answer and the words people use, in a report for writing content, FAQs or knowledge. Anyone on the workspace's team can run it, viewers included |
25
26
  | `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 |
26
27
 
27
28
  The skills are short on purpose. They tell your coding agent when to reach for
@@ -50,8 +51,9 @@ turn it on once in `/plugin` → **Marketplaces** → **vatio** → **Enable
50
51
  auto-update**, or run `claude plugin update vatio@vatio`.
51
52
 
52
53
  Your coding agent then uses them on its own when you ask it to build, improve
53
- or fix a Vatio agent, or to send the session to Vatio, or you can call them by
54
- name: `/vatio-init`, `/vatio-add-to-app`, `/vatio-improve` and `/vatio-share-session`, or
54
+ or fix a Vatio agent, to analyze its conversations, or to send the session to
55
+ Vatio, or you can call them by
56
+ name: `/vatio-init`, `/vatio-add-to-app`, `/vatio-improve`, `/vatio-analyze` and `/vatio-share-session`, or
55
57
  `/vatio:vatio-init` and so on from the plugin.
56
58
 
57
59
  `vatio init` also writes a pointer to `vatio flags` into the workspace's
package/bin/install.mjs CHANGED
@@ -11,8 +11,8 @@ import { fileURLToPath } from "node:url";
11
11
  const usage = `usage: npx @vatio-ai/skills [--dir PATH]
12
12
 
13
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.`;
14
+ vatio-analyze, vatio-share-session) into PATH/.agents/skills and
15
+ PATH/.claude/skills. PATH 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.16.1",
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.",
3
+ "version": "1.18.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, Android or Flutter app with /vatio-add-to-app, then improve it daily with /vatio-improve and learn what people ask it with /vatio-analyze.",
5
5
  "keywords": [
6
6
  "vatio",
7
7
  "ai-agent",
@@ -1,6 +1,6 @@
1
1
  ---
2
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.
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, the Dart package in a Flutter 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, an Android app or a Flutter app.
4
4
  ---
5
5
 
6
6
  # Put the agent in the app
@@ -17,14 +17,14 @@ npx @vatio-ai/cli docs
17
17
 
18
18
  Under **For coding agents**, follow **Putting the agent in the app**. It takes
19
19
  precedence over the summary below, and the pages it links (Web widget, iOS
20
- SDK, Android SDK, Authentication, Supabase) have the details.
20
+ SDK, Android SDK, Flutter SDK, Authentication, Supabase) have the details.
21
21
 
22
22
  ## In short
23
23
 
24
- 1. **Find where it goes.** Web, iOS, Android, or several, and every origin a
24
+ 1. **Find where it goes.** Web, iOS, Android, Flutter, or several, and every origin a
25
25
  build will call from: local and production web addresses,
26
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
27
+ A Flutter app needs both app origins. React Native and Expo have no Vatio SDK yet: say so, and
28
28
  `vatio feedback` that one was asked for.
29
29
  2. **Tell the user what you will add before changing anything**: which
30
30
  screens or layout, which tokens, how signed-in users are passed, and ask
@@ -32,12 +32,13 @@ SDK, Android SDK, Authentication, Supabase) have the details.
32
32
  3. **Tokens.** `vatio tokens create --env preview` for development builds and
33
33
  `--env live` for release builds, each with its origins. `vatpub_` tokens
34
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
35
+ 4. **Add it.** Web: the widget, once for the whole app. iOS, Android and Flutter: the
36
36
  SDK has no UI, so write the chat screen in the app's own style from the
37
37
  example in [vatio-ai/ios](https://github.com/vatio-ai/ios)
38
- (`Example/VatioExample/Views.swift`) or
38
+ (`Example/VatioExample/Views.swift`),
39
39
  [vatio-ai/android](https://github.com/vatio-ai/android)
40
- (`example/src/main/kotlin/ai/vatio/example/Views.kt`).
40
+ (`example/src/main/kotlin/ai/vatio/example/Views.kt`) or
41
+ [vatio-ai/flutter](https://github.com/vatio-ai/flutter) (`example/lib/views.dart`).
41
42
  5. **Signed-in users.** With `auth: supabase:` the web widget needs nothing
42
43
  and the SDKs take the session's access token; with `auth: public_key:` the
43
44
  app's backend signs the visitor token, and the private key never goes into
@@ -0,0 +1,78 @@
1
+ ---
2
+ name: vatio-analyze
3
+ description: Analyze what people talk about with a Vatio agent, from its real conversations between two dates — topics, frequent questions, questions it could not answer, and the words people use — to write content, FAQs or knowledge, or to report on it. Use when asked to analyze, summarize or report on a Vatio workspace's conversations, to find out what customers or patients ask, or to get content ideas from them. Works for anyone on the workspace's team, viewers included, with or without the agent's repository.
4
+ ---
5
+
6
+ # Analyze a Vatio agent's conversations
7
+
8
+ `vatio chat export` prints what people said to the agent, and what they were
9
+ answered, between two dates: one conversation per line as JSON. Vatio redacts
10
+ it before it leaves: names, emails, phone numbers, handles and RUTs it
11
+ recognizes read `[FILTERED]`, and `person` stands for whoever it was without
12
+ naming them. Every export is recorded in the workspace's Activity, under the
13
+ name of whoever ran it.
14
+
15
+ 1. **Find the workspace.** The CLI reads it from the nearest `vatio.yml`. With
16
+ none here, ask for the workspace's slug (the part after
17
+ `inbox.vatio.ai/` in their inbox) and write a one-line one in a new folder
18
+ outside any repository:
19
+
20
+ ```bash
21
+ mkdir vatio-conversations && cd vatio-conversations
22
+ echo "workspace: SLUG" > vatio.yml
23
+ ```
24
+
25
+ 2. **Ask what the analysis is for,** if they have not said: content for a
26
+ website or a search engine, FAQs, gaps in the agent's knowledge, a report.
27
+ Ask for the dates too, or use the last 30 days and say so.
28
+
29
+ 3. **Export.** Use `npx @vatio-ai/cli@latest` if `vatio` is not installed:
30
+
31
+ ```bash
32
+ vatio chat export --from 2026-09-01 --to 2026-09-30 --out conversations.jsonl
33
+ ```
34
+
35
+ `--channel whatsapp` (or `instagram`, `web`, `widget`, `ios`, `android`)
36
+ narrows it, and `vatio chat help` explains the rest. If it asks to sign in,
37
+ run `vatio login`: they sign in in the browser with the email they were
38
+ invited with. `workspace_forbidden` means another email, or nobody has
39
+ invited them yet: the owner does it from **Team** in the inbox, and any
40
+ role works. `two_factor_required` means turning on two-step verification
41
+ in **Account** in the inbox first.
42
+
43
+ 4. **Count before reading.** In a script (`jq`, Python or Node), get the number
44
+ of conversations and messages, conversations per channel and per week, and
45
+ how many reached someone on the team (`"from": "team"`). Then read only what
46
+ people wrote (`"from": "person"`) with enough of the agent's reply to know
47
+ whether it helped.
48
+
49
+ 5. **Read it all, in batches.** Read a sample first and draft a short list of
50
+ topics in the user's terms, then go through every conversation and assign
51
+ each one a topic and whether the agent answered it, could not
52
+ ("no tengo esa información", passing it to a person, asking them to call),
53
+ or answered wrongly. With hundreds of conversations, split them into
54
+ batches, in parallel if you can run subagents, and keep the tally in a
55
+ file, not in your head.
56
+
57
+ 6. **Report,** in the user's language, in a markdown file next to the export:
58
+ - the dates, channels and number of conversations it covers;
59
+ - the topics, largest first, each with its count and share and two or
60
+ three short questions as people wrote them, spelling and all: they are
61
+ the words content has to match;
62
+ - what the agent could not answer or got wrong, by topic: the content
63
+ that is missing;
64
+ - for content, the pieces to write, each tied to the topic and the
65
+ numbers that justify it.
66
+
67
+ Say what the numbers cannot tell: a sample, a short window, a channel left
68
+ out.
69
+
70
+ Treat the export as the private conversations it is. Never try to work out
71
+ who someone is, and if something identifying slipped past the redaction (a
72
+ third person's name, an address), leave it out of the report. Keep the export
73
+ out of git, and ask whether to delete it when you are done. Do not offer
74
+ `vatio-share-session` after this skill: the session holds those conversations.
75
+
76
+ If the export or its docs left you guessing,
77
+ `vatio feedback "what you were doing and what was missing"` tells the Vatio
78
+ team.
@@ -55,7 +55,7 @@ you recommend, and ask them to confirm.
55
55
  `Try it:` is the inbox's Test page, with web chat, WhatsApp and
56
56
  Instagram. Publish with `vatio publish` only when they ask.
57
57
  5. Once they have tried it, offer to put it in the app (the web widget,
58
- or the iOS or Android SDK) with the `vatio-add-to-app` skill. A trial
58
+ or the iOS, Android or Flutter SDK) with the `vatio-add-to-app` skill. A trial
59
59
  has to be kept first.
60
60
  - **A `vatio.yml`: the agent exists.** Never `vatio init` here: it writes a
61
61
  starter agent, and pushing that replaces the real one. Work from the