skills/create-a-message/SKILL.md
# Create A Message Send a structured list of input messages to a Claude model and receive a generated response. The primary interface for interacting with Claude for conversations and content generation. ## API Details - **API**: Anthropic Messages API - **Method**: POST - **Path**: `/v1/messages` - **Operation ID**: `createMessage` - **OpenAPI**: [anthropic-messages-api-openapi.yml](../../openapi/anthropic-messages-api-openapi.yml) ## Sandbox Mock server URL: `http://localhost:8080/rest/an
npx skillsauth add naftiko/anthropic-sandbox skills/create-a-messageInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Send a structured list of input messages to a Claude model and receive a generated response. The primary interface for interacting with Claude for conversations and content generation.
/v1/messagescreateMessageMock server URL: http://localhost:8080/rest/anthropic-models-api/2025-03-05/v1/messages
anthropic-version: 2023-06-01x-api-key: {api-key}Content-Type: application/json{
"model": "claude-sonnet-4-20250514",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "Hello, Claude! How are you today?"
}
]
}
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| model | string | Yes | The Claude model to use |
| max_tokens | integer | Yes | Maximum tokens in the response (min 1) |
| messages | array | Yes | Conversation messages (up to 100,000) |
| system | string/array | No | System prompt for context and instructions |
| temperature | number | No | Randomness (0.0-1.0, default 1.0) |
| tools | array | No | Tool definitions for function calling |
| stream | boolean | No | Enable streaming with server-sent events |
| thinking | object | No | Enable extended thinking |
curl -X POST "http://localhost:8080/rest/anthropic-models-api/2025-03-05/v1/messages" \
-H "anthropic-version: 2023-06-01" \
-H "x-api-key: your-api-key" \
-H "Content-Type: application/json" \
-d '{"model": "claude-sonnet-4-20250514", "max_tokens": 1024, "messages": [{"role": "user", "content": "Hello!"}]}'
{
"id": "msg_013Zva2CMHLNnXjNJJKqJ2EF",
"type": "message",
"role": "assistant",
"content": [
{
"type": "text",
"text": "Hi! My name is Claude. I'm doing well, thank you for asking! How can I help you today?"
}
],
"model": "claude-sonnet-4-20250514",
"stop_reason": "end_turn",
"stop_sequence": null,
"usage": {
"input_tokens": 12,
"output_tokens": 25
}
}
When the user asks to send a message to Claude, generate text, have a conversation, or use Claude for any content generation task, use this operation by making a POST request to /v1/messages. Specify the model, max_tokens, and messages array. Optionally include a system prompt to guide Claude's behavior.
development
# Update Workspace Update the name or display color of an existing workspace. ## API Details - **API**: Anthropic Administrative API - **Method**: POST - **Path**: `/organizations/workspaces/{workspace_id}` - **Operation ID**: `updateWorkspace` - **OpenAPI**: [anthropic-admin-api-openapi.yml](../../openapi/anthropic-admin-api-openapi.yml) ## Sandbox Mock server URL: `http://localhost:8080/rest/anthropic-admin-api/1.0.0/organizations/workspaces/{workspace_id}` ## Required Headers - `anthro
development
# Update Workspace Member Update the workspace role of a specific member within a workspace. ## API Details - **API**: Anthropic Administrative API - **Method**: POST - **Path**: `/organizations/workspaces/{workspace_id}/members/{user_id}` - **Operation ID**: `updateWorkspaceMember` - **OpenAPI**: [anthropic-admin-api-openapi.yml](../../openapi/anthropic-admin-api-openapi.yml) ## Sandbox Mock server URL: `http://localhost:8080/rest/anthropic-admin-api/1.0.0/organizations/workspaces/{workspa
development
# Update Organization Member Update the role or other attributes of a specific user within the organization. ## API Details - **API**: Anthropic Administrative API - **Method**: POST - **Path**: `/organizations/users/{user_id}` - **Operation ID**: `updateOrganizationMember` - **OpenAPI**: [anthropic-admin-api-openapi.yml](../../openapi/anthropic-admin-api-openapi.yml) ## Sandbox Mock server URL: `http://localhost:8080/rest/anthropic-admin-api/1.0.0/organizations/users/{user_id}` ## Require
development
# Update API Key Update the name or status of an existing API key. Can be used to activate or deactivate a key. ## API Details - **API**: Anthropic Administrative API - **Method**: POST - **Path**: `/organizations/api_keys/{api_key_id}` - **Operation ID**: `updateApiKey` - **OpenAPI**: [anthropic-admin-api-openapi.yml](../../openapi/anthropic-admin-api-openapi.yml) ## Sandbox Mock server URL: `http://localhost:8080/rest/anthropic-admin-api/1.0.0/organizations/api_keys/{api_key_id}` ## Requ