본문으로 건너뛰기
cccskills
무료GitHub에 공개

openclaw

Audits, diffs, copies, and lists providers/models, adds models, and switches the default model in local openclaw.json configs; diagnoses gateway/plugin failures (down, parked, broken, or out of date after an upgrade). Use for 虾/龙虾 config audits. Not for model-error repair (use openclaw-model-switch).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(14)

  • SKILL.md6.4 KB
  • references/deepseek_model.json367 B
  • references/deepseek_patch_sop.md1.8 KB
  • references/lobster_registry.example.json105 B
  • references/openclaw_architecture.md2.4 KB
  • references/openclaw_operations.md14.6 KB
  • scripts/add_model.py8.0 KB
  • scripts/audit.py6.6 KB
  • scripts/cli.py1.1 KB
  • scripts/compare.py8.1 KB
  • scripts/copy_provider.py7.9 KB
  • scripts/list_models.py4.4 KB
  • scripts/openclaw_config.py7.1 KB
  • scripts/switch_model.py3.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

openclaw

A unified skill for managing OpenClaw (龙虾) instance configs.

Subcommands

python3 scripts/cli.py [audit|diff|copy|add-model|list|switch] [options]

Each subcommand can also be run directly, e.g. python3 scripts/audit.py ....

diff is an alias for compare.

Shared behavior

  • Default config discovery: when --config / --to is omitted, the skill searches these locations in order:
    1. ~/workspace/.force/openclaw/openclaw.json
    2. ~/.kimi_openclaw/openclaw.json
    3. ~/.openclaw/openclaw.json
  • Lobster nicknames: --config, --from, and --to can be either a file path or a nickname registered in lobsters.json (see below). You can also use --from-lobster and --to-lobster for explicit nickname arguments.
  • Backups: every write operation copies the config to config-backups/<stem>-<utc-timestamp>.json before saving. The skill keeps the 20 most recent backups.
  • Dry run: write subcommands (copy, add-model, switch) support --dry-run to preview changes.
  • Restart: write subcommands support --restart to restart the OpenClaw gateway after saving.
  • Automatic audit: copy, add-model, and switch run an audit before and after the change by default. Use --no-audit to skip it.

Lobster nickname registry

Create a JSON file at one of these locations:

  • ~/workspace/.force/openclaw/lobsters.json
  • ~/.kimi_openclaw/lobsters.json
  • ~/.openclaw/lobsters.json

Example:

{
  "甲虾": "/path/to/甲虾/openclaw.json",
  "乙虾": "/path/to/乙虾/openclaw.json"
}

Then use:

python3 scripts/cli.py copy gateway-provider --from 甲虾 --to 乙虾 --alias
python3 scripts/cli.py switch gateway-provider/deepseek-v4-pro --config 乙虾 --restart

audit — validate a config

python3 scripts/cli.py audit [--config PATH|NICKNAME] [--json]

Checks providers, models, default model, aliases, and plugin consistency.

Use when:

  • "帮我查一下这只虾的配置"
  • "audit 一下 openclaw.json"
  • Before applying a patch or copying a provider

diff — semantic diff of two configs

python3 scripts/cli.py diff LEFT.json RIGHT.json [--json] [--include-cost]

Reports added/removed/changed providers, models, default model, aliases, and plugins. Skips cost fields by default; use --include-cost to diff them.

Use when:

  • "为什么甲虾能用 DeepSeek,乙虾不行?"
  • "这两份龙虾配置哪里不一样?"

copy — copy a provider between configs

python3 scripts/cli.py copy \
  --from SOURCE|NICKNAME [--to TARGET|NICKNAME] \
  provider-name [--model ID]... [--alias] [--restart] [--dry-run] [--no-audit]

Copies an entire provider from one config to another. If the target already has that provider, it merges models and updates baseUrl / api without deleting target-only models. --alias also copies aliases pointing to that provider.

Use when:

  • "把甲虾的 gateway provider 复制到乙虾"
  • "把这个模型配置同步过去"

add-model — add a model to a provider

python3 scripts/cli.py add-model provider model-id|model-json \
  [--config PATH|NICKNAME] [--from SOURCE|NICKNAME] [--alias NAME] \
  [--restart] [--dry-run] [--no-audit]

Adds a model definition and alias to a provider. If the provider is missing, it can be copied from --from first.

Ways to specify the model:

  • Pass a model id and --from SOURCE containing that model in the same provider.
  • Pass a path to a JSON file with the model definition.

Use when:

  • "给这只虾加上 DeepSeek"
  • "把甲虾的 DeepSeek 配置复制到乙虾"

The canonical DeepSeek model definition lives in references/deepseek_model.json.

