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 963dabc
Browse filesBrowse the repository at this point in the historyBrowse files
`patterns` and `files` are accepted as aliases of `paths`. Paths resolve relative to the workspace and must stay inside it. Only recognized bootstrap basenames are loaded (`AGENTS.md`, `SOUL.md`, `TOOLS.md`, `IDENTITY.md`, `USER.md`, `BOOTSTRAP.md`, `MEMORY.md`).
262
+
`patterns` and `files` are accepted as aliases of `paths`. Paths resolve relative to the workspace and must stay inside it. Only recognized bootstrap basenames are loaded (`AGENTS.md`, `SOUL.md`, `IDENTITY.md`, `USER.md`, `BOOTSTRAP.md`, `MEMORY.md`).
263
+
264
+
`TOOLS.md` is no longer a recognized bootstrap basename and is not loaded into runtime context. `openclaw doctor --fix` migrates the workspace-root `TOOLS.md` into the `## Tools` section of `AGENTS.md`; patterns that name other `TOOLS.md` files are not migrated and should be repointed at `AGENTS.md`.
Copy file name to clipboardExpand all lines: docs/automation/standing-orders.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ Each program specifies:
31
31
The agent loads these instructions every session via the workspace bootstrap files (see [Agent Workspace](/concepts/agent-workspace) for the full list of auto-injected files) and executes against them, combined with [cron jobs](/automation/cron-jobs) for time-based enforcement.
32
32
33
33
<Tip>
34
-
Put standing orders in `AGENTS.md` to guarantee they're loaded every session. The workspace bootstrap automatically injects `AGENTS.md`, `SOUL.md`, `TOOLS.md`, `IDENTITY.md`, `USER.md`, `BOOTSTRAP.md`, and `MEMORY.md` - but not arbitrary files in subdirectories.
34
+
Put standing orders in `AGENTS.md` to guarantee they're loaded every session. The workspace bootstrap automatically injects `AGENTS.md`, `SOUL.md`, `IDENTITY.md`, `USER.md`, `BOOTSTRAP.md`, and `MEMORY.md` - but not arbitrary files in subdirectories.
| boot-md |`gateway:startup`| Runs `BOOT.md` at gateway startup for each configured agent scope |
102
+
| bootstrap-extra-files |`agent:bootstrap`| Injects extra bootstrap files (for example monorepo `AGENTS.md`) during agent bootstrap |
103
+
| command-logger |`command`| Logs command events to `~/.openclaw/logs/commands.log`|
104
+
| compaction-notifier |`session:compact:before`, `session:compact:after`| Sends visible chat notices when session compaction starts and finishes |
105
+
| session-memory |`command:new`, `command:reset`| Saves session context to memory on `/new` or `/reset`|
106
106
107
107
Enable any bundled hook with `openclaw hooks enable <hook-name>`. Full details, config keys, and defaults: [Bundled hooks](/automation/hooks#bundled-hooks).
`models auth login` runs a provider plugin's auth flow (OAuth/API key). Use `openclaw plugins list` to see which providers are installed. `login` accepts `--profile-id <id>` for providers that support named profiles during login (use this to keep multiple logins for the same provider separate), `--method <id>` to pick a specific auth method, `--device-code` as a shortcut for `--method device-code`, `--set-default` to apply the provider's recommended default model, and `--force` to remove existing profiles for that provider first (use when a cached OAuth profile is stuck or you want to switch accounts).
165
166
167
+
`models auth logout <profileId>` removes one saved auth profile from the selected agent auth store. Use the profile id shown by `models auth list`. It also drops that profile from `auth.profiles` and from every `auth.order` list in your config, so no stale reference is left behind, and it deletes an `auth.order.<provider>` entry that would otherwise be emptied (an authored empty order means "select no profiles" and would disable the provider). It prompts for confirmation on a TTY; pass `--yes` for scripts and agents. Logout refuses when the profile is not in the store, or when a `models.providers.<id>.apiKey` entry names it — change that config value first.
168
+
166
169
`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.
167
170
168
-
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`, `paste-api-key`, `setup-token`, `paste-token`, `login-github-copilot`, and `order get`/`set`/`clear`.
171
+
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`.
169
172
170
173
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`.
- Unless you pass `--skip-health`, onboarding waits for a reachable local gateway before exiting successfully.
292
292
-`--install-daemon` starts the managed gateway install path first. Without it, a local gateway must already be running (for example `openclaw gateway run`).
293
293
-`--skip-health` skips the wait if you only want config/workspace/bootstrap writes in automation.
294
-
-`--skip-bootstrap` sets `agents.defaults.skipBootstrap: true` and skips creating `AGENTS.md`, `SOUL.md`, `TOOLS.md`, `IDENTITY.md`, `USER.md`, and `BOOTSTRAP.md`.
294
+
-`--skip-bootstrap` sets `agents.defaults.skipBootstrap: true` and skips creating `AGENTS.md`, `SOUL.md`, `IDENTITY.md`, `USER.md`, and `BOOTSTRAP.md`.
295
295
- On native Windows, `--install-daemon` tries Scheduled Tasks first and falls back to a per-user Startup-folder login item if task creation is denied.
|`tools.requireMetadata`| Governed `TOOLS.md` declarations | Require governed tools to declare metadata keys such as `risk`, `sensitivity`, or `owner`. |
|`tools.requireMetadata`| Governed `AGENTS.md` tool declarations | Require governed tools to declare metadata keys such as `risk`, `sensitivity`, or `owner`. |
506
506
507
507
#### Tool posture
508
508
@@ -741,7 +741,7 @@ Example JSON output:
741
741
"tools": [
742
742
{
743
743
"id": "deploy",
744
-
"source": "oc://TOOLS.md/tools/deploy",
744
+
"source": "oc://AGENTS.md/tools/deploy",
745
745
"line": 12,
746
746
"risk": "critical",
747
747
"sensitivity": "restricted",
@@ -897,12 +897,12 @@ Example findings:
897
897
{
898
898
"checkId": "policy/tools-missing-risk-level",
899
899
"severity": "error",
900
-
"message": "TOOLS.md tool 'deploy' has no explicit risk classification.",
900
+
"message": "AGENTS.md tool 'deploy' has no explicit risk classification.",
The agent's name, vibe, and emoji. Created/updated during the bootstrap ritual.
78
78
</Accordion>
79
-
<Accordiontitle="TOOLS.md - local tool conventions">
80
-
Notes about your local tools and conventions. Does not control tool availability; it is only guidance.
79
+
<Accordiontitle="AGENTS.md Tools section - local tool conventions">
80
+
The `## Tools` section holds local environment notes and conventions. It does not control tool availability; it is only guidance.
81
81
</Accordion>
82
82
<Accordiontitle="BOOT.md - startup checklist">
83
83
Optional startup checklist run automatically on gateway restart (when [internal hooks](/automation/hooks) are enabled). Keep it short; use the message tool for outbound sends.
@@ -137,7 +137,7 @@ Run these steps on the machine where the Gateway runs (that is where the workspa
0 commit comments