一键导入
zendesk
Manage Zendesk tickets, users, organizations and knowledge base via REST API
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Manage Zendesk tickets, users, organizations and knowledge base via REST API
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Manage Cloudflare zones, DNS records, Workers, Pages and cache via API
Manage Cloudinary media assets, transformations and upload via REST API
Monitor infrastructure, query metrics, manage monitors and events via Datadog API
Manage DigitalOcean droplets, domains, databases, apps and volumes via API v2
Manage Firebase projects, Firestore, Auth users and Hosting via REST API
Manage Intercom conversations, contacts, articles and help center via REST API
| name | zendesk |
| description | Manage Zendesk tickets, users, organizations and knowledge base via REST API |
| user-invocable | true |
| argument-hint | ["ticket ID or search query"] |
Connect to the Zendesk REST API to manage tickets, users, organizations and knowledge base articles. Pure Ruby, zero gems — stdlib only.
scripts/
├── auth.rb # Basic auth + zendesk_request helper (required by all scripts)
├── check_setup.rb # Check if credentials exist (outputs OK or SETUP_NEEDED)
├── save_token.rb # Save and validate subdomain, email, API token
├── tickets.rb # List tickets (optional --status filter)
├── ticket.rb # Get ticket details
├── create_ticket.rb # Create a new ticket
├── update_ticket.rb # Update ticket status/assignee
├── search.rb # Search across tickets, users, organizations
├── users.rb # List users
├── organizations.rb # List organizations
└── articles.rb # List knowledge base articles
ruby ~/.claude/skills/zendesk/scripts/check_setup.rb
If the output is OK, proceed to the Flow section.
If the output is SETUP_NEEDED, guide the user step by step. Present ONE step at a time, wait for the user to confirm before moving to the next.
Step 1 — Ask the user for their Zendesk subdomain:
What is your Zendesk subdomain? This is the part before
.zendesk.comin your URL.For example, if your Zendesk is at
https://mycompany.zendesk.com, the subdomain ismycompany.
Step 2 — Ask the user for their Zendesk email:
What is the email address you use to log in to Zendesk?
Step 3 — Ask the user to create an API token:
You need a Zendesk API token. Go to Admin Center > Apps and integrations > Zendesk API > Zendesk API Settings and create a new token:
https://YOUR_SUBDOMAIN.zendesk.com/admin/apps-integrations/apis/zendesk-api/settingsCopy the token and paste it here.
Step 4 — When the user provides all three values, save them:
ruby ~/.claude/skills/zendesk/scripts/save_token.rb 'SUBDOMAIN' 'EMAIL' 'API_TOKEN'
If the script outputs an error, the credentials are invalid. Ask the user to double-check and try again.
If setup is not complete, DO NOT proceed to the Flow. Complete all steps first.
The argument $ARGUMENTS may contain a ticket ID or a search query.
ruby ~/.claude/skills/zendesk/scripts/tickets.rb
Filter by status:
ruby ~/.claude/skills/zendesk/scripts/tickets.rb --status open
ruby ~/.claude/skills/zendesk/scripts/tickets.rb --status pending
ruby ~/.claude/skills/zendesk/scripts/tickets.rb --status solved
Present the tickets to the user. If $ARGUMENTS matches a ticket ID, skip to Step 2. If it looks like a search query, skip to Search.
ruby ~/.claude/skills/zendesk/scripts/ticket.rb TICKET_ID
Present the ticket info and ask what the user wants to do.
Create a ticket (requires user confirmation):
Ask the user for the subject and description, then confirm: "Do you want to create a ticket with subject 'X'?" Only execute after a "yes".
ruby ~/.claude/skills/zendesk/scripts/create_ticket.rb 'SUBJECT' 'BODY'
Update a ticket (requires user confirmation):
Show current ticket details first, then ask: "Do you want to update ticket #ID?" Only execute after a "yes".
ruby ~/.claude/skills/zendesk/scripts/update_ticket.rb TICKET_ID --status open
ruby ~/.claude/skills/zendesk/scripts/update_ticket.rb TICKET_ID --status pending
ruby ~/.claude/skills/zendesk/scripts/update_ticket.rb TICKET_ID --status solved
ruby ~/.claude/skills/zendesk/scripts/update_ticket.rb TICKET_ID --assignee USER_ID
ruby ~/.claude/skills/zendesk/scripts/update_ticket.rb TICKET_ID --comment 'Internal note text'
ruby ~/.claude/skills/zendesk/scripts/update_ticket.rb TICKET_ID --status solved --comment 'Resolved the issue'
Search across tickets, users and organizations:
ruby ~/.claude/skills/zendesk/scripts/search.rb 'QUERY'
List users:
ruby ~/.claude/skills/zendesk/scripts/users.rb
List organizations:
ruby ~/.claude/skills/zendesk/scripts/organizations.rb
List knowledge base articles:
ruby ~/.claude/skills/zendesk/scripts/articles.rb
{email}/token:{api_token} (Base64 encoded)~/.config/zendesk/ — subdomain, email, token (outside the repo, never commit)https://{subdomain}.zendesk.com/api/v2