Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.openclaw.ai/llms.txt

Use this file to discover all available pages before exploring further.

openclaw คือจุดเข้าใช้งานหลักของ CLI คำสั่งหลักแต่ละคำสั่งมีหน้าคู่มืออ้างอิงเฉพาะ หรือถูกจัดทำเอกสารไว้ร่วมกับคำสั่งที่เป็น alias ดัชนีนี้แสดงรายการคำสั่ง flag ส่วนกลาง และกฎการจัดรูปแบบเอาต์พุตที่ใช้ทั่วทั้ง CLI ใช้คำสั่งตั้งค่าตามเจตนา:
  • openclaw setup สร้าง config และ workspace พื้นฐานโดยไม่ดำเนินผ่านขั้นตอน onboarding แบบมีคำแนะนำเต็มรูปแบบ
  • openclaw onboard คือเส้นทาง first-run แบบมีคำแนะนำเต็มรูปแบบสำหรับ gateway, การยืนยันตัวตนโมเดล, workspace, channels, skills และ health
  • openclaw configure เปลี่ยนส่วนที่กำหนดเป้าหมายไว้ของการตั้งค่าที่มีอยู่ เช่น การยืนยันตัวตนโมเดล, gateway, channels, plugins หรือ skills
  • openclaw channels add กำหนดค่าบัญชี channel หลังจากมีพื้นฐานแล้ว; รันโดยไม่มี flag สำหรับการตั้งค่า channel แบบมีคำแนะนำ หรือใช้ flag เฉพาะ channel สำหรับสคริปต์

หน้าคำสั่ง

พื้นที่คำสั่ง
การตั้งค่าและ onboardingcrestodian · setup · onboard · configure · config · completion · doctor · dashboard
การรีเซ็ตและถอนการติดตั้งbackup · reset · uninstall · update
การส่งข้อความและ agentsmessage · agent · agents · acp · mcp
สถานะความพร้อมและ sessionsstatus · health · sessions
Gateway และ logsgateway · logs · system
โมเดลและ inferencemodels · infer · capability (alias สำหรับ infer) · memory · commitments · wiki
เครือข่ายและ nodesdirectory · nodes · devices · node
Runtime และ sandboxapprovals · exec-policy (ดู approvals) · sandbox · tui · chat/terminal (alias สำหรับ tui --local) · browser
Automationcron · tasks · hooks · webhooks
Discovery และเอกสารdns · docs
Pairing และ channelspairing · qr · channels
ความปลอดภัยและ pluginssecurity · secrets · skills · plugins · proxy
Alias เดิมdaemon (บริการ gateway) · clawbot (namespace)
Plugins (ไม่บังคับ)path · voicecall (หากติดตั้งแล้ว)

Flag ส่วนกลาง

Flagวัตถุประสงค์
--devแยกสถานะไว้ใต้ ~/.openclaw-dev และเลื่อนพอร์ตเริ่มต้น
--profile <name>แยกสถานะไว้ใต้ ~/.openclaw-<name>
--container <name>กำหนดเป้าหมาย container ที่มีชื่อสำหรับการดำเนินการ
--no-colorปิดใช้งานสี ANSI (NO_COLOR=1 จะถูกเคารพด้วย)
--updateรูปย่อของ openclaw update (เฉพาะการติดตั้งจาก source เท่านั้น)
-V, --version, -vพิมพ์เวอร์ชันแล้วออก

โหมดเอาต์พุต

  • สี ANSI และตัวบ่งชี้ความคืบหน้าจะแสดงผลเฉพาะใน session แบบ TTY
  • ไฮเปอร์ลิงก์ OSC-8 จะแสดงผลเป็นลิงก์ที่คลิกได้ในที่ที่รองรับ มิฉะนั้น CLI จะถอยกลับไปใช้ URL แบบข้อความธรรมดา
  • --json (และ --plain ในที่ที่รองรับ) จะปิดการจัดรูปแบบเพื่อให้ได้เอาต์พุตที่สะอาด
  • คำสั่งที่รันนานจะแสดงตัวบ่งชี้ความคืบหน้า (OSC 9;4 เมื่อรองรับ)
แหล่งข้อมูลจริงของพาเลต: src/terminal/palette.ts

ผังคำสั่ง

