Slash ကွန်မန်းများ¶
Commands များကို Gateway မှ ကိုင်တွယ်ဆောင်ရွက်ပါသည်။ Commands အများစုကို / ဖြင့် စတင်သော standalone message အဖြစ် ပို့ရပါမည်။
Host-only bash chat command သည် ! ကို အသုံးပြုပါသည်။ <cmd> (/bash <cmd> ကို alias အဖြစ် အသုံးပြုနိုင်ပါသည်)။
ဆက်စပ်သော စနစ် ၂ ခု ရှိပါသည်–
- Commands: သီးသန့်
/...မက်ဆေ့ချ်များ။ - Directives:
/think,/verbose,/reasoning,/elevated,/exec,/model,/queue။ - Directive များကို မော်ဒယ်က မမြင်မီ မက်ဆေ့ချ်မှ ဖယ်ရှားပစ်ပါသည်။
- ပုံမှန် chat မက်ဆေ့ချ်များတွင် (directive-only မဟုတ်ပါက) ၎င်းတို့ကို “inline hints” အဖြစ် သတ်မှတ်ပြီး session setting များကို မသိမ်းဆည်းပါ။
- directive-only မက်ဆေ့ချ်များတွင် (မက်ဆေ့ချ်ထဲတွင် directive များသာ ပါဝင်ပါက) session ထဲသို့ သိမ်းဆည်းပြီး acknowledgement ဖြင့် ပြန်လည်တုံ့ပြန်ပါသည်။
- Directives များကို ခွင့်ပြုထားသော senders များအတွက်သာ အသုံးချပါသည် (channel allowlists/pairing နှင့်
commands.useAccessGroups)။ ခွင့်မပြုထားသော senders များအတွက် directives များကို plain text အဖြစ်သာ ဆက်ဆံပါသည်။
ထို့အပြင် inline shortcuts အချို့လည်း ရှိပါသည် (allowlisted/authorized senders များအတွက်သာ): /help, /commands, /status, /whoami (/id)။
၎င်းတို့သည် ချက်ချင်း chạy လုပ်ပြီး model မမြင်မီ message ထဲမှ ဖယ်ရှားခံရကာ ကျန်ရှိသော စာသားသည် ပုံမှန် flow အတိုင်း ဆက်လက်လုပ်ဆောင်ပါသည်။
ဖွဲ့စည်းမှု¶
{
commands: {
native: "auto",
nativeSkills: "auto",
text: true,
bash: false,
bashForegroundMs: 2000,
config: false,
debug: false,
restart: false,
useAccessGroups: true,
},
}
commands.text(defaulttrue) သည် chat မက်ဆေ့ချ်များအတွင်း/...ကို parse လုပ်နိုင်စေပါသည်။- native command မရှိသော surface များတွင် (WhatsApp/WebChat/Signal/iMessage/Google Chat/MS Teams) ဤတန်ဖိုးကို
falseသတ်မှတ်ထားသော်လည်း text command များသည် ဆက်လက် အလုပ်လုပ်ပါသည်။ commands.native(default"auto") သည် native command များကို register လုပ်ပါသည်။- Auto: Discord/Telegram အတွက် ဖွင့်ထားသည်; Slack အတွက် ပိတ်ထားသည် (slash command များ ထည့်သွင်းမချင်း); native support မရှိသော provider များအတွက် လျစ်လျူရှုပါသည်။
- Provider တစ်ခုချင်းစီအလိုက် override လုပ်ရန်
channels.discord.commands.native,channels.telegram.commands.native, သို့မဟုတ်channels.slack.commands.nativeကို သတ်မှတ်နိုင်သည် (bool သို့မဟုတ်"auto")။ falseသည် startup အချိန်တွင် Discord/Telegram တွင် ယခင် register လုပ်ထားသော commands များကို ဖျက်ရှင်းပါသည်။ Slack commands များကို Slack app ထဲတွင် စီမံခန့်ခွဲရပြီး အလိုအလျောက် ဖယ်ရှားမည် မဟုတ်ပါ။commands.nativeSkills(default"auto") သည် ပံ့ပိုးနိုင်သည့်အခါ skill command များကို native အဖြစ် register လုပ်ပါသည်။- Auto: Discord/Telegram အတွက် ဖွင့်ထားသည်; Slack အတွက် ပိတ်ထားသည် (Slack တွင် skill တစ်ခုချင်းစီအတွက် slash command တစ်ခုစီ ဖန်တီးရန် လိုအပ်သည်)။
- Provider တစ်ခုချင်းစီအလိုက် override လုပ်ရန်
channels.discord.commands.nativeSkills,channels.telegram.commands.nativeSkills, သို့မဟုတ်channels.slack.commands.nativeSkillsကို သတ်မှတ်နိုင်သည် (bool သို့မဟုတ်"auto")။ commands.bash(defaultfalse) သည်!ကို ဖွင့်ပေးပါသည်။<cmd>ကို host shell commands chạy လုပ်ရန် အသုံးပြုနိုင်ပါသည် (/bash <cmd>သည် alias ဖြစ်ပြီးtools.elevatedallowlists လိုအပ်ပါသည်)။commands.bashForegroundMs(default2000) သည် bash ကို background mode သို့ ပြောင်းမီ မည်မျှကြာ စောင့်ရမည်ကို ထိန်းချုပ်ပါသည် (0သည် ချက်ချင်း background သို့ ပြောင်းပါသည်)။commands.config(defaultfalse) သည်/configကို ဖွင့်ပါသည် (openclaw.jsonကို ဖတ်/ရေး လုပ်ပါသည်)။commands.debug(defaultfalse) သည်/debugကို ဖွင့်ပါသည် (runtime-only override များ)။commands.useAccessGroups(defaulttrue) သည် command များအတွက် allowlists/policies များကို အတည်ပြု ချမှတ်ပါသည်။
Command list¶
Text + native (ဖွင့်ထားသောအခါ):
/help/commands/skill <name> [input](အမည်ဖြင့် skill ကို chạy လုပ်ရန်)/status(လက်ရှိ အခြေအနေ ပြရန်; ရနိုင်သည့်အခါ လက်ရှိ model provider အတွက် provider usage/quota ပါဝင်သည်)/allowlist(allowlist entry များကို list/add/remove)/approve <id> allow-once|allow-always|deny(exec approval prompt များကို ဖြေရှင်းရန်)/context [list|detail|json](“context” ကို ရှင်းပြရန်;detailသည် file တစ်ခုချင်း + tool တစ်ခုချင်း + skill တစ်ခုချင်း + system prompt size ကို ပြသည်)/whoami(သင့် sender id ကို ပြရန်; alias:/id)/subagents list|stop|log|info|send(လက်ရှိ session အတွက် sub-agent run များကို စစ်ဆေး၊ ရပ်တန့်၊ log ကြည့်၊ သို့မဟုတ် မက်ဆေ့ချ် ပို့ရန်)/config show|get|set|unset(config ကို disk သို့ သိမ်းဆည်းရန်၊ owner-only;commands.config: trueလိုအပ်သည်)/debug show|set|unset|reset(runtime override များ၊ owner-only;commands.debug: trueလိုအပ်သည်)/usage off|tokens|full|cost(response တစ်ခုချင်းစီအတွက် usage footer သို့မဟုတ် local cost summary)/tts off|always|inbound|tagged|status|provider|limit|summary|audio(TTS ကို ထိန်းချုပ်ရန်; /tts ကို ကြည့်ပါ)- Discord: native command သည်
/voiceဖြစ်သည် (Discord သည်/ttsကို reserve လုပ်ထားသည်); text/ttsသည် ဆက်လက် အလုပ်လုပ်ပါသည်။ /stop/restart/dock-telegram(alias:/dock_telegram) (reply များကို Telegram သို့ ပြောင်းရန်)/dock-discord(alias:/dock_discord) (reply များကို Discord သို့ ပြောင်းရန်)/dock-slack(alias:/dock_slack) (reply များကို Slack သို့ ပြောင်းရန်)/activation mention|always(group များအတွက်သာ)/send on|off|inherit(owner-only)/resetသို့မဟုတ်/new [model](optional model hint; ကျန်ရှိသော စာသားကို ဆက်လက် ပို့ဆောင်ပါသည်)/think <off|minimal|low|medium|high|xhigh>(model/provider အလိုက် dynamic choices; alias များ:/thinking,/t)/verbose on|full|off(alias:/v)/reasoning on|off|stream(alias:/reason; ဖွင့်ထားသောအခါReasoning:ဖြင့် prefix ထားသော သီးသန့် မက်ဆေ့ချ် တစ်ခု ပို့ပါသည်;stream= Telegram draft only)/elevated on|off|ask|full(alias:/elev;fullသည် exec approval များကို ကျော်လွှားပါသည်)/exec host=<sandbox|gateway|node> security=<deny|allowlist|full> ask=<off|on-miss|always> node=<id>(/execကို ပို့၍ လက်ရှိ အခြေအနေ ပြရန်)/model <name>(alias:/models; သို့မဟုတ်agents.defaults.models.*.aliasမှ/<alias>)/queue <mode>(debounce:2s cap:25 drop:summarizeကဲ့သို့ option များ ပါဝင်သည်; လက်ရှိ setting များကို ကြည့်ရန်/queueကို ပို့ပါ)/bash <command>(host-only;!၏ alias ဖြစ်သည်။<command>;commands.bash: true+tools.elevatedallowlists လိုအပ်ပါသည်)။
Text-only:
/compact [instructions](/concepts/compaction ကို ကြည့်ပါ)!<command>(host-only; တစ်ကြိမ်လျှင် တစ်ခုသာ; အချိန်ကြာရှည် chạy လုပ်သော jobs များအတွက်!poll+!stopကို အသုံးပြုပါ)။!poll(output / status ကို စစ်ဆေးရန်; optionalsessionIdကို လက်ခံပါသည်;/bash pollလည်း အလုပ်လုပ်ပါသည်)!stop(လုပ်ဆောင်နေသော bash job ကို ရပ်တန့်ရန်; optionalsessionIdကို လက်ခံပါသည်;/bash stopလည်း အလုပ်လုပ်ပါသည်)
Notes:
- Command များသည် command နှင့် args ကြားတွင် optional
:ကို လက်ခံပါသည် (ဥပမာ–/think: high,/send: on,/help:)။ /new <model>သည် model alias,provider/model, သို့မဟုတ် provider အမည် (fuzzy match) ကို လက်ခံပါသည်; မကိုက်ညီပါက စာသားကို မက်ဆေ့ချ် body အဖြစ် သတ်မှတ်ပါသည်။- Provider usage ကို အပြည့်အစုံ ခွဲခြမ်းပြရန်
openclaw status --usageကို အသုံးပြုပါ။ /allowlist add|removeသည်commands.config=trueလိုအပ်ပြီး channelconfigWritesကို လိုက်နာပါသည်။/usageသည် response တစ်ခုချင်းစီအတွက် usage footer ကို ထိန်းချုပ်ပါသည်;/usage costသည် OpenClaw session log များမှ local cost summary ကို ပုံနှိပ်ပါသည်။/restartကို default အနေဖြင့် ပိတ်ထားပါသည်; ဖွင့်ရန်commands.restart: trueကို သတ်မှတ်ပါ။/verboseသည် debugging နှင့် မြင်သာမှု တိုးမြှင့်ရန် ရည်ရွယ်ထားပါသည်; ပုံမှန် အသုံးပြုမှုတွင် ပိတ်ထားပါ။/reasoning(နှင့်/verbose) သည် group settings များတွင် အန္တရာယ်ရှိနိုင်ပါသည် — သင် မဖော်ပြလိုသော internal reasoning သို့မဟုတ် tool output များကို ဖော်ထုတ်နိုင်ပါသည်။ အထူးသဖြင့် group chats များတွင် ၎င်းတို့ကို ပိတ်ထားခြင်းကို ဦးစားပေးပါ။- Fast path: allowlisted sender များမှ command-only မက်ဆေ့ချ်များကို ချက်ချင်း ကိုင်တွယ်ပါသည် (queue + model ကို ကျော်လွှားပါသည်)။
- Group mention gating: allowlisted sender များမှ command-only မက်ဆေ့ချ်များသည် mention လိုအပ်ချက်များကို ကျော်လွှားပါသည်။
- Inline shortcuts (allowlisted sender များအတွက်သာ): command အချို့ကို ပုံမှန် မက်ဆေ့ချ်အတွင်း ထည့်သွင်းအသုံးပြုနိုင်ပြီး မော်ဒယ် မမြင်မီ ဖယ်ရှားပစ်ကာ ကျန်ရှိသော စာသားကို ဆက်လက် လုပ်ဆောင်ပါသည်။
- ဥပမာ–
hey /statusသည် status reply ကို ဖြစ်ပေါ်စေပြီး ကျန်ရှိသော စာသားကို ပုံမှန် flow အတိုင်း ဆက်လက် လုပ်ဆောင်ပါသည်။ - လက်ရှိ–
/help,/commands,/status,/whoami(/id)။ - Authorized မဟုတ်သော command-only မက်ဆေ့ချ်များကို တိတ်တဆိတ် လျစ်လျူရှုပါသည်၊ inline
/...token များကို ပုံမှန် စာသားအဖြစ်သာ ကိုင်တွယ်ပါသည်။ - Skill commands:
user-invocableskills များကို slash commands အဖြစ် ဖော်ပြပေးပါသည်။ အမည်များကိုa-z0-9_သို့ sanitize လုပ်ပါသည် (အများဆုံး 32 chars); အမည်ထပ်တူ ဖြစ်ပါက numeric suffixes (ဥပမာ_2) ကို ထည့်ပါသည်။ /skill <name> [input]သည် အမည်ဖြင့် skill ကို chạy လုပ်ပါသည် (native command limit များကြောင့် skill တစ်ခုချင်းစီအတွက် command မဖန်တီးနိုင်သည့်အခါ အသုံးဝင်သည်)။- Default အနေဖြင့် skill command များကို ပုံမှန် request အဖြစ် မော်ဒယ်သို့ forward လုပ်ပါသည်။
- Skill များသည်
command-dispatch: toolကို optional အဖြစ် ကြေညာနိုင်ပြီး command ကို tool သို့ တိုက်ရိုက် route လုပ်နိုင်ပါသည် (deterministic, model မလို)။ - ဥပမာ–
/prose(OpenProse plugin) — OpenProse ကို ကြည့်ပါ။ - Native command arguments: Discord သည် dynamic options များအတွက် autocomplete ကို အသုံးပြုပါသည် (လိုအပ်သော args များကို မထည့်ထားပါက button menus ကို ပြပါသည်)။ Telegram နှင့် Slack တို့သည် command တစ်ခုတွင် choices များကို ထောက်ပံ့ထားပြီး arg ကို မထည့်ထားပါက button menu ကို ပြပါသည်။
Usage surfaces (ဘယ်နေရာမှာ ဘာပေါ်လာသလဲ)¶
- Provider usage/quota (ဥပမာ– “Claude 80% left”) သည် usage tracking ဖွင့်ထားပါက လက်ရှိ model provider အတွက်
/statusတွင် ပေါ်လာပါသည်။ - Response တစ်ခုချင်းစီအတွက် token/cost ကို
/usage off|tokens|fullမှ ထိန်းချုပ်ပါသည် (ပုံမှန် reply များတွင် ထည့်ပေါင်းပါသည်)။ /model statusသည် usage မဟုတ်ဘဲ models/auth/endpoints အကြောင်း ဖြစ်ပါသည်။
Model selection (/model)¶
/model ကို directive အဖြစ် အကောင်အထည်ဖော်ထားပါသည်။
Examples:
/model
/model list
/model 3
/model openai/gpt-5.2
/model opus@anthropic:default
/model status
Notes:
/modelနှင့်/model listသည် compact, numbered picker (model family + ရရှိနိုင်သော provider များ) ကို ပြပါသည်။/model <#>သည် ထို picker မှ ရွေးချယ်ပြီး ဖြစ်နိုင်ပါက လက်ရှိ provider ကို ဦးစားပေးပါသည်။/model statusသည် configured provider endpoint (baseUrl) နှင့် API mode (api) အပါအဝင် detailed view ကို ပြပါသည်။
Debug overrides¶
/debug သည် runtime-only config overrides များကို သတ်မှတ်နိုင်စေပါသည် (memory ထဲတွင်သာ၊ disk မဟုတ်ပါ)။ Owner-only ဖြစ်ပါသည်။ Default အနေဖြင့် ပိတ်ထားပြီး commands.debug: true ဖြင့် ဖွင့်နိုင်ပါသည်။
Examples:
/debug show
/debug set messages.responsePrefix="[openclaw]"
/debug set channels.whatsapp.allowFrom=["+1555","+4477"]
/debug unset messages.responsePrefix
/debug reset
Notes:
- Override များသည် config read အသစ်များတွင် ချက်ချင်း သက်ရောက်သော်လည်း
openclaw.jsonသို့ မရေးသားပါ။ - Override အားလုံးကို ရှင်းလင်းပြီး disk ပေါ်ရှိ config သို့ ပြန်သွားရန်
/debug resetကို အသုံးပြုပါ။
Config updates¶
/config သည် သင့် on-disk config (openclaw.json) ထဲသို့ ရေးသားပါသည်။ Owner-only ဖြစ်ပါသည်။ Default အနေဖြင့် ပိတ်ထားပြီး commands.config: true ဖြင့် ဖွင့်နိုင်ပါသည်။
Examples:
/config show
/config show messages.responsePrefix
/config get messages.responsePrefix
/config set messages.responsePrefix="[openclaw]"
/config unset messages.responsePrefix
Notes:
- Config ကို ရေးသားမီ validate လုပ်ပါသည်; မမှန်ကန်သော ပြောင်းလဲမှုများကို ပယ်ချပါသည်။
/configဖြင့် ပြုလုပ်သော update များသည် restart ပြုလုပ်ပြီးနောက်လည်း ဆက်လက် ရှိနေပါသည်။
Surface notes¶
- Text command များ သည် ပုံမှန် chat session အတွင်း chạy လုပ်ပါသည် (DM များသည်
mainကို မျှဝေပြီး group များတွင် သီးသန့် session ရှိပါသည်)။ - Native command များ သည် သီးခြား session များကို အသုံးပြုပါသည်–
- Discord:
agent:<agentId>:discord:slash:<userId> - Slack:
agent:<agentId>:slack:slash:<userId>(channels.slack.slashCommand.sessionPrefixဖြင့် prefix ကို ဖွဲ့စည်းပြင်ဆင်နိုင်သည်) - Telegram:
telegram:slash:<userId>(CommandTargetSessionKeyဖြင့် chat session ကို target လုပ်ပါသည်) /stopသည် လက်ရှိ chạy လုပ်နေသော run ကို abort လုပ်နိုင်ရန် active chat session ကို target လုပ်ပါသည်။- Slack:
channels.slack.slashCommandသည်/openclawပုံစံ command တစ်ခုအတွက် ဆက်လက် ထောက်ပံ့ထားပါသည်။commands.nativeကို ဖွင့်ပါက built-in command တစ်ခုချင်းစီအတွက် Slack slash command တစ်ခုစီကို ဖန်တီးရပါမည် (/helpနှင့် အမည်တူ)။ Slack အတွက် command argument menus များကို ephemeral Block Kit buttons အဖြစ် ပို့ပေးပါသည်။