부록 A. 명령어 치트시트
OpenClaw CLI는 대체로 openclaw <영역> <동작> 패턴으로 움직인다. 한 번 이 문법에 익숙해지면, 모르는 명령도 꽤 높은 확률로 맞혀낼 수 있다. 채널은 channels, 모델은 models, 스케줄은 cron, 상태 점검은 status와 doctor다. 이 부록은 그중에서도 실제 운영 중 가장 자주 손이 가는 명령만 골라 담았다.1

가장 먼저 외울 15개
급할 때는 이 표만 봐도 된다. 설치 직후, 채널이 잠잠할 때, 스킬이 말을 안 들을 때, 대개 여기서 해결의 실마리가 나온다.6
| 상황 | 명령 | 한 줄 설명 |
|---|---|---|
| 버전 확인 | openclaw --version | CLI가 제대로 깔렸는지 확인 |
| 첫 설정 | openclaw onboard --install-daemon | 온보딩 + 백그라운드 서비스 설치 |
| 전체 진단 | openclaw doctor | 설정, 서비스, 의존성 문제를 한 번에 점검 |
| 게이트웨이 상태 | openclaw gateway status | OpenClaw 심장이 살아 있는지 확인 |
| 게이트웨이 재시작 | openclaw gateway restart | 설정 변경 후 가장 먼저 할 일 |
| 웹 대시보드 열기 | openclaw dashboard | 브라우저에서 상태 확인 |
| 전체 상태 보기 | openclaw status | 시스템 전반 상태 확인 |
| 채널 실점검 | openclaw channels status --probe | 텔레그램·왓츠앱 연결 테스트 |
| 모델 실점검 | openclaw models status --probe | API 키·모델 연결 상태 확인 |
| 스킬 목록 보기 | openclaw skills list | 현재 보이는 스킬 확인 |
| 스킬 요구사항 검사 | openclaw skills check | 빠진 의존성 찾기 |
| 로그 따라보기 | openclaw logs --follow | 문제가 날 때 실시간 추적 |
| 메모리 상태 | openclaw memory status | 메모리 인덱스와 검색 상태 확인 |
| 예약 작업 목록 | openclaw cron list | 자동화 스케줄 확인 |
| 하트비트 최근 실행 | openclaw system heartbeat last | 능동 실행이 마지막으로 언제 돌았는지 확인 |
설치와 첫 실행
공식 설치 경로는 설치 스크립트나 npm 글로벌 설치다. 최근 문서 기준으로 Node 22.14+ 이상이 필요하고, 가능하면 최신 권장 버전을 쓰는 편이 덜 삐걱거린다. Windows는 네이티브보다 WSL2 경로가 더 안정적으로 권장된다.23
# macOS / Linux / WSL2
curl -fsSL https://openclaw.ai/install.sh | bash
# Windows PowerShell
iwr -useb https://openclaw.ai/install.ps1 | iex
# Node를 직접 관리 중이라면
npm install -g openclaw@latest
openclaw onboard --install-daemon설치가 끝났으면 세 가지만 확인하면 된다.
openclaw --version
openclaw doctor
openclaw gateway statusWindows에서 WSL2로 가는 가장 짧은 길은 이렇다.3
wsl --install -d Ubuntu-24.04그다음 WSL 안에서 OpenClaw를 설치하고, 서비스 자동 시작이 필요하면 온보딩 중 --install-daemon을 쓰면 된다. WSL에서 게이트웨이 서비스를 제대로 돌리려면 systemd 활성화가 필요한 경우가 많다.3
Gateway 관리
Gateway는 OpenClaw의 본체다. 채널도, 스킬도, 대시보드도 결국 이 문을 통과한다. 그래서 이상할 때는 감정적으로 추리하지 말고, 먼저 Gateway부터 본다. "에이전트가 멍하니 있다"는 말은 종종 "게이트웨이가 죽어 있다"의 우아한 표현이다.
| 작업 | 명령 | 언제 쓰나 |
|---|---|---|
| 포그라운드 실행 | openclaw gateway run | 테스트할 때 |
| 서비스 설치 | openclaw gateway install | 부팅 시 자동 시작하고 싶을 때 |
| 시작 | openclaw gateway start | 서비스로 띄울 때 |
| 중지 | openclaw gateway stop | 점검 또는 종료 시 |
| 재시작 | openclaw gateway restart | 설정 변경 후 |
| 상태 확인 | openclaw gateway status | 살아 있는지, 응답하는지 확인 |
| 헬스 프로브 | openclaw gateway probe --timeout 5000 | 응답 지연까지 보고 싶을 때 |
| 네트워크에서 찾기 | openclaw gateway discover | 여러 인스턴스를 찾을 때 |
가장 자주 쓰는 조합은 보통 이 셋이다.
openclaw gateway status
openclaw logs --follow
openclaw gateway restart설정과 모델
OpenClaw 설정은 보통 ~/.openclaw/openclaw.json에 모여 있다. 손으로 편집해도 되지만, 빠른 확인은 CLI가 편하다. 설정을 바꿨으면 저장으로 끝이 아니라, 거의 항상 gateway restart까지 해야 반영된다.12
설정 파일 다루기
| 작업 | 명령 |
|---|---|
| 실제 설정 파일 경로 보기 | openclaw config file |
| 값 읽기 | openclaw config get <key> |
| 값 쓰기 | openclaw config set <key> <value> |
| 값 삭제 | openclaw config unset <key> |
| 스키마 보기 | openclaw config schema |
| 유효성 검사 | openclaw config validate |
자주 쓰는 예시는 이 정도다.
openclaw config get gateway.port
openclaw config get agent.workspace
openclaw config set gateway.bind loopback
openclaw config validate
openclaw gateway restart모델과 인증
| 작업 | 명령 | 설명 |
|---|---|---|
| 전체 모델 보기 | openclaw models list --all | 사용 가능한 모델 카탈로그 확인 |
| 공급자별 보기 | openclaw models list --provider anthropic | 공급자별 필터링 |
| 현재 상태 확인 | openclaw models status | 인증·기본 모델 상태 확인 |
| 실제 호출 점검 | openclaw models status --probe | 살아 있는 연결 확인 |
| 기본 모델 바꾸기 | openclaw models set <model> | 기본 텍스트 모델 교체 |
| 이미지 모델 바꾸기 | openclaw models set-image <model> | 이미지용 모델 지정 |
| 인증 추가 | openclaw models auth add | 대화형 인증 |
| setup-token 방식 | openclaw models auth setup-token --provider anthropic | 빠른 인증 |
복붙용 예시는 이렇다.
openclaw models list --provider anthropic
openclaw models auth add
openclaw models set anthropic/claude-sonnet-4-6
openclaw models status --probe채널 연결과 테스트
메신저가 붙지 않으면 OpenClaw는 똑똑한데 입이 없는 상태가 된다. 텔레그램은 토큰 기반이라 가장 빠르고, WhatsApp은 로그인 흐름이 따로 있다.6
| 작업 | 명령 | 설명 |
|---|---|---|
| 채널 목록 | openclaw channels list | 현재 연결된 채널 확인 |
| 채널 상태 점검 | openclaw channels status --probe | 실제 연결 테스트 |
| 채널 기능 보기 | openclaw channels capabilities | 채널별 지원 기능 확인 |
| 텔레그램 추가 | openclaw channels add --channel telegram --token $TELEGRAM_BOT_TOKEN | 봇 토큰 연결 |
| WhatsApp 로그인 | openclaw channels login --channel whatsapp | QR 로그인 |
| 채널 로그 보기 | openclaw channels logs --channel telegram --lines 50 | 최근 에러 확인 |
| 채널 제거 | openclaw channels remove --channel telegram --account default | 연결 해제 |
| 테스트 메시지 발송 | openclaw message send --channel telegram --account default --text "테스트" | 직접 발송 테스트 |
처음 연결 후 페어링 승인이 필요한 경우도 있다. 그럴 땐 페어링 대기 목록부터 본다.1
openclaw pairing list
openclaw pairing approve <requestId>디바이스 페어링을 쓰는 환경이라면 이쪽도 함께 기억해두면 좋다.
openclaw devices list
openclaw devices approve <requestId>
openclaw devices revoke <deviceId>스킬 관리
요즘 문서 기준으로 스킬 검색·설치·업데이트는 openclaw skills ... 계열로 다룰 수 있다. 예전 글이나 커뮤니티 자료에서 clawhub나 npx clawhub를 보더라도 놀라지 말자. 시대가 조금 다른 것이다. 중요한 건 현재 워크스페이스에 어떤 스킬이 보이고, 요구사항이 충족되며, 실제로 로드되느냐다.4
또 한 가지. 스킬 로더는 감시 모드와 우선순위 규칙을 가진다. 즉, 스킬을 넣었다고 무조건 원하는 버전이 잡히는 게 아니다. 워크스페이스 경로, 사용자 전역 경로, 번들 스킬 중 누가 우선인지 항상 의식해야 한다.5
| 작업 | 명령 | 설명 |
|---|---|---|
| 스킬 검색 | openclaw skills search "calendar" | 필요한 스킬 찾기 |
| 스킬 설치 | openclaw skills install <slug> | 스킬 내려받기 |
| 특정 스킬 업데이트 | openclaw skills update <slug> | 한 개만 갱신 |
| 전체 업데이트 | openclaw skills update --all | 전부 갱신 |
| 스킬 목록 | openclaw skills list | 현재 보이는 스킬 확인 |
| 사용 가능한 스킬만 보기 | openclaw skills list --eligible | 지금 바로 쓸 수 있는 것만 보기 |
| 상세 보기 | openclaw skills info <name> | 설명·버전·요구사항 확인 |
| 요구사항 검사 | openclaw skills check | 빠진 런타임 찾기 |
복붙용 흐름은 이렇다.
openclaw skills search "gmail"
openclaw skills install gmail
openclaw skills check
openclaw skills list --eligible스킬이 방금 설치됐는데도 안 보이면 두 가지를 본다. 첫째, 감시 모드가 켜져 있는지. 둘째, 재시작이 필요한 상태인지다.5
openclaw config get skills.load.watch
openclaw skills list
openclaw gateway restart상태, 로그, 메모리
이 장은 운영자의 생존 본능과 직결된다. 이상하다 싶을 때 로그를 안 보면, 어두운 방에서 레고를 발로 찾는 기분을 오래 즐기게 된다.
| 작업 | 명령 | 설명 |
|---|---|---|
| 전체 상태 | openclaw status | 빠른 현황 |
| 깊은 상태 점검 | openclaw status --deep | 실제 probe 포함 점검 |
| 헬스 확인 | openclaw health | 간단한 생존 확인 |
| 로그 보기 | openclaw logs | 최근 로그 출력 |
| 실시간 로그 | openclaw logs --follow | 흐르는 로그 보기 |
| 로그 200줄 | openclaw logs --limit 200 | 직전 에러 추적 |
| 메모리 상태 | openclaw memory status | 인덱스 상태 확인 |
| 메모리 재색인 | openclaw memory index | 수동 수정 후 재빌드 |
| 메모리 검색 | openclaw memory search "배포 노트" | 기억 속 사실 찾기 |
| 세션 목록 | openclaw sessions list | 현재 세션 확인 |
| 세션 정리 | openclaw sessions cleanup | 오래된 세션 청소 |
가장 현실적인 디버깅 루틴은 이렇다.
openclaw status --deep
openclaw channels status --probe
openclaw models status --probe
openclaw logs --follow자동화: cron과 heartbeat
cron은 시계처럼 정확한 반복 작업에 좋고, heartbeat는 에이전트가 주기적으로 스스로 점검하게 만들 때 좋다. 하나는 알람시계이고, 다른 하나는 부지런한 비서다.
cron 기본 명령
| 작업 | 명령 |
|---|---|
| 크론 상태 | openclaw cron status |
| 크론 목록 | openclaw cron list --all |
| 작업 추가 | openclaw cron add |
| 작업 수정 | openclaw cron edit <id> |
| 즉시 실행 | openclaw cron run <id> |
| 활성화 | openclaw cron enable <id> |
| 비활성화 | openclaw cron disable <id> |
| 삭제 | openclaw cron rm <id> |
| 실행 이력 | openclaw cron runs --id <id> --limit 10 |
가장 자주 쓰는 예시는 두 가지다.
# 평일 오전 9시 브리핑
openclaw cron add --name "daily-brief" --cron "0 9 * * 1-5" --message "오늘의 이메일, 일정, 우선순위 할 일을 요약해줘"
# 매시간 체크
openclaw cron add --name "hourly-check" --every 3600000 --message "새 메시지와 급한 이슈가 있는지 점검해줘"heartbeat 기본 명령
openclaw system heartbeat enable
openclaw system heartbeat last
openclaw system heartbeat disable시스템 이벤트로 바로 찌르기
openclaw system event --text "지금 인박스 정리 시작"
openclaw system event --text "오늘 주간보고 초안 생성" --mode now업데이트, 백업, 복구
운영은 설치보다 길다. 그러니 업데이트와 백업 명령을 반드시 손에 익혀둬야 한다. 특히 워크스페이스 파일은 에이전트의 성격, 기억, 습관이 담긴 뇌 조직에 가깝다.
# 업데이트 상태
openclaw update status
# 업데이트 미리보기
openclaw update --dry-run
# 업데이트 마법사
openclaw update wizard
# 백업 생성
openclaw backup create
# 백업 검증
openclaw backup verify <archive>
# 설정만 초기화
openclaw reset --scope config --yes
# 완전 제거
openclaw uninstall설정을 싹 밀기 전에, 정말 싹 밀고 싶은 게 맞는지 한 번만 더 생각하자. 대개는 doctor, config validate, gateway restart로 끝난다. 운영자는 포맷보다 복구를 먼저 떠올리는 사람이 오래 산다.
상황별 즉시 처방
| 증상 | 첫 번째 명령 | 두 번째 명령 | 메모 |
|---|---|---|---|
| 설치는 됐는데 반응이 없음 | openclaw doctor | openclaw gateway status | CLI와 서비스부터 확인 |
| 대시보드가 안 열림 | openclaw gateway status | openclaw dashboard | 게이트웨이가 먼저 살아야 함 |
| 텔레그램이 답을 안 함 | openclaw channels status --probe | openclaw channels logs --channel telegram --lines 50 | 토큰·권한·연결 상태 확인 |
| 모델 호출 에러 | openclaw models status --probe | openclaw models auth add | API 키 만료가 흔한 원인 |
| 스킬이 설치됐는데 안 보임 | openclaw skills list | openclaw gateway restart | 우선순위·감시 모드 확인 |
| 메모리가 이상함 | openclaw memory status | openclaw memory index | 수동 편집 후 재색인 |
| 크론이 안 돈다 | openclaw cron list --all | openclaw cron runs --id <id> --limit 10 | 작업 존재 여부와 최근 실행 확인 |
| 뭐가 문제인지 모르겠음 | openclaw status --deep | openclaw logs --follow | 결국 로그가 진실을 말함 |
실전 복붙 세트
1. 새 머신에서 5분 안에 띄우기
npm install -g openclaw@latest
openclaw onboard --install-daemon
openclaw --version
openclaw doctor
openclaw gateway status
openclaw dashboard2. 텔레그램 연결 직후 점검하기
openclaw channels list
openclaw channels status --probe
openclaw message send --channel telegram --account default --text "연결 테스트"
openclaw logs --follow3. 새 스킬 붙이고 살아 있는지 보기
openclaw skills search "notion"
openclaw skills install notion
openclaw skills check
openclaw skills list --eligible
openclaw gateway restart4. 아침 브리핑 자동화 만들기
openclaw cron add --name "morning-brief" --cron "0 9 * * 1-5" --message "이메일, 일정, 할 일을 요약해서 보내줘"
openclaw cron list --all
openclaw cron runs --id <id> --limit 105. 문제 생겼을 때 가장 안전한 디버깅 루틴
openclaw doctor
openclaw status --deep
openclaw models status --probe
openclaw channels status --probe
openclaw logs --follow외우면 편한 운영 습관
세 가지만 몸에 익히면 운영 난이도가 눈에 띄게 내려간다.
설정을 바꾼 뒤에는 반사적으로
openclaw config validate와openclaw gateway restart를 실행한다.채널 문제는 감으로 만지지 말고
channels status --probe와 채널 로그로 본다.스킬 문제는 설치보다
skills check, 우선순위, 재시작 여부를 먼저 의심한다.
커맨드를 전부 기억할 필요는 없다. 자주 쓰는 몇 개를 손에 익히고, 나머지는 이 부록으로 돌아오면 된다. 좋은 운영자는 모든 명령을 외운 사람이 아니라, 문제를 만났을 때 어느 명령부터 칠지 아는 사람이다.
참고
3Windows (WSL2) | OpenClaw Docs
이 노트는 보도·비평·교육·연구 목적으로 작성되었습니다. 저작권 문의가 있으시면 에서 알려주세요.