agentleFS
weininghuiweininghui/skills/admapix/SKILL.md

admapix

Skill1 starsChanged 12 days agoMITView on GitHub

AdMapix raw data layer for ad creatives, apps, rankings, downloads/revenue, and market metadata. Returns structured JSON from the AdMapix API; the calling agent composes and analyzes. Use for 搜广告, 找素材, 广告素材, 竞品分析, 排行榜, 下载量, 收入, 市场分析, App数据, ad creative, search ads, app intelligence, rankings, downloads, revenue, market data.

  • Reads credentials
  • Sends data out

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use ADMAPIX_API_KEY as the X-API-Key header.

    line 16
  2. Distinctive:

    Before any API call, verify the key is configured (without printing its value):

    line 31
  3. Distinctive:

    If the key is missing (and no MCP tool is available), do not call the API.

    line 39
  4. Distinctive:

    If the host provides a secure secret/config command, point the user to that instead.

    line 61
  5. Very specific:

    Read references/param-mappings.md to translate natural language into codes:

    line 136
  6. Distinctive:

    Do not: generate H5 / landing / card / dashboard pages, hide records behind links, run hosted "deep research" or autonomous multi-step …

    line 151

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

迁移说明:本技能原为 OpenClaw / ClawHub 生态技能,现已转为 WorkBuddy 技能规范。正文如出现 openclaw / clawhub / claw 命令或 ~/.openclaw 路径,请忽略该命令形式,改用 WorkBuddy 等价操作:技能目录 = ~/.workbuddy/skills/<name>/;装包用 pip / npm;联网用 WebSearch / WebFetch;读写文件用 Read / Write / Edit;执行命令用 Bash(Windows 走 PowerShell 工具)。

AdMapix Data Layer

A thin client over the AdMapix read API. It fetches raw structured data and returns it as JSON. It does not analyze, summarize, rank, generate pages, or run autonomous research — the calling agent (e.g. Claude Code, Codex) decides which endpoints to call, composes multi-call workflows from the metadata, and does any analysis itself.

Out of scope (never done inside this skill): HTML/H5 page generation, hosted "deep research", autonomous multi-step research, summaries, insights, recommendations, dashboards, message-send.

Auth

Use ADMAPIX_API_KEY as the X-API-Key header. Never print or expose the key.

admapix_auth_header="X-API-Key: ${ADMAPIX_API_KEY}"
# GET
curl -s "https://api.admapix.com/api/data/{endpoint}?{params}" -H "$admapix_auth_header"
# POST
curl -s -X POST "https://api.admapix.com/api/data/{endpoint}" \
  -H "$admapix_auth_header" -H "Content-Type: application/json" -d '{...}'

For creative search, prefer the admapix.search_creatives MCP tool when available; otherwise call POST /api/data/search directly.

Step 1 — Check the key

Before any API call, verify the key is configured (without printing its value):

[ -n "${ADMAPIX_API_KEY:-}" ] && echo ok || echo missing

Step 2 — If missing, show the setup guide

If the key is missing (and no MCP tool is available), do not call the API. Show the user how to get and configure a key — in their language — then ask them to retry. Detect language from the user's message.

中文用户:

🔑 需要先配置 AdMapix API Key 才能使用:

  1. 打开 https://www.admapix.com 注册账号
  2. 登录后在控制台找到 API Keys,创建一个 Key
  3. 选择一种方式配置:
    • OpenClaw / ClawHub:在终端运行 openclaw config set skills.entries.admapix.apiKey "你的_API_KEY"
    • 通用环境变量:在终端运行 export ADMAPIX_API_KEY="你的_API_KEY"
  4. 配置完成后重新发起查询 ✅

English users:

🔑 You need an AdMapix API Key to get started:

  1. Sign up at https://www.admapix.com
  2. After signing in, open API Keys in your dashboard and create one
  3. Configure it one of these ways:
    • OpenClaw / ClawHub: run openclaw config set skills.entries.admapix.apiKey "YOUR_API_KEY" in your terminal
    • Generic env var: run export ADMAPIX_API_KEY="YOUR_API_KEY" in your terminal
  4. Re-run your query after setup ✅

If the host provides a secure secret/config command, point the user to that instead. Never accept, echo, or store the key from chat — keep it out of responses, logs, and links. For programmatic callers, also return the missing_api_key error (see Error Handling).

Endpoint Catalog

Each endpoint is a raw data source. Read the listed reference file before using an endpoint you have not called yet — it carries the exact params and response fields. Compose multiple calls as needed; the skill itself stays single-call-per-request and returns raw JSON.

