“Can you look at the CSV export task?” works until you have two tasks with almost the same name, or until the name changes, or until the one asking is a script and not a colleague. A task needs a handle that is short enough to type, stable enough to paste into a commit message, and exact enough for a program to resolve without guessing.
TimeMagic now gives every task one: a slug made of the project’s three-letter prefix and a number, like INV-3. People can say it, copy it and link it. The API, the MCP server and the timemagic skill accept it anywhere they accept a task id.
Names are for people, ids are for machines
A task already has a name and a uuid. Neither is a good handle. Names are written for reading, so they get reworded, and two tasks in different projects can share one. A uuid never changes, but nobody can hold 6d974be7-7c48-4258-815e-73948d47a5e1 in their head, say it in a call, or recognise it in a chat log.
The workaround used to be a search by name first, then a copy of the uuid from the result. That is one extra round trip for a person, and for an AI agent it is one extra call that can also pick the wrong task when two names are close.
What a slug is
The prefix belongs to the project: three letters from A to Z, unique among your own projects. TimeMagic generates it from the project name when you create the project (Development becomes DEV), and renaming the project does not change it. The number belongs to the task and counts up inside the project: INV-1, INV-2, INV-3.
Numbers are never reused. If INV-12 is your latest task and you delete INV-3, the next task is INV-13, not INV-3; and a task restored from Trash comes back under its old slug. A slug can only ever point at one task.
Slugs are yours alone. Another account can have its own INV-3; asking for a slug that does not exist in your account gives the same answer as a slug that never existed.
Where you see it
In the app the slug is a muted monospace label next to the task name: in task lists, on the board, on the task page and in the widgets that list tasks.

On the task page the slug is a button. Click it and it is copied, with a short Copied INV-3 toast. That is the whole workflow for handing a task to someone else: click, paste into the chat.

A link of the form /tasks/INV-3 opens the task too, so a slug typed into a doc or a ticket is enough to reach it.
Changing a prefix, moving a task
Open the project’s settings and you will find Task identifier prefix and Show task identifiers.

Change the prefix and every slug of that project is rewritten: INV-3 becomes BIL-3. The old prefix stays reserved for the project and the old slug keeps resolving to the same task, so a reference that was already pasted into a commit message still works. Answers always carry the current slug.
Move a task to another project and it gets a new number there (INV-3 becomes MKT-18). The old slug still opens it. Because a number is never handed out twice, an old slug cannot start pointing at a different task later.
If you do not want slugs on screen, switch off Show task identifiers. This only hides them in the app. The API and AI agents keep seeing them, and no numbers change.
Looking a task up over the API
Everywhere a task :id is accepted, a slug works as well:
curl -H "Authorization: Bearer $TIMEMAGIC_API_TOKEN" \
https://time-app.purple-magic.com/api/tasks/INV-3
The same holds for updating, deleting and restoring from Trash. Project routes take the prefix, so /api/projects/INV/tasks lists the project’s tasks.
To search rather than fetch, pass the slug as a filter. The match ignores case and also accepts old slugs:
curl -H "Authorization: Bearer $TIMEMAGIC_API_TOKEN" \
"https://time-app.purple-magic.com/api/tasks?identifier=INV-3"
This returns a list with one task, or an empty list when no task in your account has that slug. It is not an error, which is handy when you are checking whether a task exists. A task in the response carries identifier, project_prefix and project_sequence_number next to its uuid.
MCP and the timemagic skill
The MCP tools use the same rule: wherever a tool takes a task uuid, you can pass a slug. get_task, update_task, complete_task, start_tracking and the other task tools all accept it, and list_tasks has an identifier argument for the lookup. Results come back with the current slug, so the assistant can use it in its answer.
The timemagic skill for coding agents builds on that. When you write “start tracking INV-3” or “complete INV-12”, it recognises the slug and calls the task directly, without a search first. When it lists tasks it prints them as INV-3 — Add CSV export, so you can answer with a slug instead of retyping a name. If a slug comes back as not found, the skill treats it as a slug that does not exist in your account and falls back to a search by name.
The slug also fits the AI Agent Context field: the briefing stays on the task, and the slug is how you point an agent at it.
What slugs do not do
A slug is a name for a task inside your account, not a global address. Nobody else can open INV-3 from your link, and the public report and estimation pages you share with clients do not show slugs.
Changing a prefix is a rename of every slug in the project. The old ones keep working inside TimeMagic, but a link in another system that holds the text INV-3 will not follow the new name by itself.
Try it on one task
Open any task, click its slug and paste it into your next message to a colleague or an assistant. If you use an AI agent with the timemagic skill, ask it about the task by slug and watch it skip the search.