A comprehensive development framework for building LLM-powered applications using the Anthropic Claude API and the specialized Agent SDK.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install claude-api-cn
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install claude-api-cn using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
This Openclaw Skills module provides a robust architecture for developing applications powered by Claude. It enables developers to integrate advanced features like adaptive thinking, server-side code execution, and high-fidelity structured outputs across a wide variety of programming environments. By bridging the gap between simple API calls and complex autonomous agents, it allows for scalable AI integration tailored to specific project needs.
The skill emphasizes the use of Claude Opus 4.6 as the flagship model, supporting context windows up to 1M tokens in beta and introducing adaptive thinking. This ensures that complicated reasoning tasks are handled with dynamic token allocation, while the Agent SDK offers out-of-the-box support for file systems, web browsing, and terminal access, making it a premier choice for agentic coding assistants and research tools.
First, ensure you have your Anthropic API key configured. Install the relevant SDK for your environment:
# For Python projects
pip install anthropic
# For TypeScript/JavaScript projects
npm install @anthropic-ai/sdk
Initialize the client and enable adaptive thinking for complex reasoning:
from anthropic import Anthropic
client = Anthropic()
message = client.messages.create(
model="claude-opus-4-6",
max_tokens=16000,
thinking={"type": "adaptive"},
messages=[{"role": "user", "content": "Analyze this codebase."}]
)
The skill organizes data around the Messages API architecture and language-specific SDK implementations:
| Component | Description |
|---|---|
| Model ID | Uses static identifiers like claude-opus-4-6 or claude-sonnet-4-6. |
| Output Config | Defines effort levels (low, medium, high, max) and structured format constraints. |
| Tool Schema | Utilizes Zod (TS) or Decorators (Python) to define function metadata and parameter validation. |
| Compaction State | Preserves response.content blocks to maintain summarized context across turns. |
| File API | Manages persistent file uploads for cross-request reference without re-uploading. |
Loading
A specialized discovery tool for listing and searching through all installed AI agent capabilities within a workspace.

A comprehensive A-share market intelligence skill providing real-time data on dragon-tiger boards, institutional research, and pre-market auction statistics.

A highly reliable chat recording and summarization tool designed for Feishu and DingTalk that utilizes strict trigger rules to ensure accurate data capture.

A specialized tool for designing, optimizing, and auditing user feedback and product roadmap pages to drive community engagement.

A comprehensive guide for executing high-performing mobile app install campaigns and user acquisition strategies across major ad platforms.

A professional-grade toolkit for programmatically creating, editing, and analyzing Microsoft Word documents with high-fidelity formatting.








