Creatives / ads — references/api-creative.md

EndpointMethodPurpose
/api/data/searchPOSTSearch ad creatives
/api/data/countPOSTCount creatives for a query
/api/data/count-allPOSTCounts broken down by dimension
/api/data/distributePOSTCreative distribution breakdown
/api/data/distribute-dimsGETAvailable distribute dimensions
/api/data/content-detailGETSingle creative detail (`related=imagevideotrend`)
/api/data/item-appsPOSTApps associated with a creative
/api/data/screen-typesGETScreen / element type codes
/api/data/page-configGETSearch page config

Metadata / filters — references/api-creative.md + references/param-mappings.md

EndpointMethodPurpose
/api/data/filter-optionsGETAll filter metadata: countries, mediaChannels, adTypes, device, tradeLevel(Tree), productModel, etc. Pull this to discover valid codes for any filter.

Apps / products / companies — references/api-product.md

EndpointMethodPurpose
/api/data/unified-product-searchPOSTUnified app/product search
/api/data/product-searchPOSTProduct search
/api/data/company-searchPOSTDeveloper / company search
/api/data/app-detailGETApp detail by unifiedProductId
/api/data/developer-detailGETDeveloper detail
/api/data/app-profileGETApp profile
/api/data/similar-appsPOSTSimilar apps
/api/data/sdk-detailGETSDKs used by a package
/api/data/product-content-searchPOSTCreatives for a product
/api/data/product-content-countsPOSTCreative counts for a product
/api/data/product-list, /for-product-list, /product-agg-listPOSTProduct lists / aggregations

Rankings — references/api-ranking.md

EndpointMethodPurpose
/api/data/store-rankPOSTApp-store rankings (free / paid / grossing)
/api/data/generic-rankPOSTGeneric ranking lists
/api/data/store-categoriesGETStore category codes
/api/data/store-countriesGETStore country codes

Downloads & revenue (third-party estimates) — references/api-download-revenue.md

EndpointMethodPurpose
/api/data/download-date, download-detail, download-countryGET/POSTDownload estimates by date / detail / country
/api/data/revenue-date, revenue-detail, revenue-countryGET/POSTRevenue estimates by date / detail / country

⚠️ Download/revenue figures are third-party estimates, not official data. Return the raw numbers as-is; the calling agent must note they are estimates when presenting.

Distribution — references/api-distribution.md

EndpointMethodPurpose
/api/data/app-distributionPOSTApp-level distribution
/api/data/global-promotePOSTGlobal promotion data

Market — references/api-market.md

EndpointMethodPurpose
/api/data/market-searchPOSTMarket-level search / aggregation

Parameter Mapping

Read references/param-mappings.md to translate natural language into codes:

  • creative type (010=video, etc.), industry (trade_level1: 602=Game, 607=Finance…), country / region groups, relative date ranges, sorting, page size.
  • For codes not in param-mappings (sub-industries, media channels, devices, store categories…), pull GET /api/data/filter-options or the endpoint-specific dimension call (e.g. store-categories).

For the creative search endpoint, page_size is capped at 10 (clamp any larger request down to 10; use page for more). Other list endpoints use their own documented ranges.

Output Rules

Return the API response as raw structured JSON — keep the API field names; do not rename, drop, summarize, rank, or editorialize. The calling agent composes and analyzes.

  • Response shapes vary by endpoint. Creative search via direct API returns pageIndex / pageSize / totalSize / list; the MCP tool additionally wraps it with request / page / page_size. totalSize may be null on filtered queries — use the length of list.
  • An empty list is a valid result (no matches), not an error.
  • Pass through extra fields (e.g. gptCorrect spelling suggestions) unchanged; do not silently swap a keyword.

Do not: generate H5 / landing / card / dashboard pages, hide records behind links, run hosted "deep research" or autonomous multi-step research, or produce analysis / recommendations unless the user explicitly asks after receiving the data.

Error Handling

Agent-level (no request was made — no MCP tool and ADMAPIX_API_KEY is missing):

{ "error": { "code": "missing_api_key", "message": "Missing ADMAPIX_API_KEY environment variable", "retry": false } }

API-level (the call returned a non-2xx status). The API responds with { "detail": "...", "code": "..." }; surface it plus the HTTP status, and never print the key. HTTP 401 with INVALID_API_KEY / NOT_AUTHENTICATED means the key is missing, malformed, or disabled — do not retry:

{ "error": { "code": "invalid_api_key", "http_status": 401, "message": "Invalid API key format", "retry": false } }

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.