{"id":"6c5ca327-653f-42db-991d-a4a69261375d","entityType":"agent","slug":"clawhub-linkfox-ai-linkfox-shopee-store-livestream","name":"Shopee-店铺直播","canonicalUrl":"https://www.xpersona.co/agent/clawhub-linkfox-ai-linkfox-shopee-store-livestream","canonicalPath":"/agent/clawhub-linkfox-ai-linkfox-shopee-store-livestream","generatedAt":"2026-10-13T08:01:11.636Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-12T01:57:20.616Z","emptyReason":null},"description":"Shopee（虾皮）直播 Livestream（与 linkfox-shopee-store-auth 同系列），经 /shopee/developerProxy 转发 Shopee Open API Livestream 模块全部 25 个接口：create_session、start_session、add_item_list、get_session_detail、get_session_metric、post_comment、upload_image 等。当用户提到 Shopee 直播、Livestream、创建直播场次、直播商品、直播评论、session_id、upload_image 时触发。即使未明确提及\"直播\"，只要涉及已授权 Shopee 店铺的 Livestream 场次/商品/互动管理，也应触发。","descriptionLabel":"Source description","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 958 downloads reported by the source. Last updated 10/12/2026.","installCommand":"clawhub skill install s171g8b6m2khwdy9ye8bxj0wx183vd4z:linkfox-shopee-store-livestream","sourceUrl":"https://clawhub.ai/linkfox-ai/linkfox-shopee-store-livestream","homepage":"https://clawhub.ai/linkfox-ai/skills/linkfox-shopee-store-livestream","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/linkfox-ai/linkfox-shopee-store-livestream","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/linkfox-ai/skills/linkfox-shopee-store-livestream","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":60,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Shopee-店铺直播 technical dossier on Xpersona with agent coverage, OPENCLEW support, and live trust metadata."},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-12T01:57:20.616Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-12T01:57:20.616Z","emptyReason":null},"stars":null,"forks":null,"downloads":958,"likes":null,"task":null,"library":null,"packageName":null,"latestVersion":"1.0.6","tractionLabel":"958 downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-12T01:57:20.549Z","emptyReason":null},"lastUpdatedAt":"2026-10-12T01:57:20.616Z","lastCrawledAt":"2026-10-12T01:57:20.549Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-13T01:57:20.549Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.6","createdAt":"2026-09-14T05:28:07.152Z","changelog":"Update from 1.0.5 to 1.0.6","fileCount":61,"zipByteSize":65449},{"version":"1.0.5","createdAt":"2026-08-14T15:04:32.958Z","changelog":"Update from 1.0.4 to 1.0.5","fileCount":61,"zipByteSize":65403},{"version":"1.0.4","createdAt":"2026-08-07T11:02:56.533Z","changelog":"Update from 1.0.3 to 1.0.4","fileCount":61,"zipByteSize":65438},{"version":"1.0.3","createdAt":"2026-07-13T12:21:56.200Z","changelog":"Update from 1.0.2 to 1.0.3","fileCount":34,"zipByteSize":29358},{"version":"1.0.2","createdAt":"2026-07-06T11:30:29.938Z","changelog":"Update from 1.0.1 to 1.0.2","fileCount":34,"zipByteSize":28800},{"version":"1.0.1","createdAt":"2026-07-03T08:29:48.860Z","changelog":"Update from 1.0.0 to 1.0.1","fileCount":34,"zipByteSize":28777},{"version":"1.0.0","createdAt":"2026-07-02T14:51:23.209Z","changelog":"Initial release","fileCount":33,"zipByteSize":27502}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s171g8b6m2khwdy9ye8bxj0wx183vd4z:linkfox-shopee-store-livestream","setupComplexity":"low","setupSteps":["Install using `clawhub skill install s171g8b6m2khwdy9ye8bxj0wx183vd4z:linkfox-shopee-store-livestream` in an isolated environment before connecting it to live workloads.","No published capability contract is available yet, so validate auth and request/response behavior manually.","Review the upstream CLAWHUB listing at https://clawhub.ai/linkfox-ai/linkfox-shopee-store-livestream before using production credentials."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-livestream/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-livestream/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-livestream/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-livestream/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-livestream/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-livestream/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-13T08:01:11.635Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-livestream/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-livestream/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-livestream/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-livestream/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-12T01:57:20.616Z","emptyReason":null},"readme":"Skill: Shopee-店铺直播\n\nOwner: linkfox-ai\n\nSummary: Shopee（虾皮）直播 Livestream（与 linkfox-shopee-store-auth 同系列），经 /shopee/developerProxy 转发 Shopee Open API Livestream 模块全部 25 个接口：create_session、start_session、add_item_list、get_session_detail、get_session_metric、post_comment、upload_image 等。当用户提到 Shopee 直播、Livestream、创建直播场次、直播商品、直播评论、session_id、upload_image 时触发。即使未明确提及\"直播\"，只要涉及已授权 Shopee 店铺的 Livestream 场次/商品/互动管理，也应触发。\n\nTags: latest:1.0.6\n\nVersion history:\n\nv1.0.6 | 2026-09-14T05:28:07.152Z | user\n\nUpdate from 1.0.5 to 1.0.6\n\nv1.0.5 | 2026-08-14T15:04:32.958Z | user\n\nUpdate from 1.0.4 to 1.0.5\n\nv1.0.4 | 2026-08-07T11:02:56.533Z | user\n\nUpdate from 1.0.3 to 1.0.4\n\nv1.0.3 | 2026-07-13T12:21:56.200Z | user\n\nUpdate from 1.0.2 to 1.0.3\n\nv1.0.2 | 2026-07-06T11:30:29.938Z | user\n\nUpdate from 1.0.1 to 1.0.2\n\nv1.0.1 | 2026-07-03T08:29:48.860Z | user\n\nUpdate from 1.0.0 to 1.0.1\n\nv1.0.0 | 2026-07-02T14:51:23.209Z | user\n\nInitial release\n\nArchive index:\n\nArchive v1.0.6: 61 files, 65449 bytes\n\nFiles: references/api.md (5877b), references/apis/add-item-list.md (1353b), references/apis/apply-item-set.md (1365b), references/apis/ban-user-comment.md (1379b), references/apis/create-session.md (1398b), references/apis/delete-item-list.md (1387b), references/apis/delete-show-item.md (1385b), references/apis/end-session.md (1336b), references/apis/get-item-count.md (1363b), references/apis/get-item-list.md (1353b), references/apis/get-item-set-item-list.md (1417b), references/apis/get-item-set-list.md (1392b), references/apis/get-latest-comment-list.md (1450b), references/apis/get-like-item-list.md (1402b), references/apis/get-recent-item-list.md (1408b), references/apis/get-session-detail.md (1403b), references/apis/get-session-item-metric.md (1438b), references/apis/get-session-metric.md (1405b), references/apis/get-show-item.md (1361b), references/apis/post-comment.md (1352b), references/apis/start-session.md (1356b), references/apis/unban-user-comment.md (1399b), references/apis/update-item-list.md (1385b), references/apis/update-session.md (1366b), references/apis/update-show-item.md (1385b), references/apis/upload-image.md (1346b), references/onboarding.md (1999b), scripts/_livestream_api_runner.py (4316b), scripts/_livestream_endpoints.py (5848b), scripts/_shopee_livestream_common.py (11833b), scripts/add_item_list.py (678b), scripts/apply_item_set.py (684b), scripts/ban_user_comment.py (696b), scripts/check_auth_dependency.py (3989b), scripts/create_session.py (684b), scripts/delete_item_list.py (696b), scripts/delete_show_item.py (696b), scripts/end_session.py (666b), scripts/get_item_count.py (684b), scripts/get_item_list.py (678b), scripts/get_item_set_item_list.py (732b), scripts/get_item_set_list.py (702b), scripts/get_latest_comment_list.py (738b), scripts/get_like_item_list.py (708b), scripts/get_recent_item_list.py (720b), scripts/get_session_detail.py (708b), scripts/get_session_item_metric.py (738b), scripts/get_session_metric.py (708b), scripts/get_show_item.py (678b), scripts/livestream_api.py (1037b), scripts/onboarding.py (24027b), scripts/post_comment.py (672b), scripts/start_session.py (678b), scripts/unban_user_comment.py (708b), scripts/update_item_list.py (696b), scripts/update_session.py (684b), scripts/update_show_item.py (696b), scripts/upload_image.py (672b), skill-card.md (2504b), SKILL.md (8122b), _meta.json (150b)\n\nFile v1.0.6:SKILL.md\n\n---\nname: linkfox-shopee-store-livestream\ndescription: Shopee（虾皮）直播 Livestream（与 linkfox-shopee-store-auth 同系列），经 /shopee/developerProxy 转发 Shopee Open API Livestream 模块全部 25 个接口：create_session、start_session、add_item_list、get_session_detail、get_session_metric、post_comment、upload_image 等。当用户提到 Shopee 直播、Livestream、创建直播场次、直播商品、直播评论、session_id、upload_image 时触发。即使未明确提及\"直播\"，只要涉及已授权 Shopee 店铺的 Livestream 场次/商品/互动管理，也应触发。\n---\n\n# Shopee 直播 Livestream\n\nShopee Open Platform **Livestream 模块**（25 个 API）。**依赖 `linkfox-shopee-store-auth`** 选店；经 **`POST /shopee/developerProxy`** 传入 `shopId`（或 `merchantId`），由服务端解析 token 转发（`path` 须 `api/v2/livestream/...`）。\n\n## 调用方式\n\n- **API 端点**：`POST /shopee/developerProxy`（不同操作通过请求体区分；完整参数/响应/错误码见 `references/api.md`）\n- **Python 脚本**：`python scripts/livestream_api.py '<JSON 参数>' [--inline]`（可用脚本见上文脚本一览）\n- **成本约束**：本工具会消耗算力；失败/空结果不得自动换关键词、翻页或连续试探；需要继续检索时先向用户说明会产生额外消耗。\n\n**输出策略（脚本默认行为）**：\n- **始终**将完整响应写入 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/<skill-name>-<timestamp>.json`（`<cwd>` 为脚本执行时的工作目录，在 Claude Code 里即当前项目目录；`<session>` 取自环境变量 `SESSION_ID`，按用户任务自动聚合；**禁止写入 /tmp**，当前目录不可写则报错）\n- 响应体 ≤ 8 KB：落盘后把完整 JSON 打印到 stdout\n- 响应体 > 8 KB：落盘后 stdout 只输出摘要（顶层字段、常见计数如 `total`/`costToken`、最大列表字段的长度 + 前 3 条样本）\n- 加 `--inline` 强制全量打印到 stdout（同样落盘）\n\n**读数据建议**：先看摘要判断是否足够；需要具体字段时优先用 `jq`或`ConvertFrom-Json` 从保存的 json 文件按需抽取，避免整份 JSON 进入上下文。\n\n## 解决认证和算力问题\n发生以下异常情况时，采用 references/onboarding.md 引导解决问题：\n\n### 异常情况\n- **未配置API Key**：环境变量未配置 `LINKFOX_AGENT_API_KEY`，也未配置 `LINKFOXAGENT_API_KEY`。\n- **响应401或402状态码**\n- **响应提示算力或余额不足**：消息含\"算力余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值\"，或类似含义的内容。\n\n## 官方参考\n\nLivestream 模块索引：[v2.livestream.upload_image](https://open.shopee.com/documents/v2/v2.livestream.upload_image?module=125&type=1)\n\n---\n\n## Prerequisites\n\n1. 运行 `python scripts/check_auth_dependency.py`；exit code **42** → 先安装 **`linkfox-shopee-store-auth`**。\n2. 店铺短视频 Video → `linkfox-shopee-store-video`；图片上传 Media → `linkfox-shopee-store-media`。\n\n## 可用脚本（25 个 API）\n\n| 脚本 | API | Method |\n|------|-----|--------|\n| `upload_image.py` | upload_image | POST |\n| `create_session.py` | create_session | POST |\n| `update_session.py` | update_session | POST |\n| `start_session.py` | start_session | POST |\n| `end_session.py` | end_session | POST |\n| `get_session_detail.py` | get_session_detail | GET |\n| `add_item_list.py` | add_item_list | POST |\n| `delete_item_list.py` | delete_item_list | POST |\n| `update_item_list.py` | update_item_list | POST |\n| `get_item_count.py` | get_item_count | GET |\n| `get_item_list.py` | get_item_list | GET |\n| `update_show_item.py` | update_show_item | POST |\n| `delete_show_item.py` | delete_show_item | POST |\n| `get_show_item.py` | get_show_item | GET |\n| `get_like_item_list.py` | get_like_item_list | GET |\n| `get_recent_item_list.py` | get_recent_item_list | GET |\n| `get_item_set_list.py` | get_item_set_list | GET |\n| `get_item_set_item_list.py` | get_item_set_item_list | GET |\n| `apply_item_set.py` | apply_item_set | POST |\n| `get_session_metric.py` | get_session_metric | GET |\n| `get_session_item_metric.py` | get_session_item_metric | GET |\n| `get_latest_comment_list.py` | get_latest_comment_list | GET |\n| `post_comment.py` | post_comment | POST |\n| `ban_user_comment.py` | ban_user_comment | POST |\n| `unban_user_comment.py` | unban_user_comment | POST |\n| `livestream_api.py` | 通用入口 | — |\n\n## 接口说明（按 API）\n\n入参与响应细节放在 `references/apis/`，SKILL 只保留索引。\n\n| API | 说明文档 |\n|-----|----------|\n| `add_item_list` | [references/apis/add-item-list.md](./references/apis/add-item-list.md) |\n| `apply_item_set` | [references/apis/apply-item-set.md](./references/apis/apply-item-set.md) |\n| `ban_user_comment` | [references/apis/ban-user-comment.md](./references/apis/ban-user-comment.md) |\n| `create_session` | [references/apis/create-session.md](./references/apis/create-session.md) |\n| `delete_item_list` | [references/apis/delete-item-list.md](./references/apis/delete-item-list.md) |\n| `delete_show_item` | [references/apis/delete-show-item.md](./references/apis/delete-show-item.md) |\n| `end_session` | [references/apis/end-session.md](./references/apis/end-session.md) |\n| `get_item_count` | [references/apis/get-item-count.md](./references/apis/get-item-count.md) |\n| `get_item_list` | [references/apis/get-item-list.md](./references/apis/get-item-list.md) |\n| `get_item_set_item_list` | [references/apis/get-item-set-item-list.md](./references/apis/get-item-set-item-list.md) |\n| `get_item_set_list` | [references/apis/get-item-set-list.md](./references/apis/get-item-set-list.md) |\n| `get_latest_comment_list` | [references/apis/get-latest-comment-list.md](./references/apis/get-latest-comment-list.md) |\n| `get_like_item_list` | [references/apis/get-like-item-list.md](./references/apis/get-like-item-list.md) |\n| `get_recent_item_list` | [references/apis/get-recent-item-list.md](./references/apis/get-recent-item-list.md) |\n| `get_session_detail` | [references/apis/get-session-detail.md](./references/apis/get-session-detail.md) |\n| `get_session_item_metric` | [references/apis/get-session-item-metric.md](./references/apis/get-session-item-metric.md) |\n| `get_session_metric` | [references/apis/get-session-metric.md](./references/apis/get-session-metric.md) |\n| `get_show_item` | [references/apis/get-show-item.md](./references/apis/get-show-item.md) |\n| `post_comment` | [references/apis/post-comment.md](./references/apis/post-comment.md) |\n| `start_session` | [references/apis/start-session.md](./references/apis/start-session.md) |\n| `unban_user_comment` | [references/apis/unban-user-comment.md](./references/apis/unban-user-comment.md) |\n| `update_item_list` | [references/apis/update-item-list.md](./references/apis/update-item-list.md) |\n| `update_session` | [references/apis/update-session.md](./references/apis/update-session.md) |\n| `update_show_item` | [references/apis/update-show-item.md](./references/apis/update-show-item.md) |\n| `upload_image` | [references/apis/upload-image.md](./references/apis/upload-image.md) |\n\n模块总览 / Feedback 见 [references/api.md](./references/api.md)。\n\n## Usage Scenarios\n\n### 1. 创建并开播\n1. `upload_image.py` 上传封面/素材\n2. `create_session.py` 创建场次\n3. `add_item_list.py` 添加商品\n4. `start_session.py` 开始直播\n\n### 2. 直播中管理\n1. `update_show_item.py` 切换展示商品\n2. `get_latest_comment_list.py` / `post_comment.py` 评论互动\n3. `get_session_metric.py` 查看数据\n\n## Not Applicable\n\n- 店铺授权 → `linkfox-shopee-store-auth`\n- 店铺短视频 Video → `linkfox-shopee-store-video`\n- 通用图片/视频上传 Media / MediaSpace → 对应 media skill\n- 商品 listing → `linkfox-shopee-store-product`\n\n## 算力消耗规则\n\n不消耗算力。\n\n**Feedback:** 见 `references/api.md`。\n\n---\n*For more high-quality, professional cross-border e-commerce skills, visit [LinkFox Skills](https://skill.linkfox.com/).*\n\nFile v1.0.6:_meta.json\n\n{\n  \"ownerId\": \"kn7dmc1t4j28hem1twwyav85p182pb1j\",\n  \"slug\": \"linkfox-shopee-store-livestream\",\n  \"version\": \"1.0.6\",\n  \"publishedAt\": 1789363687152\n}\n\nFile v1.0.6:references/api.md\n\n# linkfox-shopee-store-livestream — 参数与字段参考\n\n> 单接口入参/响应说明已拆到 **`apis/`**（按 API 一份）；本文件保留模块总览与 Feedback。\nShopee **Livestream 模块**全部 25 个 API，经 **`POST /shopee/developerProxy`** 转发。\n\n授权见 **`linkfox-shopee-store-auth`**。官方索引：[v2.livestream.upload_image](https://open.shopee.com/documents/v2/v2.livestream.upload_image?module=125&type=1)\n\n## 通用约定\n\n- **path**：须 `api/v2/livestream/...`\n- **标识**：通常传 **`shopId`**\n- **官方文档 URL 规则**：`https://open.shopee.com/documents/v2/v2.livestream.{api}?module=125&type=1`\n\n---\n\n## Livestream 模块总览\n\n| # | API | Method | path | 脚本 | 官方文档 |\n|---|-----|--------|------|------|----------|\n| 1 | add_item_list | POST | `api/v2/livestream/add_item_list` | `add_item_list.py` | [apis/add-item-list.md](./apis/add-item-list.md) |\n| 2 | apply_item_set | POST | `api/v2/livestream/apply_item_set` | `apply_item_set.py` | [apis/apply-item-set.md](./apis/apply-item-set.md) |\n| 3 | ban_user_comment | POST | `api/v2/livestream/ban_user_comment` | `ban_user_comment.py` | [apis/ban-user-comment.md](./apis/ban-user-comment.md) |\n| 4 | create_session | POST | `api/v2/livestream/create_session` | `create_session.py` | [apis/create-session.md](./apis/create-session.md) |\n| 5 | delete_item_list | POST | `api/v2/livestream/delete_item_list` | `delete_item_list.py` | [apis/delete-item-list.md](./apis/delete-item-list.md) |\n| 6 | delete_show_item | POST | `api/v2/livestream/delete_show_item` | `delete_show_item.py` | [apis/delete-show-item.md](./apis/delete-show-item.md) |\n| 7 | end_session | POST | `api/v2/livestream/end_session` | `end_session.py` | [apis/end-session.md](./apis/end-session.md) |\n| 8 | get_item_count | GET | `api/v2/livestream/get_item_count` | `get_item_count.py` | [apis/get-item-count.md](./apis/get-item-count.md) |\n| 9 | get_item_list | GET | `api/v2/livestream/get_item_list` | `get_item_list.py` | [apis/get-item-list.md](./apis/get-item-list.md) |\n| 10 | get_item_set_item_list | GET | `api/v2/livestream/get_item_set_item_list` | `get_item_set_item_list.py` | [apis/get-item-set-item-list.md](./apis/get-item-set-item-list.md) |\n| 11 | get_item_set_list | GET | `api/v2/livestream/get_item_set_list` | `get_item_set_list.py` | [apis/get-item-set-list.md](./apis/get-item-set-list.md) |\n| 12 | get_latest_comment_list | GET | `api/v2/livestream/get_latest_comment_list` | `get_latest_comment_list.py` | [apis/get-latest-comment-list.md](./apis/get-latest-comment-list.md) |\n| 13 | get_like_item_list | GET | `api/v2/livestream/get_like_item_list` | `get_like_item_list.py` | [apis/get-like-item-list.md](./apis/get-like-item-list.md) |\n| 14 | get_recent_item_list | GET | `api/v2/livestream/get_recent_item_list` | `get_recent_item_list.py` | [apis/get-recent-item-list.md](./apis/get-recent-item-list.md) |\n| 15 | get_session_detail | GET | `api/v2/livestream/get_session_detail` | `get_session_detail.py` | [apis/get-session-detail.md](./apis/get-session-detail.md) |\n| 16 | get_session_item_metric | GET | `api/v2/livestream/get_session_item_metric` | `get_session_item_metric.py` | [apis/get-session-item-metric.md](./apis/get-session-item-metric.md) |\n| 17 | get_session_metric | GET | `api/v2/livestream/get_session_metric` | `get_session_metric.py` | [apis/get-session-metric.md](./apis/get-session-metric.md) |\n| 18 | get_show_item | GET | `api/v2/livestream/get_show_item` | `get_show_item.py` | [apis/get-show-item.md](./apis/get-show-item.md) |\n| 19 | post_comment | POST | `api/v2/livestream/post_comment` | `post_comment.py` | [apis/post-comment.md](./apis/post-comment.md) |\n| 20 | start_session | POST | `api/v2/livestream/start_session` | `start_session.py` | [apis/start-session.md](./apis/start-session.md) |\n| 21 | unban_user_comment | POST | `api/v2/livestream/unban_user_comment` | `unban_user_comment.py` | [apis/unban-user-comment.md](./apis/unban-user-comment.md) |\n| 22 | update_item_list | POST | `api/v2/livestream/update_item_list` | `update_item_list.py` | [apis/update-item-list.md](./apis/update-item-list.md) |\n| 23 | update_session | POST | `api/v2/livestream/update_session` | `update_session.py` | [apis/update-session.md](./apis/update-session.md) |\n| 24 | update_show_item | POST | `api/v2/livestream/update_show_item` | `update_show_item.py` | [apis/update-show-item.md](./apis/update-show-item.md) |\n| 25 | upload_image | POST | `api/v2/livestream/upload_image` | `upload_image.py` | [apis/upload-image.md](./apis/upload-image.md) |\n通用入口：`livestream_api.py`（JSON 含 `\"api\": \"<上表 API 名>\"`）。\n\n---\n\n## 常用接口说明\n\n| 分类 | API | 要点 |\n|------|-----|------|\n| 会话 | `create_session` / `start_session` / `end_session` | 创建、开始、结束直播 |\n| 会话 | `get_session_detail` / `get_session_metric` | 场次详情与数据 |\n| 商品 | `add_item_list` / `get_item_list` / `update_show_item` | 直播商品管理 |\n| 商品集 | `get_item_set_list` / `apply_item_set` | 商品集应用 |\n| 互动 | `get_latest_comment_list` / `post_comment` | 评论管理 |\n| 互动 | `ban_user_comment` / `unban_user_comment` | 禁言管理 |\n| 素材 | `upload_image` | 上传直播图片 |\n\n---\n\n## curl 示例\n\n```bash\ncurl -X POST ${LINKFOX_TOOL_GATEWAY}/shopee/developerProxy \\\n  -H \"Authorization: $LINKFOX_AGENT_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"path\": \"api/v2/livestream/get_session_detail\",\n    \"method\": \"GET\",\n    \"accessToken\": \"xxx\",\n    \"shopId\": \"67890\"\n  }'\n```\n\n---\n\n## Feedback API\n\n```bash\ncurl -X POST https://skill-api.linkfox.com/api/v1/public/feedback \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"skillName\":\"linkfox-shopee-store-livestream\",\"sentiment\":\"POSITIVE\",\n       \"category\":\"OTHER\",\"content\":\"直播接口查询正常\"}'\n```\n\nFile v1.0.6:references/apis/add-item-list.md\n\n# add_item_list\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/add_item_list.py` |\n| Method / path | POST `api/v2/livestream/add_item_list` |\n| 官方文档 | [add_item_list](https://open.shopee.com/documents/v2/v2.livestream.add_item_list?module=125&type=1) |\n| 用途 | Add items to livestream |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Add items to livestream\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/add_item_list.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"add_item_list\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`addItemList`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.6:references/apis/apply-item-set.md\n\n# apply_item_set\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/apply_item_set.py` |\n| Method / path | POST `api/v2/livestream/apply_item_set` |\n| 官方文档 | [apply_item_set](https://open.shopee.com/documents/v2/v2.livestream.apply_item_set?module=125&type=1) |\n| 用途 | Apply item set to session |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Apply item set to session\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/apply_item_set.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"apply_item_set\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`applyItemSet`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.6:references/apis/ban-user-comment.md\n\n# ban_user_comment\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/ban_user_comment.py` |\n| Method / path | POST `api/v2/livestream/ban_user_comment` |\n| 官方文档 | [ban_user_comment](https://open.shopee.com/documents/v2/v2.livestream.ban_user_comment?module=125&type=1) |\n| 用途 | Ban user from commenting |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Ban user from commenting\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/ban_user_comment.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"ban_user_comment\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`banUserComment`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.6:references/apis/create-session.md\n\n# create_session\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/create_session.py` |\n| Method / path | POST `api/v2/livestream/create_session` |\n| 官方文档 | [create_session](https://open.shopee.com/documents/v2/v2.livestream.create_session?module=125&type=1) |\n| 用途 | Create livestream session; pass full body |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Create livestream session; pass full body\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/create_session.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"create_session\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`createSession`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.6:references/apis/delete-item-list.md\n\n# delete_item_list\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/delete_item_list.py` |\n| Method / path | POST `api/v2/livestream/delete_item_list` |\n| 官方文档 | [delete_item_list](https://open.shopee.com/documents/v2/v2.livestream.delete_item_list?module=125&type=1) |\n| 用途 | Remove items from livestream |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Remove items from livestream\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/delete_item_list.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"delete_item_list\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`deleteItemList`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.6:references/apis/delete-show-item.md\n\n# delete_show_item\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/delete_show_item.py` |\n| Method / path | POST `api/v2/livestream/delete_show_item` |\n| 官方文档 | [delete_show_item](https://open.shopee.com/documents/v2/v2.livestream.delete_show_item?module=125&type=1) |\n| 用途 | Remove currently shown item |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Remove currently shown item\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/delete_show_item.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"delete_show_item\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`deleteShowItem`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.6:references/apis/end-session.md\n\n# end_session\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/end_session.py` |\n| Method / path | POST `api/v2/livestream/end_session` |\n| 官方文档 | [end_session](https://open.shopee.com/documents/v2/v2.livestream.end_session?module=125&type=1) |\n| 用途 | End livestream session |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：End livestream session\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/end_session.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"end_session\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`endSession`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.6:references/apis/get-item-count.md\n\n# get_item_count\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/get_item_count.py` |\n| Method / path | GET `api/v2/livestream/get_item_count` |\n| 官方文档 | [get_item_count](https://open.shopee.com/documents/v2/v2.livestream.get_item_count?module=125&type=1) |\n| 用途 | Livestream item count |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**GET**\n- GET：业务字段放 JSON **顶层**，runner 拼进 `queryString`（不含 `?`）\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Livestream item count\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/get_item_count.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"get_item_count\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`getItemCount`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.6:references/apis/get-item-list.md\n\n# get_item_list\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/get_item_list.py` |\n| Method / path | GET `api/v2/livestream/get_item_list` |\n| 官方文档 | [get_item_list](https://open.shopee.com/documents/v2/v2.livestream.get_item_list?module=125&type=1) |\n| 用途 | Livestream item list |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**GET**\n- GET：业务字段放 JSON **顶层**，runner 拼进 `queryString`（不含 `?`）\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Livestream item list\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/get_item_list.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"get_item_list\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`getItemList`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nArchive v1.0.5: 61 files, 65403 bytes\n\nFiles: references/api.md (5877b), references/apis/add-item-list.md (1353b), references/apis/apply-item-set.md (1365b), references/apis/ban-user-comment.md (1379b), references/apis/create-session.md (1398b), references/apis/delete-item-list.md (1387b), references/apis/delete-show-item.md (1385b), references/apis/end-session.md (1336b), references/apis/get-item-count.md (1363b), references/apis/get-item-list.md (1353b), references/apis/get-item-set-item-list.md (1417b), references/apis/get-item-set-list.md (1392b), references/apis/get-latest-comment-list.md (1450b), references/apis/get-like-item-list.md (1402b), references/apis/get-recent-item-list.md (1408b), references/apis/get-session-detail.md (1403b), references/apis/get-session-item-metric.md (1438b), references/apis/get-session-metric.md (1405b), references/apis/get-show-item.md (1361b), references/apis/post-comment.md (1352b), references/apis/start-session.md (1356b), references/apis/unban-user-comment.md (1399b), references/apis/update-item-list.md (1385b), references/apis/update-session.md (1366b), references/apis/update-show-item.md (1385b), references/apis/upload-image.md (1346b), references/onboarding.md (2046b), scripts/_livestream_api_runner.py (4316b), scripts/_livestream_endpoints.py (5848b), scripts/_shopee_livestream_common.py (11603b), scripts/add_item_list.py (678b), scripts/apply_item_set.py (684b), scripts/ban_user_comment.py (696b), scripts/check_auth_dependency.py (3989b), scripts/create_session.py (684b), scripts/delete_item_list.py (696b), scripts/delete_show_item.py (696b), scripts/end_session.py (666b), scripts/get_item_count.py (684b), scripts/get_item_list.py (678b), scripts/get_item_set_item_list.py (732b), scripts/get_item_set_list.py (702b), scripts/get_latest_comment_list.py (738b), scripts/get_like_item_list.py (708b), scripts/get_recent_item_list.py (720b), scripts/get_session_detail.py (708b), scripts/get_session_item_metric.py (738b), scripts/get_session_metric.py (708b), scripts/get_show_item.py (678b), scripts/livestream_api.py (1037b), scripts/onboarding.py (24089b), scripts/post_comment.py (672b), scripts/start_session.py (678b), scripts/unban_user_comment.py (708b), scripts/update_item_list.py (696b), scripts/update_session.py (684b), scripts/update_show_item.py (696b), scripts/upload_image.py (672b), skill-card.md (2407b), SKILL.md (8122b), _meta.json (150b)\n\nFile v1.0.5:SKILL.md\n\n---\nname: linkfox-shopee-store-livestream\ndescription: Shopee（虾皮）直播 Livestream（与 linkfox-shopee-store-auth 同系列），经 /shopee/developerProxy 转发 Shopee Open API Livestream 模块全部 25 个接口：create_session、start_session、add_item_list、get_session_detail、get_session_metric、post_comment、upload_image 等。当用户提到 Shopee 直播、Livestream、创建直播场次、直播商品、直播评论、session_id、upload_image 时触发。即使未明确提及\"直播\"，只要涉及已授权 Shopee 店铺的 Livestream 场次/商品/互动管理，也应触发。\n---\n\n# Shopee 直播 Livestream\n\nShopee Open Platform **Livestream 模块**（25 个 API）。**依赖 `linkfox-shopee-store-auth`** 选店；经 **`POST /shopee/developerProxy`** 传入 `shopId`（或 `merchantId`），由服务端解析 token 转发（`path` 须 `api/v2/livestream/...`）。\n\n## 调用方式\n\n- **API 端点**：`POST /shopee/developerProxy`（不同操作通过请求体区分；完整参数/响应/错误码见 `references/api.md`）\n- **Python 脚本**：`python scripts/livestream_api.py '<JSON 参数>' [--inline]`（可用脚本见上文脚本一览）\n- **成本约束**：本工具会消耗积分；失败/空结果不得自动换关键词、翻页或连续试探；需要继续检索时先向用户说明会产生额外消耗。\n\n**输出策略（脚本默认行为）**：\n- **始终**将完整响应写入 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/<skill-name>-<timestamp>.json`（`<cwd>` 为脚本执行时的工作目录，在 Claude Code 里即当前项目目录；`<session>` 取自环境变量 `SESSION_ID`，按用户任务自动聚合；**禁止写入 /tmp**，当前目录不可写则报错）\n- 响应体 ≤ 8 KB：落盘后把完整 JSON 打印到 stdout\n- 响应体 > 8 KB：落盘后 stdout 只输出摘要（顶层字段、常见计数如 `total`/`costToken`、最大列表字段的长度 + 前 3 条样本）\n- 加 `--inline` 强制全量打印到 stdout（同样落盘）\n\n**读数据建议**：先看摘要判断是否足够；需要具体字段时优先用 `jq`或`ConvertFrom-Json` 从保存的 json 文件按需抽取，避免整份 JSON 进入上下文。\n\n## 解决认证和积分问题\n发生以下异常情况时，采用 references/onboarding.md 引导解决问题：\n\n### 异常情况\n- **未配置API Key**：环境变量未配置 `LINKFOX_AGENT_API_KEY`，也未配置 `LINKFOXAGENT_API_KEY`。\n- **响应401或402状态码**\n- **响应提示积分或余额不足**：消息含\"积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值\"，或类似含义的内容。\n\n## 官方参考\n\nLivestream 模块索引：[v2.livestream.upload_image](https://open.shopee.com/documents/v2/v2.livestream.upload_image?module=125&type=1)\n\n---\n\n## Prerequisites\n\n1. 运行 `python scripts/check_auth_dependency.py`；exit code **42** → 先安装 **`linkfox-shopee-store-auth`**。\n2. 店铺短视频 Video → `linkfox-shopee-store-video`；图片上传 Media → `linkfox-shopee-store-media`。\n\n## 可用脚本（25 个 API）\n\n| 脚本 | API | Method |\n|------|-----|--------|\n| `upload_image.py` | upload_image | POST |\n| `create_session.py` | create_session | POST |\n| `update_session.py` | update_session | POST |\n| `start_session.py` | start_session | POST |\n| `end_session.py` | end_session | POST |\n| `get_session_detail.py` | get_session_detail | GET |\n| `add_item_list.py` | add_item_list | POST |\n| `delete_item_list.py` | delete_item_list | POST |\n| `update_item_list.py` | update_item_list | POST |\n| `get_item_count.py` | get_item_count | GET |\n| `get_item_list.py` | get_item_list | GET |\n| `update_show_item.py` | update_show_item | POST |\n| `delete_show_item.py` | delete_show_item | POST |\n| `get_show_item.py` | get_show_item | GET |\n| `get_like_item_list.py` | get_like_item_list | GET |\n| `get_recent_item_list.py` | get_recent_item_list | GET |\n| `get_item_set_list.py` | get_item_set_list | GET |\n| `get_item_set_item_list.py` | get_item_set_item_list | GET |\n| `apply_item_set.py` | apply_item_set | POST |\n| `get_session_metric.py` | get_session_metric | GET |\n| `get_session_item_metric.py` | get_session_item_metric | GET |\n| `get_latest_comment_list.py` | get_latest_comment_list | GET |\n| `post_comment.py` | post_comment | POST |\n| `ban_user_comment.py` | ban_user_comment | POST |\n| `unban_user_comment.py` | unban_user_comment | POST |\n| `livestream_api.py` | 通用入口 | — |\n\n## 接口说明（按 API）\n\n入参与响应细节放在 `references/apis/`，SKILL 只保留索引。\n\n| API | 说明文档 |\n|-----|----------|\n| `add_item_list` | [references/apis/add-item-list.md](./references/apis/add-item-list.md) |\n| `apply_item_set` | [references/apis/apply-item-set.md](./references/apis/apply-item-set.md) |\n| `ban_user_comment` | [references/apis/ban-user-comment.md](./references/apis/ban-user-comment.md) |\n| `create_session` | [references/apis/create-session.md](./references/apis/create-session.md) |\n| `delete_item_list` | [references/apis/delete-item-list.md](./references/apis/delete-item-list.md) |\n| `delete_show_item` | [references/apis/delete-show-item.md](./references/apis/delete-show-item.md) |\n| `end_session` | [references/apis/end-session.md](./references/apis/end-session.md) |\n| `get_item_count` | [references/apis/get-item-count.md](./references/apis/get-item-count.md) |\n| `get_item_list` | [references/apis/get-item-list.md](./references/apis/get-item-list.md) |\n| `get_item_set_item_list` | [references/apis/get-item-set-item-list.md](./references/apis/get-item-set-item-list.md) |\n| `get_item_set_list` | [references/apis/get-item-set-list.md](./references/apis/get-item-set-list.md) |\n| `get_latest_comment_list` | [references/apis/get-latest-comment-list.md](./references/apis/get-latest-comment-list.md) |\n| `get_like_item_list` | [references/apis/get-like-item-list.md](./references/apis/get-like-item-list.md) |\n| `get_recent_item_list` | [references/apis/get-recent-item-list.md](./references/apis/get-recent-item-list.md) |\n| `get_session_detail` | [references/apis/get-session-detail.md](./references/apis/get-session-detail.md) |\n| `get_session_item_metric` | [references/apis/get-session-item-metric.md](./references/apis/get-session-item-metric.md) |\n| `get_session_metric` | [references/apis/get-session-metric.md](./references/apis/get-session-metric.md) |\n| `get_show_item` | [references/apis/get-show-item.md](./references/apis/get-show-item.md) |\n| `post_comment` | [references/apis/post-comment.md](./references/apis/post-comment.md) |\n| `start_session` | [references/apis/start-session.md](./references/apis/start-session.md) |\n| `unban_user_comment` | [references/apis/unban-user-comment.md](./references/apis/unban-user-comment.md) |\n| `update_item_list` | [references/apis/update-item-list.md](./references/apis/update-item-list.md) |\n| `update_session` | [references/apis/update-session.md](./references/apis/update-session.md) |\n| `update_show_item` | [references/apis/update-show-item.md](./references/apis/update-show-item.md) |\n| `upload_image` | [references/apis/upload-image.md](./references/apis/upload-image.md) |\n\n模块总览 / Feedback 见 [references/api.md](./references/api.md)。\n\n## Usage Scenarios\n\n### 1. 创建并开播\n1. `upload_image.py` 上传封面/素材\n2. `create_session.py` 创建场次\n3. `add_item_list.py` 添加商品\n4. `start_session.py` 开始直播\n\n### 2. 直播中管理\n1. `update_show_item.py` 切换展示商品\n2. `get_latest_comment_list.py` / `post_comment.py` 评论互动\n3. `get_session_metric.py` 查看数据\n\n## Not Applicable\n\n- 店铺授权 → `linkfox-shopee-store-auth`\n- 店铺短视频 Video → `linkfox-shopee-store-video`\n- 通用图片/视频上传 Media / MediaSpace → 对应 media skill\n- 商品 listing → `linkfox-shopee-store-product`\n\n## 积分消耗规则\n\n不消耗积分。\n\n**Feedback:** 见 `references/api.md`。\n\n---\n*For more high-quality, professional cross-border e-commerce skills, visit [LinkFox Skills](https://skill.linkfox.com/).*\n\nFile v1.0.5:_meta.json\n\n{\n  \"ownerId\": \"kn7dmc1t4j28hem1twwyav85p182pb1j\",\n  \"slug\": \"linkfox-shopee-store-livestream\",\n  \"version\": \"1.0.5\",\n  \"publishedAt\": 1786719872958\n}\n\nFile v1.0.5:references/api.md\n\n# linkfox-shopee-store-livestream — 参数与字段参考\n\n> 单接口入参/响应说明已拆到 **`apis/`**（按 API 一份）；本文件保留模块总览与 Feedback。\nShopee **Livestream 模块**全部 25 个 API，经 **`POST /shopee/developerProxy`** 转发。\n\n授权见 **`linkfox-shopee-store-auth`**。官方索引：[v2.livestream.upload_image](https://open.shopee.com/documents/v2/v2.livestream.upload_image?module=125&type=1)\n\n## 通用约定\n\n- **path**：须 `api/v2/livestream/...`\n- **标识**：通常传 **`shopId`**\n- **官方文档 URL 规则**：`https://open.shopee.com/documents/v2/v2.livestream.{api}?module=125&type=1`\n\n---\n\n## Livestream 模块总览\n\n| # | API | Method | path | 脚本 | 官方文档 |\n|---|-----|--------|------|------|----------|\n| 1 | add_item_list | POST | `api/v2/livestream/add_item_list` | `add_item_list.py` | [apis/add-item-list.md](./apis/add-item-list.md) |\n| 2 | apply_item_set | POST | `api/v2/livestream/apply_item_set` | `apply_item_set.py` | [apis/apply-item-set.md](./apis/apply-item-set.md) |\n| 3 | ban_user_comment | POST | `api/v2/livestream/ban_user_comment` | `ban_user_comment.py` | [apis/ban-user-comment.md](./apis/ban-user-comment.md) |\n| 4 | create_session | POST | `api/v2/livestream/create_session` | `create_session.py` | [apis/create-session.md](./apis/create-session.md) |\n| 5 | delete_item_list | POST | `api/v2/livestream/delete_item_list` | `delete_item_list.py` | [apis/delete-item-list.md](./apis/delete-item-list.md) |\n| 6 | delete_show_item | POST | `api/v2/livestream/delete_show_item` | `delete_show_item.py` | [apis/delete-show-item.md](./apis/delete-show-item.md) |\n| 7 | end_session | POST | `api/v2/livestream/end_session` | `end_session.py` | [apis/end-session.md](./apis/end-session.md) |\n| 8 | get_item_count | GET | `api/v2/livestream/get_item_count` | `get_item_count.py` | [apis/get-item-count.md](./apis/get-item-count.md) |\n| 9 | get_item_list | GET | `api/v2/livestream/get_item_list` | `get_item_list.py` | [apis/get-item-list.md](./apis/get-item-list.md) |\n| 10 | get_item_set_item_list | GET | `api/v2/livestream/get_item_set_item_list` | `get_item_set_item_list.py` | [apis/get-item-set-item-list.md](./apis/get-item-set-item-list.md) |\n| 11 | get_item_set_list | GET | `api/v2/livestream/get_item_set_list` | `get_item_set_list.py` | [apis/get-item-set-list.md](./apis/get-item-set-list.md) |\n| 12 | get_latest_comment_list | GET | `api/v2/livestream/get_latest_comment_list` | `get_latest_comment_list.py` | [apis/get-latest-comment-list.md](./apis/get-latest-comment-list.md) |\n| 13 | get_like_item_list | GET | `api/v2/livestream/get_like_item_list` | `get_like_item_list.py` | [apis/get-like-item-list.md](./apis/get-like-item-list.md) |\n| 14 | get_recent_item_list | GET | `api/v2/livestream/get_recent_item_list` | `get_recent_item_list.py` | [apis/get-recent-item-list.md](./apis/get-recent-item-list.md) |\n| 15 | get_session_detail | GET | `api/v2/livestream/get_session_detail` | `get_session_detail.py` | [apis/get-session-detail.md](./apis/get-session-detail.md) |\n| 16 | get_session_item_metric | GET | `api/v2/livestream/get_session_item_metric` | `get_session_item_metric.py` | [apis/get-session-item-metric.md](./apis/get-session-item-metric.md) |\n| 17 | get_session_metric | GET | `api/v2/livestream/get_session_metric` | `get_session_metric.py` | [apis/get-session-metric.md](./apis/get-session-metric.md) |\n| 18 | get_show_item | GET | `api/v2/livestream/get_show_item` | `get_show_item.py` | [apis/get-show-item.md](./apis/get-show-item.md) |\n| 19 | post_comment | POST | `api/v2/livestream/post_comment` | `post_comment.py` | [apis/post-comment.md](./apis/post-comment.md) |\n| 20 | start_session | POST | `api/v2/livestream/start_session` | `start_session.py` | [apis/start-session.md](./apis/start-session.md) |\n| 21 | unban_user_comment | POST | `api/v2/livestream/unban_user_comment` | `unban_user_comment.py` | [apis/unban-user-comment.md](./apis/unban-user-comment.md) |\n| 22 | update_item_list | POST | `api/v2/livestream/update_item_list` | `update_item_list.py` | [apis/update-item-list.md](./apis/update-item-list.md) |\n| 23 | update_session | POST | `api/v2/livestream/update_session` | `update_session.py` | [apis/update-session.md](./apis/update-session.md) |\n| 24 | update_show_item | POST | `api/v2/livestream/update_show_item` | `update_show_item.py` | [apis/update-show-item.md](./apis/update-show-item.md) |\n| 25 | upload_image | POST | `api/v2/livestream/upload_image` | `upload_image.py` | [apis/upload-image.md](./apis/upload-image.md) |\n通用入口：`livestream_api.py`（JSON 含 `\"api\": \"<上表 API 名>\"`）。\n\n---\n\n## 常用接口说明\n\n| 分类 | API | 要点 |\n|------|-----|------|\n| 会话 | `create_session` / `start_session` / `end_session` | 创建、开始、结束直播 |\n| 会话 | `get_session_detail` / `get_session_metric` | 场次详情与数据 |\n| 商品 | `add_item_list` / `get_item_list` / `update_show_item` | 直播商品管理 |\n| 商品集 | `get_item_set_list` / `apply_item_set` | 商品集应用 |\n| 互动 | `get_latest_comment_list` / `post_comment` | 评论管理 |\n| 互动 | `ban_user_comment` / `unban_user_comment` | 禁言管理 |\n| 素材 | `upload_image` | 上传直播图片 |\n\n---\n\n## curl 示例\n\n```bash\ncurl -X POST ${LINKFOX_TOOL_GATEWAY}/shopee/developerProxy \\\n  -H \"Authorization: $LINKFOX_AGENT_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"path\": \"api/v2/livestream/get_session_detail\",\n    \"method\": \"GET\",\n    \"accessToken\": \"xxx\",\n    \"shopId\": \"67890\"\n  }'\n```\n\n---\n\n## Feedback API\n\n```bash\ncurl -X POST https://skill-api.linkfox.com/api/v1/public/feedback \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"skillName\":\"linkfox-shopee-store-livestream\",\"sentiment\":\"POSITIVE\",\n       \"category\":\"OTHER\",\"content\":\"直播接口查询正常\"}'\n```\n\nFile v1.0.5:references/apis/add-item-list.md\n\n# add_item_list\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/add_item_list.py` |\n| Method / path | POST `api/v2/livestream/add_item_list` |\n| 官方文档 | [add_item_list](https://open.shopee.com/documents/v2/v2.livestream.add_item_list?module=125&type=1) |\n| 用途 | Add items to livestream |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Add items to livestream\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/add_item_list.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"add_item_list\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`addItemList`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.5:references/apis/apply-item-set.md\n\n# apply_item_set\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/apply_item_set.py` |\n| Method / path | POST `api/v2/livestream/apply_item_set` |\n| 官方文档 | [apply_item_set](https://open.shopee.com/documents/v2/v2.livestream.apply_item_set?module=125&type=1) |\n| 用途 | Apply item set to session |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Apply item set to session\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/apply_item_set.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"apply_item_set\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`applyItemSet`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.5:references/apis/ban-user-comment.md\n\n# ban_user_comment\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/ban_user_comment.py` |\n| Method / path | POST `api/v2/livestream/ban_user_comment` |\n| 官方文档 | [ban_user_comment](https://open.shopee.com/documents/v2/v2.livestream.ban_user_comment?module=125&type=1) |\n| 用途 | Ban user from commenting |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Ban user from commenting\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/ban_user_comment.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"ban_user_comment\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`banUserComment`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.5:references/apis/create-session.md\n\n# create_session\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/create_session.py` |\n| Method / path | POST `api/v2/livestream/create_session` |\n| 官方文档 | [create_session](https://open.shopee.com/documents/v2/v2.livestream.create_session?module=125&type=1) |\n| 用途 | Create livestream session; pass full body |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Create livestream session; pass full body\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/create_session.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"create_session\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`createSession`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.5:references/apis/delete-item-list.md\n\n# delete_item_list\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/delete_item_list.py` |\n| Method / path | POST `api/v2/livestream/delete_item_list` |\n| 官方文档 | [delete_item_list](https://open.shopee.com/documents/v2/v2.livestream.delete_item_list?module=125&type=1) |\n| 用途 | Remove items from livestream |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Remove items from livestream\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/delete_item_list.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"delete_item_list\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`deleteItemList`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.5:references/apis/delete-show-item.md\n\n# delete_show_item\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/delete_show_item.py` |\n| Method / path | POST `api/v2/livestream/delete_show_item` |\n| 官方文档 | [delete_show_item](https://open.shopee.com/documents/v2/v2.livestream.delete_show_item?module=125&type=1) |\n| 用途 | Remove currently shown item |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Remove currently shown item\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/delete_show_item.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"delete_show_item\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`deleteShowItem`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.5:references/apis/end-session.md\n\n# end_session\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/end_session.py` |\n| Method / path | POST `api/v2/livestream/end_session` |\n| 官方文档 | [end_session](https://open.shopee.com/documents/v2/v2.livestream.end_session?module=125&type=1) |\n| 用途 | End livestream session |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：End livestream session\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/end_session.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"end_session\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`endSession`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.5:references/apis/get-item-count.md\n\n# get_item_count\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/get_item_count.py` |\n| Method / path | GET `api/v2/livestream/get_item_count` |\n| 官方文档 | [get_item_count](https://open.shopee.com/documents/v2/v2.livestream.get_item_count?module=125&type=1) |\n| 用途 | Livestream item count |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**GET**\n- GET：业务字段放 JSON **顶层**，runner 拼进 `queryString`（不含 `?`）\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Livestream item count\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/get_item_count.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"get_item_count\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`getItemCount`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.5:references/apis/get-item-list.md\n\n# get_item_list\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/get_item_list.py` |\n| Method / path | GET `api/v2/livestream/get_item_list` |\n| 官方文档 | [get_item_list](https://open.shopee.com/documents/v2/v2.livestream.get_item_list?module=125&type=1) |\n| 用途 | Livestream item list |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**GET**\n- GET：业务字段放 JSON **顶层**，runner 拼进 `queryString`（不含 `?`）\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Livestream item list\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/get_item_list.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"get_item_list\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`getItemList`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nArchive v1.0.4: 61 files, 65438 bytes\n\nFiles: references/api.md (5877b), references/apis/add-item-list.md (1353b), references/apis/apply-item-set.md (1365b), references/apis/ban-user-comment.md (1379b), references/apis/create-session.md (1398b), references/apis/delete-item-list.md (1387b), references/apis/delete-show-item.md (1385b), references/apis/end-session.md (1336b), references/apis/get-item-count.md (1363b), references/apis/get-item-list.md (1353b), references/apis/get-item-set-item-list.md (1417b), references/apis/get-item-set-list.md (1392b), references/apis/get-latest-comment-list.md (1450b), references/apis/get-like-item-list.md (1402b), references/apis/get-recent-item-list.md (1408b), references/apis/get-session-detail.md (1403b), references/apis/get-session-item-metric.md (1438b), references/apis/get-session-metric.md (1405b), references/apis/get-show-item.md (1361b), references/apis/post-comment.md (1352b), references/apis/start-session.md (1356b), references/apis/unban-user-comment.md (1399b), references/apis/update-item-list.md (1385b), references/apis/update-session.md (1366b), references/apis/update-show-item.md (1385b), references/apis/upload-image.md (1346b), references/onboarding.md (2046b), scripts/_livestream_api_runner.py (4316b), scripts/_livestream_endpoints.py (5848b), scripts/_shopee_livestream_common.py (11603b), scripts/add_item_list.py (678b), scripts/apply_item_set.py (684b), scripts/ban_user_comment.py (696b), scripts/check_auth_dependency.py (3989b), scripts/create_session.py (684b), scripts/delete_item_list.py (696b), scripts/delete_show_item.py (696b), scripts/end_session.py (666b), scripts/get_item_count.py (684b), scripts/get_item_list.py (678b), scripts/get_item_set_item_list.py (732b), scripts/get_item_set_list.py (702b), scripts/get_latest_comment_list.py (738b), scripts/get_like_item_list.py (708b), scripts/get_recent_item_list.py (720b), scripts/get_session_detail.py (708b), scripts/get_session_item_metric.py (738b), scripts/get_session_metric.py (708b), scripts/get_show_item.py (678b), scripts/livestream_api.py (1037b), scripts/onboarding.py (24089b), scripts/post_comment.py (672b), scripts/start_session.py (678b), scripts/unban_user_comment.py (708b), scripts/update_item_list.py (696b), scripts/update_session.py (684b), scripts/update_show_item.py (696b), scripts/upload_image.py (672b), skill-card.md (2462b), SKILL.md (8122b), _meta.json (150b)\n\nFile v1.0.4:SKILL.md\n\n---\nname: linkfox-shopee-store-livestream\ndescription: Shopee（虾皮）直播 Livestream（与 linkfox-shopee-store-auth 同系列），经 /shopee/developerProxy 转发 Shopee Open API Livestream 模块全部 25 个接口：create_session、start_session、add_item_list、get_session_detail、get_session_metric、post_comment、upload_image 等。当用户提到 Shopee 直播、Livestream、创建直播场次、直播商品、直播评论、session_id、upload_image 时触发。即使未明确提及\"直播\"，只要涉及已授权 Shopee 店铺的 Livestream 场次/商品/互动管理，也应触发。\n---\n\n# Shopee 直播 Livestream\n\nShopee Open Platform **Livestream 模块**（25 个 API）。**依赖 `linkfox-shopee-store-auth`** 选店；经 **`POST /shopee/developerProxy`** 传入 `shopId`（或 `merchantId`），由服务端解析 token 转发（`path` 须 `api/v2/livestream/...`）。\n\n## 调用方式\n\n- **API 端点**：`POST /shopee/developerProxy`（不同操作通过请求体区分；完整参数/响应/错误码见 `references/api.md`）\n- **Python 脚本**：`python scripts/livestream_api.py '<JSON 参数>' [--inline]`（可用脚本见上文脚本一览）\n- **成本约束**：本工具会消耗积分；失败/空结果不得自动换关键词、翻页或连续试探；需要继续检索时先向用户说明会产生额外消耗。\n\n**输出策略（脚本默认行为）**：\n- **始终**将完整响应写入 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/<skill-name>-<timestamp>.json`（`<cwd>` 为脚本执行时的工作目录，在 Claude Code 里即当前项目目录；`<session>` 取自环境变量 `SESSION_ID`，按用户任务自动聚合；**禁止写入 /tmp**，当前目录不可写则报错）\n- 响应体 ≤ 8 KB：落盘后把完整 JSON 打印到 stdout\n- 响应体 > 8 KB：落盘后 stdout 只输出摘要（顶层字段、常见计数如 `total`/`costToken`、最大列表字段的长度 + 前 3 条样本）\n- 加 `--inline` 强制全量打印到 stdout（同样落盘）\n\n**读数据建议**：先看摘要判断是否足够；需要具体字段时优先用 `jq`或`ConvertFrom-Json` 从保存的 json 文件按需抽取，避免整份 JSON 进入上下文。\n\n## 解决认证和积分问题\n发生以下异常情况时，采用 references/onboarding.md 引导解决问题：\n\n### 异常情况\n- **未配置API Key**：环境变量未配置 `LINKFOX_AGENT_API_KEY`，也未配置 `LINKFOXAGENT_API_KEY`。\n- **响应401或402状态码**\n- **响应提示积分或余额不足**：消息含\"积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值\"，或类似含义的内容。\n\n## 官方参考\n\nLivestream 模块索引：[v2.livestream.upload_image](https://open.shopee.com/documents/v2/v2.livestream.upload_image?module=125&type=1)\n\n---\n\n## Prerequisites\n\n1. 运行 `python scripts/check_auth_dependency.py`；exit code **42** → 先安装 **`linkfox-shopee-store-auth`**。\n2. 店铺短视频 Video → `linkfox-shopee-store-video`；图片上传 Media → `linkfox-shopee-store-media`。\n\n## 可用脚本（25 个 API）\n\n| 脚本 | API | Method |\n|------|-----|--------|\n| `upload_image.py` | upload_image | POST |\n| `create_session.py` | create_session | POST |\n| `update_session.py` | update_session | POST |\n| `start_session.py` | start_session | POST |\n| `end_session.py` | end_session | POST |\n| `get_session_detail.py` | get_session_detail | GET |\n| `add_item_list.py` | add_item_list | POST |\n| `delete_item_list.py` | delete_item_list | POST |\n| `update_item_list.py` | update_item_list | POST |\n| `get_item_count.py` | get_item_count | GET |\n| `get_item_list.py` | get_item_list | GET |\n| `update_show_item.py` | update_show_item | POST |\n| `delete_show_item.py` | delete_show_item | POST |\n| `get_show_item.py` | get_show_item | GET |\n| `get_like_item_list.py` | get_like_item_list | GET |\n| `get_recent_item_list.py` | get_recent_item_list | GET |\n| `get_item_set_list.py` | get_item_set_list | GET |\n| `get_item_set_item_list.py` | get_item_set_item_list | GET |\n| `apply_item_set.py` | apply_item_set | POST |\n| `get_session_metric.py` | get_session_metric | GET |\n| `get_session_item_metric.py` | get_session_item_metric | GET |\n| `get_latest_comment_list.py` | get_latest_comment_list | GET |\n| `post_comment.py` | post_comment | POST |\n| `ban_user_comment.py` | ban_user_comment | POST |\n| `unban_user_comment.py` | unban_user_comment | POST |\n| `livestream_api.py` | 通用入口 | — |\n\n## 接口说明（按 API）\n\n入参与响应细节放在 `references/apis/`，SKILL 只保留索引。\n\n| API | 说明文档 |\n|-----|----------|\n| `add_item_list` | [references/apis/add-item-list.md](./references/apis/add-item-list.md) |\n| `apply_item_set` | [references/apis/apply-item-set.md](./references/apis/apply-item-set.md) |\n| `ban_user_comment` | [references/apis/ban-user-comment.md](./references/apis/ban-user-comment.md) |\n| `create_session` | [references/apis/create-session.md](./references/apis/create-session.md) |\n| `delete_item_list` | [references/apis/delete-item-list.md](./references/apis/delete-item-list.md) |\n| `delete_show_item` | [references/apis/delete-show-item.md](./references/apis/delete-show-item.md) |\n| `end_session` | [references/apis/end-session.md](./references/apis/end-session.md) |\n| `get_item_count` | [references/apis/get-item-count.md](./references/apis/get-item-count.md) |\n| `get_item_list` | [references/apis/get-item-list.md](./references/apis/get-item-list.md) |\n| `get_item_set_item_list` | [references/apis/get-item-set-item-list.md](./references/apis/get-item-set-item-list.md) |\n| `get_item_set_list` | [references/apis/get-item-set-list.md](./references/apis/get-item-set-list.md) |\n| `get_latest_comment_list` | [references/apis/get-latest-comment-list.md](./references/apis/get-latest-comment-list.md) |\n| `get_like_item_list` | [references/apis/get-like-item-list.md](./references/apis/get-like-item-list.md) |\n| `get_recent_item_list` | [references/apis/get-recent-item-list.md](./references/apis/get-recent-item-list.md) |\n| `get_session_detail` | [references/apis/get-session-detail.md](./references/apis/get-session-detail.md) |\n| `get_session_item_metric` | [references/apis/get-session-item-metric.md](./references/apis/get-session-item-metric.md) |\n| `get_session_metric` | [references/apis/get-session-metric.md](./references/apis/get-session-metric.md) |\n| `get_show_item` | [references/apis/get-show-item.md](./references/apis/get-show-item.md) |\n| `post_comment` | [references/apis/post-comment.md](./references/apis/post-comment.md) |\n| `start_session` | [references/apis/start-session.md](./references/apis/start-session.md) |\n| `unban_user_comment` | [references/apis/unban-user-comment.md](./references/apis/unban-user-comment.md) |\n| `update_item_list` | [references/apis/update-item-list.md](./references/apis/update-item-list.md) |\n| `update_session` | [references/apis/update-session.md](./references/apis/update-session.md) |\n| `update_show_item` | [references/apis/update-show-item.md](./references/apis/update-show-item.md) |\n| `upload_image` | [references/apis/upload-image.md](./references/apis/upload-image.md) |\n\n模块总览 / Feedback 见 [references/api.md](./references/api.md)。\n\n## Usage Scenarios\n\n### 1. 创建并开播\n1. `upload_image.py` 上传封面/素材\n2. `create_session.py` 创建场次\n3. `add_item_list.py` 添加商品\n4. `start_session.py` 开始直播\n\n### 2. 直播中管理\n1. `update_show_item.py` 切换展示商品\n2. `get_latest_comment_list.py` / `post_comment.py` 评论互动\n3. `get_session_metric.py` 查看数据\n\n## Not Applicable\n\n- 店铺授权 → `linkfox-shopee-store-auth`\n- 店铺短视频 Video → `linkfox-shopee-store-video`\n- 通用图片/视频上传 Media / MediaSpace → 对应 media skill\n- 商品 listing → `linkfox-shopee-store-product`\n\n## 积分消耗规则\n\n不消耗积分。\n\n**Feedback:** 见 `references/api.md`。\n\n---\n*For more high-quality, professional cross-border e-commerce skills, visit [LinkFox Skills](https://skill.linkfox.com/).*\n\nFile v1.0.4:_meta.json\n\n{\n  \"ownerId\": \"kn7dmc1t4j28hem1twwyav85p182pb1j\",\n  \"slug\": \"linkfox-shopee-store-livestream\",\n  \"version\": \"1.0.4\",\n  \"publishedAt\": 1786100576533\n}\n\nFile v1.0.4:references/api.md\n\n# linkfox-shopee-store-livestream — 参数与字段参考\n\n> 单接口入参/响应说明已拆到 **`apis/`**（按 API 一份）；本文件保留模块总览与 Feedback。\nShopee **Livestream 模块**全部 25 个 API，经 **`POST /shopee/developerProxy`** 转发。\n\n授权见 **`linkfox-shopee-store-auth`**。官方索引：[v2.livestream.upload_image](https://open.shopee.com/documents/v2/v2.livestream.upload_image?module=125&type=1)\n\n## 通用约定\n\n- **path**：须 `api/v2/livestream/...`\n- **标识**：通常传 **`shopId`**\n- **官方文档 URL 规则**：`https://open.shopee.com/documents/v2/v2.livestream.{api}?module=125&type=1`\n\n---\n\n## Livestream 模块总览\n\n| # | API | Method | path | 脚本 | 官方文档 |\n|---|-----|--------|------|------|----------|\n| 1 | add_item_list | POST | `api/v2/livestream/add_item_list` | `add_item_list.py` | [apis/add-item-list.md](./apis/add-item-list.md) |\n| 2 | apply_item_set | POST | `api/v2/livestream/apply_item_set` | `apply_item_set.py` | [apis/apply-item-set.md](./apis/apply-item-set.md) |\n| 3 | ban_user_comment | POST | `api/v2/livestream/ban_user_comment` | `ban_user_comment.py` | [apis/ban-user-comment.md](./apis/ban-user-comment.md) |\n| 4 | create_session | POST | `api/v2/livestream/create_session` | `create_session.py` | [apis/create-session.md](./apis/create-session.md) |\n| 5 | delete_item_list | POST | `api/v2/livestream/delete_item_list` | `delete_item_list.py` | [apis/delete-item-list.md](./apis/delete-item-list.md) |\n| 6 | delete_show_item | POST | `api/v2/livestream/delete_show_item` | `delete_show_item.py` | [apis/delete-show-item.md](./apis/delete-show-item.md) |\n| 7 | end_session | POST | `api/v2/livestream/end_session` | `end_session.py` | [apis/end-session.md](./apis/end-session.md) |\n| 8 | get_item_count | GET | `api/v2/livestream/get_item_count` | `get_item_count.py` | [apis/get-item-count.md](./apis/get-item-count.md) |\n| 9 | get_item_list | GET | `api/v2/livestream/get_item_list` | `get_item_list.py` | [apis/get-item-list.md](./apis/get-item-list.md) |\n| 10 | get_item_set_item_list | GET | `api/v2/livestream/get_item_set_item_list` | `get_item_set_item_list.py` | [apis/get-item-set-item-list.md](./apis/get-item-set-item-list.md) |\n| 11 | get_item_set_list | GET | `api/v2/livestream/get_item_set_list` | `get_item_set_list.py` | [apis/get-item-set-list.md](./apis/get-item-set-list.md) |\n| 12 | get_latest_comment_list | GET | `api/v2/livestream/get_latest_comment_list` | `get_latest_comment_list.py` | [apis/get-latest-comment-list.md](./apis/get-latest-comment-list.md) |\n| 13 | get_like_item_list | GET | `api/v2/livestream/get_like_item_list` | `get_like_item_list.py` | [apis/get-like-item-list.md](./apis/get-like-item-list.md) |\n| 14 | get_recent_item_list | GET | `api/v2/livestream/get_recent_item_list` | `get_recent_item_list.py` | [apis/get-recent-item-list.md](./apis/get-recent-item-list.md) |\n| 15 | get_session_detail | GET | `api/v2/livestream/get_session_detail` | `get_session_detail.py` | [apis/get-session-detail.md](./apis/get-session-detail.md) |\n| 16 | get_session_item_metric | GET | `api/v2/livestream/get_session_item_metric` | `get_session_item_metric.py` | [apis/get-session-item-metric.md](./apis/get-session-item-metric.md) |\n| 17 | get_session_metric | GET | `api/v2/livestream/get_session_metric` | `get_session_metric.py` | [apis/get-session-metric.md](./apis/get-session-metric.md) |\n| 18 | get_show_item | GET | `api/v2/livestream/get_show_item` | `get_show_item.py` | [apis/get-show-item.md](./apis/get-show-item.md) |\n| 19 | post_comment | POST | `api/v2/livestream/post_comment` | `post_comment.py` | [apis/post-comment.md](./apis/post-comment.md) |\n| 20 | start_session | POST | `api/v2/livestream/start_session` | `start_session.py` | [apis/start-session.md](./apis/start-session.md) |\n| 21 | unban_user_comment | POST | `api/v2/livestream/unban_user_comment` | `unban_user_comment.py` | [apis/unban-user-comment.md](./apis/unban-user-comment.md) |\n| 22 | update_item_list | POST | `api/v2/livestream/update_item_list` | `update_item_list.py` | [apis/update-item-list.md](./apis/update-item-list.md) |\n| 23 | update_session | POST | `api/v2/livestream/update_session` | `update_session.py` | [apis/update-session.md](./apis/update-session.md) |\n| 24 | update_show_item | POST | `api/v2/livestream/update_show_item` | `update_show_item.py` | [apis/update-show-item.md](./apis/update-show-item.md) |\n| 25 | upload_image | POST | `api/v2/livestream/upload_image` | `upload_image.py` | [apis/upload-image.md](./apis/upload-image.md) |\n通用入口：`livestream_api.py`（JSON 含 `\"api\": \"<上表 API 名>\"`）。\n\n---\n\n## 常用接口说明\n\n| 分类 | API | 要点 |\n|------|-----|------|\n| 会话 | `create_session` / `start_session` / `end_session` | 创建、开始、结束直播 |\n| 会话 | `get_session_detail` / `get_session_metric` | 场次详情与数据 |\n| 商品 | `add_item_list` / `get_item_list` / `update_show_item` | 直播商品管理 |\n| 商品集 | `get_item_set_list` / `apply_item_set` | 商品集应用 |\n| 互动 | `get_latest_comment_list` / `post_comment` | 评论管理 |\n| 互动 | `ban_user_comment` / `unban_user_comment` | 禁言管理 |\n| 素材 | `upload_image` | 上传直播图片 |\n\n---\n\n## curl 示例\n\n```bash\ncurl -X POST ${LINKFOX_TOOL_GATEWAY}/shopee/developerProxy \\\n  -H \"Authorization: $LINKFOX_AGENT_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"path\": \"api/v2/livestream/get_session_detail\",\n    \"method\": \"GET\",\n    \"accessToken\": \"xxx\",\n    \"shopId\": \"67890\"\n  }'\n```\n\n---\n\n## Feedback API\n\n```bash\ncurl -X POST https://skill-api.linkfox.com/api/v1/public/feedback \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"skillName\":\"linkfox-shopee-store-livestream\",\"sentiment\":\"POSITIVE\",\n       \"category\":\"OTHER\",\"content\":\"直播接口查询正常\"}'\n```\n\nFile v1.0.4:references/apis/add-item-list.md\n\n# add_item_list\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/add_item_list.py` |\n| Method / path | POST `api/v2/livestream/add_item_list` |\n| 官方文档 | [add_item_list](https://open.shopee.com/documents/v2/v2.livestream.add_item_list?module=125&type=1) |\n| 用途 | Add items to livestream |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Add items to livestream\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/add_item_list.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"add_item_list\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`addItemList`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.4:references/apis/apply-item-set.md\n\n# apply_item_set\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/apply_item_set.py` |\n| Method / path | POST `api/v2/livestream/apply_item_set` |\n| 官方文档 | [apply_item_set](https://open.shopee.com/documents/v2/v2.livestream.apply_item_set?module=125&type=1) |\n| 用途 | Apply item set to session |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Apply item set to session\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/apply_item_set.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"apply_item_set\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`applyItemSet`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.4:references/apis/ban-user-comment.md\n\n# ban_user_comment\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/ban_user_comment.py` |\n| Method / path | POST `api/v2/livestream/ban_user_comment` |\n| 官方文档 | [ban_user_comment](https://open.shopee.com/documents/v2/v2.livestream.ban_user_comment?module=125&type=1) |\n| 用途 | Ban user from commenting |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Ban user from commenting\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/ban_user_comment.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"ban_user_comment\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`banUserComment`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.4:references/apis/create-session.md\n\n# create_session\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/create_session.py` |\n| Method / path | POST `api/v2/livestream/create_session` |\n| 官方文档 | [create_session](https://open.shopee.com/documents/v2/v2.livestream.create_session?module=125&type=1) |\n| 用途 | Create livestream session; pass full body |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Create livestream session; pass full body\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/create_session.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"create_session\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`createSession`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.4:references/apis/delete-item-list.md\n\n# delete_item_list\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/delete_item_list.py` |\n| Method / path | POST `api/v2/livestream/delete_item_list` |\n| 官方文档 | [delete_item_list](https://open.shopee.com/documents/v2/v2.livestream.delete_item_list?module=125&type=1) |\n| 用途 | Remove items from livestream |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Remove items from livestream\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/delete_item_list.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"delete_item_list\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`deleteItemList`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.4:references/apis/delete-show-item.md\n\n# delete_show_item\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/delete_show_item.py` |\n| Method / path | POST `api/v2/livestream/delete_show_item` |\n| 官方文档 | [delete_show_item](https://open.shopee.com/documents/v2/v2.livestream.delete_show_item?module=125&type=1) |\n| 用途 | Remove currently shown item |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Remove currently shown item\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/delete_show_item.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"delete_show_item\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`deleteShowItem`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.4:references/apis/end-session.md\n\n# end_session\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/end_session.py` |\n| Method / path | POST `api/v2/livestream/end_session` |\n| 官方文档 | [end_session](https://open.shopee.com/documents/v2/v2.livestream.end_session?module=125&type=1) |\n| 用途 | End livestream session |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：End livestream session\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/end_session.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"end_session\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`endSession`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.4:references/apis/get-item-count.md\n\n# get_item_count\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/get_item_count.py` |\n| Method / path | GET `api/v2/livestream/get_item_count` |\n| 官方文档 | [get_item_count](https://open.shopee.com/documents/v2/v2.livestream.get_item_count?module=125&type=1) |\n| 用途 | Livestream item count |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**GET**\n- GET：业务字段放 JSON **顶层**，runner 拼进 `queryString`（不含 `?`）\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Livestream item count\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/get_item_count.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"get_item_count\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`getItemCount`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.4:references/apis/get-item-list.md\n\n# get_item_list\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/get_item_list.py` |\n| Method / path | GET `api/v2/livestream/get_item_list` |\n| 官方文档 | [get_item_list](https://open.shopee.com/documents/v2/v2.livestream.get_item_list?module=125&type=1) |\n| 用途 | Livestream item list |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**GET**\n- GET：业务字段放 JSON **顶层**，runner 拼进 `queryString`（不含 `?`）\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Livestream item list\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/get_item_list.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"get_item_list\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`getItemList`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nArchive v1.0.3: 34 files, 29358 bytes\n\nFiles: references/api.md (6710b), scripts/_livestream_api_runner.py (4303b), scripts/_livestream_endpoints.py (5848b), scripts/_shopee_livestream_common.py (11417b), scripts/add_item_list.py (721b), scripts/apply_item_set.py (727b), scripts/ban_user_comment.py (739b), scripts/check_auth_dependency.py (3989b), scripts/create_session.py (727b), scripts/delete_item_list.py (739b), scripts/delete_show_item.py (739b), scripts/end_session.py (709b), scripts/get_item_count.py (727b), scripts/get_item_list.py (721b), scripts/get_item_set_item_list.py (775b), scripts/get_item_set_list.py (745b), scripts/get_latest_comment_list.py (781b), scripts/get_like_item_list.py (751b), scripts/get_recent_item_list.py (763b), scripts/get_session_detail.py (751b), scripts/get_session_item_metric.py (781b), scripts/get_session_metric.py (751b), scripts/get_show_item.py (721b), scripts/livestream_api.py (1037b), scripts/post_comment.py (715b), scripts/start_session.py (721b), scripts/unban_user_comment.py (751b), scripts/update_item_list.py (739b), scripts/update_session.py (727b), scripts/update_show_item.py (739b), scripts/upload_image.py (715b), skill-card.md (2096b), SKILL.md (5922b), _meta.json (150b)\n\nFile v1.0.3:SKILL.md\n\n---\nname: linkfox-shopee-store-livestream\ndescription: Shopee（虾皮）直播 Livestream（与 linkfox-shopee-store-auth 同系列），经 /shopee/developerProxy 转发 Shopee Open API Livestream 模块全部 25 个接口：create_session、start_session、add_item_list、get_session_detail、get_session_metric、post_comment、upload_image 等。当用户提到 Shopee 直播、Livestream、创建直播场次、直播商品、直播评论、session_id、upload_image 时触发。即使未明确提及\"直播\"，只要涉及已授权 Shopee 店铺的 Livestream 场次/商品/互动管理，也应触发。\n---\n\n# Shopee 直播 Livestream\n\nShopee Open Platform **Livestream 模块**（25 个 API）。**依赖 `linkfox-shopee-store-auth`**：先取 `accessToken`，再经 **`POST /shopee/developerProxy`** 转发（`path` 须 `api/v2/livestream/...`）。\n\n## 调用方式\n\n- **API 端点**：`POST /shopee/developerProxy`（不同操作通过请求体区分；完整参数/响应/错误码见 `references/api.md`）\n- **Python 脚本**：`python scripts/livestream_api.py '<JSON 参数>' [--inline]`（可用脚本见上文脚本一览）\n- **成本约束**：本工具会消耗积分；失败/空结果不得自动换关键词、翻页或连续试探；需要继续检索时先向用户说明会产生额外消耗。\n\n**输出策略（脚本默认行为）**：\n- **始终**将完整响应写入 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/<skill-name>-<timestamp>.json`（`<cwd>` 为脚本执行时的工作目录，在 Claude Code 里即当前项目目录；`<session>` 取自环境变量 `SESSION_ID`，按用户任务自动聚合；**禁止写入 /tmp**，当前目录不可写则报错）\n- 响应体 ≤ 8 KB：落盘后把完整 JSON 打印到 stdout\n- 响应体 > 8 KB：落盘后 stdout 只输出摘要（顶层字段、常见计数如 `total`/`costToken`、最大列表字段的长度 + 前 3 条样本）\n- 加 `--inline` 强制全量打印到 stdout（同样落盘）\n\n**读数据建议**：先看摘要判断是否足够；需要具体字段时优先用 `jq`或`ConvertFrom-Json` 从保存的 json 文件按需抽取，避免整份 JSON 进入上下文。\n\n## 解决认证和积分问题\n发生以下异常情况时，采用以下措施来处理：\n\n### 异常情况\n- **未配置API Key**：环境变量未配置 `LINKFOX_AGENT_API_KEY`，也未配置 `LINKFOXAGENT_API_KEY`。\n- **响应401或402状态码**\n- **响应提示积分或余额不足**：消息含\"积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值\"，或类似含义的内容。\n\n### 措施\n- 优先采用skill内的 onboarding.md 引导解决问题。\n- 如找不到 onboarding.md 文件，则加载 /linkfox-onboarding 这个skill并根据它的引导来处理。如未安装请先安装：\n    - 下载 https://agent-files.linkfox.com/skills/linkfox-onboarding/release.zip，解压后安装这个skill。如需用户授权才可下载，要询问用户获得授权，你不能自己放弃下载。\n- 兜底措施：仅当前面两个措施经过所有努力都走不通时，才提示用户依据 https://skill.linkfox.com/linkfoxskills/guide.htm 指引获取API Key，或去 https://os.linkfox.com/ 补充积分。\n\n## 官方参考\n\nLivestream 模块索引：[v2.livestream.upload_image](https://open.shopee.com/documents/v2/v2.livestream.upload_image?module=125&type=1)\n\n---\n\n## Prerequisites\n\n1. 运行 `python scripts/check_auth_dependency.py`；exit code **42** → 先安装 **`linkfox-shopee-store-auth`**。\n2. 店铺短视频 Video → `linkfox-shopee-store-video`；图片上传 Media → `linkfox-shopee-store-media`。\n\n## 可用脚本（25 个 API）\n\n| 脚本 | API | Method |\n|------|-----|--------|\n| `upload_image.py` | upload_image | POST |\n| `create_session.py` | create_session | POST |\n| `update_session.py` | update_session | POST |\n| `start_session.py` | start_session | POST |\n| `end_session.py` | end_session | POST |\n| `get_session_detail.py` | get_session_detail | GET |\n| `add_item_list.py` | add_item_list | POST |\n| `delete_item_list.py` | delete_item_list | POST |\n| `update_item_list.py` | update_item_list | POST |\n| `get_item_count.py` | get_item_count | GET |\n| `get_item_list.py` | get_item_list | GET |\n| `update_show_item.py` | update_show_item | POST |\n| `delete_show_item.py` | delete_show_item | POST |\n| `get_show_item.py` | get_show_item | GET |\n| `get_like_item_list.py` | get_like_item_list | GET |\n| `get_recent_item_list.py` | get_recent_item_list | GET |\n| `get_item_set_list.py` | get_item_set_list | GET |\n| `get_item_set_item_list.py` | get_item_set_item_list | GET |\n| `apply_item_set.py` | apply_item_set | POST |\n| `get_session_metric.py` | get_session_metric | GET |\n| `get_session_item_metric.py` | get_session_item_metric | GET |\n| `get_latest_comment_list.py` | get_latest_comment_list | GET |\n| `post_comment.py` | post_comment | POST |\n| `ban_user_comment.py` | ban_user_comment | POST |\n| `unban_user_comment.py` | unban_user_comment | POST |\n| `livestream_api.py` | 通用入口 | — |\n\n## Usage Scenarios\n\n### 1. 创建并开播\n1. `upload_image.py` 上传封面/素材\n2. `create_session.py` 创建场次\n3. `add_item_list.py` 添加商品\n4. `start_session.py` 开始直播\n\n### 2. 直播中管理\n1. `update_show_item.py` 切换展示商品\n2. `get_latest_comment_list.py` / `post_comment.py` 评论互动\n3. `get_session_metric.py` 查看数据\n\n## Not Applicable\n\n- 店铺授权 → `linkfox-shopee-store-auth`\n- 店铺短视频 Video → `linkfox-shopee-store-video`\n- 通用图片/视频上传 Media / MediaSpace → 对应 media skill\n- 商品 listing → `linkfox-shopee-store-product`\n\n## 积分消耗规则\n\n不消耗积分。\n\n**Feedback:** 见 `references/api.md`。\n\n---\n*For more high-quality, professional cross-border e-commerce skills, visit [LinkFox Skills](https://skill.linkfox.com/).*\n\nFile v1.0.3:_meta.json\n\n{\n  \"ownerId\": \"kn7dmc1t4j28hem1twwyav85p182pb1j\",\n  \"slug\": \"linkfox-shopee-store-livestream\",\n  \"version\": \"1.0.3\",\n  \"publishedAt\": 1783945316200\n}\n\nFile v1.0.3:references/api.md\n\n# linkfox-shopee-store-livestream — 参数与字段参考\n\nShopee **Livestream 模块**全部 25 个 API，经 **`POST /shopee/developerProxy`** 转发。\n\n授权见 **`linkfox-shopee-store-auth`**。官方索引：[v2.livestream.upload_image](https://open.shopee.com/documents/v2/v2.livestream.upload_image?module=125&type=1)\n\n## 通用约定\n\n- **path**：须 `api/v2/livestream/...`\n- **标识**：通常传 **`shopId`**\n- **官方文档 URL 规则**：`https://open.shopee.com/documents/v2/v2.livestream.{api}?module=125&type=1`\n\n---\n\n## Livestream 模块总览\n\n| # | API | Method | path | 脚本 | 官方文档 |\n|---|-----|--------|------|------|----------|\n| 1 | add_item_list | POST | `api/v2/livestream/add_item_list` | `add_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.add_item_list?module=125&type=1) |\n| 2 | apply_item_set | POST | `api/v2/livestream/apply_item_set` | `apply_item_set.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.apply_item_set?module=125&type=1) |\n| 3 | ban_user_comment | POST | `api/v2/livestream/ban_user_comment` | `ban_user_comment.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.ban_user_comment?module=125&type=1) |\n| 4 | create_session | POST | `api/v2/livestream/create_session` | `create_session.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.create_session?module=125&type=1) |\n| 5 | delete_item_list | POST | `api/v2/livestream/delete_item_list` | `delete_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.delete_item_list?module=125&type=1) |\n| 6 | delete_show_item | POST | `api/v2/livestream/delete_show_item` | `delete_show_item.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.delete_show_item?module=125&type=1) |\n| 7 | end_session | POST | `api/v2/livestream/end_session` | `end_session.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.end_session?module=125&type=1) |\n| 8 | get_item_count | GET | `api/v2/livestream/get_item_count` | `get_item_count.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_item_count?module=125&type=1) |\n| 9 | get_item_list | GET | `api/v2/livestream/get_item_list` | `get_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_item_list?module=125&type=1) |\n| 10 | get_item_set_item_list | GET | `api/v2/livestream/get_item_set_item_list` | `get_item_set_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_item_set_item_list?module=125&type=1) |\n| 11 | get_item_set_list | GET | `api/v2/livestream/get_item_set_list` | `get_item_set_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_item_set_list?module=125&type=1) |\n| 12 | get_latest_comment_list | GET | `api/v2/livestream/get_latest_comment_list` | `get_latest_comment_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_latest_comment_list?module=125&type=1) |\n| 13 | get_like_item_list | GET | `api/v2/livestream/get_like_item_list` | `get_like_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_like_item_list?module=125&type=1) |\n| 14 | get_recent_item_list | GET | `api/v2/livestream/get_recent_item_list` | `get_recent_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_recent_item_list?module=125&type=1) |\n| 15 | get_session_detail | GET | `api/v2/livestream/get_session_detail` | `get_session_detail.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_session_detail?module=125&type=1) |\n| 16 | get_session_item_metric | GET | `api/v2/livestream/get_session_item_metric` | `get_session_item_metric.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_session_item_metric?module=125&type=1) |\n| 17 | get_session_metric | GET | `api/v2/livestream/get_session_metric` | `get_session_metric.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_session_metric?module=125&type=1) |\n| 18 | get_show_item | GET | `api/v2/livestream/get_show_item` | `get_show_item.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_show_item?module=125&type=1) |\n| 19 | post_comment | POST | `api/v2/livestream/post_comment` | `post_comment.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.post_comment?module=125&type=1) |\n| 20 | start_session | POST | `api/v2/livestream/start_session` | `start_session.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.start_session?module=125&type=1) |\n| 21 | unban_user_comment | POST | `api/v2/livestream/unban_user_comment` | `unban_user_comment.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.unban_user_comment?module=125&type=1) |\n| 22 | update_item_list | POST | `api/v2/livestream/update_item_list` | `update_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.update_item_list?module=125&type=1) |\n| 23 | update_session | POST | `api/v2/livestream/update_session` | `update_session.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.update_session?module=125&type=1) |\n| 24 | update_show_item | POST | `api/v2/livestream/update_show_item` | `update_show_item.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.update_show_item?module=125&type=1) |\n| 25 | upload_image | POST | `api/v2/livestream/upload_image` | `upload_image.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.upload_image?module=125&type=1) |\n通用入口：`livestream_api.py`（JSON 含 `\"api\": \"<上表 API 名>\"`）。\n\n---\n\n## 常用接口说明\n\n| 分类 | API | 要点 |\n|------|-----|------|\n| 会话 | `create_session` / `start_session` / `end_session` | 创建、开始、结束直播 |\n| 会话 | `get_session_detail` / `get_session_metric` | 场次详情与数据 |\n| 商品 | `add_item_list` / `get_item_list` / `update_show_item` | 直播商品管理 |\n| 商品集 | `get_item_set_list` / `apply_item_set` | 商品集应用 |\n| 互动 | `get_latest_comment_list` / `post_comment` | 评论管理 |\n| 互动 | `ban_user_comment` / `unban_user_comment` | 禁言管理 |\n| 素材 | `upload_image` | 上传直播图片 |\n\n---\n\n## curl 示例\n\n```bash\ncurl -X POST ${LINKFOX_TOOL_GATEWAY}/shopee/developerProxy \\\n  -H \"Authorization: $LINKFOX_AGENT_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"path\": \"api/v2/livestream/get_session_detail\",\n    \"method\": \"GET\",\n    \"accessToken\": \"xxx\",\n    \"shopId\": \"67890\"\n  }'\n```\n\n---\n\n## Feedback API\n\n```bash\ncurl -X POST https://skill-api.linkfox.com/api/v1/public/feedback \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"skillName\":\"linkfox-shopee-store-livestream\",\"sentiment\":\"POSITIVE\",\n       \"category\":\"OTHER\",\"content\":\"直播接口查询正常\"}'\n```\n\nFile v1.0.3:skill-card.md\n\n## Description: <br>\nProvides agent-facing scripts and guidance for managing authorized Shopee store livestream sessions, items, comments, images, and metrics through LinkFox's Shopee developer proxy. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[linkfox-ai](https://clawhub.ai/user/linkfox-ai) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal sellers, operators, and developers use this skill to create and manage Shopee livestream sessions, products, comments, moderation actions, media uploads, and metrics for an already authorized store. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Review before execution as proposals could introduce incorrect or misleading guidance into skills. <br>\nMitigation: Review and scan skill before deployment. <br>\n\n## Reference(s): <br>\n- [Skill API reference](references/api.md) <br>\n- [Shopee Open Platform Livestream API](https://open.shopee.com/documents/v2/v2.livestream.upload_image?module=125&type=1) <br>\n- [ClawHub skill page](https://clawhub.ai/linkfox-ai/skills/linkfox-shopee-store-livestream) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [Guidance, Shell commands, API calls, JSON files] <br>\n**Output Format:** [Markdown guidance with shell commands; script output is JSON or a short text summary with full JSON saved to a local file.] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Requires a trusted LinkFox API key and authorized Shopee store tokens. Confirm store-mutating actions before running scripts, and monitor or clean generated response files because they may contain shop, customer-interaction, media, or metric data.] <br>\n\n## Skill Version(s): <br>\n1.0.3 (source: server release evidence) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nArchive v1.0.2: 34 files, 28800 bytes\n\nFiles: references/api.md (6710b), scripts/_livestream_api_runner.py (4303b), scripts/_livestream_endpoints.py (5848b), scripts/_shopee_livestream_common.py (11322b), scripts/add_item_list.py (721b), scripts/apply_item_set.py (727b), scripts/ban_user_comment.py (739b), scripts/check_auth_dependency.py (3989b), scripts/create_session.py (727b), scripts/delete_item_list.py (739b), scripts/delete_show_item.py (739b), scripts/end_session.py (709b), scripts/get_item_count.py (727b), scripts/get_item_list.py (721b), scripts/get_item_set_item_list.py (775b), scripts/get_item_set_list.py (745b), scripts/get_latest_comment_list.py (781b), scripts/get_like_item_list.py (751b), scripts/get_recent_item_list.py (763b), scripts/get_session_detail.py (751b), scripts/get_session_item_metric.py (781b), scripts/get_session_metric.py (751b), scripts/get_show_item.py (721b), scripts/livestream_api.py (1037b), scripts/post_comment.py (715b), scripts/start_session.py (721b), scripts/unban_user_comment.py (751b), scripts/update_item_list.py (739b), scripts/update_session.py (727b), scripts/update_show_item.py (739b), scripts/upload_image.py (715b), skill-card.md (2494b), SKILL.md (4788b), _meta.json (150b)\n\nFile v1.0.2:SKILL.md\n\n---\nname: linkfox-shopee-store-livestream\ndescription: Shopee（虾皮）直播 Livestream（与 linkfox-shopee-store-auth 同系列），经 /shopee/developerProxy 转发 Shopee Open API Livestream 模块全部 25 个接口：create_session、start_session、add_item_list、get_session_detail、get_session_metric、post_comment、upload_image 等。当用户提到 Shopee 直播、Livestream、创建直播场次、直播商品、直播评论、session_id、upload_image 时触发。即使未明确提及\"直播\"，只要涉及已授权 Shopee 店铺的 Livestream 场次/商品/互动管理，也应触发。\n---\n\n# Shopee 直播 Livestream\n\nShopee Open Platform **Livestream 模块**（25 个 API）。**依赖 `linkfox-shopee-store-auth`**：先取 `accessToken`，再经 **`POST /shopee/developerProxy`** 转发（`path` 须 `api/v2/livestream/...`）。\n\n## 调用方式\n\n- **API 端点**：`POST /shopee/developerProxy`（不同操作通过请求体区分；完整参数/响应/错误码见 `references/api.md`）\n- **Python 脚本**：`python scripts/livestream_api.py '<JSON 参数>' [--inline]`（可用脚本见上文脚本一览）\n- **成本约束**：本工具会消耗积分；失败/空结果不得自动换关键词、翻页或连续试探；需要继续检索时先向用户说明会产生额外消耗。\n\n**输出策略（脚本默认行为）**：\n- **始终**将完整响应写入 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/<skill-name>-<timestamp>.json`（`<cwd>` 为脚本执行时的工作目录，在 Claude Code 里即当前项目目录；`<session>` 取自环境变量 `SESSION_ID`，按用户任务自动聚合；**禁止写入 /tmp**，当前目录不可写则报错）\n- 响应体 ≤ 8 KB：落盘后把完整 JSON 打印到 stdout\n- 响应体 > 8 KB：落盘后 stdout 只输出摘要（顶层字段、常见计数如 `total`/`costToken`、最大列表字段的长度 + 前 3 条样本）\n- 加 `--inline` 强制全量打印到 stdout（同样落盘）\n\n**读数据建议**：先看摘要判断是否足够；需要具体字段时优先用 `jq`或`ConvertFrom-Json` 从保存的 json 文件按需抽取，避免整份 JSON 进入上下文。\n\n## 官方参考\n\nLivestream 模块索引：[v2.livestream.upload_image](https://open.shopee.com/documents/v2/v2.livestream.upload_image?module=125&type=1)\n\n---\n\n## Prerequisites\n\n1. 运行 `python scripts/check_auth_dependency.py`；exit code **42** → 先安装 **`linkfox-shopee-store-auth`**。\n2. 店铺短视频 Video → `linkfox-shopee-store-video`；图片上传 Media → `linkfox-shopee-store-media`。\n\n## 可用脚本（25 个 API）\n\n| 脚本 | API | Method |\n|------|-----|--------|\n| `upload_image.py` | upload_image | POST |\n| `create_session.py` | create_session | POST |\n| `update_session.py` | update_session | POST |\n| `start_session.py` | start_session | POST |\n| `end_session.py` | end_session | POST |\n| `get_session_detail.py` | get_session_detail | GET |\n| `add_item_list.py` | add_item_list | POST |\n| `delete_item_list.py` | delete_item_list | POST |\n| `update_item_list.py` | update_item_list | POST |\n| `get_item_count.py` | get_item_count | GET |\n| `get_item_list.py` | get_item_list | GET |\n| `update_show_item.py` | update_show_item | POST |\n| `delete_show_item.py` | delete_show_item | POST |\n| `get_show_item.py` | get_show_item | GET |\n| `get_like_item_list.py` | get_like_item_list | GET |\n| `get_recent_item_list.py` | get_recent_item_list | GET |\n| `get_item_set_list.py` | get_item_set_list | GET |\n| `get_item_set_item_list.py` | get_item_set_item_list | GET |\n| `apply_item_set.py` | apply_item_set | POST |\n| `get_session_metric.py` | get_session_metric | GET |\n| `get_session_item_metric.py` | get_session_item_metric | GET |\n| `get_latest_comment_list.py` | get_latest_comment_list | GET |\n| `post_comment.py` | post_comment | POST |\n| `ban_user_comment.py` | ban_user_comment | POST |\n| `unban_user_comment.py` | unban_user_comment | POST |\n| `livestream_api.py` | 通用入口 | — |\n\n## Usage Scenarios\n\n### 1. 创建并开播\n1. `upload_image.py` 上传封面/素材\n2. `create_session.py` 创建场次\n3. `add_item_list.py` 添加商品\n4. `start_session.py` 开始直播\n\n### 2. 直播中管理\n1. `update_show_item.py` 切换展示商品\n2. `get_latest_comment_list.py` / `post_comment.py` 评论互动\n3. `get_session_metric.py` 查看数据\n\n## Not Applicable\n\n- 店铺授权 → `linkfox-shopee-store-auth`\n- 店铺短视频 Video → `linkfox-shopee-store-video`\n- 通用图片/视频上传 Media / MediaSpace → 对应 media skill\n- 商品 listing → `linkfox-shopee-store-product`\n\n**Feedback:** 见 `references/api.md`。\n\n---\n*For more high-quality, professional cross-border e-commerce skills, visit [LinkFox Skills](https://skill.linkfox.com/).*\n\nFile v1.0.2:_meta.json\n\n{\n  \"ownerId\": \"kn7dmc1t4j28hem1twwyav85p182pb1j\",\n  \"slug\": \"linkfox-shopee-store-livestream\",\n  \"version\": \"1.0.2\",\n  \"publishedAt\": 1783337429938\n}\n\nFile v1.0.2:references/api.md\n\n# linkfox-shopee-store-livestream — 参数与字段参考\n\nShopee **Livestream 模块**全部 25 个 API，经 **`POST /shopee/developerProxy`** 转发。\n\n授权见 **`linkfox-shopee-store-auth`**。官方索引：[v2.livestream.upload_image](https://open.shopee.com/documents/v2/v2.livestream.upload_image?module=125&type=1)\n\n## 通用约定\n\n- **path**：须 `api/v2/livestream/...`\n- **标识**：通常传 **`shopId`**\n- **官方文档 URL 规则**：`https://open.shopee.com/documents/v2/v2.livestream.{api}?module=125&type=1`\n\n---\n\n## Livestream 模块总览\n\n| # | API | Method | path | 脚本 | 官方文档 |\n|---|-----|--------|------|------|----------|\n| 1 | add_item_list | POST | `api/v2/livestream/add_item_list` | `add_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.add_item_list?module=125&type=1) |\n| 2 | apply_item_set | POST | `api/v2/livestream/apply_item_set` | `apply_item_set.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.apply_item_set?module=125&type=1) |\n| 3 | ban_user_comment | POST | `api/v2/livestream/ban_user_comment` | `ban_user_comment.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.ban_user_comment?module=125&type=1) |\n| 4 | create_session | POST | `api/v2/livestream/create_session` | `create_session.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.create_session?module=125&type=1) |\n| 5 | delete_item_list | POST | `api/v2/livestream/delete_item_list` | `delete_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.delete_item_list?module=125&type=1) |\n| 6 | delete_show_item | POST | `api/v2/livestream/delete_show_item` | `delete_show_item.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.delete_show_item?module=125&type=1) |\n| 7 | end_session | POST | `api/v2/livestream/end_session` | `end_session.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.end_session?module=125&type=1) |\n| 8 | get_item_count | GET | `api/v2/livestream/get_item_count` | `get_item_count.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_item_count?module=125&type=1) |\n| 9 | get_item_list | GET | `api/v2/livestream/get_item_list` | `get_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_item_list?module=125&type=1) |\n| 10 | get_item_set_item_list | GET | `api/v2/livestream/get_item_set_item_list` | `get_item_set_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_item_set_item_list?module=125&type=1) |\n| 11 | get_item_set_list | GET | `api/v2/livestream/get_item_set_list` | `get_item_set_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_item_set_list?module=125&type=1) |\n| 12 | get_latest_comment_list | GET | `api/v2/livestream/get_latest_comment_list` | `get_latest_comment_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_latest_comment_list?module=125&type=1) |\n| 13 | get_like_item_list | GET | `api/v2/livestream/get_like_item_list` | `get_like_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_like_item_list?module=125&type=1) |\n| 14 | get_recent_item_list | GET | `api/v2/livestream/get_recent_item_list` | `get_recent_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_recent_item_list?module=125&type=1) |\n| 15 | get_session_detail | GET | `api/v2/livestream/get_session_detail` | `get_session_detail.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_session_detail?module=125&type=1) |\n| 16 | get_session_item_metric | GET | `api/v2/livestream/get_session_item_metric` | `get_session_item_metric.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_session_item_metric?module=125&type=1) |\n| 17 | get_session_metric | GET | `api/v2/livestream/get_session_metric` | `get_session_metric.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_session_metric?module=125&type=1) |\n| 18 | get_show_item | GET | `api/v2/livestream/get_show_item` | `get_show_item.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_show_item?module=125&type=1) |\n| 19 | post_comment | POST | `api/v2/livestream/post_comment` | `post_comment.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.post_comment?module=125&type=1) |\n| 20 | start_session | POST | `api/v2/livestream/start_session` | `start_session.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.start_session?module=125&type=1) |\n| 21 | unban_user_comment | POST | `api/v2/livestream/unban_user_comment` | `unban_user_comment.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.unban_user_comment?module=125&type=1) |\n| 22 | update_item_list | POST | `api/v2/livestream/update_item_list` | `update_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.update_item_list?module=125&type=1) |\n| 23 | update_session | POST | `api/v2/livestream/update_session` | `update_session.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.update_session?module=125&type=1) |\n| 24 | update_show_item | POST | `api/v2/livestream/update_show_item` | `update_show_item.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.update_show_item?module=125&type=1) |\n| 25 | upload_image | POST | `api/v2/livestream/upload_image` | `upload_image.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.upload_image?module=125&type=1) |\n通用入口：`livestream_api.py`（JSON 含 `\"api\": \"<上表 API 名>\"`）。\n\n---\n\n## 常用接口说明\n\n| 分类 | API | 要点 |\n|------|-----|------|\n| 会话 | `create_session` / `start_session` / `end_session` | 创建、开始、结束直播 |\n| 会话 | `get_session_detail` / `get_session_metric` | 场次详情与数据 |\n| 商品 | `add_item_list` / `get_item_list` / `update_show_item` | 直播商品管理 |\n| 商品集 | `get_item_set_list` / `apply_item_set` | 商品集应用 |\n| 互动 | `get_latest_comment_list` / `post_comment` | 评论管理 |\n| 互动 | `ban_user_comment` / `unban_user_comment` | 禁言管理 |\n| 素材 | `upload_image` | 上传直播图片 |\n\n---\n\n## curl 示例\n\n```bash\ncurl -X POST ${LINKFOX_TOOL_GATEWAY}/shopee/developerProxy \\\n  -H \"Authorization: $LINKFOX_AGENT_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"path\": \"api/v2/livestream/get_session_detail\",\n    \"method\": \"GET\",\n    \"accessToken\": \"xxx\",\n    \"shopId\": \"67890\"\n  }'\n```\n\n---\n\n## Feedback API\n\n```bash\ncurl -X POST https://skill-api.linkfox.com/api/v1/public/feedback \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"skillName\":\"linkfox-shopee-store-livestream\",\"sentiment\":\"POSITIVE\",\n       \"category\":\"OTHER\",\"content\":\"直播接口查询正常\"}'\n```\n\nFile v1.0.2:skill-card.md\n\n## Description: <br>\nEnables agents to manage authorized Shopee store livestream sessions, products, comments, images, and metrics through LinkFox's Shopee Livestream gateway scripts. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[linkfox-ai](https://clawhub.ai/user/linkfox-ai) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal sellers, operators, and developers use this skill to operate Shopee livestream sessions for authorized shops, including creating or starting sessions, managing livestream items, responding to comments, moderating users, uploading images, and retrieving metrics. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: The skill can change live Shopee store state through session, item, comment, image, and moderation actions. <br>\nMitigation: Use mutating actions only for authorized shops and confirm exact session, item, and user identifiers before execution. <br>\nRisk: Full API results are saved locally and may include comments, metrics, request bodies, and business identifiers. <br>\nMitigation: Treat saved LinkFox response files as sensitive business data, restrict access, and apply retention or cleanup appropriate to the workspace. <br>\nRisk: The skill depends on the LinkFox gateway having authority to operate Shopee livestream features. <br>\nMitigation: Install and run it only when that gateway authority is acceptable for the shop and task. <br>\n\n\n## Reference(s): <br>\n- [API parameter and field reference](references/api.md) <br>\n- [Shopee Open Platform Livestream documentation](https://open.shopee.com/documents/v2/v2.livestream.upload_image?module=125&type=1) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [Shell commands, API calls, JSON files, Guidance] <br>\n**Output Format:** [JSON responses saved to files with stdout JSON or summaries] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Requires LinkFox API credentials and the linkfox-shopee-store-auth dependency; full API responses are saved under a local linkfox session data directory.] <br>\n\n## Skill Version(s): <br>\n1.0.2 (source: server release metadata) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nArchive v1.0.1: 34 files, 28777 bytes\n\nFiles: references/api.md (6710b), scripts/_livestream_api_runner.py (4303b), scripts/_livestream_endpoints.py (5848b), scripts/_shopee_livestream_common.py (11322b), scripts/add_item_list.py (721b), scripts/apply_item_set.py (727b), scripts/ban_user_comment.py (739b), scripts/check_auth_dependency.py (3989b), scripts/create_session.py (727b), scripts/delete_item_list.py (739b), scripts/delete_show_item.py (739b), scripts/end_session.py (709b), scripts/get_item_count.py (727b), scripts/get_item_list.py (721b), scripts/get_item_set_item_list.py (775b), scripts/get_item_set_list.py (745b), scripts/get_latest_comment_list.py (781b), scripts/get_like_item_list.py (751b), scripts/get_recent_item_list.py (763b), scripts/get_session_detail.py (751b), scripts/get_session_item_metric.py (781b), scripts/get_session_metric.py (751b), scripts/get_show_item.py (721b), scripts/livestream_api.py (1037b), scripts/post_comment.py (715b), scripts/start_session.py (721b), scripts/unban_user_comment.py (751b), scripts/update_item_list.py (739b), scripts/update_session.py (727b), scripts/update_show_item.py (739b), scripts/upload_image.py (715b), skill-card.md (2452b), SKILL.md (4788b), _meta.json (150b)\n\nFile v1.0.1:SKILL.md\n\n---\nname: linkfox-shopee-store-livestream\ndescription: Shopee（虾皮）直播 Livestream（与 linkfox-shopee-store-auth 同系列），经 /shopee/developerProxy 转发 Shopee Open API Livestream 模块全部 25 个接口：create_session、start_session、add_item_list、get_session_detail、get_session_metric、post_comment、upload_image 等。当用户提到 Shopee 直播、Livestream、创建直播场次、直播商品、直播评论、session_id、upload_image 时触发。即使未明确提及\"直播\"，只要涉及已授权 Shopee 店铺的 Livestream 场次/商品/互动管理，也应触发。\n---\n\n# Shopee 直播 Livestream\n\nShopee Open Platform **Livestream 模块**（25 个 API）。**依赖 `linkfox-shopee-store-auth`**：先取 `accessToken`，再经 **`POST /shopee/developerProxy`** 转发（`path` 须 `api/v2/livestream/...`）。\n\n## 调用方式\n\n- **API 端点**：`POST /shopee/developerProxy`（不同操作通过请求体区分；完整参数/响应/错误码见 `references/api.md`）\n- **Python 脚本**：`python scripts/livestream_api.py '<JSON 参数>' [--inline]`（可用脚本见上文脚本一览）\n- **成本约束**：本工具会消耗积分；失败/空结果不得自动换关键词、翻页或连续试探；需要继续检索时先向用户说明会产生额外消耗。\n\n**输出策略（脚本默认行为）**：\n- **始终**将完整响应写入 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/<skill-name>-<timestamp>.json`（`<cwd>` 为脚本执行时的工作目录，在 Claude Code 里即当前项目目录；`<session>` 取自环境变量 `SESSION_ID`，按用户任务自动聚合；**禁止写入 /tmp**，当前目录不可写则报错）\n- 响应体 ≤ 8 KB：落盘后把完整 JSON 打印到 stdout\n- 响应体 > 8 KB：落盘后 stdout 只输出摘要（顶层字段、常见计数如 `total`/`costToken`、最大列表字段的长度 + 前 3 条样本）\n- 加 `--inline` 强制全量打印到 stdout（同样落盘）\n\n**读数据建议**：先看摘要判断是否足够；需要具体字段时优先用 `jq`或`ConvertFrom-Json` 从保存的 json 文件按需抽取，避免整份 JSON 进入上下文。\n\n## 官方参考\n\nLivestream 模块索引：[v2.livestream.upload_image](https://open.shopee.com/documents/v2/v2.livestream.upload_image?module=125&type=1)\n\n---\n\n## Prerequisites\n\n1. 运行 `python scripts/check_auth_dependency.py`；exit code **42** → 先安装 **`linkfox-shopee-store-auth`**。\n2. 店铺短视频 Video → `linkfox-shopee-store-video`；图片上传 Media → `linkfox-shopee-store-media`。\n\n## 可用脚本（25 个 API）\n\n| 脚本 | API | Method |\n|------|-----|--------|\n| `upload_image.py` | upload_image | POST |\n| `create_session.py` | create_session | POST |\n| `update_session.py` | update_session | POST |\n| `start_session.py` | start_session | POST |\n| `end_session.py` | end_session | POST |\n| `get_session_detail.py` | get_session_detail | GET |\n| `add_item_list.py` | add_item_list | POST |\n| `delete_item_list.py` | delete_item_list | POST |\n| `update_item_list.py` | update_item_list | POST |\n| `get_item_count.py` | get_item_count | GET |\n| `get_item_list.py` | get_item_list | GET |\n| `update_show_item.py` | update_show_item | POST |\n| `delete_show_item.py` | delete_show_item | POST |\n| `get_show_item.py` | get_show_item | GET |\n| `get_like_item_list.py` | get_like_item_list | GET |\n| `get_recent_item_list.py` | get_recent_item_list | GET |\n| `get_item_set_list.py` | get_item_set_list | GET |\n| `get_item_set_item_list.py` | get_item_set_item_list | GET |\n| `apply_item_set.py` | apply_item_set | POST |\n| `get_session_metric.py` | get_session_metric | GET |\n| `get_session_item_metric.py` | get_session_item_metric | GET |\n| `get_latest_comment_list.py` | get_latest_comment_list | GET |\n| `post_comment.py` | post_comment | POST |\n| `ban_user_comment.py` | ban_user_comment | POST |\n| `unban_user_comment.py` | unban_user_comment | POST |\n| `livestream_api.py` | 通用入口 | — |\n\n## Usage Scenarios\n\n### 1. 创建并开播\n1. `upload_image.py` 上传封面/素材\n2. `create_session.py` 创建场次\n3. `add_item_list.py` 添加商品\n4. `start_session.py` 开始直播\n\n### 2. 直播中管理\n1. `update_show_item.py` 切换展示商品\n2. `get_latest_comment_list.py` / `post_comment.py` 评论互动\n3. `get_session_metric.py` 查看数据\n\n## Not Applicable\n\n- 店铺授权 → `linkfox-shopee-store-auth`\n- 店铺短视频 Video → `linkfox-shopee-store-video`\n- 通用图片/视频上传 Media / MediaSpace → 对应 media skill\n- 商品 listing → `linkfox-shopee-store-product`\n\n**Feedback:** 见 `references/api.md`。\n\n---\n*For more high-quality, professional cross-border e-commerce skills, visit [LinkFox Skills](https://skill.linkfox.com/).*\n\nFile v1.0.1:_meta.json\n\n{\n  \"ownerId\": \"kn7dmc1t4j28hem1twwyav85p182pb1j\",\n  \"slug\": \"linkfox-shopee-store-livestream\",\n  \"version\": \"1.0.1\",\n  \"publishedAt\": 1783067388860\n}\n\nFile v1.0.1:references/api.md\n\n# linkfox-shopee-store-livestream — 参数与字段参考\n\nShopee **Livestream 模块**全部 25 个 API，经 **`POST /shopee/developerProxy`** 转发。\n\n授权见 **`linkfox-shopee-store-auth`**。官方索引：[v2.livestream.upload_image](https://open.shopee.com/documents/v2/v2.livestream.upload_image?module=125&type=1)\n\n## 通用约定\n\n- **path**：须 `api/v2/livestream/...`\n- **标识**：通常传 **`shopId`**\n- **官方文档 URL 规则**：`https://open.shopee.com/documents/v2/v2.livestream.{api}?module=125&type=1`\n\n---\n\n## Livestream 模块总览\n\n| # | API | Method | path | 脚本 | 官方文档 |\n|---|-----|--------|------|------|----------|\n| 1 | add_item_list | POST | `api/v2/livestream/add_item_list` | `add_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.add_item_list?module=125&type=1) |\n| 2 | apply_item_set | POST | `api/v2/livestream/apply_item_set` | `apply_item_set.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.apply_item_set?module=125&type=1) |\n| 3 | ban_user_comment | POST | `api/v2/livestream/ban_user_comment` | `ban_user_comment.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.ban_user_comment?module=125&type=1) |\n| 4 | create_session | POST | `api/v2/livestream/create_session` | `create_session.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.create_session?module=125&type=1) |\n| 5 | delete_item_list | POST | `api/v2/livestream/delete_item_list` | `delete_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.delete_item_list?module=125&type=1) |\n| 6 | delete_show_item | POST | `api/v2/livestream/delete_show_item` | `delete_show_item.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.delete_show_item?module=125&type=1) |\n| 7 | end_session | POST | `api/v2/livestream/end_session` | `end_session.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.end_session?module=125&type=1) |\n| 8 | get_item_count | GET | `api/v2/livestream/get_item_count` | `get_item_count.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_item_count?module=125&type=1) |\n| 9 | get_item_list | GET | `api/v2/livestream/get_item_list` | `get_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_item_list?module=125&type=1) |\n| 10 | get_item_set_item_list | GET | `api/v2/livestream/get_item_set_item_list` | `get_item_set_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_item_set_item_list?module=125&type=1) |\n| 11 | get_item_set_list | GET | `api/v2/livestream/get_item_set_list` | `get_item_set_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_item_set_list?module=125&type=1) |\n| 12 | get_latest_comment_list | GET | `api/v2/livestream/get_latest_comment_list` | `get_latest_comment_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_latest_comment_list?module=125&type=1) |\n| 13 | get_like_item_list | GET | `api/v2/livestream/get_like_item_list` | `get_like_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_like_item_list?module=125&type=1) |\n| 14 | get_recent_item_list | GET | `api/v2/livestream/get_recent_item_list` | `get_recent_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_recent_item_list?module=125&type=1) |\n| 15 | get_session_detail | GET | `api/v2/livestream/get_session_detail` | `get_session_detail.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_session_detail?module=125&type=1) |\n| 16 | get_session_item_metric | GET | `api/v2/livestream/get_session_item_metric` | `get_session_item_metric.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_session_item_metric?module=125&type=1) |\n| 17 | get_session_metric | GET | `api/v2/livestream/get_session_metric` | `get_session_metric.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_session_metric?module=125&type=1) |\n| 18 | get_show_item | GET | `api/v2/livestream/get_show_item` | `get_show_item.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_show_item?module=125&type=1) |\n| 19 | post_comment | POST | `api/v2/livestream/post_comment` | `post_comment.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.post_comment?module=125&type=1) |\n| 20 | start_session | POST | `api/v2/livestream/start_session` | `start_session.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.start_session?module=125&type=1) |\n| 21 | unban_user_comment | POST | `api/v2/livestream/unban_user_comment` | `unban_user_comment.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.unban_user_comment?module=125&type=1) |\n| 22 | update_item_list | POST | `api/v2/livestream/update_item_list` | `update_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.update_item_list?module=125&type=1) |\n| 23 | update_session | POST | `api/v2/livestream/update_session` | `update_session.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.update_session?module=125&type=1) |\n| 24 | update_show_item | POST | `api/v2/livestream/update_show_item` | `update_show_item.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.update_show_item?module=125&type=1) |\n| 25 | upload_image | POST | `api/v2/livestream/upload_image` | `upload_image.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.upload_image?module=125&type=1) |\n通用入口：`livestream_api.py`（JSON 含 `\"api\": \"<上表 API 名>\"`）。\n\n---\n\n## 常用接口说明\n\n| 分类 | API | 要点 |\n|------|-----|------|\n| 会话 | `create_session` / `start_session` / `end_session` | 创建、开始、结束直播 |\n| 会话 | `get_session_detail` / `get_session_metric` | 场次详情与数据 |\n| 商品 | `add_item_list` / `get_item_list` / `update_show_item` | 直播商品管理 |\n| 商品集 | `get_item_set_list` / `apply_item_set` | 商品集应用 |\n| 互动 | `get_latest_comment_list` / `post_comment` | 评论管理 |\n| 互动 | `ban_user_comment` / `unban_user_comment` | 禁言管理 |\n| 素材 | `upload_image` | 上传直播图片 |\n\n---\n\n## curl 示例\n\n```bash\ncurl -X POST ${LINKFOX_TOOL_GATEWAY}/shopee/developerProxy \\\n  -H \"Authorization: $LINKFOX_AGENT_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"path\": \"api/v2/livestream/get_session_detail\",\n    \"method\": \"GET\",\n    \"accessToken\": \"xxx\",\n    \"shopId\": \"67890\"\n  }'\n```\n\n---\n\n## Feedback API\n\n```bash\ncurl -X POST https://skill-api.linkfox.com/api/v1/public/feedback \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"skillName\":\"linkfox-shopee-store-livestream\",\"sentiment\":\"POSITIVE\",\n       \"category\":\"OTHER\",\"content\":\"直播接口查询正常\"}'\n```\n\nFile v1.0.1:skill-card.md\n\n## Description: <br>\nHelps agents manage authorized Shopee store livestream sessions, products, metrics, comments, and image uploads through the Shopee Livestream API. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[linkfox-ai](https://clawhub.ai/user/linkfox-ai) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal sellers, operators, and developers use this skill to create, start, update, monitor, and moderate Shopee livestream sessions for an already authorized store. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Authenticated Shopee livestream actions can mutate a connected store, including session, product, and comment state. <br>\nMitigation: Install and run the skill only in a controlled workspace for users authorized to manage the connected Shopee store. <br>\nRisk: API responses may contain sensitive store or livestream data and are saved locally by default. <br>\nMitigation: Keep generated linkfox response archives out of source control and delete stored response files when they are no longer needed. <br>\nRisk: Inline output may expose sensitive response data in the agent transcript or logs. <br>\nMitigation: Avoid inline output for sensitive requests and use saved response files with targeted field extraction instead. <br>\n\n\n## Reference(s): <br>\n- [Shopee Livestream API Reference](references/api.md) <br>\n- [ClawHub Skill Page](https://clawhub.ai/linkfox-ai/skills/linkfox-shopee-store-livestream) <br>\n- [Shopee Livestream upload_image API](https://open.shopee.com/documents/v2/v2.livestream.upload_image?module=125&type=1) <br>\n- [LinkFox Skills](https://skill.linkfox.com/) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, shell commands, code, configuration, guidance] <br>\n**Output Format:** [JSON responses, Markdown guidance, and shell command examples] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Full API responses are saved locally; large responses print summaries unless inline output is requested.] <br>\n\n## Skill Version(s): <br>\n1.0.1 (source: server release evidence) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nArchive v1.0.0: 33 files, 27502 bytes\n\nFiles: references/api.md (6711b), scripts/_livestream_api_runner.py (4303b), scripts/_livestream_endpoints.py (5848b), scripts/_shopee_livestream_common.py (11323b), scripts/add_item_list.py (721b), scripts/apply_item_set.py (727b), scripts/ban_user_comment.py (739b), scripts/check_auth_dependency.py (3989b), scripts/create_session.py (727b), scripts/delete_item_list.py (739b), scripts/delete_show_item.py (739b), scripts/end_session.py (709b), scripts/get_item_count.py (727b), scripts/get_item_list.py (721b), scripts/get_item_set_item_list.py (775b), scripts/get_item_set_list.py (745b), scripts/get_latest_comment_list.py (781b), scripts/get_like_item_list.py (751b), scripts/get_recent_item_list.py (763b), scripts/get_session_detail.py (751b), scripts/get_session_item_metric.py (781b), scripts/get_session_metric.py (751b), scripts/get_show_item.py (721b), scripts/livestream_api.py (1037b), scripts/post_comment.py (715b), scripts/start_session.py (721b), scripts/unban_user_comment.py (751b), scripts/update_item_list.py (739b), scripts/update_session.py (727b), scripts/update_show_item.py (739b), scripts/upload_image.py (715b), SKILL.md (4788b), _meta.json (150b)\n\nFile v1.0.0:SKILL.md\n\n---\nname: linkfox-shopee-store-livestream\ndescription: Shopee（虾皮）直播 Livestream（与 linkfox-shopee-store-auth 同系列），经 /shopee/developerProxy 转发 Shopee Open API Livestream 模块全部 25 个接口：create_session、start_session、add_item_list、get_session_detail、get_session_metric、post_comment、upload_image 等。当用户提到 Shopee 直播、Livestream、创建直播场次、直播商品、直播评论、session_id、upload_image 时触发。即使未明确提及\"直播\"，只要涉及已授权 Shopee 店铺的 Livestream 场次/商品/互动管理，也应触发。\n---\n\n# Shopee 直播 Livestream\n\nShopee Open Platform **Livestream 模块**（25 个 API）。**依赖 `linkfox-shopee-store-auth`**：先取 `accessToken`，再经 **`POST /shopee/developerProxy`** 转发（`path` 须 `api/v2/livestream/...`）。\n\n## 调用方式\n\n- **API 端点**：`POST /shopee/developerProxy`（不同操作通过请求体区分；完整参数/响应/错误码见 `references/api.md`）\n- **Python 脚本**：`python scripts/livestream_api.py '<JSON 参数>' [--inline]`（可用脚本见上文脚本一览）\n- **成本约束**：本工具会消耗积分；失败/空结果不得自动换关键词、翻页或连续试探；需要继续检索时先向用户说明会产生额外消耗。\n\n**输出策略（脚本默认行为）**：\n- **始终**将完整响应写入 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/<skill-name>-<timestamp>.json`（`<cwd>` 为脚本执行时的工作目录，在 Claude Code 里即当前项目目录；`<session>` 取自环境变量 `SESSION_ID`，按用户任务自动聚合；**禁止写入 /tmp**，当前目录不可写则报错）\n- 响应体 ≤ 8 KB：落盘后把完整 JSON 打印到 stdout\n- 响应体 > 8 KB：落盘后 stdout 只输出摘要（顶层字段、常见计数如 `total`/`costToken`、最大列表字段的长度 + 前 3 条样本）\n- 加 `--inline` 强制全量打印到 stdout（同样落盘）\n\n**读数据建议**：先看摘要判断是否足够；需要具体字段时优先用 `jq`或`ConvertFrom-Json` 从保存的 json 文件按需抽取，避免整份 JSON 进入上下文。\n\n## 官方参考\n\nLivestream 模块索引：[v2.livestream.upload_image](https://open.shopee.com/documents/v2/v2.livestream.upload_image?module=125&type=1)\n\n---\n\n## Prerequisites\n\n1. 运行 `python scripts/check_auth_dependency.py`；exit code **42** → 先安装 **`linkfox-shopee-store-auth`**。\n2. 店铺短视频 Video → `linkfox-shopee-store-video`；图片上传 Media → `linkfox-shopee-store-media`。\n\n## 可用脚本（25 个 API）\n\n| 脚本 | API | Method |\n|------|-----|--------|\n| `upload_image.py` | upload_image | POST |\n| `create_session.py` | create_session | POST |\n| `update_session.py` | update_session | POST |\n| `start_session.py` | start_session | POST |\n| `end_session.py` | end_session | POST |\n| `get_session_detail.py` | get_session_detail | GET |\n| `add_item_list.py` | add_item_list | POST |\n| `delete_item_list.py` | delete_item_list | POST |\n| `update_item_list.py` | update_item_list | POST |\n| `get_item_count.py` | get_item_count | GET |\n| `get_item_list.py` | get_item_list | GET |\n| `update_show_item.py` | update_show_item | POST |\n| `delete_show_item.py` | delete_show_item | POST |\n| `get_show_item.py` | get_show_item | GET |\n| `get_like_item_list.py` | get_like_item_list | GET |\n| `get_recent_item_list.py` | get_recent_item_list | GET |\n| `get_item_set_list.py` | get_item_set_list | GET |\n| `get_item_set_item_list.py` | get_item_set_item_list | GET |\n| `apply_item_set.py` | apply_item_set | POST |\n| `get_session_metric.py` | get_session_metric | GET |\n| `get_session_item_metric.py` | get_session_item_metric | GET |\n| `get_latest_comment_list.py` | get_latest_comment_list | GET |\n| `post_comment.py` | post_comment | POST |\n| `ban_user_comment.py` | ban_user_comment | POST |\n| `unban_user_comment.py` | unban_user_comment | POST |\n| `livestream_api.py` | 通用入口 | — |\n\n## Usage Scenarios\n\n### 1. 创建并开播\n1. `upload_image.py` 上传封面/素材\n2. `create_session.py` 创建场次\n3. `add_item_list.py` 添加商品\n4. `start_session.py` 开始直播\n\n### 2. 直播中管理\n1. `update_show_item.py` 切换展示商品\n2. `get_latest_comment_list.py` / `post_comment.py` 评论互动\n3. `get_session_metric.py` 查看数据\n\n## Not Applicable\n\n- 店铺授权 → `linkfox-shopee-store-auth`\n- 店铺短视频 Video → `linkfox-shopee-store-video`\n- 通用图片/视频上传 Media / MediaSpace → 对应 media skill\n- 商品 listing → `linkfox-shopee-store-product`\n\n**Feedback:** 见 `references/api.md`。\n\n---\n*For more high-quality, professional cross-border e-commerce skills, visit [LinkFox Skills](https://skill.linkfox.com/).*\n\nFile v1.0.0:_meta.json\n\n{\n  \"ownerId\": \"kn7dmc1t4j28hem1twwyav85p182pb1j\",\n  \"slug\": \"linkfox-shopee-store-livestream\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1783003883209\n}\n\nFile v1.0.0:references/api.md\n\n# linkfox-shopee-store-livestream — 参数与字段参考\n\nShopee **Livestream 模块**全部 25 个 API，经 **`POST /shopee/developerProxy`** 转发。\n\n授权见 **`linkfox-shopee-store-auth`**。官方索引：[v2.livestream.upload_image](https://open.shopee.com/documents/v2/v2.livestream.upload_image?module=125&type=1)\n\n## 通用约定\n\n- **path**：须 `api/v2/livestream/...`\n- **标识**：通常传 **`shopId`**\n- **官方文档 URL 规则**：`https://open.shopee.com/documents/v2/v2.livestream.{api}?module=125&type=1`\n\n---\n\n## Livestream 模块总览\n\n| # | API | Method | path | 脚本 | 官方文档 |\n|---|-----|--------|------|------|----------|\n| 1 | add_item_list | POST | `api/v2/livestream/add_item_list` | `add_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.add_item_list?module=125&type=1) |\n| 2 | apply_item_set | POST | `api/v2/livestream/apply_item_set` | `apply_item_set.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.apply_item_set?module=125&type=1) |\n| 3 | ban_user_comment | POST | `api/v2/livestream/ban_user_comment` | `ban_user_comment.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.ban_user_comment?module=125&type=1) |\n| 4 | create_session | POST | `api/v2/livestream/create_session` | `create_session.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.create_session?module=125&type=1) |\n| 5 | delete_item_list | POST | `api/v2/livestream/delete_item_list` | `delete_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.delete_item_list?module=125&type=1) |\n| 6 | delete_show_item | POST | `api/v2/livestream/delete_show_item` | `delete_show_item.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.delete_show_item?module=125&type=1) |\n| 7 | end_session | POST | `api/v2/livestream/end_session` | `end_session.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.end_session?module=125&type=1) |\n| 8 | get_item_count | GET | `api/v2/livestream/get_item_count` | `get_item_count.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_item_count?module=125&type=1) |\n| 9 | get_item_list | GET | `api/v2/livestream/get_item_list` | `get_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_item_list?module=125&type=1) |\n| 10 | get_item_set_item_list | GET | `api/v2/livestream/get_item_set_item_list` | `get_item_set_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_item_set_item_list?module=125&type=1) |\n| 11 | get_item_set_list | GET | `api/v2/livestream/get_item_set_list` | `get_item_set_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_item_set_list?module=125&type=1) |\n| 12 | get_latest_comment_list | GET | `api/v2/livestream/get_latest_comment_list` | `get_latest_comment_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_latest_comment_list?module=125&type=1) |\n| 13 | get_like_item_list | GET | `api/v2/livestream/get_like_item_list` | `get_like_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_like_item_list?module=125&type=1) |\n| 14 | get_recent_item_list | GET | `api/v2/livestream/get_recent_item_list` | `get_recent_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_recent_item_list?module=125&type=1) |\n| 15 | get_session_detail | GET | `api/v2/livestream/get_session_detail` | `get_session_detail.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_session_detail?module=125&type=1) |\n| 16 | get_session_item_metric | GET | `api/v2/livestream/get_session_item_metric` | `get_session_item_metric.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_session_item_metric?module=125&type=1) |\n| 17 | get_session_metric | GET | `api/v2/livestream/get_session_metric` | `get_session_metric.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_session_metric?module=125&type=1) |\n| 18 | get_show_item | GET | `api/v2/livestream/get_show_item` | `get_show_item.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.get_show_item?module=125&type=1) |\n| 19 | post_comment | POST | `api/v2/livestream/post_comment` | `post_comment.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.post_comment?module=125&type=1) |\n| 20 | start_session | POST | `api/v2/livestream/start_session` | `start_session.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.start_session?module=125&type=1) |\n| 21 | unban_user_comment | POST | `api/v2/livestream/unban_user_comment` | `unban_user_comment.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.unban_user_comment?module=125&type=1) |\n| 22 | update_item_list | POST | `api/v2/livestream/update_item_list` | `update_item_list.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.update_item_list?module=125&type=1) |\n| 23 | update_session | POST | `api/v2/livestream/update_session` | `update_session.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.update_session?module=125&type=1) |\n| 24 | update_show_item | POST | `api/v2/livestream/update_show_item` | `update_show_item.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.update_show_item?module=125&type=1) |\n| 25 | upload_image | POST | `api/v2/livestream/upload_image` | `upload_image.py` | [doc](https://open.shopee.com/documents/v2/v2.livestream.upload_image?module=125&type=1) |\n通用入口：`livestream_api.py`（JSON 含 `\"api\": \"<上表 API 名>\"`）。\n\n---\n\n## 常用接口说明\n\n| 分类 | API | 要点 |\n|------|-----|------|\n| 会话 | `create_session` / `start_session` / `end_session` | 创建、开始、结束直播 |\n| 会话 | `get_session_detail` / `get_session_metric` | 场次详情与数据 |\n| 商品 | `add_item_list` / `get_item_list` / `update_show_item` | 直播商品管理 |\n| 商品集 | `get_item_set_list` / `apply_item_set` | 商品集应用 |\n| 互动 | `get_latest_comment_list` / `post_comment` | 评论管理 |\n| 互动 | `ban_user_comment` / `unban_user_comment` | 禁言管理 |\n| 素材 | `upload_image` | 上传直播图片 |\n\n---\n\n## curl 示例\n\n```bash\ncurl -X POST ${LINKFOX_AGENT_API_URL}/shopee/developerProxy \\\n  -H \"Authorization: $LINKFOX_AGENT_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"path\": \"api/v2/livestream/get_session_detail\",\n    \"method\": \"GET\",\n    \"accessToken\": \"xxx\",\n    \"shopId\": \"67890\"\n  }'\n```\n\n---\n\n## Feedback API\n\n```bash\ncurl -X POST https://skill-api.linkfox.com/api/v1/public/feedback \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"skillName\":\"linkfox-shopee-store-livestream\",\"sentiment\":\"POSITIVE\",\n       \"category\":\"OTHER\",\"content\":\"直播接口查询正常\"}'\n```","readmeExcerpt":"Skill: Shopee-店铺直播 Owner: linkfox-ai Summary: Shopee（虾皮）直播 Livestream（与 linkfox-shopee-store-auth 同系列），经 /shopee/developerProxy 转发 Shopee Open API Livestream 模块全部 25 个接口：create_session、start_session、add_item_list、get_session_detail、get_session_metric、post_comment、upload_image 等。当用户提到 Shopee 直播、Livestream、创建直播场次、直播商品、直播评论、session_id、upload_image 时触发。即使未明确提及\"直播\"，只要涉及已授权 Shopee 店铺的 Livestream 场次/商品/互动管理，也应触发。 Tags: late","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"curl -X POST ${LINKFOX_TOOL_GATEWAY}/shopee/developerProxy \\\n  -H \"Authorization: $LINKFOX_AGENT_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{"},{"language":"bash","snippet":"curl -X POST ${LINKFOX_TOOL_GATEWAY}/shopee/developerProxy \\\n  -H \"Authorization: $LINKFOX_AGENT_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"path\": \"api/v2/livestream/get_session_detail\",\n    \"method\": \"GET\",\n    \"accessToken\": \"xxx\",\n    \"shopId\": \"67890\"\n  }'"},{"language":"bash","snippet":"curl -X POST https://skill-api.linkfox.com/api/v1/public/feedback \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"skillName\":\"linkfox-shopee-store-livestream\",\"sentiment\":\"POSITIVE\","},{"language":"bash","snippet":"curl -X POST https://skill-api.linkfox.com/api/v1/public/feedback \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"skillName\":\"linkfox-shopee-store-livestream\",\"sentiment\":\"POSITIVE\",\n       \"category\":\"OTHER\",\"content\":\"直播接口查询正常\"}'"},{"language":"bash","snippet":"export LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/add_item_list.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"add_item_list\", \"shopId\": \"67890\"}'"},{"language":"bash","snippet":"export LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/apply_item_set.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"apply_item_set\", \"shopId\": \"67890\"}'"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: linkfox-shopee-store-livestream\ndescription: Shopee（虾皮）直播 Livestream（与 linkfox-shopee-store-auth 同系列），经 /shopee/developerProxy 转发 Shopee Open API Livestream 模块全部 25 个接口：create_session、start_session、add_item_list、get_session_detail、get_session_metric、post_comment、upload_image 等。当用户提到 Shopee 直播、Livestream、创建直播场次、直播商品、直播评论、session_id、upload_image 时触发。即使未明确提及\"直播\"，只要涉及已授权 Shopee 店铺的 Livestream 场次/商品/互动管理，也应触发。\n---\n\n# Shopee 直播 Livestream\n\nShopee Open Platform **Livestream 模块**（25 个 API）。**依赖 `linkfox-shopee-store-auth`** 选店；经 **`POST /shopee/developerProxy`** 传入 `shopId`（或 `merchantId`），由服务端解析 token 转发（`path` 须 `api/v2/livestream/...`）。\n\n## 调用方式\n\n- **API 端点**：`POST /shopee/developerProxy`（不同操作通过请求体区分；完整参数/响应/错误码见 `references/api.md`）\n- **Python 脚本**：`python scripts/livestream_api.py '<JSON 参数>' [--inline]`（可用脚本见上文脚本一览）\n- **成本约束**：本工具会消耗算力；失败/空结果不得自动换关键词、翻页或连续试探；需要继续检索时先向用户说明会产生额外消耗。\n\n**输出策略（脚本默认行为）**：\n- **始终**将完整响应写入 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/<skill-name>-<timestamp>.json`（`<cwd>` 为脚本执行时的工作目录，在 Claude Code 里即当前项目目录；`<session>` 取自环境变量 `SESSION_ID`，按用户任务自动聚合；**禁止写入 /tmp**，当前目录不可写则报错）\n- 响应体 ≤ 8 KB：落盘后把完整 JSON 打印到 stdout\n- 响应体 > 8 KB：落盘后 stdout 只输出摘要（顶层字段、常见计数如 `total`/`costToken`、最大列表字段的长度 + 前 3 条样本）\n- 加 `--inline` 强制全量打印到 stdout（同样落盘）\n\n**读数据建议**：先看摘要判断是否足够；需要具体字段时优先用 `jq`或`ConvertFrom-Json` 从保存的 json 文件按需抽取，避免整份 JSON 进入上下文。\n\n## 解决认证和算力问题\n发生以下异常情况时，采用 references/onboarding.md 引导解决问题：\n\n### 异常情况\n- **未配置API Key**：环境变量未配置 `LINKFOX_AGENT_API_KEY`，也未配置 `LINKFOXAGENT_API_KEY`。\n- **响应401或402状态码**\n- **响应提示算力或余额不足**：消息含\"算力余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值\"，或类似含义的内容。\n\n## 官方参考\n\nLivestream 模块索引：[v2.livestream.upload_image](https://open.shopee.com/documents/v2/v2.livestream.upload_image?module=125&type=1)\n\n---\n\n## Prerequisites\n\n1. 运行 `python scripts/check_auth_dependency.py`；exit code **42** → 先安装 **`linkfox-shopee-store-auth`**。\n2. 店铺短视频 Video → `linkfox-shopee-store-video`；图片上传 Media → `linkfox-shopee-store-media`。\n\n## 可用脚本（25 个 API）\n\n| 脚本 | API | Method |\n|------|-----|--------|\n| `upload_image.py` | upload_image | POST |\n| `create_session.py` | create_session | POST |\n| `update_session.py` | update_session | POST |\n| `start_session.py` | start_session | POST |\n| `end_session.py` | end_session | POST |\n| `get_session_detail.py` | get_session_detail | GET |\n| `add_item_list.py` | add_item_list | POST |\n| `delete_item_list.py` | delete_item_list | POST |\n| `update_item_list.py` | update_item_list | POST |\n| `get_item_count.py` | get_item_count | GET |\n| `get_item_list.py` | get_item_list | GET |\n| `update_show_item.py` | update_show_item | POST |\n| `delete_show_item.py` | delete_show_item | POST |\n| `get_show_item.py` | get_show_item | GET |\n| `get_like_item_list.py` | get_like_item_list | GET |\n| `get_recent_item_list.py` | get_recent_item_list | GET |\n| `get_item_set_list.py` | get_item_set_list | GET |\n| `get_item_set_item_list.py` | get_item_set_item_list | GET |\n| `apply_item_set.py` | apply_item_set | PO"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7dmc1t4j28hem1twwyav85p182pb1j\",\n  \"slug\": \"linkfox-shopee-store-livestream\",\n  \"version\": \"1.0.6\",\n  \"publishedAt\": 1789363687152\n}"},{"path":"references/api.md","content":"# linkfox-shopee-store-livestream — 参数与字段参考\n\n> 单接口入参/响应说明已拆到 **`apis/`**（按 API 一份）；本文件保留模块总览与 Feedback。\nShopee **Livestream 模块**全部 25 个 API，经 **`POST /shopee/developerProxy`** 转发。\n\n授权见 **`linkfox-shopee-store-auth`**。官方索引：[v2.livestream.upload_image](https://open.shopee.com/documents/v2/v2.livestream.upload_image?module=125&type=1)\n\n## 通用约定\n\n- **path**：须 `api/v2/livestream/...`\n- **标识**：通常传 **`shopId`**\n- **官方文档 URL 规则**：`https://open.shopee.com/documents/v2/v2.livestream.{api}?module=125&type=1`\n\n---\n\n## Livestream 模块总览\n\n| # | API | Method | path | 脚本 | 官方文档 |\n|---|-----|--------|------|------|----------|\n| 1 | add_item_list | POST | `api/v2/livestream/add_item_list` | `add_item_list.py` | [apis/add-item-list.md](./apis/add-item-list.md) |\n| 2 | apply_item_set | POST | `api/v2/livestream/apply_item_set` | `apply_item_set.py` | [apis/apply-item-set.md](./apis/apply-item-set.md) |\n| 3 | ban_user_comment | POST | `api/v2/livestream/ban_user_comment` | `ban_user_comment.py` | [apis/ban-user-comment.md](./apis/ban-user-comment.md) |\n| 4 | create_session | POST | `api/v2/livestream/create_session` | `create_session.py` | [apis/create-session.md](./apis/create-session.md) |\n| 5 | delete_item_list | POST | `api/v2/livestream/delete_item_list` | `delete_item_list.py` | [apis/delete-item-list.md](./apis/delete-item-list.md) |\n| 6 | delete_show_item | POST | `api/v2/livestream/delete_show_item` | `delete_show_item.py` | [apis/delete-show-item.md](./apis/delete-show-item.md) |\n| 7 | end_session | POST | `api/v2/livestream/end_session` | `end_session.py` | [apis/end-session.md](./apis/end-session.md) |\n| 8 | get_item_count | GET | `api/v2/livestream/get_item_count` | `get_item_count.py` | [apis/get-item-count.md](./apis/get-item-count.md) |\n| 9 | get_item_list | GET | `api/v2/livestream/get_item_list` | `get_item_list.py` | [apis/get-item-list.md](./apis/get-item-list.md) |\n| 10 | get_item_set_item_list | GET | `api/v2/livestream/get_item_set_item_list` | `get_item_set_item_list.py` | [apis/get-item-set-item-list.md](./apis/get-item-set-item-list.md) |\n| 11 | get_item_set_list | GET | `api/v2/livestream/get_item_set_list` | `get_item_set_list.py` | [apis/get-item-set-list.md](./apis/get-item-set-list.md) |\n| 12 | get_latest_comment_list | GET | `api/v2/livestream/get_latest_comment_list` | `get_latest_comment_list.py` | [apis/get-latest-comment-list.md](./apis/get-latest-comment-list.md) |\n| 13 | get_like_item_list | GET | `api/v2/livestream/get_like_item_list` | `get_like_item_list.py` | [apis/get-like-item-list.md](./apis/get-like-item-list.md) |\n| 14 | get_recent_item_list | GET | `api/v2/livestream/get_recent_item_list` | `get_recent_item_list.py` | [apis/get-recent-item-list.md](./apis/get-recent-item-list.md) |\n| 15 | get_session_detail | GET | `api/v2/livestream/get_session_detail` | `get_session_detail.py` | [apis/get-session-detail.md](./apis/get-session-detail.md) |\n| 16 | get_session_item_metric | GET | `api/v2/livestream/get_session_item_metric` "},{"path":"references/apis/add-item-list.md","content":"# add_item_list\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/add_item_list.py` |\n| Method / path | POST `api/v2/livestream/add_item_list` |\n| 官方文档 | [add_item_list](https://open.shopee.com/documents/v2/v2.livestream.add_item_list?module=125&type=1) |\n| 用途 | Add items to livestream |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Add items to livestream\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/add_item_list.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"add_item_list\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`addItemList`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准"},{"path":"references/apis/apply-item-set.md","content":"# apply_item_set\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/apply_item_set.py` |\n| Method / path | POST `api/v2/livestream/apply_item_set` |\n| 官方文档 | [apply_item_set](https://open.shopee.com/documents/v2/v2.livestream.apply_item_set?module=125&type=1) |\n| 用途 | Apply item set to session |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Apply item set to session\n\n---\n\n## 调用示例\n\n```bash\nexport LINKFOXAGENT_API_KEY=\"<your-key>\"\n\npython scripts/apply_item_set.py '{\"shopId\": \"67890\"}'\n\n# 通用入口\npython scripts/livestream_api.py '{\"api\": \"apply_item_set\", \"shopId\": \"67890\"}'\n```\n\n---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`applyItemSet`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准"}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":null,"editorialQuality":{"score":100,"threshold":65,"status":"thin","wordCount":1235,"uniquenessScore":29,"reasons":["uniqueness-below-45"]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-12T01:57:20.616Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-12T01:57:20.616Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-13T08:01:11.636Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}