skills/create-file/SKILL.md
# Create File Upload a file to Anthropic's servers for use in subsequent API calls such as message creation and batch processing. ## API Details - **API**: Anthropic Files API - **Method**: POST - **Path**: `/files` - **Operation ID**: `createFile` - **OpenAPI**: [anthropic-files-api-openapi.yml](../../openapi/anthropic-files-api-openapi.yml) ## Sandbox Mock server URL: `http://localhost:8080/rest/anthropic-files-api/1.0.0/files` ## Required Headers - `anthropic-version: 2023-06-01` - `an
npx skillsauth add naftiko/anthropic-sandbox skills/create-fileInstall 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.
Upload a file to Anthropic's servers for use in subsequent API calls such as message creation and batch processing.
/filescreateFileMock server URL: http://localhost:8080/rest/anthropic-files-api/1.0.0/files
anthropic-version: 2023-06-01anthropic-beta: files-api-2025-04-14x-api-key: {api-key}Content-Type: multipart/form-dataapplication/pdfimage/jpeg, image/png, image/gif, image/webptext/plain, text/csvapplication/jsonapplication/vnd.openxmlformats-officedocument.wordprocessingml.document (DOCX)application/vnd.openxmlformats-officedocument.spreadsheetml.sheet (XLSX)curl -X POST "http://localhost:8080/rest/anthropic-files-api/1.0.0/files" \
-H "anthropic-version: 2023-06-01" \
-H "anthropic-beta: files-api-2025-04-14" \
-H "x-api-key: your-api-key" \
-F "file=@/path/to/document.pdf"
{
"id": "file_011CNha8iCJcU1wXNR6q4V8w",
"type": "file",
"filename": "document.pdf",
"mime_type": "application/pdf",
"size_bytes": 2048576,
"created_at": "2024-11-07T05:31:56Z",
"downloadable": true
}
When the user asks to upload a file to Anthropic, use this operation by making a multipart POST request to /files with the file as form data. Include the anthropic-beta: files-api-2025-04-14 header. Return the file ID for use in future API calls.
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