skills/improve-a-prompt/SKILL.md
# Improve A Prompt Enhance an existing prompt based on specific feedback or general prompt engineering best practices. Part of the closed research preview Prompt Tools API. ## API Details - **API**: Anthropic Prompt Tools API - **Method**: POST - **Path**: `/v1/experimental/improve_prompt` - **Operation ID**: `improvePrompt` - **OpenAPI**: [anthropic-prompts-api-openapi.yml](../../openapi/anthropic-prompts-api-openapi.yml) ## Sandbox Mock server URL: `http://localhost:8080/rest/anthropic-pr
npx skillsauth add naftiko/anthropic-sandbox skills/improve-a-promptInstall 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.
Enhance an existing prompt based on specific feedback or general prompt engineering best practices. Part of the closed research preview Prompt Tools API.
/v1/experimental/improve_promptimprovePromptMock server URL: http://localhost:8080/rest/anthropic-prompt-tools-api/1.0.0/v1/experimental/improve_prompt
anthropic-version: 2023-06-01anthropic-beta: prompt-tools-2025-04-02x-api-key: {api-key}Content-Type: application/json{
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "Concise recipe for {{food}}"
}
]
}
],
"feedback": "Make the recipes shorter and more actionable",
"system": "You are a professional meal prep chef",
"target_model": "claude-sonnet-4-20250514"
}
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| messages | array | Yes | The existing prompt to improve |
| feedback | string | No | Specific guidance for improvements |
| system | string | No | Existing system prompt to incorporate |
| target_model | string | No | Target model for the improved prompt |
curl -X POST "http://localhost:8080/rest/anthropic-prompt-tools-api/1.0.0/v1/experimental/improve_prompt" \
-H "anthropic-version: 2023-06-01" \
-H "anthropic-beta: prompt-tools-2025-04-02" \
-H "x-api-key: your-api-key" \
-H "Content-Type: application/json" \
-d '{"messages": [{"role": "user", "content": [{"type": "text", "text": "Write a summary"}]}], "feedback": "Make it more detailed"}'
{
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are a professional meal prep chef. Create a detailed recipe for {{food}} including preparation time, cooking time, and step-by-step instructions."
}
]
}
],
"system": "",
"usage": {
"input_tokens": 45,
"output_tokens": 180
}
}
When the user asks to improve, enhance, or refine an existing prompt, use this operation by making a POST request to /v1/experimental/improve_prompt with the current prompt messages and optional feedback.
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