BF linkfox-tiktok-shop-analytics
TikTok Shop ERP 数据分析(Analytics)业务技能,经 /tiktokShop/developerProxy(appType=erp)转发 Analytics Open API:获取店铺视频表现(Get Video Performances)。依赖 linkfox-tiktok-shop-auth 选店(传 openId;token 后台化,勿手动 refresh)。当用户提到 TikTok 视频表现、店铺视频数据、视频 GMV、Get Video Performances、shop_videos/performance、视频销量/浏览量分析、analytics video 时触发。**不含授权**;**不含达人侧视频发布**(用 linkfox-tiktok-video);商品/店铺绩效等可后续扩展本 skill。
TikTok Shop ERP 数据分析(Analytics)业务技能,经 /tiktokShop/developerProxy(appType=erp)转发 Analytics Open API:获取店铺视频表现(Get Video Performances)。依赖…
As a process F 43/100 · Will not run — References files that are not bundled: references/apis/<api>.md
What is at stake
Medium-severity findings: the skill is probably honest, but read what alarmed the scanner.
Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.
The instructions or scripts send data out: environment variables, keys, file contents, chat history. You may never notice, because the agent performs the upload as "part of the task".
If the upload is not needed for the task, remove it: catalogs flag such skills and delist them. If it is needed, name the destination explicitly, say what leaves the machine, and give the user a switch.
How to improve
- Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
- The text references files that are not there: add them or drop the references.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 3
✓ No critical or high findings
Medium and low: 3
-
medium Exfiltration
net-redirectable-api-keyscripts/_shop_analytics_common.py:17Helper sends the API key to a host configured by an environment variable — the key can be redirected to another serverAPI key + configurable base URL from environment
-
low Secrets in code
secret-high-entropy-tokenreferences/apis/get_authorized_shops.md:83High-entropy token-like string (may be an id, hash or a credential)^^cipher |string |GCP_…Mt3 |An encrypted token used to securely identify a shop in API requests. There is no need for decryption on the receiving end. |
-
low Secrets in code
secret-high-entropy-tokenreferences/apis/get_authorized_shops.md:88High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded){"code":0,"data":{"shops":[{"id":"7000714532876273420","name":"Maomao beauty shop","region":"GB","seller_type":"CROSS_BORDER","cipher":"GCP_…Mt3","code":"CNGB…LU8"}]},"quoted
Files scanned: 13. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
description-no-whendescription does not say WHEN to use the skill (no "use when") - warning
missing-refreference to a missing file: references/apis/<api>.md
Process rating: all ten parameters 43/100
- 0Tools and files. 1 referenced file(s) missing: references/apis/<api>.md
- 0Result and completion. Does not say what the result is
- 0Failures and branches. Linear process with no failure handling
- 0Progress reporting. Says nothing while it works
- 20When it triggers. No condition that starts the skill
- 70Inputs and preconditions. Inputs and preconditions are listed
- 100Steps. 4 steps
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 423 tokens
- 100Running it twice. No mutating operations
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4Description does not say when NOT to use the skill (false activations)
- +3Output format is not stated: the model decides each time
- -41 reference files, but SKILL.md never points to them: the model will not open them
- -33 of 8 scripts are never mentioned in SKILL.md
- +1No license
- +2Single-language instructions
- +3Description length 373: enough signal without eating the budget
- +4Structure: 6 headings
- +3Step-by-step instructions: 4 items
- +4Has examples (2 code blocks)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 59.