@vatio-ai/skills 1.6.0 → 1.9.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vatio",
3
3
  "description": "Build a Vatio agent from your coding agent, then fix what supervisors report and prove it with evals.",
4
- "version": "1.6.0",
4
+ "version": "1.9.0",
5
5
  "author": { "name": "Vatio", "url": "https://vatio.ai" },
6
6
  "homepage": "https://vatio.ai/docs",
7
7
  "repository": "https://github.com/vatio-ai/skills",
package/README.md CHANGED
@@ -38,6 +38,10 @@ Or in Claude Code, as a plugin:
38
38
  /plugin install vatio@vatio
39
39
  ```
40
40
 
41
+ Claude Code does not update plugins from other people's marketplaces on its own:
42
+ turn it on once in `/plugin` → **Marketplaces** → **vatio** → **Enable
43
+ auto-update**, or run `claude plugin update vatio@vatio`.
44
+
41
45
  Your agent then uses them on its own when you ask it to build, improve or fix
42
46
  a Vatio agent, or to send the session to Vatio, or you can call them by name:
43
47
  `/vatio-init`, `/vatio-improve` and `/vatio-share-session`, or
package/bin/install.mjs CHANGED
@@ -4,7 +4,7 @@
4
4
  // .agents/skills/ Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, Cline, Amp
5
5
  // .claude/skills/ Claude Code, which does not read .agents/
6
6
  // Running it again overwrites the copies with this version's.
7
- import { cpSync, existsSync, readFileSync, readdirSync, rmSync } from "node:fs";
7
+ import { cpSync, existsSync, readFileSync, readdirSync, rmSync, writeFileSync } from "node:fs";
8
8
  import { dirname, join, relative } from "node:path";
9
9
  import { fileURLToPath } from "node:url";
10
10
 
@@ -35,6 +35,10 @@ if (!existsSync(root)) {
35
35
  }
36
36
 
37
37
  const source = join(dirname(fileURLToPath(import.meta.url)), "..", "skills");
38
+ // Left next to each copy, so `vatio flags` can tell a project whose copies are
39
+ // older than the published skills (cli/lib/skills-hint.mjs).
40
+ const VERSION_FILE = ".vatio-skills-version";
41
+ const { version } = JSON.parse(readFileSync(join(source, "..", "package.json"), "utf8"));
38
42
  // Skills this package used to ship under another name. Left in place, the old
39
43
  // copy would answer the same requests as the new one.
40
44
  const RENAMED = { "vatio-new": "vatio-init" };
@@ -46,6 +50,7 @@ for (const target of [".agents/skills", ".claude/skills"]) {
46
50
  for (const skill of skills) {
47
51
  const dest = join(root, target, skill);
48
52
  cpSync(join(source, skill), dest, { recursive: true, force: true });
53
+ writeFileSync(join(dest, VERSION_FILE), `${version}\n`);
49
54
  console.log(` ${relative(process.cwd(), join(dest, "SKILL.md")) || dest}`);
50
55
  }
51
56
  for (const [old, current] of Object.entries(RENAMED)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vatio-ai/skills",
3
- "version": "1.6.0",
3
+ "version": "1.9.0",
4
4
  "description": "Agent skills for building and improving a Vatio agent from your coding agent: Claude Code, Codex, Cursor, Gemini CLI, Copilot and any agent that reads SKILL.md",
5
5
  "keywords": [
6
6
  "vatio",
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: vatio-share-session
3
+ allowed-tools: AskUserQuestion
3
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
5
  ---
5
6
 
@@ -8,8 +9,10 @@ description: Send this coding session to the Vatio team, so they can see where b
8
9
  `vatio share-session` sends the Claude Code session you are running in: what
9
10
  the user asked, what you read and ran, and what came back. It leaves out
10
11
  images, replaces anything that looks like a key, token or password with
11
- `[REDACTED]`, and the home directory with `~`. Only the Vatio team reads it,
12
- to see where Vatio got in the way and fix it.
12
+ `[REDACTED]`, email addresses and international phone numbers with `[EMAIL]`
13
+ and `[PHONE]`, and the home directory with `~`. Only the Vatio team reads it,
14
+ to see where Vatio got in the way and fix it; every read is logged, and it is
15
+ deleted 30 days after it arrives (sooner on request to dpo@vatio.ai).
13
16
 
14
17
  It is sent in one of two ways: the user asked for it, or you offer it because
15
18
  `vatio-init` or `vatio-improve` just finished.
@@ -30,25 +33,35 @@ It is sent in one of two ways: the user asked for it, or you offer it because
30
33
  ```
