{"id":293,"date":"2026-03-21T22:47:26","date_gmt":"2026-03-21T14:47:26","guid":{"rendered":"https:\/\/pa.yingzhi8.cn\/index.php\/2026\/03\/21\/tools-slash-commands\/"},"modified":"2026-03-21T23:08:54","modified_gmt":"2026-03-21T15:08:54","slug":"tools-slash-commands","status":"publish","type":"post","link":"https:\/\/pa.yingzhi8.cn\/index.php\/2026\/03\/21\/tools-slash-commands\/","title":{"rendered":"\u659c\u6760\u547d\u4ee4"},"content":{"rendered":"<h1>\u659c\u6760\u547d\u4ee4<\/h1>\n<p>\u547d\u4ee4\u7531 Gateway \u7f51\u5173\u5904\u7406\u3002\u5927\u591a\u6570\u547d\u4ee4\u5fc5\u987b\u4f5c\u4e3a\u4ee5 <code>\/<\/code> \u5f00\u5934\u7684<strong>\u72ec\u7acb<\/strong>\u6d88\u606f\u53d1\u9001\u3002<br \/>\n\u4ec5\u4e3b\u673a\u7684 bash \u804a\u5929\u547d\u4ee4\u4f7f\u7528 <code>! &lt;cmd&gt;<\/code>\uff08<code>\/bash &lt;cmd&gt;<\/code> \u662f\u522b\u540d\uff09\u3002<\/p>\n<p>\u6709\u4e24\u4e2a\u76f8\u5173\u7cfb\u7edf\uff1a<\/p>\n<ul>\n<li><strong>\u547d\u4ee4<\/strong>\uff1a\u72ec\u7acb\u7684 <code>\/...<\/code> \u6d88\u606f\u3002<\/li>\n<li><strong>\u6307\u4ee4<\/strong>\uff1a<code>\/think<\/code>\u3001<code>\/verbose<\/code>\u3001<code>\/reasoning<\/code>\u3001<code>\/elevated<\/code>\u3001<code>\/exec<\/code>\u3001<code>\/model<\/code>\u3001<code>\/queue<\/code>\u3002<\/li>\n<li>\u6307\u4ee4\u5728\u6a21\u578b\u770b\u5230\u6d88\u606f\u4e4b\u524d\u88ab\u5265\u79bb\u3002<\/li>\n<li>\u5728\u666e\u901a\u804a\u5929\u6d88\u606f\u4e2d\uff08\u4e0d\u662f\u4ec5\u6307\u4ee4\u6d88\u606f\uff09\uff0c\u5b83\u4eec\u88ab\u89c6\u4e3a&#8221;\u5185\u8054\u63d0\u793a&#8221;\uff0c<strong>\u4e0d\u4f1a<\/strong>\u6301\u4e45\u5316\u4f1a\u8bdd\u8bbe\u7f6e\u3002<\/li>\n<li>\u5728\u4ec5\u6307\u4ee4\u6d88\u606f\u4e2d\uff08\u6d88\u606f\u53ea\u5305\u542b\u6307\u4ee4\uff09\uff0c\u5b83\u4eec\u4f1a\u6301\u4e45\u5316\u5230\u4f1a\u8bdd\u5e76\u56de\u590d\u786e\u8ba4\u3002<\/li>\n<li>\u6307\u4ee4\u4ec5\u5bf9<strong>\u6388\u6743\u53d1\u9001\u8005<\/strong>\u751f\u6548\uff08\u6e20\u9053\u767d\u540d\u5355\/\u914d\u5bf9\u52a0\u4e0a <code>commands.useAccessGroups<\/code>\uff09\u3002<br \/>\n    \u672a\u6388\u6743\u53d1\u9001\u8005\u7684\u6307\u4ee4\u88ab\u89c6\u4e3a\u7eaf\u6587\u672c\u3002<\/li>\n<\/ul>\n<p>\u8fd8\u6709\u4e00\u4e9b<strong>\u5185\u8054\u5feb\u6377\u65b9\u5f0f<\/strong>\uff08\u4ec5\u9650\u767d\u540d\u5355\/\u6388\u6743\u53d1\u9001\u8005\uff09\uff1a<code>\/help<\/code>\u3001<code>\/commands<\/code>\u3001<code>\/status<\/code>\u3001<code>\/whoami<\/code>\uff08<code>\/id<\/code>\uff09\u3002<br \/>\n\u5b83\u4eec\u7acb\u5373\u8fd0\u884c\uff0c\u5728\u6a21\u578b\u770b\u5230\u6d88\u606f\u4e4b\u524d\u88ab\u5265\u79bb\uff0c\u5269\u4f59\u6587\u672c\u7ee7\u7eed\u901a\u8fc7\u6b63\u5e38\u6d41\u7a0b\u3002<\/p>\n<h2>\u914d\u7f6e<\/h2>\n<p>&#8220;`json5  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\n{<br \/>\n  commands: {<br \/>\n    native: &#8220;auto&#8221;,<br \/>\n    nativeSkills: &#8220;auto&#8221;,<br \/>\n    text: true,<br \/>\n    bash: false,<br \/>\n    bashForegroundMs: 2000,<br \/>\n    config: false,<br \/>\n    debug: false,<br \/>\n    restart: false,<br \/>\n    useAccessGroups: true,<br \/>\n  },<br \/>\n}<\/p>\n<pre><code>\n* `commands.text`\uff08\u9ed8\u8ba4 `true`\uff09\u542f\u7528\u89e3\u6790\u804a\u5929\u6d88\u606f\u4e2d\u7684 `\/...`\u3002\n  * \u5728\u6ca1\u6709\u539f\u751f\u547d\u4ee4\u7684\u5e73\u53f0\u4e0a\uff08WhatsApp\/WebChat\/Signal\/iMessage\/Google Chat\/MS Teams\uff09\uff0c\u5373\u4f7f\u4f60\u5c06\u6b64\u8bbe\u7f6e\u4e3a `false`\uff0c\u6587\u672c\u547d\u4ee4\u4ecd\u7136\u6709\u6548\u3002\n* `commands.native`\uff08\u9ed8\u8ba4 `&quot;auto&quot;`\uff09\u6ce8\u518c\u539f\u751f\u547d\u4ee4\u3002\n  * Auto\uff1a\u5728 Discord\/Telegram \u4e0a\u542f\u7528\uff1b\u5728 Slack \u4e0a\u7981\u7528\uff08\u76f4\u5230\u4f60\u6dfb\u52a0\u659c\u6760\u547d\u4ee4\uff09\uff1b\u5728\u4e0d\u652f\u6301\u539f\u751f\u547d\u4ee4\u7684\u63d0\u4f9b\u5546\u4e0a\u5ffd\u7565\u3002\n  * \u8bbe\u7f6e `channels.discord.commands.native`\u3001`channels.telegram.commands.native` \u6216 `channels.slack.commands.native` \u4ee5\u6309\u63d0\u4f9b\u5546\u8986\u76d6\uff08\u5e03\u5c14\u503c\u6216 `&quot;auto&quot;`\uff09\u3002\n  * `false` \u5728\u542f\u52a8\u65f6\u6e05\u9664 Discord\/Telegram \u4e0a\u4e4b\u524d\u6ce8\u518c\u7684\u547d\u4ee4\u3002Slack \u547d\u4ee4\u5728 Slack \u5e94\u7528\u4e2d\u7ba1\u7406\uff0c\u4e0d\u4f1a\u81ea\u52a8\u5220\u9664\u3002\n* `commands.nativeSkills`\uff08\u9ed8\u8ba4 `&quot;auto&quot;`\uff09\u5728\u652f\u6301\u65f6\u539f\u751f\u6ce8\u518c **Skill** \u547d\u4ee4\u3002\n  * Auto\uff1a\u5728 Discord\/Telegram \u4e0a\u542f\u7528\uff1b\u5728 Slack \u4e0a\u7981\u7528\uff08Slack \u9700\u8981\u4e3a\u6bcf\u4e2a Skill \u521b\u5efa\u4e00\u4e2a\u659c\u6760\u547d\u4ee4\uff09\u3002\n  * \u8bbe\u7f6e `channels.discord.commands.nativeSkills`\u3001`channels.telegram.commands.nativeSkills` \u6216 `channels.slack.commands.nativeSkills` \u4ee5\u6309\u63d0\u4f9b\u5546\u8986\u76d6\uff08\u5e03\u5c14\u503c\u6216 `&quot;auto&quot;`\uff09\u3002\n* `commands.bash`\uff08\u9ed8\u8ba4 `false`\uff09\u542f\u7528 `! &lt;cmd&gt;` \u6765\u8fd0\u884c\u4e3b\u673a shell \u547d\u4ee4\uff08`\/bash &lt;cmd&gt;` \u662f\u522b\u540d\uff1b\u9700\u8981 `tools.elevated` \u767d\u540d\u5355\uff09\u3002\n* `commands.bashForegroundMs`\uff08\u9ed8\u8ba4 `2000`\uff09\u63a7\u5236 bash \u5207\u6362\u5230\u540e\u53f0\u6a21\u5f0f\u4e4b\u524d\u7b49\u5f85\u591a\u957f\u65f6\u95f4\uff08`0` \u7acb\u5373\u540e\u53f0\u8fd0\u884c\uff09\u3002\n* `commands.config`\uff08\u9ed8\u8ba4 `false`\uff09\u542f\u7528 `\/config`\uff08\u8bfb\u5199 `openclaw.json`\uff09\u3002\n* `commands.debug`\uff08\u9ed8\u8ba4 `false`\uff09\u542f\u7528 `\/debug`\uff08\u4ec5\u8fd0\u884c\u65f6\u8986\u76d6\uff09\u3002\n* `commands.useAccessGroups`\uff08\u9ed8\u8ba4 `true`\uff09\u5bf9\u547d\u4ee4\u5f3a\u5236\u6267\u884c\u767d\u540d\u5355\/\u7b56\u7565\u3002\n\n## \u547d\u4ee4\u5217\u8868\n\n\u6587\u672c + \u539f\u751f\uff08\u542f\u7528\u65f6\uff09\uff1a\n\n* `\/help`\n* `\/commands`\n* `\/skill &lt;name&gt; [input]`\uff08\u6309\u540d\u79f0\u8fd0\u884c Skill\uff09\n* `\/status`\uff08\u663e\u793a\u5f53\u524d\u72b6\u6001\uff1b\u5728\u53ef\u7528\u65f6\u5305\u542b\u5f53\u524d\u6a21\u578b\u63d0\u4f9b\u5546\u7684\u63d0\u4f9b\u5546\u4f7f\u7528\u91cf\/\u914d\u989d\uff09\n* `\/allowlist`\uff08\u5217\u51fa\/\u6dfb\u52a0\/\u5220\u9664\u767d\u540d\u5355\u6761\u76ee\uff09\n* `\/approve &lt;id&gt; allow-once|allow-always|deny`\uff08\u89e3\u51b3 exec \u5ba1\u6279\u63d0\u793a\uff09\n* `\/context [list|detail|json]`\uff08\u89e3\u91ca&quot;\u4e0a\u4e0b\u6587&quot;\uff1b`detail` \u663e\u793a\u6bcf\u4e2a\u6587\u4ef6 + \u6bcf\u4e2a\u5de5\u5177 + \u6bcf\u4e2a Skill + \u7cfb\u7edf\u63d0\u793a\u8bcd\u5927\u5c0f\uff09\n* `\/whoami`\uff08\u663e\u793a\u4f60\u7684\u53d1\u9001\u8005 ID\uff1b\u522b\u540d\uff1a`\/id`\uff09\n* `\/subagents list|kill|log|info|send|steer|spawn`\uff08\u68c0\u67e5\u3001\u63a7\u5236\u6216\u521b\u5efa\u5f53\u524d\u4f1a\u8bdd\u7684\u5b50\u667a\u80fd\u4f53\u8fd0\u884c\uff09\n* `\/config show|get|set|unset`\uff08\u5c06\u914d\u7f6e\u6301\u4e45\u5316\u5230\u78c1\u76d8\uff0c\u4ec5\u6240\u6709\u8005\uff1b\u9700\u8981 `commands.config: true`\uff09\n* `\/debug show|set|unset|reset`\uff08\u8fd0\u884c\u65f6\u8986\u76d6\uff0c\u4ec5\u6240\u6709\u8005\uff1b\u9700\u8981 `commands.debug: true`\uff09\n* `\/usage off|tokens|full|cost`\uff08\u6bcf\u54cd\u5e94\u4f7f\u7528\u91cf\u9875\u811a\u6216\u672c\u5730\u6210\u672c\u6458\u8981\uff09\n* `\/tts off|always|inbound|tagged|status|provider|limit|summary|audio`\uff08\u63a7\u5236 TTS\uff1b\u53c2\u89c1 [\/tts](\/tts)\uff09\n  * Discord\uff1a\u539f\u751f\u547d\u4ee4\u662f `\/voice`\uff08Discord \u4fdd\u7559\u4e86 `\/tts`\uff09\uff1b\u6587\u672c `\/tts` \u4ecd\u7136\u6709\u6548\u3002\n* `\/stop`\n* `\/restart`\n* `\/dock-telegram`\uff08\u522b\u540d\uff1a`\/dock_telegram`\uff09\uff08\u5c06\u56de\u590d\u5207\u6362\u5230 Telegram\uff09\n* `\/dock-discord`\uff08\u522b\u540d\uff1a`\/dock_discord`\uff09\uff08\u5c06\u56de\u590d\u5207\u6362\u5230 Discord\uff09\n* `\/dock-slack`\uff08\u522b\u540d\uff1a`\/dock_slack`\uff09\uff08\u5c06\u56de\u590d\u5207\u6362\u5230 Slack\uff09\n* `\/activation mention|always`\uff08\u4ec5\u9650\u7fa4\u7ec4\uff09\n* `\/send on|off|inherit`\uff08\u4ec5\u6240\u6709\u8005\uff09\n* `\/reset` \u6216 `\/new [model]`\uff08\u53ef\u9009\u6a21\u578b\u63d0\u793a\uff1b\u5176\u4f59\u90e8\u5206\u4f20\u9012\uff09\n* `\/think &lt;off|minimal|low|medium|high|xhigh&gt;`\uff08\u6309\u6a21\u578b\/\u63d0\u4f9b\u5546\u52a8\u6001\u9009\u62e9\uff1b\u522b\u540d\uff1a`\/thinking`\u3001`\/t`\uff09\n* `\/verbose on|full|off`\uff08\u522b\u540d\uff1a`\/v`\uff09\n* `\/reasoning on|off|stream`\uff08\u522b\u540d\uff1a`\/reason`\uff1b\u542f\u7528\u65f6\uff0c\u53d1\u9001\u5e26\u6709 `Reasoning:` \u524d\u7f00\u7684\u5355\u72ec\u6d88\u606f\uff1b`stream` = \u4ec5 Telegram \u8349\u7a3f\uff09\n* `\/elevated on|off|ask|full`\uff08\u522b\u540d\uff1a`\/elev`\uff1b`full` \u8df3\u8fc7 exec \u5ba1\u6279\uff09\n* `\/exec host=&lt;sandbox|gateway|node&gt; security=&lt;deny|allowlist|full&gt; ask=&lt;off|on-miss|always&gt; node=&lt;id&gt;`\uff08\u53d1\u9001 `\/exec` \u663e\u793a\u5f53\u524d\u8bbe\u7f6e\uff09\n* `\/model &lt;name&gt;`\uff08\u522b\u540d\uff1a`\/models`\uff1b\u6216 `agents.defaults.models.*.alias` \u4e2d\u7684 `\/&lt;alias&gt;`\uff09\n* `\/queue &lt;mode&gt;`\uff08\u52a0\u4e0a\u9009\u9879\u5982 `debounce:2s cap:25 drop:summarize`\uff1b\u53d1\u9001 `\/queue` \u67e5\u770b\u5f53\u524d\u8bbe\u7f6e\uff09\n* `\/bash &lt;command&gt;`\uff08\u4ec5\u4e3b\u673a\uff1b`! &lt;command&gt;` \u7684\u522b\u540d\uff1b\u9700\u8981 `commands.bash: true` + `tools.elevated` \u767d\u540d\u5355\uff09\n\n\u4ec5\u6587\u672c\uff1a\n\n* `\/compact [instructions]`\uff08\u53c2\u89c1 [\/concepts\/compaction](\/concepts\/compaction)\uff09\n* `! &lt;command&gt;`\uff08\u4ec5\u4e3b\u673a\uff1b\u4e00\u6b21\u4e00\u4e2a\uff1b\u5bf9\u957f\u65f6\u95f4\u8fd0\u884c\u7684\u4efb\u52a1\u4f7f\u7528 `!poll` + `!stop`\uff09\n* `!poll`\uff08\u68c0\u67e5\u8f93\u51fa\/\u72b6\u6001\uff1b\u63a5\u53d7\u53ef\u9009\u7684 `sessionId`\uff1b`\/bash poll` \u4e5f\u53ef\u7528\uff09\n* `!stop`\uff08\u505c\u6b62\u6b63\u5728\u8fd0\u884c\u7684 bash \u4efb\u52a1\uff1b\u63a5\u53d7\u53ef\u9009\u7684 `sessionId`\uff1b`\/bash stop` \u4e5f\u53ef\u7528\uff09\n\n\u6ce8\u610f\u4e8b\u9879\uff1a\n\n* \u547d\u4ee4\u63a5\u53d7\u547d\u4ee4\u548c\u53c2\u6570\u4e4b\u95f4\u7684\u53ef\u9009 `:`\uff08\u4f8b\u5982 `\/think: high`\u3001`\/send: on`\u3001`\/help:`\uff09\u3002\n* `\/new &lt;model&gt;` \u63a5\u53d7\u6a21\u578b\u522b\u540d\u3001`provider\/model` \u6216\u63d0\u4f9b\u5546\u540d\u79f0\uff08\u6a21\u7cca\u5339\u914d\uff09\uff1b\u5982\u679c\u6ca1\u6709\u5339\u914d\uff0c\u6587\u672c\u88ab\u89c6\u4e3a\u6d88\u606f\u6b63\u6587\u3002\n* \u8981\u83b7\u53d6\u5b8c\u6574\u7684\u63d0\u4f9b\u5546\u4f7f\u7528\u91cf\u5206\u89e3\uff0c\u4f7f\u7528 `openclaw status --usage`\u3002\n* `\/allowlist add|remove` \u9700\u8981 `commands.config=true` \u5e76\u9075\u5faa\u6e20\u9053 `configWrites`\u3002\n* `\/usage` \u63a7\u5236\u6bcf\u54cd\u5e94\u4f7f\u7528\u91cf\u9875\u811a\uff1b`\/usage cost` \u4ece OpenClaw \u4f1a\u8bdd\u65e5\u5fd7\u6253\u5370\u672c\u5730\u6210\u672c\u6458\u8981\u3002\n* `\/restart` \u9ed8\u8ba4\u7981\u7528\uff1b\u8bbe\u7f6e `commands.restart: true` \u542f\u7528\u5b83\u3002\n* `\/verbose` \u7528\u4e8e\u8c03\u8bd5\u548c\u989d\u5916\u53ef\u89c1\u6027\uff1b\u5728\u6b63\u5e38\u4f7f\u7528\u4e2d\u4fdd\u6301**\u5173\u95ed**\u3002\n* `\/reasoning`\uff08\u548c `\/verbose`\uff09\u5728\u7fa4\u7ec4\u8bbe\u7f6e\u4e2d\u6709\u98ce\u9669\uff1a\u5b83\u4eec\u53ef\u80fd\u4f1a\u66b4\u9732\u4f60\u4e0d\u6253\u7b97\u516c\u5f00\u7684\u5185\u90e8\u63a8\u7406\u6216\u5de5\u5177\u8f93\u51fa\u3002\u6700\u597d\u4fdd\u6301\u5173\u95ed\uff0c\u5c24\u5176\u662f\u5728\u7fa4\u804a\u4e2d\u3002\n* **\u5feb\u901f\u8def\u5f84\uff1a** \u6765\u81ea\u767d\u540d\u5355\u53d1\u9001\u8005\u7684\u4ec5\u547d\u4ee4\u6d88\u606f\u4f1a\u7acb\u5373\u5904\u7406\uff08\u7ed5\u8fc7\u961f\u5217 + \u6a21\u578b\uff09\u3002\n* **\u7fa4\u7ec4\u63d0\u53ca\u95e8\u63a7\uff1a** \u6765\u81ea\u767d\u540d\u5355\u53d1\u9001\u8005\u7684\u4ec5\u547d\u4ee4\u6d88\u606f\u7ed5\u8fc7\u63d0\u53ca\u8981\u6c42\u3002\n* **\u5185\u8054\u5feb\u6377\u65b9\u5f0f\uff08\u4ec5\u9650\u767d\u540d\u5355\u53d1\u9001\u8005\uff09\uff1a** \u67d0\u4e9b\u547d\u4ee4\u5728\u5d4c\u5165\u666e\u901a\u6d88\u606f\u65f6\u4e5f\u80fd\u5de5\u4f5c\uff0c\u5e76\u5728\u6a21\u578b\u770b\u5230\u5269\u4f59\u6587\u672c\u4e4b\u524d\u88ab\u5265\u79bb\u3002\n  * \u793a\u4f8b\uff1a`hey \/status` \u89e6\u53d1\u72b6\u6001\u56de\u590d\uff0c\u5269\u4f59\u6587\u672c\u7ee7\u7eed\u901a\u8fc7\u6b63\u5e38\u6d41\u7a0b\u3002\n* \u76ee\u524d\uff1a`\/help`\u3001`\/commands`\u3001`\/status`\u3001`\/whoami`\uff08`\/id`\uff09\u3002\n* \u672a\u6388\u6743\u7684\u4ec5\u547d\u4ee4\u6d88\u606f\u88ab\u9759\u9ed8\u5ffd\u7565\uff0c\u5185\u8054 `\/...` \u4ee4\u724c\u88ab\u89c6\u4e3a\u7eaf\u6587\u672c\u3002\n* **Skill \u547d\u4ee4\uff1a** `user-invocable` Skills \u4f5c\u4e3a\u659c\u6760\u547d\u4ee4\u516c\u5f00\u3002\u540d\u79f0\u88ab\u6e05\u7406\u4e3a `a-z0-9_`\uff08\u6700\u591a 32 \u4e2a\u5b57\u7b26\uff09\uff1b\u51b2\u7a81\u83b7\u5f97\u6570\u5b57\u540e\u7f00\uff08\u4f8b\u5982 `_2`\uff09\u3002\n  * `\/skill &lt;name&gt; [input]` \u6309\u540d\u79f0\u8fd0\u884c Skill\uff08\u5f53\u539f\u751f\u547d\u4ee4\u9650\u5236\u963b\u6b62\u6bcf\u4e2a Skill \u547d\u4ee4\u65f6\u6709\u7528\uff09\u3002\n  * \u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cSkill \u547d\u4ee4\u4f5c\u4e3a\u666e\u901a\u8bf7\u6c42\u8f6c\u53d1\u7ed9\u6a21\u578b\u3002\n  * Skills \u53ef\u4ee5\u9009\u62e9\u58f0\u660e `command-dispatch: tool` \u5c06\u547d\u4ee4\u76f4\u63a5\u8def\u7531\u5230\u5de5\u5177\uff08\u786e\u5b9a\u6027\uff0c\u65e0\u6a21\u578b\uff09\u3002\n  * \u793a\u4f8b\uff1a`\/prose`\uff08OpenProse \u63d2\u4ef6\uff09\u2014 \u53c2\u89c1 [OpenProse](\/prose)\u3002\n* **\u539f\u751f\u547d\u4ee4\u53c2\u6570\uff1a** Discord \u4f7f\u7528\u81ea\u52a8\u5b8c\u6210\u8fdb\u884c\u52a8\u6001\u9009\u9879\uff08\u4ee5\u53ca\u5f53\u4f60\u7701\u7565\u5fc5\u9700\u53c2\u6570\u65f6\u7684\u6309\u94ae\u83dc\u5355\uff09\u3002\u5f53\u547d\u4ee4\u652f\u6301\u9009\u62e9\u4e14\u4f60\u7701\u7565\u53c2\u6570\u65f6\uff0cTelegram \u548c Slack \u663e\u793a\u6309\u94ae\u83dc\u5355\u3002\n\n## \u4f7f\u7528\u91cf\u663e\u793a\uff08\u4ec0\u4e48\u663e\u793a\u5728\u54ea\u91cc\uff09\n\n* **\u63d0\u4f9b\u5546\u4f7f\u7528\u91cf\/\u914d\u989d**\uff08\u793a\u4f8b\uff1a&quot;Claude 80% left&quot;\uff09\u5728\u542f\u7528\u4f7f\u7528\u91cf\u8ddf\u8e2a\u65f6\u663e\u793a\u5728 `\/status` \u4e2d\uff0c\u9488\u5bf9\u5f53\u524d\u6a21\u578b\u63d0\u4f9b\u5546\u3002\n* **\u6bcf\u54cd\u5e94\u4ee4\u724c\/\u6210\u672c**\u7531 `\/usage off|tokens|full` \u63a7\u5236\uff08\u9644\u52a0\u5230\u666e\u901a\u56de\u590d\uff09\u3002\n* `\/model status` \u662f\u5173\u4e8e**\u6a21\u578b\/\u8ba4\u8bc1\/\u7aef\u70b9**\u7684\uff0c\u4e0d\u662f\u4f7f\u7528\u91cf\u3002\n\n## \u6a21\u578b\u9009\u62e9\uff08`\/model`\uff09\n\n`\/model` \u4f5c\u4e3a\u6307\u4ee4\u5b9e\u73b0\u3002\n\n\u793a\u4f8b\uff1a\n\n<\/code><\/pre>\n<p>\/model<br \/>\n\/model list<br \/>\n\/model 3<br \/>\n\/model openai\/gpt-5.2<br \/>\n\/model opus@anthropic:default<br \/>\n\/model status<\/p>\n<pre><code>\n\u6ce8\u610f\u4e8b\u9879\uff1a\n\n* `\/model` \u548c `\/model list` \u663e\u793a\u7d27\u51d1\u7684\u7f16\u53f7\u9009\u62e9\u5668\uff08\u6a21\u578b\u7cfb\u5217 + \u53ef\u7528\u63d0\u4f9b\u5546\uff09\u3002\n* `\/model &lt;#&gt;` \u4ece\u8be5\u9009\u62e9\u5668\u4e2d\u9009\u62e9\uff08\u5e76\u5728\u53ef\u80fd\u65f6\u4f18\u5148\u9009\u62e9\u5f53\u524d\u63d0\u4f9b\u5546\uff09\u3002\n* `\/model status` \u663e\u793a\u8be6\u7ec6\u89c6\u56fe\uff0c\u5305\u62ec\u5728\u53ef\u7528\u65f6\u914d\u7f6e\u7684\u63d0\u4f9b\u5546\u7aef\u70b9\uff08`baseUrl`\uff09\u548c API \u6a21\u5f0f\uff08`api`\uff09\u3002\n\n## \u8c03\u8bd5\u8986\u76d6\n\n`\/debug` \u8ba9\u4f60\u8bbe\u7f6e**\u4ec5\u8fd0\u884c\u65f6**\u7684\u914d\u7f6e\u8986\u76d6\uff08\u5185\u5b58\uff0c\u4e0d\u5199\u78c1\u76d8\uff09\u3002\u4ec5\u6240\u6709\u8005\u3002\u9ed8\u8ba4\u7981\u7528\uff1b\u4f7f\u7528 `commands.debug: true` \u542f\u7528\u3002\n\n\u793a\u4f8b\uff1a\n\n<\/code><\/pre>\n<p>\/debug show<br \/>\n\/debug set messages.responsePrefix=&#8221;[openclaw]&#8221;<br \/>\n\/debug set channels.whatsapp.allowFrom=[&#8220;+1555&#8243;,&#8221;+4477&#8221;]<br \/>\n\/debug unset messages.responsePrefix<br \/>\n\/debug reset<\/p>\n<pre><code>\n\u6ce8\u610f\u4e8b\u9879\uff1a\n\n* \u8986\u76d6\u7acb\u5373\u5e94\u7528\u4e8e\u65b0\u7684\u914d\u7f6e\u8bfb\u53d6\uff0c\u4f46**\u4e0d\u4f1a**\u5199\u5165 `openclaw.json`\u3002\n* \u4f7f\u7528 `\/debug reset` \u6e05\u9664\u6240\u6709\u8986\u76d6\u5e76\u8fd4\u56de\u5230\u78c1\u76d8\u4e0a\u7684\u914d\u7f6e\u3002\n\n## \u914d\u7f6e\u66f4\u65b0\n\n`\/config` \u5199\u5165\u4f60\u7684\u78c1\u76d8\u914d\u7f6e\uff08`openclaw.json`\uff09\u3002\u4ec5\u6240\u6709\u8005\u3002\u9ed8\u8ba4\u7981\u7528\uff1b\u4f7f\u7528 `commands.config: true` \u542f\u7528\u3002\n\n\u793a\u4f8b\uff1a\n\n<\/code><\/pre>\n<p>\/config show<br \/>\n\/config show messages.responsePrefix<br \/>\n\/config get messages.responsePrefix<br \/>\n\/config set messages.responsePrefix=&#8221;[openclaw]&#8221;<br \/>\n\/config unset messages.responsePrefix<br \/>\n&#8220;`<\/p>\n<p>\u6ce8\u610f\u4e8b\u9879\uff1a<\/p>\n<ul>\n<li>\u914d\u7f6e\u5728\u5199\u5165\u524d\u4f1a\u9a8c\u8bc1\uff1b\u65e0\u6548\u66f4\u6539\u4f1a\u88ab\u62d2\u7edd\u3002<\/li>\n<li><code>\/config<\/code> \u66f4\u65b0\u5728\u91cd\u542f\u540e\u6301\u4e45\u5316\u3002<\/li>\n<\/ul>\n<h2>\u5e73\u53f0\u6ce8\u610f\u4e8b\u9879<\/h2>\n<ul>\n<li><strong>\u6587\u672c\u547d\u4ee4<\/strong>\u5728\u666e\u901a\u804a\u5929\u4f1a\u8bdd\u4e2d\u8fd0\u884c\uff08\u79c1\u4fe1\u5171\u4eab <code>main<\/code>\uff0c\u7fa4\u7ec4\u6709\u81ea\u5df1\u7684\u4f1a\u8bdd\uff09\u3002<\/li>\n<li><strong>\u539f\u751f\u547d\u4ee4<\/strong>\u4f7f\u7528\u9694\u79bb\u7684\u4f1a\u8bdd\uff1a<\/li>\n<li>Discord\uff1a<code>agent:&lt;agentId&gt;:discord:slash:&lt;userId&gt;<\/code><\/li>\n<li>Slack\uff1a<code>agent:&lt;agentId&gt;:slack:slash:&lt;userId&gt;<\/code>\uff08\u524d\u7f00\u53ef\u901a\u8fc7 <code>channels.slack.slashCommand.sessionPrefix<\/code> \u914d\u7f6e\uff09<\/li>\n<li>Telegram\uff1a<code>telegram:slash:&lt;userId&gt;<\/code>\uff08\u901a\u8fc7 <code>CommandTargetSessionKey<\/code> \u5b9a\u5411\u5230\u804a\u5929\u4f1a\u8bdd\uff09<\/li>\n<li><strong><code>\/stop<\/code><\/strong> \u5b9a\u5411\u5230\u6d3b\u52a8\u804a\u5929\u4f1a\u8bdd\uff0c\u56e0\u6b64\u53ef\u4ee5\u4e2d\u6b62\u5f53\u524d\u8fd0\u884c\u3002<\/li>\n<li><strong>Slack\uff1a<\/strong> <code>channels.slack.slashCommand<\/code> \u4ecd\u7136\u652f\u6301\u5355\u4e2a <code>\/openclaw<\/code> \u98ce\u683c\u7684\u547d\u4ee4\u3002\u5982\u679c\u4f60\u542f\u7528 <code>commands.native<\/code>\uff0c\u4f60\u5fc5\u987b\u4e3a\u6bcf\u4e2a\u5185\u7f6e\u547d\u4ee4\u521b\u5efa\u4e00\u4e2a Slack \u659c\u6760\u547d\u4ee4\uff08\u4e0e <code>\/help<\/code> \u76f8\u540c\u7684\u540d\u79f0\uff09\u3002Slack \u7684\u547d\u4ee4\u53c2\u6570\u83dc\u5355\u4ee5\u4e34\u65f6 Block Kit \u6309\u94ae\u5f62\u5f0f\u53d1\u9001\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u659c\u6760\u547d\u4ee4 \u547d\u4ee4\u7531 Gateway \u7f51\u5173\u5904\u7406\u3002\u5927\u591a\u6570\u547d\u4ee4\u5fc5\u987b\u4f5c\u4e3a\u4ee5 \/ \u5f00\u5934\u7684\u72ec\u7acb\u6d88\u606f\u53d1\u9001\u3002 \u4ec5\u4e3b\u673a\u7684 bash [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-293","post","type-post","status-publish","format-standard","hentry","category-docs"],"_links":{"self":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/293","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/comments?post=293"}],"version-history":[{"count":1,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/293\/revisions"}],"predecessor-version":[{"id":588,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/293\/revisions\/588"}],"wp:attachment":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/media?parent=293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/categories?post=293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/tags?post=293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}