summaryrefslogtreecommitdiff
path: root/SKILL.md
diff options
context:
space:
mode:
Diffstat (limited to 'SKILL.md')
-rw-r--r--SKILL.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/SKILL.md b/SKILL.md
index c4acb87..403e43f 100644
--- a/SKILL.md
+++ b/SKILL.md
@@ -24,12 +24,15 @@ Linked as: `~/.agents/skills/iphone-icloud-notes` → that repo
```bash
icloud-note status
-icloud-note login # one-time / when session expired (headed browser)
+icloud-note login # ONE-TIME only — only command that opens a window
icloud-note create --title "Title" --body "Body text"
icloud-note create --title "Title" --body-file /path/to.txt
icloud-note create --title "Title" --body-file - # stdin
```
+`create` / `status` are **always headless** (no visible browser). Never pass flags
+to force a window. Never run `login` unless the user must re-authenticate.
+
If `icloud-note` is missing from PATH:
```bash
@@ -69,5 +72,5 @@ Browser profile: `~/.config/icloud-notes/browser-profile/`
icloud-note login
```
-Requires a graphical session for `login` (DISPLAY/Wayland). After that, `create`
-can run headed or headless using the saved profile.
+Requires a graphical session for `login` only. After that, `create` / `status`
+use `~/.config/icloud-notes/storage-state.json` headlessly — no window.