闲社服务运行正常AI智能体自动化平台
o

OfficeX 平台

技能标识:officex

|

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

OfficeX 平台

OfficeX 平台

OfficeX 是一个基于会员制的应用商店。用户购买积分(每个$0.03:$0.02利润 + $0.01生态系统负债)。应用通过预留/结算来收取积分。供应商赚取积分并兑换为法定货币(Solana上的USDC或银行转账,$0.01/积分)。

获取凭证: https://officex.app/store/en/developer/

环境

环境API 基础地址聊天流
预发布(默认)https://staging-backend.cloud.officex.app/v1https://chat-staging.cloud.officex.app/
生产环境
https://cloud.officex.app/v1 | https://chat.cloud.officex.app/ |

认证

模式请求头范围
无认证—公开目录、凭证、认证端点
主密钥
x-officex-user-id + x-officex-master-key | 个人资料、安装、钱包、供应商应用 | | 安装密钥 | x-officex-install-id + x-officex-install-secret | 计费:预留、结算、取消、收件箱 | | 安装密钥(备选) | x-officex-user-id + x-officex-app-id + x-officex-install-secret | 同上(备选查询方式) | | 超级管理员 | x-officex-admin-secret | 完整系统(/admin/*) |

安装密钥仅用于计费——您的应用自行管理用户认证。安装密钥处理资金,您的应用处理其他所有事务。

积分经济

用户购买积分 → 国库负债增加(零和:国库 + 所有钱包 = 0)
应用预留积分 → 从用户钱包锁定
应用逐步/结算 → 积分转移到应用钱包
供应商提现 → 积分兑换为法定货币,国库负债减少

小数积分

积分支持小数。对于小额操作,向上取整到1积分($0.03)成本较高:

操作积分用户支付
微任务0.1$0.003
小任务
0.25 | $0.0075 |
| 中等任务 | 0.5 | $0.015 |
| 标准任务 | 1.0 | $0.03 |

最佳实践: 根据实际成本定价。如果API调用成本为$0.001,收取约0.07积分(2倍加价)。

双重角色

单个OfficeX账户可以同时是消费者(安装和使用应用)和供应商(创建应用并赚取积分)。



API 端点

认证(无需认证)

POST /auth/register { email } → { success, message }
POST /auth/login { email, password? } → { success, apikey?, userid? }
POST /auth/verify-otp { email, code } → { success, apikey, userid, wallet_id? }
POST /auth/resend { email } → { success, message }
POST /auth/forgot-password { email } → { success, message }
POST /auth/reset-password { email, code, new_password } → { success, message }
POST /auth/set-password { password } [MK] → { success, message }
POST /auth/rotate-key { email } → { success, message }
POST /auth/confirm-rotate-key { email, code } → { success, api_key }
POST /register-user { email } → { userid, walletid, api_key } (旧版)

测试模式: OTP硬编码为0000,禁用邮件发送。

用户资料 [主密钥]

GET /users/me → { user: { userid, email, walletid, status } }
PATCH /users/me { email? } → { user }
POST /users/me/rotate-key { newmasterkey } → { success }
GET /users/me/vouchers → { vouchers[] }

安装 [主密钥]

GET /users/me/installs → { installs[] }
GET /users/me/installs/{id} → { install (含使用统计) }
POST /install/{appidorslug} { maxperhour?, maxperday?, maxpermonth?, alloweduntil? }
→ { appid, installid, installsecret, agentcontext? } ⚠️ 密钥仅显示一次
DELETE /users/me/installs/{id} → { success }
PATCH /users/me/installs/{id} { maxperhour?, maxperday?, maxpermonth?, alloweduntil?, lifetimespend_limit? }
→ { install }
POST /users/me/installs/{id}/rotate-secret → { install_secret }
PATCH /users/me/installs/{id}/context { key: val | null } → { agent_context }

alloweduntil:Unix时间戳(-1 = 永不过期,默认 = 当前时间 + 30天)。lifetimespend_limit:-1 = 无限制。

应用范围路由(安装密钥认证):

PATCH /installs/{installid}/context { key: val | null } → { agentcontext }
POST /installs/{installid}/inbox { id, title, text, url?, icon? } → { messageid }

供应商应用 [主密钥]

GET /users/me/apps → { apps[] }
POST /register-app (见下方完整模式)
→ { appid, destinationwallet_id }
GET /users/me/apps/{app_id} → { app }
PATCH /users/me/apps/{app_id} (见下方完整模式)
→ { app }
DELETE /users/me/apps/{app_id} → { success }
GET /users/me/apps/{app_id}/inbox → { reservations[], pagination? }
POST /users/me/apps/{appid}/inbox/{logid}/ack → { success }
GET /users/me/apps/{app_id}/installs → { installs[] }

公开目录(无需认证)

GET /apps → { apps[], pagination? }
GET /apps/{app_id} → { app }

积分与余额 [主密钥]

POST /purchase-credits { amount, paymentmethod: { type, token }, idempotencykey? }
→ { creditsadded, newbalance, transaction_id }
GET /balance → { wallet_id, available, reserved, total }

预留与结算 [安装密钥]

POST /reserve { amount, job_id, metadata? }
→ { reservationid, amountreserved }
POST /settle { reservation_id, amount, final? }
→ { settledamount, remainingreserved, status }
GET /reservations/{id} → { reservation }
POST /reservations/{id}/cancel → { refunded_amount, status }
POST /reservations/{id}/settle { amount, final? } → { settled_amount, status }

final: true = 完成 + 退还剩余。final: false(默认)= 逐步(部分结算)。

预留错误:INSTALLEXPIRED、RATELIMITED、INSUFFICIENTFUNDS、DUPLICATEJOB、LIFETIMELIMITREACHED

钱包 [主密钥]

GET /wallets/{id} → { walletid, available, reserved, total, ownertype }
GET /wallets/{id}/transactions ?limit=&cursor= → { transactions[], pagination? }
GET /wallets/{id}/transactions/{log_id} → { transaction }
GET /wallets/{id}/reservations ?direction= → { reservations[] }
GET /wallets/{id}/reservations/{resv_id} → { reservation }
GET /wallets/{id}/payouts → { payouts[] }
GET /wallets/{id}/payouts/{payout_id} → { payout }

提现 [主密钥]

POST /payout { walletid, amount, destination: { type, accountid }, idempotency_key? }
→ { payout_id, status }

提现状态机:pending → burned → completed | failed(failed = 积分恢复)。频率:每月末。费率:每积分$0.01。

凭证

GET /vouchers/{code}

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 officex-1776312075 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 officex-1776312075 技能

通过命令行安装

skillhub install officex-1776312075

下载

⬇ 下载 officex v1.0.0(免费)

文件大小: 13.22 KB | 发布时间: 2026-4-16 16:07

v1.0.0 最新 2026-4-16 16:07
OfficeX 1.0.0 initial release

- Full support for the OfficeX credit-based app marketplace and REST API.
- Enables app building, publishing, installations, billing (reserve/settle/sip/payout), and user/wallet management.
- Handles webhooks (install, uninstall, rate limit change) and embedding apps in iframes.
- Includes integration patterns for OfficeX AI chat agent and agent context management.
- Provides clear authentication modes and credit economy documentation for vendors and consumers.
返回顶部