Claude-Skills 入门和使用

claude-code 安装

npm install -g @anthropic-ai/claude-code
# validate claude-code installed 
whereis claude 

claude-code 模型替换

因为 官方模型限制,我们需要替换为国内可用模型

  1. 可以选择在线服务 配置 api-key
export ANTHROPIC_BASE_URL=http://xxxx.com
export ANTHROPIC_AUTH_TOKEN=xxxx
  1. 也可以部署小模型进行替换
    ref: https://medium.com/@luongnv89/setting-up-claude-code-locally-with-a-powerful-open-source-model-a-step-by-step-guide-for-mac-84cf9ab7302f

如何enbale skills 在claude code里面

  1. SKILL.md 是主要的instruction markdown file,可以通过在 此文件里面制定查看forms.md 进行具体的skills指定
    e.g.: https://github.com/anthropics/skills/blob/main/skills/pdf/SKILL.md
    请添加图片描述
    请添加图片描述
Logo

小龙虾开发者社区是 CSDN 旗下专注 OpenClaw 生态的官方阵地,聚焦技能开发、插件实践与部署教程,为开发者提供可直接落地的方案、工具与交流平台,助力高效构建与落地 AI 应用

更多推荐