openclaw [--dev] [--profile <name>] <command>
  crestodian
  setup
  onboard
  configure
  config
    get
    set
    unset
    file
    schema
    validate
  completion
  doctor
  dashboard
  backup
    create
    verify
  security
    audit
  secrets
    reload
    audit
    configure
    apply
  reset
  uninstall
  update
    wizard
    status
  channels
    list
    status
    capabilities
    resolve
    logs
    add
    remove
    login
    logout
  directory
    self
    peers list
    groups list|members
  skills
    search
    install
    update
    list
    info
    check
  plugins
    list
    inspect
    install
    uninstall
    update
    enable
    disable
    doctor
    marketplace list
  memory
    status
    index
    search
  path
    resolve
    find
    set
    validate
    emit
  commitments
    list
    dismiss
  wiki
    status
    doctor
    init
    ingest
    compile
    lint
    search
    get
    apply
    bridge import
    unsafe-local import
    obsidian status|search|open|command|daily
  message
    send
    broadcast
    poll
    react
    reactions
    read
    edit
    delete
    pin
    unpin
    pins
    permissions
    search
    thread create|list|reply
    emoji list|upload
    sticker send|upload
    role info|add|remove
    channel info|list
    member info
    voice status
    event list|create
    timeout
    kick
    ban
  agent
  agents
    list
    add
    delete
    bindings
    bind
    unbind
    set-identity
  acp
  mcp
    serve
    list
    show
    set
    unset
  status
  health
  sessions
    cleanup
  tasks
    list
    audit
    maintenance
    show
    notify
    cancel
    flow list|show|cancel
  gateway
    call
    usage-cost
    health
    status
    probe
    discover
    install
    uninstall
    start
    stop
    restart
    run
  daemon
    status
    install
    uninstall
    start
    stop
    restart
  logs
  system
    event
    heartbeat last|enable|disable
    presence
  models
    list
    status
    set
    set-image
    aliases list|add|remove
    fallbacks list|add|remove|clear
    image-fallbacks list|add|remove|clear
    scan
  infer (alias: capability)
    list
    inspect
    model run|list|inspect|providers|auth login|logout|status
    image generate|edit|describe|describe-many|providers
    audio transcribe|providers
    tts convert|voices|providers|status|enable|disable|set-provider
    video generate|describe|providers
    web search|fetch|providers
    embedding create|providers
    auth add|login|login-github-copilot|setup-token|paste-token
    auth order get|set|clear
  sandbox
    list
    recreate
    explain
  cron
    status
    list
    get
    add
    edit
    rm
    enable
    disable
    runs
    run
  nodes
    status
    describe
    list
    pending
    approve
    reject
    rename
    invoke
    notify
    push
    canvas snapshot|present|hide|navigate|eval
    canvas a2ui push|reset
    camera list|snap|clip
    screen record
    location get
  devices
    list
    remove
    clear
    approve
    reject
    rotate
    revoke
  node
    run
    status
    install
    uninstall
    stop
    restart
  approvals
    get
    set
    allowlist add|remove
  exec-policy
    show
    preset
    set
  browser
    status
    start
    stop
    reset-profile
    tabs
    open
    focus
    close
    profiles
    create-profile
    delete-profile
    screenshot
    snapshot
    navigate
    resize
    click
    type
    press
    hover
    drag
    select
    upload
    fill
    dialog
    wait
    evaluate
    console
    pdf
  hooks
    list
    info
    check
    enable
    disable
    install
    update
  webhooks
    gmail setup|run
  proxy
    start
    run
    coverage
    sessions
    query
    blob
    purge
  pairing
    list
    approve
  qr
  clawbot
    qr
  docs
  dns
    setup
  tui
  chat (alias: tui --local)
  terminal (alias: tui --local)
Plugins สามารถเพิ่มคำสั่งระดับบนสุดเพิ่มเติมได้ (ตัวอย่างเช่น openclaw voicecall)

คำสั่ง slash ในแชต

ข้อความแชตรองรับคำสั่ง /... ดู คำสั่ง slash ไฮไลต์:
  • /status — การวินิจฉัยอย่างรวดเร็ว
  • /trace — บรรทัด trace/debug ของ plugin ที่จำกัดตาม session
  • /config — การเปลี่ยนแปลง config ที่บันทึกถาวร
  • /debug — การ override config เฉพาะ runtime (ในหน่วยความจำ ไม่ใช่บนดิสก์; ต้องใช้ commands.debug: true)

การติดตามการใช้งาน

openclaw status --usage และ Control UI แสดงการใช้งาน/โควตาของ provider เมื่อมีข้อมูลประจำตัว OAuth/API ข้อมูลมาจาก endpoint การใช้งานของ provider โดยตรงและถูกทำให้เป็นมาตรฐานเป็น X% left Provider ที่มีหน้าต่างการใช้งานปัจจุบัน: Anthropic, GitHub Copilot, Gemini CLI, OpenAI Codex, MiniMax, Xiaomi และ z.ai ดูรายละเอียดที่ การติดตามการใช้งาน

ที่เกี่ยวข้อง