team-toon-tack (ttt)
繁體中文 | English
ttt is a task CLI for Linear, Trello, a local board, GitHub issues, or GitLab issues, built for coding agents such as Claude Code and Codex.
Agents can read cycle data from a local TOON cache instead of making repeated API or MCP calls.
Why ttt
- Claim tickets in batches or pick the highest-priority pending tickets.
- Keep human-effort estimates in the cache across syncs.
- Download issue attachments for local inspection.
- Record review and test evidence in work orders and close each batch after its train merges.
- Start with a board that needs no account and migrate it to Linear later.
Install
CLI
npm install -g team-toon-tack
Run ttt init in your project after choosing a task source below.
Claude Code plugin
/plugin marketplace add wayne930242/team-toon-tack
/plugin install team-toon-tack@ttt-marketplace
| Command | Purpose |
|---|
/ttt:assign | Reassign an issue. |
/ttt:cancel | Cancel an issue. |
/ttt:comment | Add a comment. |
/ttt:create | Create an issue and add it to the cache. |
/ttt:done | Complete one or more issues. |
/ttt:edit | Edit issue fields. |
/ttt:estimate | Save a local effort estimate. |
/ttt:order | Manage a train batch as a work order. |
/ttt:show | Show or search issues. |
/ttt:status | Show or change an issue's status. |
/ttt:sync | Sync issues to the local cache. |
/ttt:work-on | Claim tickets and start work. |
/ttt:write-work-on-skill | Write a project-specific work-on skill. |
The plugin's managing-linear-tasks skill is a stub that runs ttt skill managing-linear-tasks to read instructions from the installed CLI.
Codex plugin
Install and initialize the CLI first; the plugin's skill calls it through the shell.
To install from GitHub:
codex plugin marketplace add wayne930242/team-toon-tack
codex plugin add team-toon-tack@ttt-marketplace
To install from a local checkout, run these commands at its root:
codex plugin marketplace add "$PWD"
codex plugin add team-toon-tack@ttt-marketplace
When switching an existing GitHub marketplace to a local checkout, run codex plugin marketplace remove ttt-marketplace before adding the local path.
After changing an installed copy without changing its version, run codex plugin remove team-toon-tack@ttt-marketplace, then run codex plugin add as above.
Start a new Codex conversation and invoke $managing-linear-tasks or ask Codex to sync and list your tasks with ttt.
Set up a task source
Linear
Set LINEAR_API_KEY to your personal API key, or use OAuth below.
ttt init --source linear
Choose a development team and, optionally, its testing status.
You can also choose QA teams and their testing statuses for updates to parent issues across teams.
Choose a completion mode and a status source: remote writes status changes immediately; local keeps them locally until ttt sync --update.
Linear OAuth app
An OAuth app gives unattended jobs a rate-limit quota separate from your personal key.
In Linear, go to Settings → API → OAuth applications → New, create an app, and enable Client credentials.
Set the app credentials, then run ttt as usual:
export LINEAR_CLIENT_ID="..."
export LINEAR_CLIENT_SECRET="..."
export LINEAR_OAUTH_SCOPE="read,write"
export LINEAR_TTT_USER="[email protected]"
LINEAR_API_KEY takes precedence over LINEAR_ACCESS_TOKEN, which takes precedence over the client ID and secret.
Use one LINEAR_OAUTH_SCOPE per OAuth app, on every machine and in every job that uses the app.
When Linear mints a token for one scope it revokes the app's tokens of every other scope, so two processes with different scopes keep revoking each other's tokens and fail with Linear still rejected the OAuth token after a refresh.
To use another scope, create another app.
The CLI caches the client-credentials token in a 0600 file, renews it when less than 24 hours remain, and fetches a new token on a 401; requests in flight together share that one new token, and a second 401 fails.
App authentication uses current_user from local.toon, then LINEAR_TTT_USER, to resolve “me”; Linear's viewer is the app, not a person.
Without either setting, commands that need your identity fail rather than query for everyone.
LINEAR_ACCESS_TOKEN is treated as an app token too, and comments and updates appear as the app.
Trello
Get an API key from Trello and generate a token using the authorization URL shown during setup.
Set TRELLO_API_KEY and TRELLO_TOKEN in your environment.
Choose a board, your Trello username, the lists that correspond to Todo (one or more), In Progress, and Done, and optional label filters.
ttt init --source trello
Local board