About io.github.marcimastro98/xenon-widgets
io.github.marcimastro98/xenon-widgets is an MCP server published by marcimastro98 in the Social category: free widgets for your PC on any screen: desktop, second monitor, tablet or phone. System monitor, FPS, media, Deck keys, screen recording and an assistant. Windows, with macOS and Linux in beta. No account. Conduid read 108 tools from its source: add_starter_page, add_stock_favorite, app_audio, capture_screen, change_setting, change_theme and 102 more. No package is published for it, so it installs from a source checkout.
The marcimastro98/Xenon monorepo this package is published from has 142 stars and 18 forks, and its last commit was on 1 Dec 2026. The latest release is v5.1.1 (16 Nov 2026): Xenon 5.1.1 is a fixes release. It follows v5.1.0 (12 Nov 2026), and the 5 most recent releases go back to v4.11.12 (9 Oct 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include social.
Install
git clone https://github.com/marcimastro98/XenonTools (108)
add_starter_pageAdd one ready-made starter page to the dashboard: essentials (music and agenda, Bit, system), gaming (frame rate, music and Discord, system and fans), work (calendar, tasks and notes, timer and music), streaming (OBS, Twitch and YouTube live, volume and microphone) or monitoring (system, fans and power, disk). It is a NEW page holding the tiles this PC can show; the pages the user has are never changed, and a card on the screen lets them keep it or put the dashboard back as it was. Use when the user asks for a gaming, work, streaming or PC monitoring page or layout to start from without naming tiles; when they name the tiles, compose the page instead. Say that the card is there to take it back.| Parameter | Type | Description |
|---|---|---|
| layout * | string | Which starter layout |
add_stock_favoriteAdd a stock/index/crypto symbol to the user's watchlist so it shows in the Borsa widget and ticker. Use for "add Tesla to my stocks", "watch ENI.MI".| Parameter | Type | Description |
|---|---|---|
| symbol * | string | The ticker symbol to add (e.g. "TSLA", "ENI.MI", "BTC-EUR"). |
app_audioAdjust the audio of a SPECIFIC running application (per-app mixer): turn one app up or down, or mute/unmute it, without touching the master volume. e.g. "lower Spotify", "mute Chrome".| Parameter | Type | Description |
|---|---|---|
| action * | string | One of: volume_up, volume_down, mute, unmute, toggle_mute |
| app * | string | The application name or process, e.g. "Spotify", "chrome", "Discord" |
capture_screenCapture a fresh screenshot of the user's screen so you can see what is currently displayed. Use it whenever the user asks about what is on their screen, asks you to read/look at/check something visual, or references on-screen content. The capture is always live (current moment). On multi-monitor setups, pass the 1-based monitor number; if the user did not say which monitor and there are several, omit it to receive the monitor list and then ask which one to focus on.| Parameter | Type | Description |
|---|---|---|
| monitor | number | 1-based monitor index to capture (e.g. 1, 2). Omit on single-monitor setups or to list monitors first. |
change_settingChange one of these Settings switches, or call with no setting to read them all:| Parameter | Type | Description |
|---|---|---|
| setting | string | |
| value | string | One of the values listed for that setting. |
change_themeChange the dashboard color theme (xenon, ocean, ember, violet, mono)| Parameter | Type | Description |
|---|---|---|
| preset * | string | Theme name |
check_widgetRun the checks Xenon runs before installing, without installing: the package rules, what the sandbox will refuse (inline scripts, remote code, hosts) and the Store's review notes.| Parameter | Type | Description |
|---|---|---|
| folder * | any | |
| id | any |
choose_pump_picturePut a picture, GIF or WebM of the user's own on the pump's screen when it is not in their uploads yet: shows a button in this chat that opens their file picker (only they can pick a file), and the file becomes what the pump shows normally. Say in one line that a button in the chat opens their files. screen is the pump's id when there are several (get_pump_screen).| Parameter | Type | Description |
|---|---|---|
| screen | string | Optional: which pump screen |
clear_all_calendar_eventsDelete ALL calendar events at once. Use only when the user explicitly asks to clear or delete all events.clear_all_tasksDelete ALL tasks at once. Use only when the user explicitly asks to clear or delete all tasks.clear_lightsClear the manual colour override so reactive effects (CPU temperature, album colour, event flashes) resume.close_ai_panelClose the Xenon AI chat panelclose_applicationClose a running application on the user's PC, politely, the way its own X does (an app with unsaved work can still ask). Use the plain app name as its window is listed (e.g. "spotify", "chrome", "notepad", "discord"). Never Xenon or the system's own processes.| Parameter | Type | Description |
|---|---|---|
| target * | string | App name to close, e.g. "spotify", "chrome", "discord" |
complete_taskMark a task as completed or uncompleted. Use list_tasks first if you do not know the id.| Parameter | Type | Description |
|---|---|---|
| completed | boolean | true to mark done, false to unmark (default true) |
| id * | string | Task id to mark |
configure_deckCreate a Deck profile, or add keys to the one in use (addTo "current"), with FULL power: any action type from deck_action_catalog (typed actions with their exact params, e.g. {type:"obsScene",scene:"Live"} or {type:"hotkey",keys:"ctrl+shift+m"}; scripts, typed text and webhooks are refused, the user adds those in the Deck editor), per-key tap/double/hold, live state bindings, live value badges, touch sliders and Smart-Profiles auto-switch rules. Prefer this over genesis_setup_deck when the user asks for anything beyond its basic action list. Every action is re-validated by the app before it is stored or runs. Prefer create_preset kind "deck" for a bigger profile with folders, a styled look, or a code to share.| Parameter | Type | Description |
|---|---|---|
| addTo | string | Optional "current": put the keys in the free slots of the profile the user is using (a new page when it is full) instead of making a new profile. Use it when the user asks to add a key to their Deck; profileName, cols, rows and look are then ignored |
| autoSwitch | object | Optional Smart Profiles: auto-show a profile when an app is focused. {"enabled":true,"revert":"default"|"stay","rules":[{"exe":"obs64","profile":"Streaming"}]} (exe = process name, lowercase, no .exe) |
| cols | number | Grid columns (1-8) |
| keys | array | The keys (max 32). Each: title, one emoji icon, optional hex color; then EITHER actions (array of typed action objects, run in order on tap; optional double/hold arrays for those gestures) OR kind:"slider" + slider target. |
| look | object | Optional, the on/off cues of the new profile: {"litRing":true} rings every lit key, {"dimOff":true} dims the keys that are off |
| profileName | string | Short profile name in the user's language, e.g. "Streaming Pro" |
| rows | number | Grid rows (1-8) |
configure_preferencesAdjust dashboard preferences: 12h/24h clock, temperature unit, interface language, weather location, and which widgets appear on the focus lock screen. Pass only the fields the user asked to change. Applies live and persists.| Parameter | Type | Description |
|---|---|---|
| clock_format | string | Clock format: auto, 12, or 24 |
| language | string | UI language code: en, it, ko, ja, zh, es, fr, de, pt, ru, or nl |
| lock_widgets | object | Focus lock-screen widgets to show/hide |
| temp_unit | string | Temperature unit: c or f |
| weather_city | string | City name: sets weather_mode to manual automatically |
| weather_mode | string | Weather location mode: auto (geolocate) or manual |
control_timerPause, resume, restart or stop a timer or stopwatch already on the Timers tile. "stop" puts it back to its start and holds it there; to remove it use delete_timer. With no timer named it acts on the only one there is, or the newest one that is running (pause) or paused (resume); when that is unclear the reply lists the labels to ask about.| Parameter | Type | Description |
|---|---|---|
| action * | string | pause, resume, reset (from the start, counting) or stop |
| timer | string | Its label as the user says it, or its id from list_timers. Leave out when there is one timer. |
create_animated_backgroundWrite and apply a custom ANIMATED BACKGROUND for the dashboard from the user's description. YOU author the code: define a JavaScript function draw(ctx, t, w, h) that paints ONE frame, ctx is a canvas 2D context, t is elapsed seconds (float), w and h are the pixel size. It is called ~60×/second on a full-screen canvas behind the dashboard. Keep it self-contained (declare any particles/state with const or let ABOVE the draw function so it persists across frames), efficient, and tasteful behind a UI (avoid a pure-white fill or harsh strobing). The code runs in an isolated sandbox with NO network, DOM, storage or dashboard access, so use only the canvas 2D API, Math and Date. To put part of the effect IN FRONT of the widgets (rain, snow, falling leaves, bats over the tiles) also define function drawFront(ctx, t, w, h): it paints on a transparent canvas over the dashboard, so start it with ctx.clearRect(0, 0, w, h) and keep it sparse and see-through; draw() stays the scene behind. Use for requests like "crea uno sfondo animato con particelle blu", "make me a drifting starfield background", "sfondo tipo nebulosa viola". Applies live and persists.| Parameter | Type | Description |
|---|---|---|
| code * | string | The full JavaScript source defining function draw(ctx, t, w, h), and optionally function drawFront(ctx, t, w, h) for what falls in front of the widgets. May declare helper state/constants above draw. No imports, no network, no DOM. |
| name | string | Short name for this background (e.g. "Nebulosa viola") |
create_calendar_eventCreate a new calendar event| Parameter | Type | Description |
|---|---|---|
| notes | string | Optional notes |
| reminder_at | string | Optional reminder datetime in ISO 8601 |
| starts_at * | string | Start datetime in ISO 8601, e.g. 2026-05-25T14:00:00 |
| title * | string | Event title |
create_dashboard_styleBuild a COMPLETE custom dashboard theme from a description, apply it live, and save it as a named card in the Temi gallery so the user can switch back to it. Pass any subset: every field defaults to the current look. Use this when the user asks for a whole vibe/aesthetic rather than one colour ("crea un tema cyberpunk viola", "make me a warm minimalist theme", "un look pastello morbido e arrotondato"). Prefer create_preset kind "theme" when the theme needs its own light AND dark palettes, or when the user wants a code to share or to review before applying.| Parameter | Type | Description |
|---|---|---|
| accent | string | Accent/brand colour #RRGGBB |
| accent_text | string | Text/icon colour on accent-filled controls #RRGGBB |
| background | string | App canvas/background colour #RRGGBB |
| base_appearance | string | Base mode: "light" or "dark" |
| border_strength | number | Panel border strength 0–2 (1 = default) |
| contrast_guard | boolean | Automatically repair unsafe text/control contrast (default true) |
| control_color | string | Input/menu/button surface colour #RRGGBB |
| corner_radius | number | Corner roundness 0–2 (0 = square, 1 = default, 2 = very round) |
| danger_color | string | Danger/error state colour #RRGGBB |
| glass_blur | number | Glass blur in px 0–40 (default 22) |
| glass_saturation | number | Glass colour saturation % 100–220 (default 160) |
| info_color | string | Informational state colour #RRGGBB |
| line_color | string | Dividers/borders colour #RRGGBB |
| muted_text | string | Secondary/muted text colour #RRGGBB |
| name | string | Short theme name for the gallery card (e.g. "Cyberpunk Viola") |
| panel_opacity | number | Panel opacity 0.05–1 (lower = more translucent) |
| shadow_strength | number | Tile drop shadow strength 0–2 (0 = default, no shadow) |
| skin | string | Base skin: "liquid" (Liquid Glass, real blur over the wallpaper), "glass" (Classic), "retro" (Pixel Retro CRT), or "comic" (Comic Book) |
| success_color | string | Success state colour #RRGGBB |
| surface | string | Main panel/widget/modal surface colour #RRGGBB |
| surface_alt | string | Secondary row/card/tab surface colour #RRGGBB |
| text | string | Primary text colour #RRGGBB |
| warning_color | string | Warning state colour #RRGGBB |
create_presetCreate ANY Xenon creation as a share code and open it in the import window, where the user reviews and confirms it (nothing is applied or installed by this call). Kinds: theme (whole look, also light+dark pairs), bg (animated background), page (a dashboard page of tiles), deck (a Deck profile with folders), topbar (the whole top bar), icons (an SVG icon pack), widget / ambient (SDK packages from files you write), ambient-layout (a native Ambient scene), bundle (a package of several parts). Sound packs cannot be generated (audio files). The data is dry-run through the same rules the import uses first: "report" lists what the import would drop or change, so fix and call again when it matters. "critique" is a measured design check of the result (contrast ratios, overlapping or off-grid tiles, unreadable or empty elements, keys that do nothing, and for widgets the rules of the Store review: unused permissions, hidden or dynamic code, loops that keep running while hidden): fix every "fix" item and call create_preset again BEFORE telling the user about the creation; "consider" items are judgement calls. Call preset_reference first for the exact shape. To see the result on screen, ask the user to import it and use capture_screen when they ask you to look.| Parameter | Type | Description |
|---|---|---|
| data * | string | The data of the creation: a JSON object serialized to a string, shaped as preset_reference describes for this kind |
| kind * | string | One of: theme, bg, page, deck, topbar, icons, widget, ambient, ambient-layout, bundle |
| name * | string | The name of the creation, 60 characters at most |
create_taskCreate a new task in the task list| Parameter | Type | Description |
|---|---|---|
| priority | string | Priority: high, medium, or low (default: medium) |
| text * | string | Task description |
customize_appearanceChange the dashboard look in detail. Pass any subset: a named theme preset, the light/dark/auto mode, the base skin (liquid/glass/retro/comic), or exact semantic colours for the app canvas, panels, nested surfaces, controls, text, borders, accent and UI states. Use this (not change_theme) for any specific-colour request. Applies live, contrast-checks by default and persists.| Parameter | Type | Description |
|---|---|---|
| accent | string | Optional accent colour as #RRGGBB (the highlight/brand colour) |
| accent_text | string | Optional text/icon colour used on accent-filled controls as #RRGGBB |
| appearance | string | Optional UI mode: light, dark, or auto |
| background | string | Optional app canvas/background colour as #RRGGBB |
| contrast_guard | boolean | Automatically repair unsafe text/control contrast (default true) |
| control_color | string | Optional input/menu/button surface colour as #RRGGBB |
| danger_color | string | Optional danger/error state colour as #RRGGBB |
| info_color | string | Optional informational state colour as #RRGGBB |
| line_color | string | Optional border/divider colour as #RRGGBB |
| muted_text | string | Optional secondary text colour as #RRGGBB |
| preset | string | Optional named theme: xenon, ocean, ember, violet, mono |
| style | string | Optional base skin: "liquid" (Liquid Glass, real blur over the wallpaper), "glass" (Classic), "retro" (Pixel Retro CRT), or "comic" (Comic Book) |
| success_color | string | Optional success state colour as #RRGGBB |
| surface | string | Optional main panel/widget/modal surface colour as #RRGGBB |
| surface_alt | string | Optional secondary row/card/tab surface colour as #RRGGBB |
| text | string | Optional primary text colour as #RRGGBB |
| warning_color | string | Optional warning state colour as #RRGGBB |
deck_action_catalogRead-only: the FULL Deck action catalog (every action type + its params/options), the live-state sources, live-value sources and slider targets. Call this BEFORE configure_deck when you are unsure of an exact action type or its parameters.delete_calendar_eventDelete a calendar event by its id. Use list_calendar_events first if you do not know the id.| Parameter | Type | Description |
|---|---|---|
| id * | string | Event id to delete |
delete_taskDelete a specific task by its id. Use list_tasks first to get the id if not known.| Parameter | Type | Description |
|---|---|---|
| id * | string | Task id to delete |
delete_timerDelete a timer by its id| Parameter | Type | Description |
|---|---|---|
| id * | string | Timer id to delete |
disk_insightsRead a live, local disk-space analysis: volume capacity/free space, indexed usage, safe-to-clean categories (temp, browser/package caches, build output, old installers, Recycle Bin), the biggest folders/files, verified duplicate waste, and Xenon's risk-ranked cleanup plan with a why/effect/action explanation. READ-ONLY: you can explain and recommend, but deletion happens only when the user taps the confirmation in the disk widget, you have no delete capability. Use for "what is eating my disk", "cosa occupa spazio", "posso liberare spazio?".| Parameter | Type | Description |
|---|---|---|
| rootIndex | integer | Optional index of the configured disk/folder root to analyze. Omit for the first root. |
edit_calendar_eventChange a calendar event that already exists: move it, rename it, change its notes, end or reminder. Name it by words from its title (or its id from list_calendar_events); only the fields given change. When the words fit several events the reply lists them to ask which.| Parameter | Type | Description |
|---|---|---|
| ends_at | string | New end in ISO 8601, or "none" for no end |
| event | string | Words from the title as the user says them, e.g. "dentist" |
| id | string | Event id from list_calendar_events, instead of words |
| notes | string | New notes (empty text clears them) |
| reminder_at | string | New reminder in ISO 8601, or "none" to remove it |
| starts_at | string | New start in ISO 8601, e.g. 2026-05-25T14:00:00 |
| title | string | New title |
edit_favoritesAdd, remove or list the user's favourites: "stocks" (the Stocks watchlist), "teams" (teams and competitions in the Football tile) or "news" (sources and topics in the News tile). Add by name as the user says it ("Tesla", "Juventus", "Serie A", "ANSA"); for news, words that are not a source become a topic, and an https feed address is added as it is. Remove by words from the name. Replies: added/already/removed, or not_found (with the current items), ambiguous (with the matches: ask which), full.| Parameter | Type | Description |
|---|---|---|
| action | string | Default add. |
| list * | string | |
| name | string | The stock, team, competition, news source or topic, as the user named it. |
edit_noteWork on one note of the notes widget, which holds several (read_notes lists their titles: a title is the first line). action: "new" (default, a new note with text: "write a note: buy milk", "prendi nota"), "append" (text on a new line at the end: "add eggs to the shopping note"), "replace" (the whole text), "pin", "unpin", "open" (show it in the widget) or "delete" (confirm first unless the user was explicit). note: words from the title of the note to work on; leave it out for the note open in the widget. Errors: "not_found" (comes with the titles), "empty_text", "too_many_notes".| Parameter | Type | Description |
|---|---|---|
| action | string | new, append, replace, pin, unpin, open or delete |
| note | string | words from the note title; empty = the open note |
| text | string | the text for new, append or replace |
edit_taskChange a task that already exists: its text, priority or how often it repeats. Name it by words from its text (or its id from list_tasks); only the fields given change. When the words fit several tasks the reply lists them to ask which.| Parameter | Type | Description |
|---|---|---|
| every_days | number | With repeat custom: every how many days |
| id | string | Task id from list_tasks, instead of words |
| priority | string | high, medium or low |
| repeat | string | never, daily, weekly or custom (every N days) |
| task | string | Words from the task as the user says them, e.g. "dentist" |
| text | string | New text |
get_battery_statusGet the battery level of the user's wireless peripherals (mouse, keyboard, headset: Corsair via iCUE, Bluetooth devices, and mice, keyboards, headsets and controllers of many brands on their USB dongle; a device with no known protocol is not listed; if the result has access, the OS must allow the read first: say what it needs, on Linux the access.command line). A device with lastReadMinutesAgo is asleep or off: its percent is that old, say so. Two of one model read "Name" and "Name (2)". Each device has kind (mouse, keyboard, headset, controller, system, ups, other or unknown) from what the hardware declares: answer "my mouse" with the kind mouse, not by guessing from the name; unknown means the hardware did not say. Use for "how's my mouse battery", "batteria del mouse".get_energy_statusGet the full energy picture: the PC's power draw in watts (CPU/GPU/PSU) plus the user's Home Assistant power/energy readings (solar production, smart plugs, home meter, UPS). Use for "how much power is the PC using", "quanto sta producendo il fotovoltaico", "consumo di casa".get_football_scoresGet the next fixture and latest result for the user's favorite football (soccer) teams: the teams saved in their Calcio widget. Use for "how did Napoli do", "any football results", "when does Inter play next", "my teams".| Parameter | Type | Description |
|---|---|---|
| team | string | Optional team name to filter to one of their favorites (e.g. "Napoli"). Omit for all favorites. |
get_league_standingsGet the current league table / standings for a football competition. Give a competition name ("Serie A", "Premier League", "Champions League", "World Cup") or a team the user follows (its league is used). Use for "Serie A table", "Champions League standings", "where is Napoli in the table".| Parameter | Type | Description |
|---|---|---|
| team * | string | A competition name (e.g. "Serie A", "Champions League") or a followed team name (e.g. "Napoli" → Serie A). |
get_news_headlinesGet the latest news headlines: either about a specific topic, or the top headlines from the feeds the user follows in the News widget. Use for "what's in the news", "any news about AI", "latest headlines", "news about Milan".| Parameter | Type | Description |
|---|---|---|
| topic | string | Optional topic/keyword to fetch headlines about (e.g. "artificial intelligence", "elezioni"). Omit for the user's followed feeds. |
get_stock_quoteGet the current price and day change for one or more stock, index, crypto or FX symbols (e.g. "AAPL", "FTSEMIB.MI", "BTC-EUR", "^GSPC"). Use for "how is Apple doing", "price of Bitcoin", "how is the FTSE MIB today".| Parameter | Type | Description |
|---|---|---|
| symbols * | string | One symbol, or several comma-separated (e.g. "AAPL, MSFT"). Use the ticker symbol; for Borsa Italiana add .MI (e.g. ENI.MI). |
get_stock_watchlistGet the current prices and day changes for every stock in the user's watchlist (their saved favorites). Use for "how are my stocks", "read my watchlist", "any big movers today".get_system_infoGet current CPU, GPU, RAM and disk usage stats, plus fan speeds (fans[]) and power draw in watts (power.cpu/gpu/psu/total)get_vitalsRead the user's Vitals self-care meters (hydration, energy, stamina = stretch or walk, focus = a break from the screen, posture): how full each one is, how many minutes until it runs out, today's refills, the self-care level and the daily streak, and whether Bit's nagging is paused. Use for "how am I doing", "when should I drink", "what's my streak".get_weatherGet current weather conditions and forecastgo_to_pageShow a page of the dashboard: by the name the user gave it, by its number, or the next/previous one.| Parameter | Type | Description |
|---|---|---|
| page * | string | The page as the user names it: its name (e.g. "Streaming"), its number ("2"), "next" or "prev". When no page has that name the reply lists the real names. |
install_widgetInstall or update the widget from its folder put it on the dashboard and show its page (a new page when the one in view is full). Permissions it asks for still wait for the person to approve them on the dashboard. Then call widget_issues and widget_screenshot.| Parameter | Type | Description |
|---|---|---|
| folder * | any | |
| id | any |
list_audio_devicesList the available speaker/output and microphone/input devices (and which are current). Use before set_audio_device when you do not know the exact device names, or to answer "what speakers/mics do I have?".list_calendar_eventsList upcoming calendar eventslist_tasksList all tasks in the task listlist_timersList all active timers and stopwatches: a countdown reports remaining_secs, a stopwatch reports elapsed_secslock_pcLock the computer: its normal lock screen, the user logs back inmarketplace_installStart installing a community catalog entry by its id (from marketplace_search). This OPENS THE IMPORT REVIEW DIALOG: the user always confirms there; nothing is applied silently. Locked (supporter) entries cannot be installed this way.| Parameter | Type | Description |
|---|---|---|
| id * | string | The catalog entry id |
marketplace_searchSearch the Xenon community catalog (themes, backgrounds, pages, Deck profiles, widgets, Ambient scenes, bundles, icon packs, sound packs) by text and/or kind. Use when the user asks what is available, e.g. "c'è un tema cyberpunk?".| Parameter | Type | Description |
|---|---|---|
| kind | string | Optional filter: theme|bg|page|deck|widget|ambient|bundle|icons|sounds |
| query | string | Free-text search (name, author, tags) |
media_nextSkip to the next trackmedia_playpausePlay or pause current media playbackmedia_previousGo to the previous trackmute_micMute the microphonemy_widgetsRead-only: the widgets the user owns (made with you or by them), so you can change one later. No id → the list (id, name, version, size, description). With an id → that widget's files in full (text), and its images/fonts by name only. Widgets from the Store or share codes are not listed and cannot be read. A widget made in Xenon Maker comes back as its design (doc.js) with a hint on how to change it.| Parameter | Type | Description |
|---|---|---|
| id | string | The widget id to read; leave out for the list |
new_widgetWrite a working starter widget (manifest, HTML, CSS, JS showing live CPU and memory) into a new or empty folder. Edit it from there, then install_widget.| Parameter | Type | Description |
|---|---|---|
| bit | boolean | A widget that draws the person's own Bit (Xenon 5.3): the "bit" stream and action, and bit-kit.js, the Bit engine the widget loads before its script. |
| folder * | any | |
| id | any | |
| name | string | The name people see. Defaults to the id. |
| overwrite | boolean | Replace files with the same names in a folder that is not empty. |
| pump | boolean | Also made for the round screen on an AIO pump cooler (Xenon 5.3): manifest "pump": true and a layout that stays inside the circle. |
| pumpStyle | boolean | A whole pump screen's style (Xenon 5.3), offered beside Xenon and Gauge: "pump" and "pumpStyle" in the manifest, and the widget draws the line placement.line names and moves the ring of lights with pumpRing. |
| size | string | Tile size. Defaults to medium. |
open_app_switcherOpen the app switcher panelopen_applicationOpen an app, website, or file on the user's PC. For well-known apps use their plain name (spotify, chrome, notepad, obs, vlc…). For Steam use exactly "steam", for Discord use "discord". Full URLs (https://…) and absolute file paths also work.| Parameter | Type | Description |
|---|---|---|
| target * | string | App name (e.g. "spotify", "steam", "discord"), full URL, or absolute file path |
open_search_resultOpen one result returned by search_files, by its id (default app for files, Explorer for folders). Executable/script files are refused for safety: pass reveal:true to show the file selected in its folder instead, which runs nothing.| Parameter | Type | Description |
|---|---|---|
| id * | string | The result id from search_files |
| reveal | boolean | true to reveal the file in Explorer instead of opening it |
open_settingsOpen Xenon, the one place that holds Settings and the Xenon menu, on a page: screens (the screens, what each shows, its widgets), now (quick actions), airflow (the fans), capture, keys (shortcuts and macros), or a page of Settings (lock is the lock screen and Ambient, ai is Bit). Without a page it opens where it was.| Parameter | Type | Description |
|---|---|---|
| page | string |
open_sparks_shopOpen the Store's Sparks tab: where Sparks (Xenon's credits) are bought, with what they are for. Use when the user wants to buy or top up Sparks, or asks where to get them.open_store_entryOpen one creation in the Store by its entry id. Use when the user wants to see something Bit told them about: the conversation memory gives the entry id. It only opens the page; installing and buying stay with the user there.| Parameter | Type | Description |
|---|---|---|
| entryId * | string | The Store entry id |
open_support_sheetOpen the support sheet: what a supporter gets, the yearly and monthly prices, and the way on to join on Buy Me a Coffee. Use when the user asks how to become a supporter, what it costs or includes, or wants to support Xenon. Never open it unasked.open_virtual_deckOpen the Deck as its own always-on-top window on the user's main monitor (Virtual Deck). Use for "apri il deck sul PC", "voglio i tasti sullo schermo principale".| Parameter | Type | Description |
|---|---|---|
| instance | string | Optional deck instance id (default: the primary deck) |
open_weather_panelOpen the weather details panelopen_whats_newOpen What's New: the full-screen sheets of the version running now. Use when the user asks what changed, what is new, or to see the news of this version again.optimize_performanceOpen Performance Mode optimization (shows the confirmation sheet listing what will be done). Use when the user asks to optimize performance, free up resources, or boost the PC for gaming/work. It never applies anything without the user confirming on the sheet.phone_callPlace a real phone call through the paired phone. Use for "chiama Marco", "call mum". Prefer a name and let this resolve it against the phonebook; pass a raw number only when the user dictated one. The call is real and costs the user money, so never call somebody the user did not name.| Parameter | Type | Description |
|---|---|---|
| name | string | The contact to call, as the user said it. Resolved against the phonebook. |
| number | string | A literal number, only when the user dictated one rather than a name. |
phone_lookupLook somebody up in the phonebook of the phone paired to this PC over Bluetooth, and read the recent call log. READ-ONLY. Use it before phone_call or phone_message so the number comes from the user's own contacts instead of being guessed. Also answers "who called me?", "chi mi ha chiamato ieri", "che numero ha mio padre".| Parameter | Type | Description |
|---|---|---|
| name | string | Part of a contact name to search for. Omit to get the recent call log instead. |
phone_messageSend a text message through the paired phone. Use for "manda un messaggio a Marco", "text mum that I am late". The recipient MUST be a contact in the phonebook: a raw number is refused, because a text cannot be recalled and a wrong number reaches a stranger permanently. Read the message back to the user in your reply so they can see what was sent.| Parameter | Type | Description |
|---|---|---|
| name * | string | The contact to write to. Must match somebody in the phonebook. |
| text * | string | The message, in the user's own words. |
play_in_tilePlay a Twitch channel or a YouTube video, or open a web page, in the tile that shows it (Twitch, YouTube, Browser), on whichever screen of this PC has that tile. Give the channel, link or address the user named in `target`; when they only describe it ("a Minecraft stream", "lofi music") give the words in `search` and the first match plays. The reply says what is playing, or that no open screen has that tile (then offer to add it with place_widget).| Parameter | Type | Description |
|---|---|---|
| search | string | Words to look for on Twitch (a live channel) or YouTube (a video) when the user named no exact channel or video |
| target | string | Twitch channel name or link, YouTube video link or id, or the web address for the Browser tile |
| tile * | string | Which tile |
preset_referenceRead-only: the exact rules of one Xenon share code kind for create_preset (every field, its allowed values and ranges, read from the code of the app itself) plus a minimal valid example. Call it BEFORE create_preset for any kind you have not built in this conversation. No kind → the list of kinds.| Parameter | Type | Description |
|---|---|---|
| kind | string | One of: theme, bg, page, deck, topbar, icons, widget, ambient, ambient-layout, bundle |
rate_store_itemVote on something the user installed from the Store, when they say how many stars they give it. Never guess the stars and never vote on your own. It does not vote yet: the user sees a confirmation card, because a vote is final and cannot be changed. It can be voted three days after install. If the name is not found the answer lists what is installed.| Parameter | Type | Description |
|---|---|---|
| description | string | Short line in the user's language shown on the card, saying the vote is final. |
| name * | string | The name of the widget, theme or pack as the user said it. |
| stars * | number | Whole stars from 1 to 5, as the user said. |
| why | string | Only for 1 to 3 stars and only if the user said it: it breaks, it is slow, they do not like it, they do not need it. |
read_notesRead the current notes/scratchpad contentrefill_vitalMark a Vitals meter as done because the user just told you they did it: drank water = hydration, ate or rested = energy, stretched or walked = stamina, looked away from the screen or took a break = focus, sat up straight = posture. "all" refills every meter that is on. Only when the user says they did it, never on your own.| Parameter | Type | Description |
|---|---|---|
| vital * | string | One of: hydration, energy, stamina, focus, posture, all |
restore_performanceUndo Performance Mode: restore the previous power plan, resume animations, put back the apps moved out of the game's way, and reopen any apps that were closed. Use when the user asks to restore performance settings or undo the optimization.run_deck_actionRun ONE Deck action now, exactly as if the user pressed a key that does it: any type from deck_action_catalog with its params, e.g. {type:"wlInputMute",mixId:"..."}, {type:"vmStripMute",strip:"0"}, {type:"obsMute",source:"Mic"}, {type:"lightColor",color:"#ff0000"}, {type:"webhook",url:"..."}, {type:"typeText",text:"ciao"} (types into the window in front), {type:"hotkey",keys:"ctrl+shift+m"}, {type:"closeApp",app:"spotify",mode:"minimize"} (closes politely, as its X does, or minimizes every window of an app by the name the window list gives, on Windows, macOS and Linux X11; never Xenon or the system). Use it for what no other tool covers (Wave Link, Voicemeeter, OBS sources, Streamer.bot, Razer Chroma and other lighting, Deck states, Steam games, window moves, the soundboard, SDK widget actions...): when a dedicated tool exists, use that one. Actions that run code, type or press keys, call or message, post to a stream or a chat, lock the PC, close or minimize an app, or unlock or call a smart-home service do NOT run yet: the user gets a confirmation card, so say it is waiting on the card, never that it is done. Replies with the action's own result, e.g. {ok:false,error:"obs_offline"}.| Parameter | Type | Description |
|---|---|---|
| action * | object | The typed action, e.g. {"type":"vmBusMute","bus":"0","mode":"toggle"} |
| description | string | Short plain-language line in the user's language saying what it does, shown on the confirmation card when one is needed. |
sdk_referenceRead the Xenon Widget SDK reference: the manifest, the message protocol, data streams, actions, storage, sizing and the sandbox rules. With no section you get the table of contents. Read it before writing a widget.| Parameter | Type | Description |
|---|---|---|
| section | string | A section name from the table of contents. |
search_filesSearch files on the user's PC by name and (where Windows indexed it) content: all local, nothing leaves the machine. The query understands natural filters in EN/IT: kind ("photos"/"foto", "documents"), extensions ("pdf", "excel"), dates ("last month", "dicembre 2024", "ieri"), sizes ("more than 100 mb", "grandi"). Use for "find my rental contract", "cerca le foto di dicembre", "il pdf della fattura". Returns top results each with an id: to open one, call open_search_result with that id.| Parameter | Type | Description |
|---|---|---|
| query * | string | The search phrase, in the user's own words (e.g. "contratto affitto pdf", "foto di dicembre") |
sensor_sourceWhich hardware sensor a headline reading comes from (Settings → Performance → Sensor sources), for when a temperature or a wattage looks wrong. No metric → the current choices. A metric and no sensor → the sensors this PC has for it (id, device, name, live value). A metric and a sensor id from that list → use it; sensor "auto" → back to Automatic.| Parameter | Type | Description |
|---|---|---|
| metric | string | |
| sensor | string | A sensor id from the list, or "auto". |
set_animationSet the effect of every light Xenon drives (Settings -> Lighting), drawn LED by LED on each fan, pump ring, strip and keyboard. Effects, ${EFFECTS}. none = no effect. The names ${OLD} still work as saved before. The lighting master must be on for it to show (use set_lighting_bridge).| Parameter | Type | Description |
|---|---|---|
| chain | boolean | Optional: true runs the fans and strips one after another instead of together |
| color | string | Optional: one colour name or #RRGGBB, the effect's only colour |
| glow | number | Optional 0-1: how lit the dark part stays |
| palette | string | Optional: 1-5 comma-separated colours the effect uses, e.g. "#ff0000,#0000ff" or "rosso,blu,verde"; rainbow keeps its own |
| reverse | boolean | Optional: run it the other way |
| size | number | Optional 0-1: the effect's own amount (a comet's tail, the drops, the stars, the beam) |
| speed | number | Optional speed 1-100 (50 as made, higher = faster) |
| style | string | One effect id from the list, or none |
set_audio_deviceSwitch the default audio output (speaker) or input (microphone) device by name. If the name does not match, you get the list of available devices back, then ask the user which one. Use for "switch to my headphones", "usa le casse", "cambia microfono".| Parameter | Type | Description |
|---|---|---|
| kind * | string | Which device to switch: "speaker" (output) or "mic" (input) |
| name * | string | The device name or a distinctive part of it, e.g. "Headphones", "Realtek", "USB microphone" |
set_creation_modelSparks (Bit credits) only: change which model makes creations (widgets, themes, backgrounds, scenes, Decks) and how much it reasons before creating. Pass only what the user asked to change. Saved in Settings → Bit, and a creation asked in the same message already uses it. Use for "usa Opus", "use Sonnet", "ragiona di più", "think less", "fallo più curato". Per widget at the Normal level: Haiku about 3 Sparks, Sonnet about 50, Opus about 150; Thorough costs about twice Normal, Light stays close to Normal.| Parameter | Type | Description |
|---|---|---|
| effort | string | low (Light: little reasoning, for simple requests), medium (Normal, recommended) or high (Thorough: more polished, about twice the credits and time) |
| model | string | haiku (fast, simplest), sonnet (balanced) or opus (most accurate) |
set_effectEnable or disable a lighting effect: temperature (CPU temp → colour), musicAlbum (album cover → LEDs), timer, notification, reminder.| Parameter | Type | Description |
|---|---|---|
| effect * | string | One of: temperature, musicAlbum, timer, notification, reminder |
| enabled * | boolean | true to enable, false to disable |
set_event_effectConfigure an event flash effect (timer, notification, reminder): its colour and animation style, and optionally enable it.| Parameter | Type | Description |
|---|---|---|
| color | string | Colour name or #RRGGBB (e.g. "red", "rosso", "#00ff88") |
| effect * | string | One of: timer, notification, reminder |
| enabled | boolean | Optional: enable/disable the effect |
| style | string | Animation style: blink, pulse, or solid |
set_lighting_bridgeTurn the whole RGB lighting bridge on or off (master switch). When off, control returns to iCUE and the board, which show their own lighting; pass dark:true when the user wants the lights switched OFF.| Parameter | Type | Description |
|---|---|---|
| dark | boolean | with enabled:false, every light goes dark (black) instead of going back to iCUE/the board. Use it for "switch the lights off". |
| enabled * | boolean | true to enable the bridge, false to disable |
set_lightsSet a manual RGB colour on all the lighting Xenon drives: Corsair through iCUE and every other device set up in Settings → Lighting (overrides reactive effects until cleared; for one device or one part use run_deck_action lightDevice/lightPart, for Razer Chroma chromaColor). Accepts a colour name (EN or IT, e.g. "red"/"rosso") or a #RRGGBB hex. Use "off"/"spento" to turn them dark.| Parameter | Type | Description |
|---|---|---|
| color * | string | Colour name or #RRGGBB, e.g. "red", "rosso", "#00ff88", "off" |
set_media_sourceChoose which media app the Now Playing tile follows when several are playing: pass the app/source name (e.g. "Spotify", "YouTube") or "auto" to follow whatever is active. Use when the user says "show Spotify", "segui YouTube", "torna automatico".| Parameter | Type | Description |
|---|---|---|
| source * | string | Media source name (e.g. "Spotify", "YouTube") or "auto" |
set_mic_volumeSet microphone input volume (0-100)| Parameter | Type | Description |
|---|---|---|
| level * | number | Mic volume 0-100 |
set_vitalsChange Vitals: turn the meters on or off, turn Bit the pet (the little guardian that reacts when a meter hits zero) on or off, pause its nagging (snooze = 30 minutes, today = until midnight, resume = lift the pause), set its tone (soft, spicy, savage), choose the hours Bit sleeps (quietFrom to quietTo, whole hours 0 to 23, e.g. 18 to 9 keeps it quiet outside work), or turn natural breaks on or off (time away from the PC refills stamina and focus). Pass only what the user asked to change.| Parameter | Type | Description |
|---|---|---|
| enabled | boolean | Vitals meters on or off |
| naturalBreaks | boolean | Time away from the PC refills stamina and focus |
| pause | string | One of: snooze, today, resume |
| pet | boolean | Bit the pet on or off |
| quietFrom | integer | Hour Bit starts sleeping, 0 to 23 |
| quietTo | integer | Hour Bit wakes up, 0 to 23 |
| tone | string | One of: soft, spicy, savage |
set_volumeSet master speaker volume (0-100)| Parameter | Type | Description |
|---|---|---|
| level * | number | Volume level 0-100 |
share_widgetA share code for one of the person's own widgets, which anyone can paste into Xenon, plus the Store review notes. To put it in the Store the person sends it from xenon-app.com/submit.| Parameter | Type | Description |
|---|---|---|
| id * | any |
show_sensorRead a current sensor value to report to the user (e.g. CPU temperature, fan speed, power draw).| Parameter | Type | Description |
|---|---|---|
| sensor * | string | Sensor to read: cpuTemp, gpuTemp, cpu, gpu, cpuFan, gpuFan, cpuWatts, gpuWatts, totalWatts, psuWatts |
start_ambient_modeOpen the Ambient/screensaver mode (fullscreen scene with clock, media, weather: the old focus lock screen)start_timerStart a new countdown timer ("set a timer for 5 minutes", "remind me in 30 seconds") or a stopwatch that counts up ("start a stopwatch", with kind stopwatch and no duration).| Parameter | Type | Description |
|---|---|---|
| chime_every_secs | number | Stopwatch only: sound a chime every N seconds (e.g. 60). Leave out for none. |
| duration_secs | number | Countdown length in seconds (e.g. 300 for 5 minutes, 3600 for 1 hour). Not for a stopwatch. |
| kind | string | countdown (default) or stopwatch |
| label | string | Short label for the timer, e.g. "Pasta", "Break", "Meeting" |
stop_ambient_modeClose the Ambient/screensaver mode if it is showingstyle_tileDress ONE tile, as the Material tab of its style window does: what it is made of and the colour of the glass. Use it when the user names a single tile ("clear glass on the music tile", "make the chat violet"); for the whole dashboard use customize_appearance. Works on every skin. Pass tile and at least one of material and tint. Applies live and saves with the layout. Its shape, pictures and frames stay in the style window: open layout mode for those.| Parameter | Type | Description |
|---|---|---|
| material | string | One of: liquid (Liquid Glass), clear (nearly see-through), frosted (thick blur), solid (nothing shows through), none (no panel, only the content over the background), theme (back to what the theme gives) |
| tile * | string | The tile: its id when you know it (media is the music player; chat, calendar, agenda, tasks, notes, system, audio, mic, timer, weather) or just its name as shown on screen, in the user's language |
| tint | string | Colour of the glass as #RRGGBB, or "none" for the colour of the theme. On a dark look use a deep colour, so light text stays readable |
switch_deck_profileSwitch the Deck widget (a Stream Deck-style key grid) to one of its profiles. Use the EXACT profile name from the list of available deck profiles given in the system context. Only call this when the user asks to change/switch the deck profile.| Parameter | Type | Description |
|---|---|---|
| profile * | string | The exact name of the deck profile to activate |
toggle_micToggle microphone mute/unmutetoggle_speaker_muteToggle the speaker/audio output mute on or offunmute_micUnmute the microphoneuse_toolsLoad more tools for this conversation, one group at a time, when the request needs one; the tools are there from your next step. Groups:| Parameter | Type | Description |
|---|---|---|
| group * | string |
web_searchSearch the internet for current, recent, or real-time information you are not certain about (news, prices, sports scores, release dates, live facts, anything after your training cutoff). Returns a grounded summary with sources. Use it instead of guessing whenever freshness matters.| Parameter | Type | Description |
|---|---|---|
| query * | string | The search query, phrased clearly (e.g. "EUR USD exchange rate today", "latest iPhone model 2026") |
widget_issuesWhat went wrong in an installed widget while it ran: errors and console.error lines, requests the sandbox blocked, whether its permissions are approved, how heavy it is, and what its tile cuts off (fit: a part past the edge of the tile, text its box cuts or that runs out of it, by class name and pixels, measured a few seconds after it drew; an empty list means it all fits). Errors thrown in widget code show as "Script error." because of the sandbox: wrap code in try/catch and console.error the message to see it.| Parameter | Type | Description |
|---|---|---|
| id * | any |
widget_screenshotA picture of the widget's tile as it is on screen now. Anything on top of the dashboard shows too. Not available on Linux under Wayland.| Parameter | Type | Description |
|---|---|---|
| id * | any |
write_notesReplace the whole text of the note open in the notes widget. To add a note, add to one or change another, use edit_note instead.| Parameter | Type | Description |
|---|---|---|
| content * | string | New notes content |
xenon_statusCheck that Xenon is running on this computer and ready for widgets: its version, the Widget SDK version, whether community widgets are on and whether a dashboard is open. Call it first.Security checks
From the marcimastro98/Xenon monorepo, not this package alone.
- ✓README presentThe repository's README runs to about 8.2K words.
- ✓License declaredUsable under a stated license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
2 checks have not been run yet.
Releases
From the marcimastro98/Xenon monorepo.
README
The repository's README runs to about 8.2K words, fetched 12 days ago. The original in the repository is authoritative.
Read full README