返回顶部
i

icosmos-shopify Shopify店铺诊断

Shopify 店铺运营/诊断技能:从 Supabase 拉取店铺域名与 token,做装修/产品/结账/指标异常检测,并支持发布引流博文(唯一写操作)。"

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.0.1
安全检测
已通过
164
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

icosmos-shopify

icosmos-shopify

面向 OpenClaw 触发的 Shopify 运营能力集合:以只读诊断为主,帮助定位转化/营销/商品问题;唯一写操作是发布 Shopify Blog 文章(需要明确 --confirm)。

触发

  • - 适用场景关键词:店铺审计、装修优化、产品优化、结账/checkout 测试、转化下降、营销效果差、发布博客/引流文章。
  • 触发后执行顺序
1. setup once:用 ICOSMOSUSEREMAIL / ICOSMOSUSERPASSWORD 同步店铺与 token 到本地缓存 2. content/*:拉原始数据(更全面、更可追溯) 3. audit/* / test checkout:给诊断与验证 4. blog publish:仅当明确需要发布时执行(必须 --confirm)

快速参考

诉求命令
Setup Once:从 Supabase 同步店铺/token 到本地icosmos-shopify setup once
列出店铺
icosmos-shopify stores list | | 获取店铺基础信息(原始数据) | icosmos-shopify content shop --store xxx.myshopify.com | | 获取产品列表(原始数据,分页) | icosmos-shopify content products list --store xxx.myshopify.com --first 20 --after | | 获取订单列表(原始数据,时间窗) | icosmos-shopify content orders list --store xxx.myshopify.com --start --end | | 获取博客列表/文章(原始数据) | icosmos-shopify content blogs list --store xxx.myshopify.com / icosmos-shopify content blogs articles list --store xxx.myshopify.com --blog-id 123 | | 装修检查单(只读) | icosmos-shopify audit theme --store xxx.myshopify.com | | 产品质量诊断(只读) | icosmos-shopify audit products --store xxx.myshopify.com --limit 50 | | 结账链路测试(只读) | icosmos-shopify test checkout --store xxx.myshopify.com | | 经营指标与异常线索(只读) | icosmos-shopify audit metrics --store xxx.myshopify.com --days 7 | | 发布引流博文(写操作) | icosmos-shopify blog publish --store xxx.myshopify.com --blog-id 123 --title ... --body-file article.html --confirm |

输出协议(给 OpenClaw 更稳定)

  • - 默认推荐 --format json(content/* 默认就是 json),统一结构:
- storedomain / apiversion / meta / data
  • - 分页信息
- GraphQL:meta.pageinfo.hasnextpage/endcursor - REST:meta.pageinfo.nextlink(来自 Link: rel=next)

依赖与配置

  • - Setup Once:
- ICOSMOSUSEREMAIL - ICOSMOSUSERPASSWORD

两个字段需要保存到系统环境变量

所需命令行工具为当前目录下的icosmos-shopify

Shopify

  • - SHOPIFYAPIVERSION(默认 2026-01)

安全边界(重要)

  • - 默认只读:装修/产品/指标/结账测试均不对 Shopify 做写入。
  • 唯一写操作:发布博客:必须提供 --confirm;否则即使参数齐全也只会 dry-run。
  • 日志脱敏:店铺 token 只显示前后 4 位(abcd...wxyz)。
  • 敏感字段处理:订单 email 等敏感字段默认不输出(或置空),避免在群聊/日志泄露。

常见问题与排障

  • - 401/403:Admin token scopes 不足或 token 过期;确认 Shopify Custom App 的 Admin API access token 与权限。
  • 429 Too Many Requests:已做退避重试;如果频繁触发,降低并发/减少拉取字段/缩小时间范围。
  • Storefront 430 Security Rejection:请求可能被判定为异常;需要检查请求来源、token 是否正确,必要时增加更真实的请求头策略(后续增强)。

参考文档

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 icosmos-shop-1776279676 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 icosmos-shop-1776279676 技能

通过命令行安装

skillhub install icosmos-shop-1776279676

下载

⬇ 下载 icosmos-shopify v0.0.1(免费)

文件大小: 2.64 KB | 发布时间: 2026-4-17 15:03

v0.0.1 最新 2026-4-17 15:03
Initial release of icosmos-shopify skill.

- Provides Shopify store audit and diagnostics, focusing on read-only operations for store, product, checkout, and metrics analysis.
- Only write operation supported is publishing a Shopify Blog post, which requires explicit --confirm.
- Synchronizes store domains and tokens from Supabase, with command-line workflows for data retrieval and diagnostics.
- Enhanced security: sensitive data is masked or excluded, and logs are desensitized.
- Includes quick command reference, JSON output structure, pagination details, and troubleshooting guidance.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部