@jbeaumont

Xbox Live

OpenClaw plugin for Xbox Live via xbl.io — profiles, presence, achievements, Game Pass, title history, DVR media, clubs, and sessions

当前版本
v0.4.1
code-plugin社区source-linked

openclaw-xbox

An OpenClaw plugin that brings Xbox Live data into your AI assistant via the xbl.io API — profiles, presence, achievements, Game Pass, title history, DVR media, clubs, and sessions.

Read-only by default. State-changing actions (add/remove friend, send message) are strictly opt-in.


Prerequisites

  • OpenClaw gateway >=2026.3.24-beta.2
  • An xbl.io account (free tier: 150 requests/hour)

Install

From ClawHub (recommended)

ClawHub is OpenClaw's plugin registry:

openclaw plugins install clawhub:openclaw-xbox

From git

openclaw plugins install git:github.com/jbeaumont/openclaw-xbox

Configure

1. Get an xbl.io API key

  1. Go to xbl.io and sign in with your Microsoft account — this links your Xbox Live account.
  2. Open API Keys in the dashboard and copy your key.

2. Set the key

openclaw config set plugins.entries.openclaw-xbox.config.apiKey YOUR_KEY_HERE

That's it — setting the key auto-enables the plugin (no separate plugins enable step). Prefer not to store the key in config? Set the OPENCLAW_XBOX_API_KEY environment variable instead. Then restart the gateway.

The plugin also registers an xbl-io provider with OpenClaw's setup flow, so openclaw onboard can prompt you for this key as part of guided setup if you prefer that over config set.

The plugin is startup-lazy: it loads on demand when you use /xbox or when its config is present, so it adds no cost to gateway startup until you actually use it.

3. Verify

/xbox setup

This confirms your key is valid and shows your gamertag and gamerscore.


Commands

Use /xbox directly in your OpenClaw chat:

CommandDescription
/xbox helpList all available commands
/xbox setupVerify your API key and connection
/xbox profileYour Xbox profile and gamerscore
/xbox friendsFriends list with online status
/xbox search <gamertag>Look up any player by gamertag
/xbox achievementsYour achievement progress across all titles
/xbox gamepass [pc|ea]Game Pass catalog (optionally PC or EA Play)
/xbox sessionsActive sessions and party members

Agent tools

Once the plugin is enabled with a valid key, these tools are available to the agent automatically. They are additive — you do not need to swap your tools.profile or grant a broad toolset (see Troubleshooting).

Read-only

ToolDescription
xbox_my_profileYour own profile — gamertag, XUID, gamerscore, tier
xbox_search_playerLook up any player by gamertag
xbox_friends_presenceAll friends' online status and what they're playing
xbox_player_presencePresence for a specific player by XUID
xbox_player_presence_by_gamertagSearch + presence in one call
xbox_my_achievementsYour achievements across all titles
xbox_player_achievementsAnother player's achievements (optional title filter)
xbox_my_title_historyYour recently played titles
xbox_player_title_historyAnother player's recently played titles
xbox_screenshotsYour recent DVR screenshots
xbox_game_clipsYour recent DVR game clips
xbox_gamepass_all / xbox_gamepass_pc / xbox_gamepass_ea_playGame Pass catalog
xbox_game_detailsResolve a marketplace product ID to a title
xbox_search_clubs / xbox_club_detailsXbox Clubs search and details
xbox_sessions / xbox_session_configActive sessions and configuration

Write tools (opt-in)

Disabled by default. To enable:

openclaw config set plugins.entries.openclaw-xbox.config.enableWriteTools true
ToolDescription
xbox_add_friendAdd a player to your friends list
xbox_remove_friendRemove a player from your friends list
xbox_send_messageSend a message to a player

These tools are owner-only and each requires an explicit confirm flag, so the agent cannot change state without a deliberate, confirmed step.


Troubleshooting

Agent says a tool isn't available

If you run a restrictive tools.profile (an exclusive allowlist), the plugin's tools may not be included. Add this plugin's tools alongside your existing setup rather than replacing it — do not swap to group:default just for this plugin:

# keep whatever you already allow, and add the plugin's tools:
openclaw config set tools.allow '["...your existing tools...", "openclaw-xbox"]'

Then restart the gateway.

Rate limited

The free xbl.io tier allows 150 requests/hour. Responses are cached for 60s to reduce calls; if you hit the limit the plugin reports how long to wait.


Contributing

Development setup, build/test, and release/publishing steps live in CONTRIBUTING.md.


License

MIT — see LICENSE.

源码与版本

源码仓库

jbeaumont/openclaw-xbox

打开仓库

源码提交

bf6f3c793f8cb55e769f9966fee15525e9514a7d

查看提交

安装命令

openclaw plugins install clawhub:@jbeaumont/openclaw-xbox

元数据

  • 包名: @jbeaumont/openclaw-xbox
  • 创建时间: 2026/06/16
  • 更新时间: 2026/06/16
  • 执行代码:
  • 源码标签: master

兼容性

  • 构建于 OpenClaw: 2026.5.2
  • 插件 API 范围: >=2026.3.24-beta.2
  • 标签: latest
  • 文件数: 44