linkfox-amazon-ads-sp-insights-report

linkfox-amazon-ads-sp-insights-report is a skill for Claude Code, Codex from linkfox-ai/linkfox-skills. It costs 144 tokens per session (1,959 once invoked), scanned A, original, MIT.

A tool for retrieving two specialised Amazon Ads Sponsored Products reports: audience-segment results and search-term impression share or rank. Amazon Ads is Amazon's advertising platform, and impression share is the portion of eligible ad displays a product received.

In plain words
What is it for?
Use it when someone asks for Sponsored Products audience data or search-term impression-share rankings.
Why use it?
It handles account selection, report creation, waiting, and downloading split CSV files, so the agent does not have to manage those steps manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when someone asks for Sponsored Products audience data or search-term impression-share rankings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/linkfox-ai/linkfox-skills/linkfox-amazon-ads-sp-insights-report
Install

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.

Any agent
npx skills add linkfox-ai/linkfox-skills --skill linkfox-amazon-ads-sp-insights-report
Clone the repo
git clone --depth 1 https://github.com/linkfox-ai/linkfox-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for linkfox-amazon-ads-sp-insights-report

README.md
[![agentmods](https://agentmods.dev/badge/skills/linkfox-ai/linkfox-skills/linkfox-amazon-ads-sp-insights-report/github.svg)](https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-amazon-ads-sp-insights-report)
Your own site
<a href="https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-amazon-ads-sp-insights-report"><img src="https://agentmods.dev/badge/skills/linkfox-ai/linkfox-skills/linkfox-amazon-ads-sp-insights-report/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.

agentmods 80×15 button for linkfox-amazon-ads-sp-insights-report

Your own site · 80×15
<a href="https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-amazon-ads-sp-insights-report"><img src="https://agentmods.dev/badge/skills/linkfox-ai/linkfox-skills/linkfox-amazon-ads-sp-insights-report.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 144 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,959 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 61
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00144 $0.01959
Opus 5 $0.00072 $0.00979
Sonnet 5 $0.00029 $0.00392
Haiku 4.5 $0.00014 $0.00196

Measured 13d ago against content hash 131799652383, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

linkfox-amazon-ads-sp-insights-report 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 13d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/check_auth_dependency.py, scripts/get_sp_audience_report.py, scripts/get_sp_search_impression_share.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/linkfox-amazon-ads-sp-insights-report/SKILL.md · 119 lines

How it starts

The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Amazon Ads SP 洞察报告

统一获取两类 Sponsored Products 专项洞察报告:Audience 和 Search Term Impression Share/Rank。脚本经 /amazonAds/developerProxy 使用后台 Token,自动完成 advertiser account 映射、创建、轮询和 CSV 分片下载。Amazon 异步生成通常需要约 2–10 分钟,偶尔可能更久;等待不代表调用卡死或报告失败。

依赖 linkfox-amazon-ads-auth。入口启动时自动检查;缺失时以 exit 42 和 DEPENDENCY_MISSING 结束。

多账号处理

调用前先用 linkfox-amazon-ads-auth/scripts/authorized_stores.py 按站点解析 profileId

  1. 一个候选:静默使用。
  2. 多个候选:按 accountName 向用户确认,禁止默认取第一个。
  3. 无候选:引导用户完成 Amazon Ads 授权。
  4. 不要求用户直接提供 profileId 数字。

报告路由

用户意图 入口脚本 详细规范
SP 受众、Audience、受众细分表现 get_sp_audience_report.py references/sp-audience-reporting-v1.md
SP 搜索词展示份额、impression share、份额排名 get_sp_search_impression_share.py references/sp-search-impression-share-v1.md

普通搜索词表现(曝光、点击、花费、转化)应使用 linkfox-amazon-ads-report 的 v3 spSearchTerm,不得使用本 Skill。SB、SD、DSP 或泛化市场份额请求也不得触发。

调用方式

  • API 端点POST /amazonAds/developerProxy(脚本内部按顺序调用三个 Ads v1 路径;完整参数、响应和错误码见 references/api.md
  • Audiencepython scripts/get_sp_audience_report.py '<JSON 参数>' [--inline] [--no-cache]
  • Search Impression Sharepython scripts/get_sp_search_impression_share.py '<JSON 参数>' [--inline] [--no-cache]
  • 成本约束:本工具不消耗积分;成功结果按会话和参数缓存 24 小时。失败或空报告不得自动扩大日期、切换账号或连续试探。

输出策略

  • 完整响应始终写入 <cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-amazon-ads-sp-insights-report-<timestamp>.json
  • 报告 CSV 分片写入同一会话的 data/;最终响应不暴露 Amazon 预签名 URL。
  • 响应不超过 8 KB 时打印完整 JSON;更大时打印摘要;--inline 强制完整打印。
  • --no-cache 强制重新获取;同一会话、同一报告类型和同一参数的成功结果默认命中 24 小时缓存。

参数指南

两个入口共同接受:

参数 必填 说明
profileId 正整数;由 Ads Auth Skill 解析
region NA / EU / FE
startDate / endDate 创建时是 YYYY-MM-DD,不得晚于今天
timeUnit DAILY(默认)或 SUMMARY
advertiserAccountId 自动映射失败时使用的 Ads v1 account ID
pollInterval 5–300 秒,默认 60;官方建议每分钟轮询
maxAttempts 1–120,默认 10;配合默认 60 秒间隔形成约 10 分钟客户端等待窗口
reportId 传入后跳过账户映射和创建,仅轮询已有报告

Read the full file on GitHub · 119 lines

Changes

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.

  1. 13d ago First seen · 119 lines · 144 tokens per session scan A 131799652383

Subscribe to this mod's changes

linkfox-amazon-ads-sp-insights-report is a skill published in the GitHub repository linkfox-ai/linkfox-skills (101 stars, last pushed 22d ago), licensed MIT. It adds 144 tokens to every session and 1,959 once invoked, about $0.0007 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-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens