@life-os/cli 0.1.1 → 0.1.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 CHANGED
@@ -30,10 +30,9 @@ to see exactly what was picked up.
30
30
  3. Walk up from the current directory for a `.obsidian/` or `.lifeos/` folder
31
31
  4. The folder Aino last opened (`userData/bootstrap.json` → `lastOpenedFolder`)
32
32
 
33
- The cwd walk comes before the Aino fallback by design: the agent skill is
34
- installed _inside_ a vault and runs from that vault's directory, so the cwd is
35
- the most reliable signal of which vault the user means. Aino's last-opened folder
36
- is only used when running outside any vault.
33
+ The cwd walk comes before the Aino fallback by design: when an agent works inside
34
+ a vault, the cwd is the most reliable signal of which vault the user means.
35
+ Aino's last-opened folder is only used when running outside any vault.
37
36
 
38
37
  ## Commands
39
38
 
@@ -80,6 +79,18 @@ Writes take an explicit `path=` / `ref=` (no name guessing), so the agent should
80
79
  Options use `key=value` (or `--key=value`); flags are bare `--flag`. This mirrors
81
80
  the Obsidian CLI convention so agent prompting transfers.
82
81
 
82
+ ## Agent skill
83
+
84
+ The LifeOS agent skill is bundled into the CLI from `@lifeos/skill-assets`.
85
+ Install or update it into the current vault after upgrading `@life-os/cli`:
86
+
87
+ ```bash
88
+ npx -y @life-os/cli skill install
89
+ ```
90
+
91
+ This writes `SKILL.md` and its `references/` files into
92
+ `.agents/skills/lifeos/` from the exact CLI package version you are running.
93
+
83
94
  ## Build & test
84
95
 
85
96
  ```bash
@@ -119,7 +130,8 @@ workspace-internal — see `docs/decisions/scope-strategy.md`).
119
130
 
120
131
  `pnpm -C apps/lifeos-cli build:release` bundles the CLI and all internal
121
132
  `@lifeos/*` deps into a single self-contained `dist/lifeos.mjs` (via esbuild) and
122
- stages a clean, dependency-free package under `apps/lifeos-cli/release/`. Then:
133
+ stages a clean, dependency-free CLI-only package under
134
+ `apps/lifeos-cli/release/`. Then:
123
135
 
124
136
  ```bash
125
137
  pnpm -C apps/lifeos-cli build:release:dry-run # bundle + npm pack --dry-run