skills/generate-a-prompt/SKILL.md
# Generate A Prompt Generate a well-written, production-ready prompt for a specified task using Anthropic's prompt engineering expertise. Part of the closed research preview Prompt Tools API. ## API Details - **API**: Anthropic Prompt Tools API - **Method**: POST - **Path**: `/v1/experimental/generate_prompt` - **Operation ID**: `generatePrompt` - **OpenAPI**: [anthropic-prompts-api-openapi.yml](../../openapi/anthropic-prompts-api-openapi.yml) ## Sandbox Mock server URL: `http://localhost:8
npx skillsauth add naftiko/anthropic-sandbox skills/generate-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.
Generate a well-written, production-ready prompt for a specified task using Anthropic's prompt engineering expertise. Part of the closed research preview Prompt Tools API.
/v1/experimental/generate_promptgeneratePromptMock server URL: http://localhost:8080/rest/anthropic-prompt-tools-api/1.0.0/v1/experimental/generate_prompt
anthropic-version: 2023-06-01anthropic-beta: prompt-tools-2025-04-02x-api-key: {api-key}Content-Type: application/json{
"task": "a chef for a meal prep planning service",
"target_model": "claude-sonnet-4-20250514"
}
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| task | string | Yes | Description of what the prompt should do or the role it should define |
| target_model | string | No | The model this prompt will be used with |
curl -X POST "http://localhost:8080/rest/anthropic-prompt-tools-api/1.0.0/v1/experimental/generate_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 '{"task": "a helpful customer service agent for a software company"}'
{
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are a chef for a meal prep planning service. Your role is to help users plan their weekly meals, create shopping lists, and provide cooking instructions."
}
]
},
{
"role": "assistant",
"content": [
{
"type": "text",
"text": "<recipe_planning>"
}
]
}
],
"system": "",
"usage": {
"input_tokens": 25,
"output_tokens": 150
}
}
When the user asks to generate a new prompt for a specific task or role, use this operation by making a POST request to /v1/experimental/generate_prompt with a clear task description. The generated messages array can be used directly with the Messages API.
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