add-newcli-provider
为 OpenClaw 配置 code.newcli.com 作为模型源,包含四个 provider:newcli(Claude 主线路)、newcli-aws(Claude AWS 特价线路,消耗 1/24)、newcli-codex(GPT 系列)、newcli-gemini(Gemini 系列)。适用于需要接入 Claude 或 GPT 模型的场景。包含 provider 注册、模型定义、别名配置、fallback 链接入和验证的完整流程。当管理员说想"加 Claude"、"加 GPT"、"配 newcli"、"加 fox 源"、"接入 Claude
Install caution
Risk: Medium
Source: OpenClaw Master Skills
Path: skills/add-newcli-provider/SKILL.md
Review flags: filesystem/home-directory access, network access or external URLs, shell command snippets. These are review signals, not definitive security judgments; inspect before installing.
Required permissions
- • Environment variables / secrets
- • Shell commands
- • Network/API usage
- • Filesystem/home access
Permissions are inferred from SKILL.md text only. They are review prompts, not guarantees about runtime behavior.
Risk flags explained
Mentions filesystem writes, deletes, home-directory paths, or config/key locations.
Mentions external URLs, network APIs, downloads, or HTTP client usage.
Contains shell command snippets. Review commands before copy/paste or agent execution.
Score explanation
Trust
- • Trust starts at 90 before review-signal penalties and metadata bonuses.
- • Risk-signal penalty: -33 from 3 detected flag(s).
- • Metadata bonus: +2 from author/version/description fields.
Utility
- • Utility starts at 55 and rewards clear descriptions, runnable examples, and explicit setup needs.
- • Description present: yes.
- • Command examples detected: 9.
- • Environment variables detected: 1.
Momentum
- • Momentum starts at 45 and uses public repo activity signals.
- • Recent commit activity: latest repo update was 0 day(s) ago.
- • Recent commit volume: 8 commit(s) in the lookback window (+20).
- • Source has strong public adoption: 1972 stars.
- • Fork activity suggests reuse: 306 forks.
Overall
- • Overall score weights trust 45%, utility 35%, and momentum 20%.
Detected signals
Env vars
- • API
Commands
- • curl -s --max-time 15 "https://code.newcli.com/gemini/v1beta/models/<MODEL_ID>:generateContent" -H "x-goog-api-key: <你的API_KEY>" -H "Content-Type: application/json" -d '{"contents":[{"role":"user","parts":[{"text":"hi"}]}]}'
- • curl -s --max-time 15 https://code.newcli.com/claude/aws/v1/messages -H "x-api-key: <你的API_KEY>" -H "anthropic-version: 2023-06-01" -H "Content-Type: application/json" -d '{"model":"<MODEL_ID>","messages":[{"role":"user","content":"hi"}],"max_tokens":10}'
- • curl -s --max-time 15 https://code.newcli.com/claude/v1/messages -H "x-api-key: <你的API_KEY>" -H "anthropic-version: 2023-06-01" -H "Content-Type: application/json" -d '{"model":"<MODEL_ID>","messages":[{"role":"user","content":"hi"}],"max_tokens":10}'
- • curl -s --max-time 15 https://code.newcli.com/codex/v1/chat/completions -H "Authorization: Bearer <你的API_KEY>" -H "Content-Type: application/json" -d '{"model":"<MODEL_ID>","messages":[{"role":"user","content":"hi"}],"max_tokens":10}'
- • openclaw doctor
- • openclaw doctor --fix
- • python3 -c "import json; json.load(open('$HOME/.openclaw/openclaw.json')); print('JSON OK')"
- • tail -20 ~/.openclaw/logs/gateway.err.log
- • ~/.openclaw/openclaw.json
URLs
- • https://code.newcli.com/claude
- • https://code.newcli.com/claude/aws
- • https://code.newcli.com/claude/aws/v1/messages
- • https://code.newcli.com/claude/aws`
- • https://code.newcli.com/claude/v1/messages
- • https://code.newcli.com/claude/v1`(变成
- • https://code.newcli.com/claude`
- • https://code.newcli.com/claude`(OpenClaw
- • https://code.newcli.com/codex/v1
- • https://code.newcli.com/codex/v1/chat/completions
- • https://code.newcli.com/codex/v1/chat/completions`(重复拼接)
- • https://code.newcli.com/codex/v1`
Watch this skill
Get alerted when this skill adds credential requirements, shell commands, external domains, remote installer patterns, or risk-level changes.
Join watchlist betaMethodology note
SkillRadar scans SKILL.md as hostile text only. It does not execute commands, install packages, or load third-party skills.