AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Zendesk

skill-alanalvestech-hitank-zendesk · by alanalvestech

Manage Zendesk tickets, users, organizations and knowledge base via REST API

— No reviews yet
0 installs
36 views
0.0% view→install

Install

$ agentstack add skill-alanalvestech-hitank-zendesk

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-alanalvestech-hitank-zendesk)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
○ 6mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Zendesk? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

/zendesk

Connect to the Zendesk REST API to manage tickets, users, organizations and knowledge base articles. Pure Ruby, zero gems — stdlib only.

Structure

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

Setup (check before using)

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.com in your URL. > > For example, if your Zendesk is at https://mycompany.zendesk.com, the subdomain is mycompany.

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/settings > > Copy 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.

Flow

The argument $ARGUMENTS may contain a ticket ID or a search query.

Step 1: List tickets

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.

Step 2: Show ticket details

ruby ~/.claude/skills/zendesk/scripts/ticket.rb TICKET_ID

Present the ticket info and ask what the user wants to do.

Step 3: Actions

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

Notes

  • Pure Ruby, zero gems — stdlib only (json, net/http, uri, fileutils, base64)
  • Auth via Basic authentication: {email}/token:{api_token} (Base64 encoded)
  • Config files in ~/.config/zendesk/ — subdomain, email, token (outside the repo, never commit)
  • Creating and updating tickets require explicit user confirmation
  • Base URL: https://{subdomain}.zendesk.com/api/v2

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.