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
In this repository35 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/ticketfairy.mdcCursor rule
- answer-ticketfairy-questionsSkill
- book-and-advance-artistsSkill
- book-hotels-and-travel-for-the-teamSkill
- build-with-the-ticketfairy-apiSkill
- connect-organiser-accountSkill
- connect-ticketfairy-integrationsSkill
- email-and-market-to-buyersSkill
- find-event-ticketsSkill
- follow-event-type-playbooksSkill
- get-paid-for-ticket-salesSkill
- grow-sales-with-referralsSkill
- manage-brand-and-teamSkill
- manage-invitations-and-guest-listsSkill
- manage-orders-and-refundsSkill
- manage-traders-and-exhibitorsSkill
- manage-venue-pagesSkill
- plan-the-running-order-and-show-daySkill
- read-event-reportsSkill
- run-crew-and-volunteersSkill
- run-door-check-inSkill
- run-event-accreditationSkill
- run-event-productionSkill
- run-event-social-mediaSkill
- run-event-workflowsSkill
- run-promotions-and-discountsSkill
- run-the-site-and-safetySkill
- sell-passes-and-extrasSkill
- set-up-event-ticketsSkill
- solve-ticketing-problemsSkill
- start-organising-eventsSkill
- track-advertising-campaignsSkill
- use-vault-and-capitalSkill
- work-with-faiSkill
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
- Very specific: line 14
Ask the person before you install anything.
- Very specific: line 38
Add --output json --non-interactive to every command you run, including the examples in this skill, which leave them out to stay short.
- Very specific: line 44
Use --dry-run to show the person a change before you make it.
- Very specific: line 76
Run ticketfairy <group> --help for every flag.
≈ “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.
Files
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 --versionSign in with one of these:
| Where you run | How |
| The person's own computer, with a browser | ticketfairy login (opens the browser, supports 2FA, keeps the token in the system keychain) |
| CI, a server or a hosted agent | A 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-interactiveto 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 csvor--interactive, keeps it. Read data from stdout; logs go to stderr. - Branch on the exit code:
0success,2usage,3network,4authentication,5not found,6conflict or verification required,7rate limited. - Errors in JSON mode are
{"error": {"code", "message", "hint", "request_id"}}. Followhint. - Use
--dry-runto 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 jsonreturns a command's schema.ticketfairy manifestreturns the whole command tree.VERIFICATION_REQUIRED(exit 6) onevent publish,messaging sendorinvitation sendmeans the person must runticketfairy account verifyand finish identity verification in their browser.
Common tasks
| Task | Command |
| List events on the active brand | ticketfairy event list |
| Open one event | ticketfairy event get <EVENT_ID> |
| Sales and performance | ticketfairy event stats <EVENT_ID> --metric sales |
| Create an event from a file | ticketfairy event create --from-file event.json |
| Change an event from a file | ticketfairy event update <EVENT_ID> --from-file event.json |
| Copy an event | ticketfairy event clone <EVENT_ID> |
| Publish or unpublish | ticketfairy event publish <EVENT_ID>, ticketfairy event unpublish <EVENT_ID> |
| Ticket types | ticketfairy ticket list <EVENT_ID> |
| Orders, filtered by status | ticketfairy order list <EVENT_ID> --status paid |
| Export orders to CSV | ticketfairy order export <EVENT_ID> --output csv --file orders.csv |
| Customers | ticketfairy customer search <TERM> |
| Promotions | ticketfairy promotion list <EVENT_ID> |
| Send invitations from a CSV | ticketfairy invitation send <EVENT_ID> --from-csv guests.csv --ticket-type <TICKET_TYPE_ID> |
| Check-in status | ticketfairy checkin status <EVENT_ID> --breakdown ticket-types |
| Webhooks | ticketfairy webhook list |
| Team | ticketfairy team list |
| Any other API endpoint, with authentication attached | ticketfairy 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
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
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.

