Community코딩 & 개발github.com

모델 제공자 추가

비대화형 원라이너 구성으로 자격 증명을 노출하지 않고 모델 제공자를 추가하고 실시간 증명합니다.

모델 제공자 추가란 무엇인가요?

이 스킬은 OpenClaw 시스템에 새 모델 제공자(예: OpenAI)를 추가하는 완전한 워크플로우를 제공합니다. 비밀 값은 절대 인쇄되거나 디스크에 저장되지 않으며, 자격 증명은 환경 변수나 파일 소스의 SecretRef를 통해서만 구성됩니다. 모든 구성 변경은 `openclaw config` 명령을 통해 이루어지므로 유효성 검사와 감사 추적이 보장됩니다. 추가 과정은 비대화형이며, 제공자 추가 후 라이브 추론 테스트를 통해 연결이 실제로 작동하는지 증명합니다. 증명이 실패하면 정확한 오류 메시지와 다음 시도할 명령을 보고합니다. 이 스킬은 Claude Code, Cursor, Codex 등의 AI 에이전트와 함께 사용하도록 설계되었으며, OpenClaw를 기반으로 하는 모든 환경에서 모델 제공자 설정을 자동화합니다.

지원 대상✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/custodian-skills/add-model-provider

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

모델 제공자 추가은(는) 무엇을 하나요?

비밀 값을 절대 인쇄하거나 유지하지 마십시오. 자격 증명은 SecretRef(env 또는 파일 소스)로만 구성에 입력됩니다. 디스크의 구성 파일을 수동으로 편집하지 마십시오. 모든 변경은 openclaw config를 통해 이루어져야 유효성 검사와 감사가 가능합니다. 각 실행은 관찰 가능한 Prove 결과 또는 증명할 수 없는 정확한 설명으로 끝납니다.

세션 내 config_set/config_set_ref 도구 작업은 models.* 및 secrets.*에 대해 정책에 의해 차단됩니다. 아래 명령에는 신뢰할 수 있는 셸(exec)을 사용하십시오. set_default_model은 기본 경로를 변경할 수 있는 유일한 세션 내 작업이며, 저장 전에 라이브 테스트를 수행합니다.

수집

openclaw config get models --json          # "Config path not found"는 최초 설정 전에 정상입니다.
openclaw models list --agent <agentId>     # 다중 에이전트 로스터에서는 --agent가 필수입니다.
openclaw models auth list --agent <agentId>
openclaw config schema --json | jq '.properties.models'   # 쓰기 전에 정확한 제공자 경로를 확인합니다.
openclaw plugins list   # OpenAI 라우트는 codex 하네스 플러그인이 필요합니다. 지금 활성화/설치하고, 증명 중에 문제가 생기지 않도록 하십시오.

대상 제공자의 하네스 플러그인이 없거나 비활성화된 경우 여기서 수정하십시오(openclaw plugins enable codex 또는 openclaw plugins install @openclaw/codex). 이렇게 하면 나중에 Prove 단계에서 멈추지 않습니다. 플러그인 활성화는 게이트웨이 핫 리로드에 의해 적용됩니다.

auth 계약을 결정하십시오. API 키 제공자는 models.providers.<id>.apiKey에 SecretRef를 사용합니다. 구독/OAuth 제공자(ChatGPT/Codex, Claude 구독)는 대신 openclaw models auth login --provider <id>를 사용하며 API 키 경로를 제공해서는 안 됩니다.

변경

API 키 예제(OpenAI), 키는 운영자가 0600 파일에 준비합니다. 먼저 --dry-run으로 유효성 검사한 후 작성합니다.

openclaw config set secrets.providers.openai_key_file --provider-source file --provider-path /path/to/openai.key --provider-mode singleValue --dry-run
openclaw config set secrets.providers.openai_key_file --provider-source file --provider-path /path/to/openai.key --provider-mode singleValue
openclaw config set models.providers.openai.apiKey --ref-provider openai_key_file --ref-source file --ref-id value

게이트웨이 프로세스 환경에 키가 있는 경우 환경 변수 대안:

openclaw config set models.providers.openai.apiKey --ref-provider default --ref-source env --ref-id OPENAI_API_KEY

기본 모델을 변경하려면 세션 내 set_default_model 액션을 사용하십시오(기본이 아닌 에이전트의 경우 agentId 포함). 저장 전에 경로를 라이브 테스트합니다. 원시 구성 쓰기로 기본값을 변경하지 마십시오.

복구

openclaw doctor --lint

doctor --lint는 발견 결과에 대해 종료 코드 1을 반환할 수 있습니다. 보고서를 읽고 나머지 검사를 계속하십시오. 일반 doctor와 doctor --non-interactive는 구성/상태를 쓸 수 있습니다. 승인 전에 진단에 사용하지 마십시오. 복구가 필요한 경우 명시적 승인을 받고 openclaw doctor --fix --non-interactive를 실행한 다음 수집 읽기를 다시 실행하십시오.

증명

로스터 안전 테스트(모든 설정에서 작동, 자신의 에이전트 ID 또는 구성된 에이전트 사용):

openclaw agent --agent <agentId> --model openai/gpt-5.4 -m "Reply with exactly: PROVIDER-PROOF-OK"

단일 에이전트 설치는 더 가벼운 완료 테스트를 대신 사용할 수 있습니다. 이 테스트에는 --agent 플래그가 없으며 다중 에이전트 로스터에서는 "no explicit owner"로 실패하므로 다시 시도하지 마십시오.

openclaw infer model run --gateway --model openai/gpt-5.4 --prompt "Reply with exactly: PROVIDER-PROOF-OK"

정확히 요청된 응답을 기대하십시오. 모델 ID 및 경과 시간을 기록하십시오. 알려진 종속성: OpenAI 라우트는 런타임에 codex 하네스 플러그인이 필요합니다. 테스트에서 런타임을 사용할 수 없다고 보고하면 openclaw plugins install @openclaw/codex를 실행하고 게이트웨이를 다시 시작한 후 다시 테스트하십시오.

보고

추가된 제공자, 작성된 SecretRef 경로(값은 절대 안 됨), 모델 ID 및 지연 시간이 포함된 테스트 결과, 기본 모델 변경 여부를 명시하십시오. 테스트가 실패하면 정확한 오류와 다음 시도할 명령을 보고하십시오.

추가 참고: https://docs.openclaw.ai/providers/models 및 https://docs.openclaw.ai/providers/openai

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

claw-score

Audit or refresh OpenClaw maturity scorecard docs from root taxonomy, maturity scores, and QA evidence artifacts without using maintainer discrawl data or committed inventory reports.

관련 스킬