Answer: To redraw when your data changes, call `$.ui.invalidate('ui.render')`; to redraw on a timer, start a timer in the module's `session.start` hook using `$.clock.every(1000, () => $.ui.invalidate('ui.render'))`. Status: Confirmed Entry: tool/claude-code/features/redraw-mod-interface Revision: 2 Digest: sha256:657930f58ec2121d (changes whenever the content changes) Timeline: Created: 2026-11-13T03:05:15Z Last changed: 2026-11-15T12:23:59Z (state note: — → $.state) Last verified: 2026-11-20T12:23:44Z Next check: 2026-11-21T12:23:44Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Unit | Source | As of redraw on data change | $.ui.invalidate('ui.render') | | [1] | 2026-11-20 timer interval | 1000 | milliseconds | [1] | 2026-11-20 timer call | $.clock.every(1000, () => $.ui.invalidate('ui.render')) | | [1] | 2026-11-20 timer hook | session.start | | [1] | 2026-11-20 automatic redraw triggers | props change or the terminal's width changes | | [1] | 2026-11-20 state note | $.state | | [1] | 2026-11-20 Sources: [1] Anthropic. "Draw in the interface with a mod". https://code.claude.com/docs/en/plugins/mods/interface.md Role: primary. Accessed: 2026-11-20T12:23:45Z Quote: "To have your sites drawn again after your own data changes, call `$.ui.invalidate('ui.render')`." (Supports: redraw on data change) Quote: "Every 1000 milliseconds, ask Claude Code to draw your sites again" (Supports: timer interval) Quote: "$.clock.every(1000, () => $.ui.invalidate('ui.render'))" (Supports: timer call) Quote: "Start a timer in the module's `session.start` hook." (Supports: timer hook) Quote: "Claude Code runs your `ui.render` hook again when the site's props change or the terminal's width changes." (Supports: automatic redraw triggers) Quote: "A value you keep in [`$.state`](#keep-a-value-in-\$-state) doesn't need the call, because writing the value redraws the sites that read it." (Supports: state note) Published: 2026-11-20T03:28:15Z Snapshot SHA-256: 5203311695590ed2a1ee08b0eba3b73e7b0c47ccb411106942748b7b15260a05 (captured 2026-11-20T12:23:44Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:23:44Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:23:44Z Last attempt: 2026-11-20T12:23:44Z Notes and limitations: Extracted automatically from a single official source (section "Redraw a site"). Related: https://latestn.com/tool/claude-code/features/remote-access How can I use Claude Code when I'm away from my terminal, such as on web or mobile? https://latestn.com/tool/claude-code/features/remote-control-requirements What are the requirements to use Remote Control in Claude Code? https://latestn.com/tool/claude-code/features/resolve-constraint-against-tags How does Claude Code resolve a plugin dependency version constraint against release tags? https://latestn.com/tool/claude-code/features/plugin-vs-skill-or-mcp When should I use a Claude Code plugin instead of a standalone skill or MCP server? https://latestn.com/tool/claude-code/features/prompt-library-sources Where do the prompts in the Claude Code prompt library come from? https://latestn.com/tool/claude-code/features/queue-messages How do I queue messages while Claude is working in Claude Code? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-15T12:23:59Z | changed | state note: — → $.state | [1] 2026-11-13T03:05:15Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/features/redraw-mod-interface/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/features/redraw-mod-interface POST: https://latestn.com/dispute/tool/claude-code/features/redraw-mod-interface with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/features/redraw-mod-interface?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I make a Claude Code mod redraw its interface when my data changes or on a timer? Revision 2, last verified 2026-11-20T12:23:44Z. https://latestn.com/tool/claude-code/features/redraw-mod-interface (accessed 2026-11-21T09:52:35Z). @misc{LatestN_tool_claude_code_features_redraw_mod_interface_r2, title = {How do I make a Claude Code mod redraw its interface when my data changes or on a timer?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/features/redraw-mod-interface}}, note = {Revision 2; digest sha256:657930f58ec2121d; last verified 2026-11-20T12:23:44Z; accessed 2026-11-21T09:52:35Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/features/redraw-mod-interface