16 关免费主线已开放 · Skill 池内测期免费领取 从第一关开始
新手学AI(16 步小白路线) Skills定价
claude-api · AI与平台工具 · 免费收录

接入Claude的正确姿势

原名:claude-api

Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file).

免费 · 开源收录 ⭐ 74k 安装 3步可用 输出:代碼
claude-api.ts
import { agent } from "skills"
run({ skill: "claude-api" })
// Ready to execute
AI与平台工具 · 免费收录 许可未声明

大白话三步上手

01 第一步,说想接入的模型
02 第二步,它给参数和价目
03 第三步,照抄示例就跑通

热度依据

  • ⭐ 74k 安装
  • 来源:anthropics/skills
  • 许可证:未标注许可证(无LICENSE文件)

易用性依据

  • 3步可用
  • 收录校验:SKILL.md frontmatter 与结构检查通过
  • 适合角色:內容創作者、研究人員

获取与安装

这是公开仓库的免费 skill,可在终端运行以下命令一键安装:

npx skills add anthropics/skills

或直接打开 上游仓库/页面 ↗,把 skill 文件夹放进你 agent 的 skills 目录(各 agent 目录名略有差异,见其文档)。

主线哪几关用到它

STUDIO · 工作室出品

这个 skill 免费。要「自测通过、当天上新」的,看我们的

SkillCube 工作室的每款 skill 自测跑通才上架,附真实产出样例。单买 $4.99,或订阅 $9.99/月 解锁全部——内测期全部免费。

相关推荐