Rule Reference

Rules tell Takt how to organize your tabs. Each rule matches tabs by URL or title and assigns them to a named, colored tab group.

Rule structure #

Every rule has:

Rules are evaluated top-to-bottom in priority order. The first matching rule wins — later rules are not checked.

Match types #

Contains Free

Case-insensitive substring match. The pattern can appear anywhere in the URL.

PatternMatches
github.comhttps://github.com/user/repo
docshttps://docs.google.com/document/d/...
localhosthttp://localhost:3000/api

Exact Free

The full URL must match the pattern exactly (case-insensitive).

PatternMatches
https://mail.google.com/mail/u/0/#inboxOnly that exact URL

Domain

Matches the hostname or any subdomain. Useful for grouping all pages from a site regardless of path.

PatternMatches
google.comdocs.google.com, mail.google.com, google.com
github.comgithub.com/user/repo, gist.github.com

Glob Premium

Shell-style pattern matching with wildcards:

PatternMatches
*://github.com/*/issuesIssues page on any GitHub repo
*://docs.google.com/**Any Google Docs page
http://localhost:30??/*Localhost ports 3000-3099

Regex Premium

Full JavaScript regular expression. The pattern is anchored — it must match the entire URL (equivalent to wrapping in ^...$).

PatternMatches
.*://(github|gitlab)\.com/.*Both GitHub and GitLab
.*://.*\.aws\.amazon\.com/.*Any AWS console page

Regex patterns are powerful but can be tricky. Use the Rule Tester in the options page to verify your pattern matches the URLs you expect.

Condition fields #

Each condition matches against one of two fields:

Additional options per condition:

Compound conditions #

Premium feature. Free users are limited to a single condition per rule.

Combine multiple conditions with:

Example: group tabs where the URL contains github.com AND the title contains Pull Request.

Rule priority #

Rules are evaluated in the order they appear in your rule list. The first matching rule wins — the tab is assigned to that rule's group, and no further rules are checked.

Drag rules in the options page to reorder them. Put more specific rules higher, general catch-all rules lower.

Group colors #

Chrome supports 8 tab group colors: grey, blue, red, yellow, green, pink, purple, and cyan.

Free users can use grey and blue. Premium unlocks all 8 colors.