본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

provider-sync

c-joey 제작

Clawdbot Tools
323clawskills.sh가 보고한 다운로드 수
1스타
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Sync provider models into OpenClaw config.

설명

이 스킬이 하는 일

Fetches model lists from OpenAI-compatible provider endpoints and syncs them into the local openclaw.json config. Shows a diff preview before any writes, auto-backs up the config on apply, and prunes stale model aliases from agent defaults by default.

Eliminates manual JSON editing and prevents stale model references from showing up in agent menus after provider updates.

사용 시점

  • Checking which models a provider added or removed since last sync
  • Syncing all configured providers at once after upstream changes
  • Adding a new provider to OpenClaw via a guided text wizard
  • Keeping agent default model menus aligned with live provider catalogs
  • Previewing config changes without touching disk

예시 워크플로

입력

User sends: /provider_sync provider=cli-usa

에이전트
  1. 1

    Fetch current model list from cli-usa's /v1/models endpoint

  2. 2

    Compare fetched models against openclaw.json entries for that provider

  3. 3

    Display a diff preview showing added, removed, and changed models

  4. 4

    Wait for user confirmation before writing

  5. 5

    On confirm with mode=apply, back up config, write updated model list, and prune stale entries from agents.defaults.models

출력

Updated openclaw.json with current provider models; stale aliases removed from agents.defaults.models

요구 사항

  • Provider API keys for any endpoints that require authentication (passed via the apiKey parameter)

설치

clawhub install c-joey/provider-sync

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크