filtalgo/Filtmall-Shopping-Skill
filtmall-shopping
Verified筛电(Filtmall / Filtalgo)官方商品发现与交易 Skill。用户未指定其他平台,并明确要寻找、选择、购买、推荐或比较真实商品时自动调用;包括先描述困扰再明确询问“有什么商品推荐”。用户明确说是筛电/Filtmall 的购物车、支付、订单、物流、退款、售后或客服任务时也调用。平台不明的账户状态短句先澄清平台,不登录、不查询。已进入商品或成分流程后出现严重过敏时只做安全拦截,不搜索或交易;脱离购物场景的医疗陈述不自动调用。用户明确询问单个化妆品成分时可进入只读查询。明确指定其他平台、纯困扰陈述、一般知识或无购物意图的医疗问题不调用。Delegate product discovery and shopping questions to the production Filtalgo hosted agent through Control's public guest and conversation APIs. Use scripts/service.py in one-shot or persistent line-delimited JSON mode; it manages guest identity, waits for terminal state, and returns answers and product cards. Supports follow-up, resumption, cancellation and clearing. Available tools depend on the target Agent; member transactions require separate authorization and an Agent with commerce tools.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 46.6 KB |
| agents/openai.yaml | config | 832 B |
| references/protocol.md | markdown | 18.0 KB |
| references/xiaoyi.md | markdown | 6.4 KB |
| scripts/address_cards.py | script | 10.9 KB |
| scripts/cards.py | script | 30.3 KB |
| scripts/client.py | script | 56.2 KB |
| scripts/commerce_render.py | script | 19.6 KB |
| scripts/commerce_ui.py | script | 2.9 KB |
| scripts/control_agent.py | script | 32.7 KB |
| scripts/customer_service_cards.py | script | 10.5 KB |
| scripts/logistics_cards.py | script | 14.1 KB |
| scripts/phone_privacy.py | script | 1017 B |
| scripts/region_lookup.py | script | 10.9 KB |
| scripts/service.py | script | 24.8 KB |
| scripts/update_check.py | script | 13.0 KB |
scripts/commerce_ui.py
View on GitHub"""Shared presentation primitives for product, cart and shipping address cards."""
import html
FONT = 'var(--font-sans,system-ui,-apple-system,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif)'
LIGHT = {'fg':'#111', 'muted':'#6b6b66', 'line':'rgba(0,0,0,.14)',
'surface':'#fff', 'surface2':'#f6f6f3', 'accent':'#A32D2D', 'accent-bg':'#FCEBEB'}
DARK = {'fg':'#ECEBE6', 'muted':'#A9A79F', 'line':'rgba(255,255,255,.16)',
'surface':'#1E1E1C', 'surface2':'#2A2A27', 'accent':'#F09595', 'accent-bg':'#501313'}
HOST = {'fg':'color-text-primary', 'muted':'color-text-secondary', 'line':'color-border-tertiary',
'surface':'color-background-primary', 'surface2':'color-background-secondary'}
def theme_vars(theme='auto', prefix='fm', accent='accent'):
values = {}
for name, light in LIGHT.items():
token = name.replace('accent', accent)
if theme == 'dark': value = DARK[name]
else:
fallback = 'var(--%s-%s-auto,%s)' % (prefix, token, light) if theme == 'auto' else light
value = 'var(--%s,%s)' % (HOST[name], fallback) if name in HOST else fallback
values['--%s-%s' % (prefix, token)] = value
return values
def dark_rule(selector, prefix='fm', accent='accent'):
tokens = ';'.join('--%s-%s-auto:%s' % (prefix, name.replace('accent', accent), value)
for name, value in DARK.items())
return '@media (prefers-color-scheme:dark){%s{%s}}' % (selector, tokens)
def theme_css(selector, prefix='fm', accent='accent'):
tokens = ';'.join('%s:%s' % item for item in theme_vars('auto', prefix, accent).items())
return ('%s{%s;--commerce-card-radius:var(--border-radius-lg,12px);font-family:%s;color:var(--%s-fg)}'
% (selector, tokens, FONT, prefix)) + dark_rule(selector, prefix, accent)
def card_style(prefix='fm'):
return ('padding:12px;border-radius:var(--commerce-card-radius,var(--border-radius-lg,12px));'
'border:.5px solid var(--%s-line);background:var(--%s-surface)' % (prefix, prefix))
def card_rule(selector, prefix='fm'):
return '%s{%s}' % (selector, card_style(prefix))
def html_page(fragment, title):
return ('<!doctype html>\n<html lang="zh-CN"><head><meta charset="utf-8">'
'<meta name="viewport" content="width=device-width, initial-scale=1">'
'<meta name="color-scheme" content="light dark"><title>%s</title>'
'<style>body{margin:0;background:var(--color-background-secondary,#f6f6f3);'
'font-family:%s}.commerce-page{max-width:760px;margin:0 auto;padding:28px 20px;min-width:0}'
'@media(max-width:480px){.commerce-page{padding:18px 12px}}'
'@media(prefers-color-scheme:dark){body{background:var(--color-background-secondary,#171715)}}'
'</style></head><body><main class="commerce-page">%s</main></body></html>\n'
% (html.escape(title), FONT, fragment))
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |