Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add linkfox-ai/linkfox-skills --skill linkfox-shopee-store-paymentgit clone --depth 1 https://github.com/linkfox-ai/linkfox-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-shopee-store-payment)<a href="https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-shopee-store-payment"><img src="https://agentmods.dev/badge/skills/linkfox-ai/linkfox-skills/linkfox-shopee-store-payment/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-shopee-store-payment"><img src="https://agentmods.dev/badge/skills/linkfox-ai/linkfox-skills/linkfox-shopee-store-payment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00160 | $0.02219 |
| Opus 5 | $0.00080 | $0.01110 |
| Sonnet 5 | $0.00032 | $0.00444 |
| Haiku 4.5 | $0.00016 | $0.00222 |
Grade A, and why
linkfox-shopee-store-payment scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Shopee 店铺 Payment
Shopee Open Platform Payment 模块(18 个 API)。依赖 linkfox-shopee-store-auth 选店;经 POST /shopee/developerProxy 传入 shopId(或 merchantId),由服务端解析 token 转发(path 须 api/v2/payment/...)。
调用方式
- API 端点:
POST /shopee/developerProxy(不同操作通过请求体区分;完整参数/响应/错误码见references/api.md) - Python 脚本:
python scripts/<脚本名>.py '<JSON 参数>' [--inline](可用脚本见上文脚本一览) - 成本约束:本工具会消耗积分;失败/空结果不得自动换关键词、翻页或连续试探;需要继续检索时先向用户说明会产生额外消耗。
输出策略(脚本默认行为):
- 始终将完整响应写入
<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/<skill-name>-<timestamp>.json(<cwd>为脚本执行时的工作目录,在 Claude Code 里即当前项目目录;<session>取自环境变量SESSION_ID,按用户任务自动聚合;禁止写入 /tmp,当前目录不可写则报错) - 响应体 ≤ 8 KB:落盘后把完整 JSON 打印到 stdout
- 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数如
total/costToken、最大列表字段的长度 + 前 3 条样本) - 加
--inline强制全量打印到 stdout(同样落盘)
读数据建议:先看摘要判断是否足够;需要具体字段时优先用 jq或ConvertFrom-Json 从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。
解决认证和积分问题
发生以下异常情况时,采用 references/onboarding.md 引导解决问题:
异常情况
- 未配置API Key:环境变量未配置
LINKFOX_AGENT_API_KEY,也未配置LINKFOXAGENT_API_KEY。 - 响应401或402状态码
- 响应提示积分或余额不足:消息含"积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值",或类似含义的内容。
官方参考
Payment 模块索引:v2.payment.get_escrow_detail
Prerequisites(必须先读)
- 运行
python scripts/check_auth_dependency.py;exit code 42 → 先安装linkfox-shopee-store-auth并授权店铺。 - 不要在本 skill 内实现授权/令牌逻辑。
Core Concepts
- 转发链路:
developerProxy(shopId/merchantId选店,服务端注入 token)→ 紫鸟shopee-proxy→ Shopee API - Escrow:订单托管/结算明细 →
get_escrow_detail(需order_sn) - Payout:打款 →
get_payout_detail、get_payout_info - 钱包:
get_wallet_transaction_list - 收入报表:
generate_income_*异步生成 →get_income_*获取结果 - 订单查询 →
linkfox-shopee-store-orders;本 skill 负责资金/结算
可用脚本(Payment 模块 18 个 API)
| 分组 | 脚本 |
|---|---|
| 托管/结算 | get_escrow_detail.py、get_escrow_list.py、get_escrow_detail_batch.py |
| 打款/钱包 | get_payout_detail.py、get_payout_info.py、get_wallet_transaction_list.py、get_billing_transaction_info.py |
| 分期 | get_shop_installment_status.py、set_shop_installment_status.py、get_item_installment_status.py、set_item_installment_status.py |
| 收入报表 | generate_income_statement.py、get_income_statement.py、generate_income_report.py、get_income_report.py、get_income_overview.py、get_income_detail.py |
| 其他 | get_payment_method_list.py |
| 通用入口 | payment_api.py(JSON 含 api 字段) |
What ships with it
44 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/api.md 6.9 KB
- references/apis/generate-income-report.md 1.4 KB
- references/apis/generate-income-statement.md 1.4 KB
- references/apis/get-billing-transaction-info.md 1.4 KB
- references/apis/get-escrow-detail-batch.md 1.4 KB
- references/apis/get-escrow-detail.md 1.5 KB
- references/apis/get-escrow-list.md 1.3 KB
- references/apis/get-income-detail.md 1.3 KB
- references/apis/get-income-overview.md 1.4 KB
- references/apis/get-income-report.md 1.4 KB
- references/apis/get-income-statement.md 1.4 KB
- references/apis/get-item-installment-status.md 1.4 KB
- references/apis/get-payment-method-list.md 1.4 KB
- references/apis/get-payout-detail.md 1.4 KB
- references/apis/get-payout-info.md 1.3 KB
- references/apis/get-shop-installment-status.md 1.4 KB
- references/apis/get-wallet-transaction-list.md 1.5 KB
- references/apis/set-item-installment-status.md 1.4 KB
- references/apis/set-shop-installment-status.md 1.5 KB
- references/onboarding.md 2.0 KB
- scripts/_payment_api_runner.py 4.2 KB runs code
- scripts/_payment_endpoints.py 4.7 KB runs code
- scripts/_shopee_payment_common.py 12 KB runs code
- scripts/check_auth_dependency.py 3.9 KB runs code
- scripts/generate_income_report.py 719 B runs code
- scripts/generate_income_statement.py 737 B runs code
- scripts/get_billing_transaction_info.py 755 B runs code
- scripts/get_escrow_detail_batch.py 725 B runs code
- scripts/get_escrow_detail.py 689 B runs code
- scripts/get_escrow_list.py 677 B runs code
- scripts/get_income_detail.py 689 B runs code
- scripts/get_income_overview.py 701 B runs code
- scripts/get_income_report.py 689 B runs code
- scripts/get_income_statement.py 707 B runs code
- scripts/get_item_installment_status.py 749 B runs code
- scripts/get_payment_method_list.py 725 B runs code
- scripts/get_payout_detail.py 689 B runs code
- scripts/get_payout_info.py 677 B runs code
- scripts/get_shop_installment_status.py 749 B runs code
- scripts/get_wallet_transaction_list.py 749 B runs code
- scripts/onboarding.py 24 KB runs code
- scripts/payment_api.py 1.0 KB runs code
- scripts/set_item_installment_status.py 749 B runs code
- scripts/set_shop_installment_status.py 749 B runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 138 lines · 160 tokens per session scan A e227d1469bd7
linkfox-shopee-store-payment is a skill published in the GitHub repository linkfox-ai/linkfox-skills (101 stars, last pushed 22d ago), licensed MIT. It adds 160 tokens to every session and 2,219 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
asc-ppp-pricing
Set territory-specific pricing for subscriptions and in-app purchases using current asc setup, pricing summary, price import, and price schedule commands. Use when adjusting prices by country or implementing localized PPP strategies.
stripe
Stripe API integration with managed OAuth. Manage customers, subscriptions, invoices, products, prices, and payments. Use this skill when users want to process payments, manage billing, or handle subscriptions with Stripe. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).…
etsy-pricing-strategy
Etsy pricing — cost calculation, competitor pricing, perceived value, shipping cost integration, sales and coupons.
amazon-wholesale-sourcing
Wholesale product sourcing — supplier discovery, negotiation, MOQ optimization, margin analysis.
ai-slop
Operational rubric that turns "don't make AI slop" into observable properties, severity levels, evidence requirements, and repair actions for interface design. Use as the reference rubric when building or reviewing marketing sites, product interfaces, dashboards, portfolios, or e-commerce pages, especially alongside…
payment-processor
Skill "payment-processor" from Signal-Execution-Labs/forex-trading-ai-agent, covering payment processor skill, supported services, capabilities, view balances and get all balances.