agentleFS
theticketfairytheticketfairy/agent-skills/skills/manage-events-with-the-cli/SKILL.md

manage-events-with-the-cli

Skill0 starsChanged 59 days agoMITView on GitHub

Manage Ticket Fairy events, tickets, orders, customers, invitations, promotions, check-in and webhooks with the official ticketfairy CLI or its MCP server. Use when an organiser wants an agent or a script to work on their own Ticket Fairy account.

  • Reads credentials
  • Installs packages

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Ask the person before you install anything.

    line 14
  2. Very specific:

    Add --output json --non-interactive to every command you run, including the examples in this skill, which leave them out to stay short.

    line 38
  3. Very specific:

    Use --dry-run to show the person a change before you make it.

    line 44
  4. Very specific:

    Run ticketfairy <group> --help for every flag.

    line 76

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Manage events with the CLI

ticketfairy is the official command-line tool for organisers. It gives scripts and agents stable JSON output, documented exit codes and safe retries. It acts as the signed-in person, with the same permissions they have in the dashboard.

Set up

Ask the person before you install anything. The CLI needs Node.js 20 or newer.

npm install -g ticketfairy
ticketfairy --version

Sign in with one of these:

Where you runHow
The person's own computer, with a browserticketfairy login (opens the browser, supports 2FA, keeps the token in the system keychain)
CI, a server or a hosted agentA Personal Access Token in TICKET_FAIRY_API_KEY. The person creates it at https://manage.ticketfairy.com/account or with ticketfairy auth tokens create "<name>", and stores it in the environment or secret store themselves. Never ask them to paste it into the chat.

Then check the account and pick the brand:

ticketfairy auth status
ticketfairy brand list
ticketfairy brand use <BRAND_ID>

Rules for agents

  • Add --output json --non-interactive to every command you run, including the examples in this skill, which leave them out to stay short. A command that chooses its own mode, such as --output csv or --interactive, keeps it. Read data from stdout; logs go to stderr.
  • Branch on the exit code: 0 success, 2 usage, 3 network, 4 authentication, 5 not found, 6 conflict or verification required, 7 rate limited.
  • Errors in JSON mode are {"error": {"code", "message", "hint", "request_id"}}. Follow hint.
  • Use --dry-run to show the person a change before you make it. Destructive commands need an explicit --force; pass it only after the person agrees.
  • For a retry across separate runs, pass the same --idempotency-key <uuid> so the server does not create a duplicate.
  • ticketfairy <command> --help --output json returns a command's schema. ticketfairy manifest returns the whole command tree.
  • VERIFICATION_REQUIRED (exit 6) on event publish, messaging send or invitation send means the person must run ticketfairy account verify and finish identity verification in their browser.

Common tasks

TaskCommand
List events on the active brandticketfairy event list
Open one eventticketfairy event get <EVENT_ID>
Sales and performanceticketfairy event stats <EVENT_ID> --metric sales
Create an event from a fileticketfairy event create --from-file event.json
Change an event from a fileticketfairy event update <EVENT_ID> --from-file event.json
Copy an eventticketfairy event clone <EVENT_ID>
Publish or unpublishticketfairy event publish <EVENT_ID>, ticketfairy event unpublish <EVENT_ID>
Ticket typesticketfairy ticket list <EVENT_ID>
Orders, filtered by statusticketfairy order list <EVENT_ID> --status paid
Export orders to CSVticketfairy order export <EVENT_ID> --output csv --file orders.csv
Customersticketfairy customer search <TERM>
Promotionsticketfairy promotion list <EVENT_ID>
Send invitations from a CSVticketfairy invitation send <EVENT_ID> --from-csv guests.csv --ticket-type <TICKET_TYPE_ID>
Check-in statusticketfairy checkin status <EVENT_ID> --breakdown ticket-types
Webhooksticketfairy webhook list
Teamticketfairy team list
Any other API endpoint, with authentication attachedticketfairy api <PATH> -X <METHOD>

Run ticketfairy <group> --help for every flag. The guide skills, such as manage-orders-and-refunds, list the exact command for each guide.

MCP server

The CLI is also an MCP server. Add it to the client configuration:

{
  "mcpServers": {
    "ticketfairy": {
      "command": "ticketfairy",
      "args": ["mcp", "--read-only"]
    }
  }
}

It uses the same sign-in as the CLI. --read-only exposes read tools only; start there and drop it only when the person wants you to make changes. The client asks the person to approve destructive actions.

Limits

  • The CLI cannot take payment, enter bank or tax details or buy a plan. Those stay in the person's browser.
  • Vault commands are read-only and work only for brands enrolled in Vault.
  • Event Management commands (ticketfairy event-os) need Event Management on the brand.

More: https://www.npmjs.com/package/ticketfairy and https://www.ticketfairy.com/developers

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.