#10665: fix(docs): replace removed gateway wake with system event in coding-agent skill
stale
Cluster:
Skill Enhancements and Fixes
## Summary
- The coding-agent skill references `openclaw gateway wake --text "..." --mode now`, but this command was removed during the CLI refactor and fails with `error: unknown option '--text'`
- Replaced with `openclaw system event --text "..." --mode now` (defined in `src/cli/system-cli.ts`)
- Added a note clarifying that `--mode now` delivers the event to the gateway immediately, but the agent processes it on its next turn (heartbeat or incoming message), not synchronously — based on @semidark-kiki's feedback in #10144
This is a resubmission of #10162 (closed by bot) rebased on latest main, with the delivery semantics clarification included from the start.
## Test plan
- [x] Verified `openclaw system event` command exists in `src/cli/system-cli.ts` with `--text` and `--mode` options
- [x] No other references to the old `gateway wake` command remain in the codebase
- [x] Documentation-only change, no functional code modified
Closes #10144
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
- Updates the `coding-agent` skill docs to use `openclaw system event --text ... --mode now` instead of the removed `openclaw gateway wake --text ... --mode now`.
- Adds a clarification that `--mode now` delivers immediately to the gateway, but the agent only processes the event on its next turn (heartbeat/incoming message).
- Adjusts the embedded Codex example prompt accordingly; no runtime code paths are changed.
<h3>Confidence Score: 5/5</h3>
- This PR is safe to merge with minimal risk.
- Changes are limited to documentation and correctly align the skill instructions with the existing `openclaw system event` CLI (including `--text` and `--mode now`). No functional code was modified and no new failure modes were introduced.
- No files require special attention
<!-- greptile_other_comments_section -->
<!-- /greptile_comment -->
Most Similar PRs
#8873: fix: document skill loading locations in system prompt
by ytfh44 · 2026-02-04
78.2%
#16087: docs: enhance OpenCode documentation in coding-agent skill
by imwxc · 2026-02-14
76.9%
#22525: [Bug]: Session snapshot not reloading skills after gateway restart ...
by zwffff · 2026-02-21
76.0%
#15852: fix: pass agentId when resolving IRC session paths
by MisterGuy420 · 2026-02-14
75.8%
#17221: fix(agents): prevent agents from using exec for gateway management
by CornBrother0x · 2026-02-15
75.7%
#16362: Update session-pruning.md - updated agents.defaults config std
by elliottb · 2026-02-14
75.5%
#12834: docs(gateway): clarify there is no standalone clawrouter binary
by JBrady · 2026-02-09
75.5%
#16685: Fix cli agents/approvals/discord routing edge cases
by craftowen · 2026-02-15
75.0%
#11455: fix(gateway): default gateway.mode to local when unset
by AnonO6 · 2026-02-07
75.0%
#19579: fix(skills): complete clawhub SKILL.md with missing commands
by buddyh · 2026-02-18
74.9%