@moxxy/cli 0.43.0 → 0.45.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/README.md +30 -22
- package/dist/bin.js +54524 -64351
- package/dist/skills/browser.md +5 -0
- package/dist/skills/install-skill.md +20 -0
- package/dist/skills/synthesize-skill.md +2 -2
- package/package.json +4 -4
package/dist/skills/browser.md
CHANGED
|
@@ -164,6 +164,11 @@ action on a site nobody allowed comes back refused with the site to ask for:
|
|
|
164
164
|
call the tool, then repeat the step. Reading a page never needs it. Only if the
|
|
165
165
|
user declines, do not act on that site; say what you would have done.
|
|
166
166
|
|
|
167
|
+
A page on this computer — an app you are building and serving, say on
|
|
168
|
+
`localhost:5173` — opens only once the user allowed that exact address and
|
|
169
|
+
port: ask with `browser_allow_site` and site `localhost:5173`. Each port is
|
|
170
|
+
asked for on its own. Other private addresses never open.
|
|
171
|
+
|
|
167
172
|
## Doing several things at once
|
|
168
173
|
|
|
169
174
|
`browser_batch` runs a sequence of uid actions and reads the page **once**, at
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: install-skill
|
|
3
|
+
description: Install a ready-made skill from a link, a repo or `npx skills`, so it lands where Moxxy loads it and shows in Skills.
|
|
4
|
+
triggers: ["install skill", "add skill", "install this skill", "npx skills", "zainstaluj skill"]
|
|
5
|
+
allowed-tools: [Bash, Read, Glob, Write]
|
|
6
|
+
---
|
|
7
|
+
# Install a skill
|
|
8
|
+
|
|
9
|
+
Moxxy loads skills only from `~/.moxxy/skills/` (and `.moxxy/skills/` in the project).
|
|
10
|
+
Installers such as `npx skills add …` write elsewhere (`.agents/skills/`, `~/.claude/skills/`),
|
|
11
|
+
where Moxxy never looks.
|
|
12
|
+
|
|
13
|
+
1. Fetch the skill. With `npx skills add <source>`, note the folders it reports writing.
|
|
14
|
+
2. Copy each skill folder to `~/.moxxy/skills/<name>/` (keep `SKILL.md` and its reference files).
|
|
15
|
+
Never overwrite an existing folder without asking.
|
|
16
|
+
3. Verify every copied `SKILL.md` before reporting success — read its frontmatter:
|
|
17
|
+
- `name`: lowercase slug (`a-z`, `0-9`, `-`), at most 120 chars;
|
|
18
|
+
- `description`: present, at most 1024 chars.
|
|
19
|
+
A file failing either is skipped by Moxxy; say which and why.
|
|
20
|
+
4. Report only skills that passed, by name. New skills show in Skills and work from the next conversation.
|
|
@@ -14,10 +14,10 @@ The user has asked for something for which no existing skill matches. Your job i
|
|
|
14
14
|
to `~/.moxxy/skills/`, and hot-swap the registry. This is the path that can't ship
|
|
15
15
|
invalid frontmatter or clobber an existing skill.
|
|
16
16
|
3. Only hand-write the file with `Write` if the tool is unavailable. If you do, the
|
|
17
|
-
frontmatter MUST satisfy the schema (hard caps: `name` <=120, `description` <=
|
|
17
|
+
frontmatter MUST satisfy the schema (hard caps: `name` <=120, `description` <=1024).
|
|
18
18
|
Aim well under those for legibility — these are style budgets, not the wall:
|
|
19
19
|
- `name`: kebab-case slug, aim for <=60 chars (schema hard cap 120)
|
|
20
|
-
- `description`: one sentence, aim for <=120 chars (schema hard cap
|
|
20
|
+
- `description`: one sentence, aim for <=120 chars (schema hard cap 1024)
|
|
21
21
|
- `triggers`: 2–5 short phrases a user might say
|
|
22
22
|
- `allowed-tools`: only the tools you need
|
|
23
23
|
The body is the instructions for future invocations: numbered steps, the minimum
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moxxy/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.45.0",
|
|
4
4
|
"description": "moxxy command-line agent: TUI, one-shot prompts, setup, services, and API-key or installed-CLI subscription providers.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"moxxy",
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"undici": "^8.
|
|
51
|
-
"zod": "^
|
|
52
|
-
"@moxxy/sdk": "0.
|
|
50
|
+
"undici": "^8.12.2",
|
|
51
|
+
"zod": "^4.6.6",
|
|
52
|
+
"@moxxy/sdk": "0.45.0"
|
|
53
53
|
},
|
|
54
54
|
"optionalDependencies": {
|
|
55
55
|
"@napi-rs/keyring": "^2.1.0"
|