claude
БесплатноБез исполняемых скриптовНе проверенCall Claude models through RunAPI using the Anthropic Messages protocol. Use for Claude chat, streaming, vision, tools, reasoning, token counting, or an…
от runapi-ai2 262 установки в других каталогахОб этом скилле
Claude on RunAPI
Use Anthropic Messages at https://runapi.ai with POST /v1/messages as the primary protocol.
Primary protocol recipe
Authenticate
Set ANTHROPIC_API_KEY to a RunAPI API key and ANTHROPIC_BASE_URL to
https://runapi.ai. The SDK sends x-api-key; Bearer authentication is also accepted.
Send request
import anthropic
client = anthropic.Anthropic(api_key="YOUR_RUNAPI_TOKEN", base_url="https://runapi.ai")
message = client.messages.create(
model="claude-sonnet-5",
max_tokens=1024,
messages=[{"role": "user", "content": "Explain this decision."}],
)
print(message.content[0].text)
print(message.usage)
max_tokens is required. For long output, use client.messages.stream(...)
and consume stream.text_stream through the terminal event. Add image blocks,
function tools, reasoning controls, or token counting only when the current
RunAPI contract verifies them for the selected exact model.
Verify result
Require final text, stop_reason, and authoritative usage. A stream is
complete only after terminal Usage and message_stop. Token counting estimates
input only; actual response Usage remains authoritative.
Stop boundaries
Correct a rejected shape once using the structured error. Retry transport once only before any response or Usage and when replay is safe. Record a terminal error and stop without changing model or protocol.
Compatibility protocols
Load compatibility protocols only when an existing client requires OpenAI Chat/Responses or Gemini contents.
Supported models
| Model ID | Use when |
|---|---|
claude-fable-5-2 |
— |
claude-fable-5-1 |
— |
claude-fable-5 |
Flagship state-of-the-art coding, reasoning, and vision |
claude-sonnet-5-5 |
Sonnet 5 successor for everyday coding and agents |
claude-sonnet-5 |
Near-Opus coding at Sonnet cost |
claude-opus-5 |
Latest Opus frontier reasoning |
claude-opus-4-8 |
Strongest general model |
claude-opus-4-7 |
Previous Opus generation |
claude-opus-4-6 |
High-end reasoning |
claude-sonnet-4-6 |
Balanced reasoning and speed |
claude-opus-4-5-20251101 |
Dated Opus 4.5 snapshot |
claude-sonnet-4-5-20250929 |
Dated Sonnet 4.5 snapshot |
claude-haiku-5-5 |
Lowest-cost Claude; higher rates above 100K-token prompts |
claude-haiku-4-5-20251001 |
Fastest lightweight snapshot |
claude-opus-4-1-20250805 |
Dated Opus 4.1 snapshot |
claude-opus-5-5 |
Long-running agentic coding and knowledge work |
Fable 5.2 request limits
The model has a 1M-token context window and a maximum output of 128K tokens. Apply these request and response rules.
- Thinking is always on.
thinking.type="disabled"andthinking.type="enabled"withbudget_tokensreturn HTTP 400. - Use
tool_choice.type="auto"or"none". Forced"any"and"tool"choices return HTTP 400. - Assistant prefill returns HTTP 400. End the conversation with a user message.
- Omit sampling parameters, including
temperature,top_p, andtop_k. - A refusal returns HTTP 200 with
stop_reason="refusal"andstop_details. Check the stop reason before treating the response as a completed answer.
References
Установить claude в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл claude?
Call Claude models through RunAPI using the Anthropic Messages protocol. Use for Claude chat, streaming, vision, tools, reasoning, token counting, or an existing compatibility client that needs the conditional reference.
Как установить скилл claude?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл claude запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic