create-ticket

create-ticket is a command for coding agents from WYRE-AI/msp-claude-plugins. It costs 8 tokens per session (823 once invoked), scanned A, original, Apache-2.0.

A procedure for creating a service ticket in Atera, an IT-support management service. It validates the customer, checks for recent duplicate tickets, resolves optional contacts and technicians, and submits the ticket.

In plain words
What is it for?
Use it to open an Atera ticket with a title, description, priority, customer, contact, and assigned technician, then return the created ticket's details.
Why use it?
It reduces mistakes such as assigning a ticket to the wrong customer, creating duplicates, or using invalid contact details.

Command

Part of the atera plugin — 4 skills, 10 commands, 2 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/wyre-ai/msp-claude-plugins/create-ticket
Clone the repo
git clone --depth 1 https://github.com/WYRE-AI/msp-claude-plugins

Or install atera, the plugin that ships this one along with the rest of its 4 skills, 10 commands, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for create-ticket

README.md
[![agentmods](https://agentmods.dev/badge/commands/wyre-ai/msp-claude-plugins/create-ticket.svg)](https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/create-ticket)
Your own site
<a href="https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/create-ticket"><img src="https://agentmods.dev/badge/commands/wyre-ai/msp-claude-plugins/create-ticket.svg" alt="Measured on agentmods" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 823 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00008 $0.00823
Opus 5 $0.00004 $0.00411
Sonnet 5 $0.00002 $0.00165
Haiku 4.5 $0.00001 $0.00082

Measured 5d ago against content hash 34bbae668584, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

create-ticket scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

msp-claude-plugins/atera/atera/commands/create-ticket.md · 144 lines

How it starts

The opening of the file, as written. The whole thing — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create Atera Ticket

Create a new service ticket in Atera with specified details.

Prerequisites

  • Valid Atera API key configured
  • Customer must exist in Atera
  • User must have ticket creation permissions

Steps

  1. Validate customer exists

    • If numeric, use as customer ID directly
    • If text, search customers by name
    • Suggest similar names if no exact match
  2. Check for duplicate tickets

    • Search open tickets for same customer
    • Warn if similar titles found in last 24 hours
  3. Resolve optional fields

    • Look up contact ID if contact provided
    • Validate technician email if provided
    • Apply default priority if not specified
  4. Create the ticket

    POST /api/v3/tickets
    X-API-KEY: {api_key}
    Content-Type: application/json
    
    {
      "TicketTitle": "<title>",
      "Description": "<description>",
      "EndUserID": <resolved_contact_id>,
      "TicketPriority": "<priority>",
      "TicketType": "Problem",
      "TechnicianContactID": <resolved_tech_id>
    }
    
  5. Return ticket details

    • Ticket ID
    • Ticket title
    • Customer name
    • Assigned technician

Parameters

Parameter Type Required Default Description
customer string/int Yes - Customer name or ID
title string Yes - Brief summary of the issue
description string No - Detailed issue description
priority string No Medium Low, Medium, High, Critical
contact string No - Contact name or email
technicianEmail string No - Technician to assign

Examples

Basic Usage

/create-ticket "Acme Corp" "Email not working"

With Full Details

/create-ticket "Acme Corp" "Email not working" --description "Multiple users unable to send/receive since 9am" --priority High --contact "[email protected]" --technicianEmail "[email protected]"

Using Customer ID

/create-ticket 12345 "Server offline" --priority Critical

Read the full file on GitHub · 144 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 144 lines · 8 tokens per session scan A 34bbae668584

Subscribe to this mod's changes

create-ticket is a command published in the GitHub repository WYRE-AI/msp-claude-plugins (44 stars, last pushed 2d ago), licensed Apache-2.0. It adds 8 tokens to every session and 823 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.