Critical pitfalls

  • Do not create a separate deepseek provider. The supported path is the gateway provider with model id deepseek-v4-pro.
  • Model id must not contain [1m]. Use the suffixless deepseek-v4-pro; the upstream gateway maps it to the 1M context variant.
  • Cold restart required. New providers are not reliably picked up by hot reload.

list — list providers, models, aliases, and default

python3 scripts/cli.py list [--config PATH|NICKNAME] [--json] [--validate]

Human-readable output by default; --json for piping to jq. Add --validate to check that the default model and aliases resolve.

Use when:

  • "这只虾有哪些模型?"
  • "列出甲虾可用的模型"
  • "看看默认模型是什么"

switch — change the default model

python3 scripts/cli.py switch provider/model-id \
  [--config PATH|NICKNAME] [--restart] [--dry-run] [--no-audit]

This is the only subcommand that changes agents.defaults.model. It verifies that the provider and model exist, backs up the config, and updates the default. If the target is already the default, it exits without making another backup.

Use when:

  • "把默认模型切成 DeepSeek"
  • "切回原来的模型"

Typical workflows

Enable DeepSeek on a lobster

python3 scripts/cli.py audit --config 乙虾
python3 scripts/cli.py add-model gateway-provider deepseek-v4-pro \
  --config 乙虾 --from 甲虾 --alias "DeepSeek V4 Pro"
python3 scripts/cli.py switch gateway-provider/deepseek-v4-pro --config 乙虾 --restart

Clone a working config to a new lobster

python3 scripts/cli.py copy gateway-provider --from 甲虾 --to 乙虾 --alias --restart
python3 scripts/cli.py audit --config 乙虾

Diff two lobsters

python3 scripts/cli.py diff 甲虾 乙虾

References

  • references/openclaw_architecture.md — config schema and terminology
  • references/openclaw_operations.md — gateway health, plugin lifecycle, upgrade diagnosis, and the verification ladder for claiming a repair worked
  • references/deepseek_patch_sop.md — DeepSeek patch SOP (sanitized)
  • references/deepseek_model.json — canonical DeepSeek model definition loaded by add-model
  • references/lobster_registry.example.json — example lobster nickname registry

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Fixes web search on an agent whose model backend can't run it: a relay/reseller proxying Claude or Codex returns empty instead of failing. Use when web search returns nothing, a model insists a shipped product doesn't exist, someone wants to give an agent internet access, or the user is on a third-party base URL, relay, or 中转站. Diagnoses which built-in tools are dead, removes them, and installs a working replacement.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

daymade/claude-code-skills1.5천2026년 10월 20일 업데이트

Improves an existing application using its code, product contract, authorized work history and competitor evidence. Use for 取长补短、取其精华去其糟粕、参考竞品优化应用 or evolving an app from successful and failed work. Carries authorized changes through implementation and user-result verification, including REA and reverse Skill composition; use skill-evolver for Skills.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

daymade/claude-code-skills1.5천2026년 10월 20일 업데이트

抓取 A 股消息面情报:从财联社、华尔街见闻、金十、新浪 7x24、东财快讯、 证监会/央行/上交所/财政部政策公告、东方财富股吧等公开来源抓取与股票相关的 新闻、政策、情绪,输出结构化 JSON 或 Markdown。 当用户提到“A 股消息面”、“抓新闻”、“个股消息”、“政策监管”、“股吧情绪”、 “财联社”、“东财快讯”、“市场情绪”或需要把某只股票相关的公开情报聚合出来时 触发。也适用于“帮我看看 000001 最近有什么消息”这类口语化请求。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

daymade/claude-code-skills1.5천2026년 10월 20일 업데이트

Transcribes audio or video to speaker-labeled, timestamped text, locally with MLX on Apple Silicon or remotely. Use for 转录 / 录音转文字 / 说话人分离 / 字幕, and also for preparing audio for ASR without transcribing: 转格式, 降采样到 16kHz, merging recorder segments, or compressing and speeding up audio before 飞书妙记 — even when it looks like a one-line ffmpeg job.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

daymade/claude-code-skills1.5천2026년 10월 20일 업데이트

Routes audio: StepFun ASR/语音识别, StepFun TTS/配音, transcript/妙记→会议纪要, merge/review minutes. Reads one bundled specialist; generic ASR and correction stay direct.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

daymade/claude-code-skills1.5천2026년 10월 20일 업데이트

Diagnoses and repairs repository setup and guarded Git workflows for Claude Code or Codex — environment repair, startup sync, hook auditing, collaborator handoff. Use when a repo won't run, a teammate onboards, hook output duplicates, or commit/push/conflict needs guarding. Not for lost-commit recovery (use git-safety-net), GitHub ops (use github-ops), or history scrubbing (use github-sensitive-data-cleanup).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

daymade/claude-code-skills1.5천2026년 10월 20일 업데이트

daymade의 스킬 모두 보기

이 스킬의 문제 신고