Footer Link Badges#
What's wrong with this entry?
A new footerLinks setting lets you define regex patterns that are matched against each turn's output (tool results and assistant text). When a pattern matches, the REPL footer shows a clickable badge linking to a URL built from named capture groups in the match.
- Configured in user, flag, or managed settings only (not project
.claude/settings.json) - Entries use
type: "regex"withpattern,url, and optionallabelfields - The
urlfield is a URL template;{name}placeholders are filled from named regex capture groups (values are URL-encoded) - The URL origin must be a literal
https://orhttp://scheme — dynamic origins are rejected {name}in thelabelfield is also filled from capture groups; defaults to the full match text- The PR link badge (detected from the current git repo) is rendered as the first footer badge
- A dedicated URL template setting for PR links accepts
{host},{owner},{repo},{number},{url}placeholders
Footer link scanner (search for "[footerLinks] pattern" and "repl_footer_links")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.