@vatio-ai/skills 1.18.0 → 1.20.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.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +1 -1
- package/package.json +1 -1
- package/skills/vatio-add-to-app/SKILL.md +12 -1
- package/skills/vatio-improve/SKILL.md +10 -0
- package/skills/vatio-init/SKILL.md +37 -20
- package/skills/vatio-share-session/SKILL.md +4 -1
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"name": "vatio",
|
|
13
13
|
"source": "./",
|
|
14
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.
|
|
15
|
+
"version": "1.20.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
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.
|
|
4
|
+
"version": "1.20.0",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Vatio",
|
|
7
7
|
"url": "https://vatio.ai"
|
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ 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
|
|
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 |
|
|
23
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
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 |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vatio-ai/skills",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.0",
|
|
4
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",
|
|
@@ -30,7 +30,8 @@ SDK, Android SDK, Flutter SDK, Authentication, Supabase) have the details.
|
|
|
30
30
|
screens or layout, which tokens, how signed-in users are passed, and ask
|
|
31
31
|
them to confirm.
|
|
32
32
|
3. **Tokens.** `vatio tokens create --env preview` for development builds and
|
|
33
|
-
`--env live` for release builds, each with its origins
|
|
33
|
+
`--env live` for release builds, each with its origins (`--json` when the
|
|
34
|
+
token goes straight into a config or secrets store). `vatpub_` tokens
|
|
34
35
|
ship in the app's configuration; a `vat_` token never does.
|
|
35
36
|
4. **Add it.** Web: the widget, once for the whole app. iOS, Android and Flutter: the
|
|
36
37
|
SDK has no UI, so write the chat screen in the app's own style from the
|
|
@@ -56,3 +57,13 @@ Code, offer to send this session to the Vatio team, as the
|
|
|
56
57
|
`no`, say nothing.
|
|
57
58
|
|
|
58
59
|
`vatio` is `npx @vatio-ai/cli` when it is not installed globally.
|
|
60
|
+
|
|
61
|
+
A command you hand the developer to run themselves, because a permission
|
|
62
|
+
check refused it or it needs their own credentials, says
|
|
63
|
+
`npx @vatio-ai/cli@latest`, never `vatio`: the `vatio` installed on their
|
|
64
|
+
machine can be too old for Vatio to accept. When one command's output feeds
|
|
65
|
+
another (a token into a secrets store), take it with `--json` and chain with
|
|
66
|
+
`&&`, never through `grep`, so a failure stops there instead of passing on an
|
|
67
|
+
empty value. If Claude Code's auto mode refused a `vatio` command and the
|
|
68
|
+
project's `.claude/settings.json` has no `Bash(vatio *)` rule, also mention
|
|
69
|
+
**Auto mode** on the docs' Claude Code page.
|
|
@@ -66,3 +66,13 @@ the fix needs more than the digest says. If `vatio` is not installed, use
|
|
|
66
66
|
opens the browser on the developer's machine (if it doesn't, give them the
|
|
67
67
|
link it prints), and they sign in and check the code matches. If it times
|
|
68
68
|
out, run it again after they have signed in.
|
|
69
|
+
|
|
70
|
+
A command you hand the developer to run themselves, because a permission
|
|
71
|
+
check refused it or it needs their own credentials, says
|
|
72
|
+
`npx @vatio-ai/cli@latest`, never `vatio`: the `vatio` installed on their
|
|
73
|
+
machine can be too old for Vatio to accept. When one command's output feeds
|
|
74
|
+
another (a token into a secrets store), take it with `--json` and chain with
|
|
75
|
+
`&&`, never through `grep`, so a failure stops there instead of passing on an
|
|
76
|
+
empty value. If Claude Code's auto mode refused a `vatio` command and the
|
|
77
|
+
project's `.claude/settings.json` has no `Bash(vatio *)` rule, also mention
|
|
78
|
+
**Auto mode** on the docs' Claude Code page.
|
|
@@ -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, which
|
|
30
|
-
workspace this directory resolves to
|
|
29
|
+
- **This machine.** `vatio doctor`: whether it is signed in, and which
|
|
30
|
+
workspace this directory resolves to.
|
|
31
31
|
|
|
32
32
|
## 2. Say what you found, and recommend
|
|
33
33
|
|
|
@@ -46,17 +46,11 @@ you recommend, and ask them to confirm.
|
|
|
46
46
|
team when a person should take over: **Human in the loop** in the docs).
|
|
47
47
|
3. `vatio diff`, `vatio push`, then try it with `vatio chat`, including a
|
|
48
48
|
conversation that should hand off.
|
|
49
|
-
4. Give them
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
is a web chat anyone with the link can use; Keep it is where they sign
|
|
53
|
-
in (email, Google or GitHub) and keep the agent, which publishing,
|
|
54
|
-
secrets and tokens wait for. Never open Keep it yourself. Signed in,
|
|
55
|
-
`Try it:` is the inbox's Test page, with web chat, WhatsApp and
|
|
56
|
-
Instagram. Publish with `vatio publish` only when they ask.
|
|
49
|
+
4. Give them the link `vatio push` prints after `Try it:` (the inbox's
|
|
50
|
+
Test page, with web chat, WhatsApp and Instagram) with what you
|
|
51
|
+
tried. Publish with `vatio publish` only when they ask.
|
|
57
52
|
5. Once they have tried it, offer to put it in the app (the web widget,
|
|
58
|
-
or the iOS, Android or Flutter SDK) with the `vatio-add-to-app` skill.
|
|
59
|
-
has to be kept first.
|
|
53
|
+
or the iOS, Android or Flutter SDK) with the `vatio-add-to-app` skill.
|
|
60
54
|
- **A `vatio.yml`: the agent exists.** Never `vatio init` here: it writes a
|
|
61
55
|
starter agent, and pushing that replaces the real one. Work from the
|
|
62
56
|
directory of the `vatio.yml` and follow **Joining an existing workspace**:
|
|
@@ -73,6 +67,21 @@ you recommend, and ask them to confirm.
|
|
|
73
67
|
in: Vatio keeps what was deployed, not the files it came from. Do not
|
|
74
68
|
`vatio init` one instead.
|
|
75
69
|
|
|
70
|
+
## Claude Code permissions
|
|
71
|
+
|
|
72
|
+
In Claude Code, once the agent is pushed, check the project's
|
|
73
|
+
`.claude/settings.json` (in the folder Claude Code was opened in). If it has
|
|
74
|
+
no `Bash(vatio *)` rule, offer once to add the block in **Auto mode** on the
|
|
75
|
+
docs' Claude Code page: it lets you run `vatio` without the auto mode
|
|
76
|
+
classifier refusing it, and still asks the developer before `vatio publish`,
|
|
77
|
+
`vatio rollback`, `vatio secrets` and `vatio keys`. Add it only with their
|
|
78
|
+
yes, merged into what the file has, never replacing it, and add no other rule.
|
|
79
|
+
It matches `vatio`, so it needs the CLI installed:
|
|
80
|
+
`npm install -g @vatio-ai/cli`, also only with their yes. Run each `vatio`
|
|
81
|
+
command on its own, not in a pipe or after `cd … &&`, so the rule matches.
|
|
82
|
+
Never edit `~/.claude/settings.json`; for `vatio share-session` point them to
|
|
83
|
+
that same section.
|
|
84
|
+
|
|
76
85
|
## 3. Before you finish
|
|
77
86
|
|
|
78
87
|
1. If an error or the docs left you guessing, say so:
|
|
@@ -81,11 +90,19 @@ you recommend, and ask them to confirm.
|
|
|
81
90
|
the `vatio-share-session` skill says. It starts with
|
|
82
91
|
`vatio share-session --should-ask`: if that prints `no`, say nothing.
|
|
83
92
|
|
|
84
|
-
`vatio` is `npx @vatio-ai/cli` when it is not installed globally.
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
93
|
+
`vatio` is `npx @vatio-ai/cli` when it is not installed globally. The first
|
|
94
|
+
`vatio push` (or `vatio login`) signs the developer in: it opens the browser
|
|
95
|
+
on their machine (if it doesn't, give them the link it prints). Tell them to
|
|
96
|
+
sign in with email, Google or GitHub and check that the code on the page
|
|
97
|
+
matches the one the terminal printed. If the command times out waiting, run
|
|
98
|
+
it again after they have signed in: it picks up the same sign-in page.
|
|
99
|
+
|
|
100
|
+
A command you hand the developer to run themselves, because a permission
|
|
101
|
+
check refused it or it needs their own credentials, says
|
|
102
|
+
`npx @vatio-ai/cli@latest`, never `vatio`: the `vatio` installed on their
|
|
103
|
+
machine can be too old for Vatio to accept. When one command's output feeds
|
|
104
|
+
another (a token into a secrets store), take it with `--json` and chain with
|
|
105
|
+
`&&`, never through `grep`, so a failure stops there instead of passing on an
|
|
106
|
+
empty value. If Claude Code's auto mode refused a `vatio` command and the
|
|
107
|
+
project's `.claude/settings.json` has no `Bash(vatio *)` rule, also mention
|
|
108
|
+
**Auto mode** on the docs' Claude Code page.
|
|
@@ -95,7 +95,10 @@ It is sent in one of two ways: the user asked for it, or you offer it because
|
|
|
95
95
|
|
|
96
96
|
When they say they ran it, check instead of asking:
|
|
97
97
|
`npx @vatio-ai/cli@latest share-session --list` marks a session that was
|
|
98
|
-
sent with `(sent #N, when)`. If it is not marked, it did not go.
|
|
98
|
+
sent with `(sent #N, when)`. If it is not marked, it did not go. To have
|
|
99
|
+
auto mode let it through next time, point them to **Auto mode** on the
|
|
100
|
+
docs' Claude Code page: it is a line in their own Claude Code settings,
|
|
101
|
+
which you do not edit.
|
|
99
102
|
|
|
100
103
|
Only Claude Code sessions can be sent. In any other coding agent, do not offer
|
|
101
104
|
it; when the user asks, write what happened instead:
|