@xynogen/pix-skills 0.4.0 → 0.4.1

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.
Files changed (2) hide show
  1. package/README.md +23 -11
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,15 +6,18 @@ Pi coding agent extension — skill loader tool + skills bundle.
6
6
 
7
7
  | Resource | Type | Description |
8
8
  |---|---|---|
9
- | `read_skill` | tool | Load a bundled skill's full instructions by name. `name="list"` lists all skills with descriptions. |
10
- | `skills/` | skills | 21 bundled skills (auto-loaded by pi at startup — names + descriptions in system prompt) |
9
+ | `read_skills` | tool | Browse and load bundled skills. No args → list all. `name` only → description. `name + full=true` → full instructions. |
10
+ | `skills/` | skills | 22 bundled skills (auto-loaded by pi at startup — names + descriptions in system prompt) |
11
11
 
12
12
  ## How it works
13
13
 
14
14
  Pi loads skill *descriptions* into the system prompt at startup (progressive disclosure). Full content
15
- only enters context when the agent calls `read_skill(name=<skill>)` — or reads the file via the `read` tool.
15
+ only enters context when the agent calls `read_skills(name=<skill>, full=true)` — or reads the file via the `read` tool.
16
+
17
+ Skills are also discovered from `~/.pi/agent/skills/` (user-level). Bundled skills take precedence on name collision.
18
+
19
+ `read_skills` is the safe version of "agent prompts itself":
16
20
 
17
- `read_skill` is the safe version of "agent prompts itself":
18
21
  - Agent calls tool explicitly — no autonomous injection
19
22
  - Orchestrator (user or system prompt) decides when skill loading is appropriate
20
23
  - Auditable: tool call is visible in the conversation
@@ -31,6 +34,7 @@ only enters context when the agent calls `read_skill(name=<skill>)` — or reads
31
34
  | `debug` | auto — bug / error / doesn't work |
32
35
  | `explain` | auto — explain / how does |
33
36
  | `finish` | manual |
37
+ | `graphify` | auto — codebase question / architecture |
34
38
  | `handoff` | manual |
35
39
  | `plan` | auto — plan / design / architect |
36
40
  | `readme` | manual |
@@ -48,20 +52,20 @@ only enters context when the agent calls `read_skill(name=<skill>)` — or reads
48
52
  ## Usage
49
53
 
50
54
  ```
51
- # Agent lists available skills
52
- read_skill(name="list")
55
+ # Agent lists available skills (no args)
56
+ read_skills()
53
57
 
54
- # Agent loads full commit procedure before committing
55
- read_skill(name="commit")
58
+ # Agent reads description of a specific skill
59
+ read_skills(name="commit")
56
60
 
57
- # User explicitly triggers a skill
58
- /skill:commit
61
+ # Agent loads full commit procedure
62
+ read_skills(name="commit", full=true)
59
63
  ```
60
64
 
61
65
  ## Install
62
66
 
63
67
  ```bash
64
- pi install git:github.com/xynogen/pix-mono#packages/pix-skills
68
+ pi install npm:@xynogen/pix-skills
65
69
  ```
66
70
 
67
71
  Or from the monorepo:
@@ -70,6 +74,14 @@ Or from the monorepo:
70
74
  pi install ./packages/pix-skills
71
75
  ```
72
76
 
77
+ ## Full distro
78
+
79
+ To install the complete pix suite (all packages + Pi itself):
80
+
81
+ ```bash
82
+ curl -fsSL https://raw.githubusercontent.com/xynogen/pix-mono/main/scripts/install.sh | sh
83
+ ```
84
+
73
85
  ## License
74
86
 
75
87
  MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xynogen/pix-skills",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Pi extension — agent skill loader (skill tool + skills bundle)",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",