कंटेंट पर जाएँ
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 या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक