@counterposition/skill-pi 0.65.2 → 0.65.3
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 +32 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,25 +1,48 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Pi Skill
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> Knowing others is intelligence; knowing yourself is true wisdom.
|
|
4
|
+
>
|
|
5
|
+
> — Lao Tzu, *Tao Te Ching*
|
|
4
6
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
+
A coding agent that cannot reason about its own architecture will invent APIs that don't exist, hallucinate configuration formats, and give confident wrong answers about its own internals. The failure mode is subtle: the answers *sound* right, because the agent knows how systems like it tend to work. But Pi is specific, and the details matter.
|
|
8
|
+
|
|
9
|
+
This skill gives Pi self-knowledge. It injects task-specific reference documentation into context so that Pi reasons from grounded facts — about its extensions, settings, providers, sessions, and SDK — rather than from plausible fictions.
|
|
10
|
+
|
|
11
|
+
Without this skill, Pi guesses about itself. With it, Pi *knows*.
|
|
7
12
|
|
|
8
13
|
## Install
|
|
9
14
|
|
|
10
15
|
```bash
|
|
16
|
+
# as a skill
|
|
17
|
+
npx skills add counterposition/pi --skill pi
|
|
18
|
+
|
|
19
|
+
# as a Pi package
|
|
11
20
|
pi install npm:@counterposition/skill-pi
|
|
12
21
|
```
|
|
13
22
|
|
|
14
|
-
Maintainer
|
|
23
|
+
### Maintainer Paths
|
|
15
24
|
|
|
16
25
|
```bash
|
|
26
|
+
# from a local checkout
|
|
27
|
+
npx skills add /absolute/path/to/pi --skill pi
|
|
28
|
+
|
|
29
|
+
# packaged install from monorepo root
|
|
17
30
|
pi install ./packages/skill-pi
|
|
18
31
|
```
|
|
19
32
|
|
|
20
|
-
|
|
33
|
+
If you develop inside this repo, Pi already loads the skill via `.pi/settings.json`.
|
|
34
|
+
|
|
35
|
+
## What this covers
|
|
36
|
+
|
|
37
|
+
Pi's architecture and package layout. Skill authoring, discovery, and routing. Extensions, tools, and UI hooks. Settings, models, providers, and packages. Sessions, forks, and compaction. The SDK and RPC interface.
|
|
38
|
+
|
|
39
|
+
The reference material lives in `references/` as task-specific documents — not a single monolith, but pieces sized for injection into a conversation when relevant.
|
|
21
40
|
|
|
22
|
-
|
|
23
|
-
- `../../skills/pi` - canonical source used for GitHub-based `npx skills add`
|
|
41
|
+
## Files
|
|
24
42
|
|
|
25
|
-
|
|
43
|
+
| Path | Purpose |
|
|
44
|
+
|---|---|
|
|
45
|
+
| `SKILL.md` | Trigger rules and routing description |
|
|
46
|
+
| `references/` | Task-specific Pi reference documents |
|
|
47
|
+
| `evals/evals.json` | Example evaluation cases |
|
|
48
|
+
| `LICENSE.md` | GPLv3 license text |
|