31
34
 
32
35
  Tell them which session it is (the summary it prints), that it is the
33
- whole conversation, and that the file is there if they want to read it.
36
+ whole conversation, what was hidden, how it is treated (only the Vatio
37
+ team reads it, every read is logged, deleted after 30 days), and that the
38
+ file is there if they want to read it.
34
39
 
35
40
  3. Ask whether to send it, once. It is their conversation: never send it on
36
41
  your own, even when the task seems to call for it.
37
42
 
38
- When you are offering it, ask with three answers (in Claude Code, as a
39
- multiple-choice question), for example: "Do you want to send this session
43
+ When you are offering it, ask with the **AskUserQuestion** tool, Claude
44
+ Code's own question, not in a message. One question, in the user's
45
+ language, header `Vatio`, for example: "Do you want to send this session
40
46
  to the Vatio team, so they can see where Vatio got in the way and improve
41
- it?"
47
+ it?", with these options:
42
48
 
43
- - **Send it**
44
- - **Not now**: do nothing more. It will not be offered again for a week.
45
- - **Don't ask again**: run
46
- `npx @vatio-ai/cli@latest share-session --never`.
49
+ - **Send it** — "The whole conversation, as shown above. Only the Vatio
50
+ team reads it, and it is deleted after 30 days."
51
+ - **Send it with a comment** — "You say what got in the way, what you
52
+ expected, or anything else for the team."
53
+ - **Not now** — "It won't be offered again for a week."
54
+ - **Don't ask again** — "It won't be offered again."
47
55
 
48
- In the same question, suggest they add feedback: what got in the way, what
49
- they expected Vatio to do, or anything else they want the team to know.
50
- It is optional — the session is what matters, and it goes fine on its own.
51
- A no is a fine answer: do not insist.
56
+ **Send it with a comment**: ask for the comment in one plain message, then
57
+ send. A comment they type in the question's own text field instead (its
58
+ "Other" answer, or a note on an option) is their feedback too, unless it
59
+ says no. **Not now**: do nothing more. **Don't ask again**: run
60
+ `npx @vatio-ai/cli@latest share-session --never`. A no is a fine answer:
61
+ do not insist.
62
+
63
+ When the user asked for it themselves, just confirm in a message and
64
+ take any feedback they give.
52
65
 
53
66
  4. If they say to send it, send it. With their feedback, in their words, as
54
67
  they gave it:
@@ -70,6 +83,20 @@ It is sent in one of two ways: the user asked for it, or you offer it because
70
83
  give them the link it prints). Tell them it was sent and the number it
71
84
  printed.
72
85
 
86
+ 5. If a permission check refuses the command (Claude Code's auto mode can
87
+ treat it as sending data out), do not retry it or look for another way to
88
+ send it. Give the user the command to run in their own terminal, with the
89
+ session id from the summary, and their feedback in quotes at the end if
90
+ they gave some:
91
+
92
+ ```bash
93
+ npx @vatio-ai/cli@latest share-session --id SESSION_ID --yes
94
+ ```
95
+
96
+ When they say they ran it, check instead of asking:
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.
99
+
73
100
  Only Claude Code sessions can be sent. In any other coding agent, do not offer
74
101
  it; when the user asks, write what happened instead:
75
102
  `npx @vatio-ai/cli@latest feedback "…"`.