Initial commit: OpenClaw Skill Collection

6 custom skills (assign-task, dispatch-webhook, daily-briefing,
task-capture, qmd-brain, tts-voice) with technical documentation.
Compatible with Claude Code, OpenClaw, Codex CLI, and OpenCode.
This commit is contained in:
2026-03-13 10:58:30 +08:00
commit 4c966a3ad2
884 changed files with 140761 additions and 0 deletions

View File

@@ -0,0 +1,103 @@
# 代理分工與模型策略
三類代理與建議模型配置(以 CLIPROXY 為主,最後回退到 Anthropic 訂閱):
## A) 系統開發 / 規劃 / 架構師 / 稽核
- 主模型cliproxyapi-2/claude-opus-4-6-thinking
- 後備:
1. cliproxyapi-2/claude-sonnet-4-5-thinking
2. cliproxyapi-2/claude-opus-4-5-thinking
3. anthropic/claude-opus-4-6
- 理由:推理與審慎工具操作的穩定性最佳。
## B) 程式設計師
- 前端:
-cliproxyapi-2/gpt-5.3-codex
-cliproxyapi-2/gpt-5.1-codex → cliproxyapi-2/claude-sonnet-4-5
- 後端:
-cliproxyapi-2/gpt-5.3-codex
-cliproxyapi-2/gpt-5.1-codex → cliproxyapi-2/claude-opus-4-6
- 檔案整理/移動(批次腳本、小任務):
-cliproxyapi-2/gpt-5.1-codex-mini
-cliproxyapi-2/gpt-5.1-codex → gemini-3-flash
## C) 網頁瀏覽 / 操作 / 下載 / 上傳
-cliproxyapi-2/claude-sonnet-4-5-thinking或 opus thinking
-cliproxyapi-2/claude-opus-4-6 → anthropic/claude-opus-4-6
- 備註:此代理允許 browser 工具;其他代理預設不開 browser。
## OpenClaw agents 建議樣板
```json5
{
agents: {
defaults: {
// 全域預設:也可放 Sonnet 以降低成本
model: { primary: "cliproxyapi-2/claude-opus-4-6" },
models: {
"cliproxyapi-2/claude-opus-4-6": { alias: "Opus" },
"cliproxyapi-2/claude-opus-4-6-thinking": { alias: "OpusT" },
"cliproxyapi-2/claude-sonnet-4-5": { alias: "Sonnet" },
"cliproxyapi-2/claude-sonnet-4-5-thinking": { alias: "SonnetT" },
"cliproxyapi-2/gpt-5.3-codex": { alias: "Codex" },
"cliproxyapi-2/gpt-5.1-codex": { alias: "Codex51" },
"cliproxyapi-2/gpt-5.1-codex-mini": { alias: "CodexMini" },
"cliproxyapi-2/gemini-3-flash": { alias: "GFlash" },
"anthropic/claude-opus-4-6": { alias: "OpusDirect" }
}
},
list: [
{
id: "architect",
name: "系統架構師",
model: {
primary: "cliproxyapi-2/claude-opus-4-6-thinking",
fallbacks: [
"cliproxyapi-2/claude-sonnet-4-5-thinking",
"cliproxyapi-2/claude-opus-4-5-thinking",
"anthropic/claude-opus-4-6"
]
},
tools: { byProvider: { } }
},
{
id: "coder-fe",
name: "前端工程師",
model: {
primary: "cliproxyapi-2/gpt-5.3-codex",
fallbacks: ["cliproxyapi-2/gpt-5.1-codex", "cliproxyapi-2/claude-sonnet-4-5"]
}
},
{
id: "coder-be",
name: "後端工程師",
model: {
primary: "cliproxyapi-2/gpt-5.3-codex",
fallbacks: ["cliproxyapi-2/gpt-5.1-codex", "cliproxyapi-2/claude-opus-4-6"]
}
},
{
id: "file-ops",
name: "檔案作業",
model: {
primary: "cliproxyapi-2/gpt-5.1-codex-mini",
fallbacks: ["cliproxyapi-2/gpt-5.1-codex", "cliproxyapi-2/gemini-3-flash"]
}
},
{
id: "web",
name: "網頁操作",
model: {
primary: "cliproxyapi-2/claude-sonnet-4-5-thinking",
fallbacks: ["cliproxyapi-2/claude-opus-4-6", "anthropic/claude-opus-4-6"]
},
tools: {
profile: "strict",
allow: ["browser", "web_search", "web_fetch", "image"],
byProvider: { }
}
}
]
}
}
```

View File

@@ -0,0 +1,56 @@
# CLIPROXY API + OpenClaw 設定筆記
目的:把 CLIPROXY 暴露的多家模型整合進 OpenClaw並能在多代理agents間用不同主模型fallback。
## 1) Provider 設定openai-responses 建議)
openclaw.json 片段:
```json5
{
models: {
mode: "merge",
providers: {
"cliproxyapi-2": {
baseUrl: "http://127.0.0.1:8317/v1",
apiKey: "${CLIPROXY_API_KEY}",
api: "openai-responses",
models: [
{ id: "claude-opus-4-6", name: "Opus 4.6 (antigravity)", reasoning: true },
{ id: "claude-opus-4-6-thinking", name: "Opus 4.6 Thinking (antigravity)", reasoning: true },
{ id: "claude-sonnet-4-5", name: "Sonnet 4.5 (antigravity)", reasoning: true },
{ id: "claude-sonnet-4-5-thinking", name: "Sonnet 4.5 Thinking (antigravity)", reasoning: true },
{ id: "gpt-5.3-codex", name: "GPT5.3 Codex" },
{ id: "gpt-5.1-codex", name: "GPT5.1 Codex" },
{ id: "gpt-5.1-codex-mini", name: "GPT5.1 Codex Mini" },
{ id: "gpt-5.2", name: "GPT5.2" },
{ id: "gemini-3-pro-high", name: "Gemini 3 Pro High" },
{ id: "gemini-3-flash", name: "Gemini 3 Flash" }
]
}
}
}
}
```
備註:現有設定是 `openai-completions`,可運作;若要完整支援工具呼叫與流式事件,建議改為 `openai-responses`
## 2) 模型列表(來自 /v1/models
本機查詢到的可用 id
- claude-opus-4-6, claude-opus-4-6-thinking, claude-opus-4-5-thinking
- claude-sonnet-4-5, claude-sonnet-4-5-thinking, claude-3-7-sonnet-20250219
- gpt-5, gpt-5.2, gpt-5.1, gpt-5.3-codex, gpt-5.3-codex-spark, gpt-5.1-codex, gpt-5.1-codex-mini, gpt-5-codex, gpt-5-codex-mini
- gemini-3-pro-high, gemini-3-pro-preview, gemini-3-flash, gemini-3-flash-preview, gemini-2.5-pro, gemini-2.5-flash, gemini-2.5-flash-lite, gemini-3-pro-image
來源curl http://127.0.0.1:8317/v1/models
## 3) Anthropic 最終備援
Selig 有 Anthropic 訂閱:在 OpenClaw 的 `auth-profiles.json` 維持 anthropic 憑證API key 或 OAuth/setup-token
- Fallback 鏈結:優先 `cliproxyapi-2/claude-opus-4-6(-thinking)` → 失敗時退到 `anthropic/claude-opus-4-6`
## 4) 安全建議
- 具工具權限的代理browser/fs/exec使用 Opus/Sonnet 等高等級模型,降低 prompt injection 風險。
- 低風險任務可用 codex/gemini flash 節省成本。