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.
Rank
62
Safety
84
Downloads
1.8k
Updated
Oct 10, 2026
Version
0.2.17
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.8K downloads reported by the source. Last updated 10/10/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 10, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 10, 2026
- Adoption signal
- 1.8K downloadsadoption · observed Oct 10, 2026
- Latest release
- 0.2.17release · observed Sep 30, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s1771k6pjxksnjws51x2htfjvd876syh:runapi-claude- Install using `clawhub skill install s1771k6pjxksnjws51x2htfjvd876syh:runapi-claude` in an isolated environment before connecting it to live workloads.
- No published capability contract is available yet, so validate auth and request/response behavior manually.
- Review the upstream CLAWHUB listing at https://clawhub.ai/runapi-ai/runapi-claude before using production credentials.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-runapi-ai-runapi-claude/snapshot"
Documentation
CLAWHUB
96,943 characters of source documentation, loaded on request.
Extracted files
4 files captured from the source.
SKILL.md
---
name: claude
description: 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.
documentation: https://runapi.ai/models/claude.md
provider_page: https://runapi.ai/providers/anthropic.md
catalog: https://runapi.ai/models.md
metadata:
openclaw:
homepage: https://runapi.ai/models/claude
primaryEnv: ANTHROPIC_API_KEY
requires:
env: [ANTHROPIC_API_KEY, ANTHROPIC_BASE_URL]
envVars:
- {name: ANTHROPIC_API_KEY, required: true, description: RunAPI API key used by Anthropic-compatible clients.}
- {name: ANTHROPIC_BASE_URL, required: true, description: Set to https://runapi.ai for Claude on RunAPI.}
---
# 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
```python
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](references/compatibility-protocols.md) only when an existing client requires OpenAI Chat/Responses or Gemini contents.
## Supported models
| Model ID | Use when |
|---|---|
| `claude-fable-5-1` | — |
| `claude-fable-5` | Flagship state-of-the-art coding, reasoning, and vision |
| `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-h_meta.json
{
"ownerId": "kn70me4rk7jqjt92evshjeb5z18768g7",
"slug": "runapi-claude",
"version": "0.2.17",
"publishedAt": 1790770526518
}references/compatibility-protocols.md
# Claude compatibility protocols Load this reference only for an existing OpenAI or Gemini client. New Claude integrations use Anthropic Messages from the main skill. For OpenAI clients, set the base URL to `https://runapi.ai/v1`, use a RunAPI key, and call Chat Completions or Responses with a supported exact Claude model ID. Verify `finish_reason` plus `usage` for Chat, or `response.completed` plus `usage` for Responses. SSE ends at `[DONE]`. For Gemini contents, set `RUNAPI_MODEL` to a supported exact model ID and use `https://runapi.ai/v1beta/models/$RUNAPI_MODEL:generateContent` or `streamGenerateContent` with `x-goog-api-key`. Verify candidates, `finishReason`, and `usageMetadata`. Apply one evidence-backed shape correction, at most one safe pre-response transport retry, and no automatic model or protocol hopping.
skill-card.md
## Description: Guides developers in using Claude models through RunAPI with the Anthropic Messages protocol and optional OpenAI or Gemini client compatibility. This skill is ready for commercial/non-commercial use. ## Publisher: [runapi-ai](https://clawhub.ai/user/runapi-ai) ### License/Terms of Use: MIT-0 ## Use Case: Developers use this skill to configure RunAPI credentials and call Claude models for chat, streaming, vision, tools, reasoning, and token counting. It also guides developers migrating existing OpenAI or Gemini clients. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: Prompts sent through this integration go to RunAPI's service. Mitigation: Use only when routing prompts to RunAPI is intended and permitted by your data-handling policy. Risk: Using this integration requires a RunAPI API key. Mitigation: Provide the key through the documented environment variable and protect it as a credential. ## Reference(s): - [Claude on RunAPI documentation](https://runapi.ai/models/claude.md) - [Claude on RunAPI model page](https://runapi.ai/models/claude) - [RunAPI Anthropic provider documentation](https://runapi.ai/providers/anthropic.md) - [RunAPI model catalog](https://runapi.ai/models.md) - [Compatibility protocols](references/compatibility-protocols.md) - [ClawHub skill release](https://clawhub.ai/runapi-ai/skills/runapi-claude) ## Skill Output: **Output Type(s):** [Text, Code, Configuration instructions, Guidance] **Output Format:** [Markdown with Python examples and configuration guidance] **Output Parameters:** [1D] **Other Properties Related to Output:** [Describes request verification and retry boundaries; no executable files are produced.] ## Skill Version(s): 0.2.17 (source: server-resolved release) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/runapi-ai/skills/runapi-claude",
"sourceUrl": "https://clawhub.ai/runapi-ai/skills/runapi-claude",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T01:44:32.646Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-runapi-ai-runapi-claude/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-runapi-ai-runapi-claude/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-10T01:44:32.646Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.8K downloads",
"href": "https://clawhub.ai/runapi-ai/runapi-claude",
"sourceUrl": "https://clawhub.ai/runapi-ai/runapi-claude",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T01:44:32.646Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "0.2.17",
"href": "https://clawhub.ai/runapi-ai/runapi-claude",
"sourceUrl": "https://clawhub.ai/runapi-ai/runapi-claude",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-09-30T12:15:26.518Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-runapi-ai-runapi-claude/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-runapi-ai-runapi-claude/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 0.2.17",
"description": "## Changed - The supported model table now describes claude-opus-5-5 as the Claude model for long-running agentic coding and knowledge work.",
"href": "https://clawhub.ai/runapi-ai/runapi-claude",
"sourceUrl": "https://clawhub.ai/runapi-ai/runapi-claude",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-09-30T12:15:26.518Z",
"isPublic": true
}
]
}Record generated Oct 10, 2026.
