Roblox Open Cloud 标志

Roblox Open Cloud

社区
nonlooped
roblox-open-cloud

Use Roblox Open Cloud for external automation or supported in-experience HTTP calls. Covers API keys, OAuth, scopes, Secrets Store, webhooks, rate limits, and choosing REST versus engine APIs.

概览

发布者nonlooped
代码仓库roblox-suite
技能名称roblox-open-cloud
星标数
29
复刻数
0
附带文件
4
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 nonlooped 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Roblox Open Cloud AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/nonlooped/roblox-suite/tree/main/roblox-open-cloud
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nonlooped/roblox-suite.git /tmp/roblox-suite
mkdir -p .claude/skills
cp -r /tmp/roblox-suite/roblox-open-cloud .claude/skills/roblox-open-cloud
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Roblox Open Cloud,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Roblox Open Cloud。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Roblox Open Cloud 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

roblox-open-cloud

Open Cloud is the REST API surface for Roblox resources. It lets you build command-line tools, web apps, CI/CD pipelines, scheduled jobs, and external automation that read and write the same resources your live game servers use, without running a game server.

Cross-reference:

Authentication

Three auth models, in order of preference:

1. API keys (recommended for most automation)

All Open Cloud APIs accept an x-api-key header containing an API key string. Create keys on the Creator Dashboard → API Keys page.

  • A key's access is determined by the permissions of the user who owns it. It can reach any resource that user can, including their personal experiences and any group-owned experiences where they have the right role.
  • Some scopes can be restricted to specific experiences; not all.
  • Best practices (from the official docs):
    • Create separate keys per application to isolate blast radius.
    • Select the minimum permissions needed; restrict scope to specific experiences where possible.
    • Use IP restrictions (CIDR notation). But not when calling from Roblox game servers (Roblox server IPs aren't known/predictable).
    • Set expiration dates for short-term keys; avoid them for long-term use without a rotation process.
    • Never store keys in source control, scripts, or public channels. Use a secrets manager; in Roblox places use a Secrets Store.
    • For group-owned resources, create a dedicated alternate account with only the target group access and generate the key there. Don't use your personal account's key for group automation.

2. OAuth 2.0 (for apps acting on behalf of other users)

Use OAuth 2.0 when your app needs to act on behalf of a Roblox user who isn't you (e.g. a third-party tool a creator logs into). See https://create.roblox.com/docs/cloud/auth/oauth2-overview. Has stronger stability guarantees and regular updates.

3. legacy cookie auth (avoid)

Legacy APIs use cookie-based auth, can break without notice, and have minimal stability guarantees. Not recommended for production. Only use for one-off internal tooling where breakage is acceptable.

API key lifecycle

API keys have these statuses (from the official docs):

StatusReasonResolution
ActiveNo issues.N/A
DisabledYou toggled Enable Key off.Toggle it back on.
ExpiredExpiration date passed.Remove or set a new expiration.
Auto-ExpiredUnused or unmodified for 60 days (even without a set expiration).Disable then re-enable, or update any property.
RevokedGroup key: the generating account lost group access.Regenerate the key.
ModeratedA Roblox admin changed the key secret for security.Regenerate.
User ModeratedThe generating account is under moderation.Resolve the moderation.

The 60-day auto-expiry is the most common surprise: keys you set up and forget will silently stop working. Either use them regularly or build a rotation/reminder process.

Introspect endpoint

POST https://apis.roblox.com/api-keys/v1/introspect verifies whether a key is usable from the caller's IP and whether the key/user is moderated. Useful for debugging "why is my key failing":

bash
curl --location --request POST 'https://apis.roblox.com/api-keys/v1/introspect' \
--header 'Content-Type: application/json' \
--data '{"apiKey": "your-api-key"}'

Returns the key name, authorized user, scopes (with userId/groupId/universeId/universeDatastore resource identifiers; * means all resources of that type), enabled, expired, and expirationTimeUtc.

The endpoint map

Base URL: https://apis.roblox.com/cloud/v2/... (plus a few apis.roblox.com/<feature>/v1/... legacy paths for assets). All v2 endpoints accept x-api-key.

Data and memory stores (the most-used surface)

Data stores (/cloud/v2/universes/{universe_id}/data-stores/...):

  • ListDataStores, SnapshotDataStores (daily snapshot trigger).
  • ListDataStoreEntries, CreateDataStoreEntry, GetDataStoreEntry, UpdateDataStoreEntry, IncrementDataStoreEntry, DeleteDataStoreEntry.
  • ListDataStoreEntryRevisions (version history per entry).
  • Scoped variants under /data-stores/{data_store_id}/scopes/{scope}/entries/....
  • Rate limits (v2): share the experience Data Store request budgets with in-engine APIs (read/write/list/remove scale with concurrent users). See error codes & limits and rate-limit external callers (fixed spacing or leaky bucket). Do not assume Open Cloud has a separate unlimited pool.
  • Legacy v1 (/datastores/v1/, /ordered-data-stores/v1/): after July 29, 2026 the fixed non-scaling tables on the throttling guide apply only to those legacy paths.

Memory stores (/cloud/v2/universes/{universe_id}/memory-stores/...):

  • Sorted maps: ListMemoryStoreSortedMapItems, CreateMemoryStoreSortedMapItem, GetMemoryStoreSortedMapItem, UpdateMemoryStoreSortedMapItem, DeleteMemoryStoreSortedMapItem.
  • Queues: CreateMemoryStoreQueueItem, ReadMemoryStoreQueueItems, DiscardMemoryStoreQueueItems.
  • FlushMemoryStore (requires universe.memory-store:flush).

Ordered data stores (/cloud/v2/universes/{universe_id}/ordered-data-stores/...):

  • ListOrderedDataStoreEntries, CreateOrderedDataStoreEntry, GetOrderedDataStoreEntry, UpdateOrderedDataStoreEntry, IncrementOrderedDataStoreEntry, DeleteOrderedDataStoreEntry.
  • Same shared experience budget model as standard Data Stores v2 (see error-codes page).

Universes and places

  • GetUniverse, UpdateUniverse.
  • PublishUniverseMessage (publish a message to all servers of a universe; external counterpart to MessagingService).
  • RestartUniverseServers (restart all live servers of a universe).
  • GetPlace, UpdatePlace (publish a place version; the CI/CD primitive).
  • GetInstance, UpdateInstance.

Assets

  • GetAsset, ListAssetVersions, GetAssetVersion (v1 path: apis.roblox.com/assets/v1/assets/{assetId}).
  • Asset upload (images, audio, models) via the assets API. Useful for batch-importing content.

Users and inventories

  • GetUser, GenerateUserThumbnail.
  • ListInventoryItems.

Groups

  • GetGroup, ListGroupMemberships, UpdateGroupMembership, ListGroupRoles, GetGroupRole, ListGroupJoinRequests, AcceptGroupJoinRequest, DeclineGroupJoinRequest, GetGroupShout.

Monetization (cross-ref roblox-gamepasses)

  • Game passes: CreateGamePass, UpdateGamePass, GetGamePassConfig, ListGamePassConfigsByUniverse.
  • Developer products: CreateDeveloperProduct, UpdateDeveloperProduct, GetDeveloperProductConfig, ListDeveloperProductConfigsByUniverse.
  • Subscriptions: managed via subscription endpoints; webhook events for cancelled/purchased/refunded/renewed.

Moderation and bans

  • ListUserRestrictions, GetUserRestriction, UpdateUserRestriction (place- and universe-scoped), ListUserRestrictionLogs.

Luau execution

  • CreateLuauExecutionSessionTask (run Luau against a universe/place from outside the engine; treat as privileged).

Notifications and configs

  • CreateUserNotification (send a notification to a user from outside the experience).
  • Configs (CreatorConfigs): GetConfigRepositoryValues, draft/publish/revision flow for live configuration.

Creator store

  • CreateCreatorStoreProduct, GetCreatorStoreProduct, UpdateCreatorStoreProduct, CreatorStoreAssetsSearch.

See https://create.roblox.com/docs/en-us/cloud for the full, current list (new endpoints are added regularly).

Calling Open Cloud from in-experience (HttpService)

A subset of Open Cloud endpoints is callable from inside a live game server via HttpService. This is how you do things like update group memberships or kick users from external triggers without leaving the experience.

Requirements:

  • Enable Allow HTTP Requests in Experience Settings.
  • The API key must be stored as a Secret via the Secrets Store. Retrieve it with HttpService:GetSecret("APIKey"). Never hardcode the key in a script.
  • Only the x-api-key and content-type headers are allowed.
  • The x-api-key value must be a Secret datatype, not a string.
  • The .. string is not allowed in URL path parameters (so data stores/entries containing .. are inaccessible from HttpService).
  • Only HTTPS; no ports below 1024 except 80/443; port 1194 blocked.

Rate limits (per game server):

  • 2500 Open Cloud requests per minute per server. Exceeding stalls request methods for ~30 seconds and pcall may fail with "Number of Open Cloud requests exceeded limit."
  • Open Cloud requests do not count against the separate 500-req/min general HTTP limit.
  • Each endpoint also has a per-key-owner limit enforced regardless of where calls originate.

Example: update a group membership from an experience.

lua
--!strict
local HttpService = game:GetService("HttpService")

local function updateGroupMembership(groupId: string, membershipId: string, roleId: string)
    local response
    local ok, err = pcall(function()
        response = HttpService:RequestAsync({
            Url = `https://apis.roblox.com/cloud/v2/groups/{groupId}/memberships/{membershipId}`,
            Method = "PATCH",
            Headers = {
                ["Content-Type"] = "application/json",
                ["x-api-key"] = HttpService:GetSecret("APIKey"), -- Secret, not string
            },
            Body = HttpService:JSONEncode({ role = `groups/{groupId}/roles/{roleId}` }),
        })
    end)
    if not ok then
        warn("HTTP request failed:", err)
        return false
    end
    if response.Success then
        print("Updated:", response.StatusCode, response.StatusMessage)
        return true
    end
    warn("Error:", response.StatusCode, response.StatusMessage)
    return false
end

Best practices: pcall everything; retry safe reads by default, but retry mutations only with endpoint-specific idempotency semantics. On 429, honor retry-after, then x-ratelimit-reset, before bounded exponential backoff. Always retain the last response/error and do not sleep after the final attempt. Aggregate into bulk endpoints where possible; rely on HTTP/2 (automatic, but send lowercase header names). The Observability Dashboard (Creator Hub → Monitoring) shows request count and response time for your HttpService calls.

Webhooks

Open Cloud emits webhooks for certain events, including subscription events (cancelled, purchased, refunded, renewed). Set up a webhook endpoint in your app, register it via the Cloud API, and Roblox will POST event payloads to it. This is the real-time path for subscription analytics without polling GetUserSubscriptionPaymentHistoryAsync. See https://create.roblox.com/docs/en-us/cloud/webhooks/webhook-notifications.

The Transaction Refunded trigger is separate from the subscription events. It covers developer products, passes, private servers, and paid access, but not subscriptions. Its payload includes the buyer, product type and ID, the Robux amount (the product's original price, not what the buyer paid), the universe and place, the transaction or receipt ID, and the refund time. A refunded pass or avatar item is revoked by Roblox automatically; a refunded developer product's benefit exists only in your experience's code, so remove it from player data yourself when this notification arrives.

The October 2026 refund-trigger note is experimental guidance pending a second human review (critical tier). Verify the payload on a test purchase before relying on it.

Decision tree: in-engine vs Open Cloud

NeedUse
Normal player data read/write during a live serverIn-engine DataStoreService
External bulk migration, cleanup, RTBF deletionOpen Cloud Data Stores
Scheduled daily snapshot before a risky publishOpen Cloud SnapshotDataStores
Restart all servers after a config changeOpen Cloud RestartUniverseServers
Publish a place from CIOpen Cloud UpdatePlace
Upload many assets programmaticallyOpen Cloud Assets
Update a group role from in-experienceHttpService + Open Cloud UpdateGroupMembership
Send a notification to a user outside the experienceOpen Cloud CreateUserNotification
Real-time subscription event analyticsOpen Cloud webhooks
Normal monetization prompts/grants in-experienceIn-engine MarketplaceService
Manage game pass/dev product config externallyOpen Cloud game passes / developer products

Security checklist

  • Keys stored in a secrets manager or Secrets Store, never in source/scripts.
  • Minimum-permission scopes; experience-restricted where possible.
  • IP restrictions for non-Roblox-server callers.
  • Expiration dates on short-term keys; rotation process for long-term.
  • Dedicated automation account for group resources (not your personal account).
  • No .. in data store keys you need to reach from HttpService.
  • pcall every call; retry reads safely and require explicit idempotency before mutation retries.
  • x-api-key passed as Secret from HttpService, not string.
  • Audit key usage via the introspect endpoint and the Observability Dashboard.
  • Disable/delete unused keys (they auto-expire after 60 days anyway, but don't rely on that as your only cleanup).
  • Treat CreateLuauExecutionSessionTask as privileged: it runs Luau against your universe.

Common mistakes

  • Using legacy cookie-auth APIs for production (they break without notice).
  • Storing API keys in scripts or source control.
  • Using a personal account's key for group automation (compromises all your resources if the key leaks).
  • Hitting the 2500-req/min HttpService Open Cloud limit by not batching.
  • Running bulk Open Cloud v2 Data Store jobs without a client-side rate limiter (shared experience budget → live servers throttle).
  • Expecting .. in data store keys to work from HttpService (it doesn't).
  • Forgetting the 60-day auto-expiry and having automation silently break.
  • Using Open Cloud for things the in-engine API already does (unnecessary external dependency and latency).

How to proceed

  1. Identify whether the task is in-engine or external. If external, Open Cloud.
  2. Create an API key with the minimum scopes for the task. If group-owned, use a dedicated account.
  3. Store the key in a Secrets Store if calling from HttpService; otherwise in your secrets manager.
  4. Test with the introspect endpoint and a single GET.
  5. Build the workflow with pcall, header-aware rate limiting, and method/endpoint-aware retries. For bulk, prefer batch endpoints.
  6. Set up webhooks for events you want in real time (subscriptions).
  7. Monitor via the Observability Dashboard; rotate/replace keys before they auto-expire.

Sources

Reference index

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Roblox Open Cloud AI 技能有什么作用?

Use Roblox Open Cloud for external automation or supported in-experience HTTP calls. Covers API keys, OAuth, scopes, Secrets Store, webhooks, rate limits, and choosing REST versus engine APIs.

为什么在 TypingMind 中使用 Roblox Open Cloud?

因为您只需安装一次,就能搭配任何模型使用。Roblox Open Cloud 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Roblox Open Cloud?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/nonlooped/roblox-suite/tree/main/roblox-open-cloud。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Roblox Open Cloud?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Roblox Open Cloud 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Roblox Open Cloud 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Roblox Open Cloud AI 技能免费吗?

是的。nonlooped 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