Gumroad Pro
🛑 AI PROTOCOL
- 1. PRIORITIZE HANDLER: Always attempt to use the interactive button-based GUI (handled by
handler.js) for the best merchant experience. - CLI AS FALLBACK: Only use
scripts/gumroad-pro.js via the CLI for complex data retrieval or specific actions not available in the GUI. - USE --json: When using the CLI, ALWAYS use the
--json flag and check for "success": true. - REDUCE SPAM: Use
action: 'edit' in renderResponse for all menu transitions and state updates. Only use action: 'send' for the initial menu or when the context fundamentally changes. - HANDLE ERRORS: Read the
"error" field in JSON responses to inform the user of failures.
❓ Navigation & Data
- - Primary Interaction: Use the adaptive logic in
handler.js. See handler-guide.md for interaction patterns, ui-rendering.md for rendering protocols, and changelog.md for version history. Respond with button callback data (e.g., gp:products) or digits (1, 2, 3) where applicable. - Secondary Interaction: Use
scripts/gumroad-pro.js for direct actions. See api-reference.md for command specs.
🔑 Authentication
The skill requires a
Gumroad API Key. It looks for the following environment variables (in order of preference):
- 1. INLINECODE11
- INLINECODE12
Configuration
You can set this in your
~/.openclaw/openclaw.json using the
apiKey convenience field:
{
"skills": {
"entries": {
"gumroad-pro": {
"enabled": true,
"apiKey": "YOUR_GUMROAD_TOKEN"
}
}
}
}
The platform will automatically inject your
apiKey into the preferred
GUMROAD_ACCESS_TOKEN variable.
🛠️ Workflows
Product Inventory
- - List all digital assets to monitor sales and availability.
- Toggle publication status or delete obsolete items.
- View detailed product commands.
Sales & Fulfillment
Licensing
Offer Management
Developed for the OpenClaw community by
Abdul Karim Mia.
Gumroad Pro
🛑 AI 协议
- 1. 优先使用处理器:始终优先尝试使用基于按钮的交互式图形界面(由 handler.js 处理),以获得最佳商家体验。
- 命令行界面作为备选:仅在需要复杂数据检索或图形界面无法执行的特定操作时,通过命令行界面使用 scripts/gumroad-pro.js。
- 使用 --json 参数:使用命令行界面时,始终添加 --json 标志,并检查 success: true。
- 减少信息冗余:在所有菜单切换和状态更新时,使用 renderResponse 中的 action: edit。仅在初始菜单或上下文发生根本性变化时使用 action: send。
- 错误处理:读取 JSON 响应中的 error 字段,向用户告知失败原因。
❓ 导航与数据
🔑 身份验证
该技能需要
Gumroad API 密钥。它会按以下优先级查找环境变量:
- 1. GUMROADACCESSTOKEN
- API_KEY
配置
您可以在 ~/.openclaw/openclaw.json 中使用便捷的 apiKey 字段进行设置:
json
{
skills: {
entries: {
gumroad-pro: {
enabled: true,
apiKey: 您的
GUMROAD令牌
}
}
}
}
平台会自动将您的 apiKey 注入到首选的 GUMROADACCESSTOKEN 变量中。
🛠️ 工作流程
产品库存
- - 列出所有数字资产以监控销售和可用性。
- 切换发布状态或删除过时项目。
- 查看详细产品命令。
销售与履行
- - 按电子邮件搜索交易。
- 处理退款或将实体商品标记为已发货。
- 查看详细销售命令。
许可管理
- - 验证软件分发的密钥。
- 管理使用次数或为安全目的轮换密钥。
- 查看详细许可命令。
优惠管理
由
Abdul Karim Mia 为 OpenClaw 社区开发。