You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 56798ae
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: AGENTS.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,6 +102,7 @@ Skills own workflows; root owns hard policy and routing. Product direction and m
102
102
- OpenAI Codex = `openai`. No new/live `openai-codex` routes — legacy input only; runtime/setup/auth/catalog use `openai` + `openai/*`, doctor/migrations repair stale `openai-codex/*` profiles/metadata.
103
103
- Config/env surface bar is high; `openclaw.json` and env vars are already large. Before adding an option or env var, prove existing product behavior, provider selection, defaults, or doctor migration cannot solve it; prefer removing/consolidating options when touching these surfaces.
104
104
- CLI setup flows (`openclaw onboard`/`configure`, documented flags, non-interactive behavior, generated config shape) are shipped public API once external docs/installers can copy them: prefer additive flags/aliases, deprecation windows, and backward-preserving migrations over breaking existing snippets.
105
+
- Nested CLI options: when a parent option semantically applies to a leaf subcommand, declare it on both the parent and every applicable leaf so positional parsing accepts the option before or after the subcommand. Resolve the leaf value only when its source is non-default, then inherit from ancestors with `inheritOptionFromParent`. Do not expose inherited options on leaves where the semantics differ. Add real-parser coverage that enumerates every applicable leaf.
105
106
- New binary fallible-operation results use `Result` from `@openclaw/normalization-core/result`; domain-rich outcomes keep named discriminated unions.
106
107
- Tests may use observed examples, but prod literals need a short contract reason.
107
108
- Compatibility is opt-in. "Shipped" means reachable from a release Git tag; main/GitHub/PR/unreleased code is not shipped.
`models auth login-github-copilot` is a shortcut for `models auth login --provider github-copilot --method device` (GitHub device flow); it accepts `--yes` to overwrite an existing profile without prompting.
176
176
177
-
Use `openclaw models auth --agent <id> <subcommand>`to write auth results to a specific configured agent store. The parent `--agent` flag is honored by `add`, `list`, `login`, `logout`, `paste-api-key`, `setup-token`, `paste-token`, `login-github-copilot`, and `order get`/`set`/`clear`.
177
+
Use either `openclaw models auth --agent <id> <subcommand>`or `openclaw models auth <subcommand> --agent <id>`to target a specific configured agent store. Both forms are supported by `add`, `list`, `login`, `logout`, `paste-api-key`, `setup-token`, `paste-token`, `login-github-copilot`, and `order get`/`set`/`clear`.
178
178
179
179
For OpenAI models, `--provider openai` defaults to ChatGPT/Codex account login. Use `--method api-key` only when you want to add an OpenAI API-key profile, usually as a backup for Codex subscription limits. Run `openclaw doctor --fix` to migrate older legacy OpenAI Codex prefix auth/profile state to `openai`.
Copy file name to clipboardExpand all lines: docs/cli/skills.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -136,6 +136,8 @@ Notes:
136
136
|`verify --card`| Prints the generated Skill Card Markdown instead of JSON. Exits non-zero when ClawHub returns `ok: false` or `decision: "fail"`; unsigned signatures are informational unless ClawHub policy changes. |
137
137
| Skill Card fingerprint | Installed ClawHub bundles can include a generated `skill-card.md`. OpenClaw treats verification as a ClawHub server decision and does not reject an installed skill just because that generated card changes the bundle fingerprint. |
138
138
|`check --agent <id>`| Checks the selected agent's workspace and reports which ready skills are actually visible to that agent's prompt or command surface. |
139
+
|`workshop --agent <id>`| Accepted before or after a Workshop leaf command, for example `workshop --agent <id> list` or `workshop list --agent <id>`. If both are provided, the leaf value wins. |
140
+
|`curator --json`| Accepted before or after a Curator leaf command, for example `curator --json status` or `curator status --json`. |
139
141
|`list`| Default action when no subcommand is provided. |
140
142
|`list`/`info`/`check` output | Rendered output goes to stdout. With `--json`, the machine-readable payload stays on stdout for pipes and scripts. |
141
143
|`curator status --json`| Returns legacy age-based lifecycle state written by older releases. Daily collection review does not use this state. |
0 commit comments