Anthropic skill for use with PinkConnect Proxy
Interact with Claude AI models through the Anthropic API for text generation, analysis, and conversation, including support for system prompts, multi-turn conversations, and image analysis capabilities.
Required:
action
- The operation to perform (create-message, create-message-with-system, create-message-with-image)Optional:
model
- Claude model to use (default: claude-3-5-sonnet-20241022)max-tokens
- Maximum tokens to generate (default: 1024)system-prompt
- System instructions for the modelanthropic-version
- API version headerSend a message to Claude and get a response
Parameters:
model
(optional) - Claude model to usemax-tokens
(optional) - Maximum tokens to generatemessage
(required) - The user message to sendExample:
Response:
Send a message with system instructions
Parameters:
model
(optional) - Claude model to usemax-tokens
(optional) - Maximum tokens to generatesystem-prompt
(required) - System instructions for the modelmessage
(required) - The user message to sendExample:
Response:
Send a message with an image for analysis
Parameters:
model
(optional) - Claude model to usemax-tokens
(optional) - Maximum tokens to generatemessage
(required) - The text message to sendimage-data
(required) - Base64 encoded image datamedia-type
(required) - Image media type (e.g., image/jpeg, image/png)Example:
Response:
Available Claude models include claude-opus-4-20250514 for complex reasoning, claude-sonnet-4-20250514 for coding and analysis, claude-3-7-sonnet-20250219 for structured reasoning, claude-3-5-haiku-20241022 for fast responses, and claude-3-5-sonnet-20241022 for general chat. All models support text and image inputs with varying context windows. Include the anthropic-version header (e.g., 2023-06-01) in requests.