服务探针
provider-probe
by andyrenxu7255
|
安装
claude skill add --url https://github.com/openclaw/skills文档
Provider Probe
Use this skill to investigate model providers behind OpenAI-compatible base URLs.
When to use
Trigger this skill when the user asks to:
- verify whether a provider's claimed model is real
- inspect a baseURL for hidden/mixed model pools
- compare multiple providers for the same claimed model
- determine whether a provider is better suited as primary or fallback
- create a trust/stability report for model routing
Core method
Always use a layered evidence approach:
- Read provider config or ask for baseURL + apiKey + claimed model id.
- Call
/modelsand inspect whether the returned pool contains mixed vendors or suspicious aliases. - Check metadata like
owned_by, model naming conventions, and whether one baseURL exposes many unrelated model families. - Probe both
/responsesand/chat/completionswith minimal prompts. - Run short capability tests and repeated stability tests.
- Summarize with a confidence rating rather than absolute certainty.
Confidence labels
- High confidence real / most likely genuine: stable, coherent endpoint behavior, believable output structure, low ambiguity.
- Medium confidence / likely routed or wrapped: works, but signs suggest aggregation, aliasing, or proxy adaptation.
- Low confidence / unusable now: 404, repeated timeout, incompatible shape, or too little evidence.
Output contract
Always report:
- 当前做到哪了 / what was tested
- 当前阻塞点 / what remains uncertain
- 下一步动作 / recommended next step
For final results, include:
- Config facts
/modelsfindings- Endpoint compatibility findings
- Repeated stability findings
- Capability/format findings
- Final trust judgment
- Recommendation: primary / fallback / avoid
Tooling
Prefer the bundled script for deterministic testing:
scripts/provider_probe.py
Usage:
python3 scripts/provider_probe.py --config /root/.openclaw/openclaw.json --providers ypemc omgteam vpsai --model gpt-5.4
Or probe a custom URL directly:
python3 scripts/provider_probe.py --base-url https://example.com/v1 --api-key sk-xxx --model gpt-5.4
Interpretation heuristics
Treat a provider as a likely aggregation pool when several of these appear together:
/modelsreturns many unrelated model familiesowned_byvalues are mixed or inconsistent- the claimed model id looks like a routing alias rather than a canonical model id
/responsesand/chat/completionscompatibility is uneven or surprising- behavior is stable enough to work but not coherent enough to look like a single official upstream
Files
- Reference checklist:
references/provider-probe-checklist.md - Probe script:
scripts/provider_probe.py
相关 Skills
Claude API
by anthropic
Build, debug, and optimize Claude API / Anthropic SDK apps. Apps built with this skill should include prompt caching. Also handles migrating existing Claude API code between Claude model versions (4.5 → 4.6, 4.6 → 4.7, retired-model replacements). TRIGGER when: code imports `anthropic`/`@anthropic-ai/sdk`; user asks for the Claude API, Anthropic SDK, or Managed Agents; user adds/modifies/tunes a Claude feature (caching, thinking, compaction, tool use, batch, files, citations, memory) or model (Opus/Sonnet/Haiku) in a file; questions about prompt caching / cache hit rate in an Anthropic SDK project. SKIP: file imports `openai`/other-provider SDK, filename like `*-openai.py`/`*-generic.py`, provider-neutral code, general programming/ML.
并行代理
by axelhu
Use when facing 2 or more independent tasks that can be worked on without shared state - dispatches parallel subagents using sessions_spawn for concurrent investigation and execution, adapted for OpenClaw
中文病句修正
by catchfishcat
Use when correcting Chinese ill-formed sentences (病句) with minimal edits while preserving original meaning, including grammar, wording, word order, redundancy, and logical consistency issues.