Appstoreprice Hub 标志

Appstoreprice Hub

组织
OpenMinis
appstoreprice-hub

A skill for querying App Store app prices across regions worldwide, using data from appstoreprice.org. It uses the Minis built-in browser (minis-browser-use CLI) to call the website's native signing function directly in the page context, with no API key and no need to implement the signing algorithm yourself. It supports searching for apps by name, querying prices for one app across all regions, retrieving rankings of the cheapest regions, and browsing app lists with pagination. This skill must be triggered when the user mentions "App Store prices," "which region is cheapest," "Turkey region price," "appstoreprice," "app price comparison," "low-price App Store regions," "which subscription region is the best value," or any scenario that requires cross-region price comparisons for iOS/macOS apps.

概览

发布者OpenMinis
代码仓库MinisSkills
技能名称appstoreprice-hub
星标数
543
复刻数
86
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 OpenMinis 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Appstoreprice Hub AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/OpenMinis/MinisSkills/tree/main/appstoreprice-hub
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OpenMinis/MinisSkills.git /tmp/MinisSkills
mkdir -p .claude/skills
cp -r /tmp/MinisSkills/appstoreprice-hub .claude/skills/appstoreprice-hub
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Appstoreprice Hub,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Appstoreprice Hub。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Appstoreprice Hub 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

appstoreprice-hub

Query App Store global pricing data from appstoreprice.org.

Data source: appstoreprice.org, an unofficial price comparison website maintained by @qingnianxiaozhe. It scrapes and compares App Store prices across regions worldwide in real time. This is not official Apple data. Prices are updated daily.

How It Works

The website uses the Next.js App Router and accesses data in two ways:

  1. REST API (search/list): requires the FNV-1a signature headers X-Timestamp + X-Signature
  2. RSC page stream (price details): directly parse fetch(url, { headers: { RSC: '1' } })

The signing function is embedded in the page's webpack module (currently 22463). Reuse it directly in the website page context instead of implementing it yourself. The module ID may change when the website is deployed or updated. See Troubleshooting.

Execution Method: minis-browser-use CLI

Always use the minis-browser-use CLI + shell script. Do not use the browser_use tool call.

Benefit: JS code is read from a file and passed directly to the process, so it does not occupy the agent context.

Standard Template

All steps must be completed in the same shell_execute call to prevent tab state from becoming invalid across calls. Write business logic to a temporary file with file_write and then concatenate it. Do not use a heredoc, because BusyBox ash can easily parse braces or quotes incorrectly.

bash
# Prerequisite: use file_write to write the business logic to /tmp/asp_logic.js, then:

minis-browser-use navigate --url "https://appstoreprice.org/zh/apps" \
  && minis-browser-use wait_for_dom_stable --timeout 8 \
  && minis-browser-use execute_js --script "$(cat /var/minis/skills/appstoreprice-hub/scripts/api.js /tmp/asp_logic.js)"

Why combine everything into one shell_execute? The minis-browser-use browser tab may become invalid between two shell_execute calls (the tab may be recycled), and the second call may report webpackChunk_N_E not found. Serial execution in the same process keeps the tab state stable.

API Quick Reference

AppStorePriceAPI() returns { search, list, prices, prices_all }:

MethodParametersReturn
search(query, page=1, limit=20)Keyword{ apps, hasMore, total }
list(page=1, limit=20)Page number/items per page{ apps, hasMore, total }
prices(appStoreId, locale='zh')App Store IDPrice array for the first tier, sorted by priceUsd in ascending order
prices_all(appStoreId, locale='zh')App Store IDList of price arrays for all tiers (required for multi-tier subscriptions, such as Claude Pro/Max)

Each prices / prices_all item: { region, regionName, currency, price, priceUsd, priceCny }

⚠️ Multi-tier subscriptions (such as ChatGPT Plus/Pro, Claude Pro/Max, etc.) must use prices_all(). prices() returns only the first subscription tier.

Common region codes: US United States, TR Turkey, NG Nigeria, PK Pakistan, EG Egypt, AR Argentina, VN Vietnam, JP Japan, KR South Korea, CN China, HK Hong Kong

Typical Business Logic

Multi-tier Subscriptions

js
const asp = AppStorePriceAPI();
const sr = await asp.search('Claude');
const app = sr.apps.find(a => a.developer?.includes('Anthropic'));
const tierNames = ['Claude Pro (monthly)', 'Claude Max 5x (monthly)', 'Claude Max 20x (monthly)', 'Claude Pro (annual)'];
const allTiers = await asp.prices_all(app.appStoreId);
return allTiers.map((prices, i) => {
  const sorted = [...prices].sort((a, b) => a.priceUsd - b.priceUsd);
  const usPrice = prices.find(p => p.region === 'US')?.priceUsd;
  return {
    tier: tierNames[i] || `Tier ${i+1}`,
    usPriceUsd: usPrice,
    cheapestTop5: sorted.slice(0, 5).map(p => ({
      ...p, saveVsUS: usPrice ? Math.round((1 - p.priceUsd / usPrice) * 100) + '%' : 'N/A'
    }))
  };
});

Cheapest Top N

js
const asp = AppStorePriceAPI();
const sr = await asp.search('ChatGPT');
const app = sr.apps[0];
const all = await asp.prices(app.appStoreId);
const topN = all.sort((a, b) => a.priceUsd - b.priceUsd).slice(0, 10);
const usPrice = all.find(p => p.region === 'US')?.priceUsd;
return { appName: app.name, topN: topN.map(p => ({
  ...p, saveVsUS: usPrice ? Math.round((1 - p.priceUsd / usPrice) * 100) + '%' : 'N/A'
}))};

Price in a Specific Region

js
const asp = AppStorePriceAPI();
const sr = await asp.search('Notion');
const all = await asp.prices(sr.apps[0].appStoreId);
return all.find(p => p.region === 'TR'); // Replace the region code as needed.

Result Display Guidelines

Use a Markdown table that includes: region (country flag emoji + name), currency, original price, USD equivalent, and CNY equivalent. In comparison scenarios, indicate the discount versus the U.S. region: savings = (1 - priceUsd / usPrice) * 100.

Troubleshooting

Signature function not loaded: Make sure you have navigated to an appstoreprice.org page and called wait_for_dom_stable. api.js dynamically scans all webpack modules and locates the signing function by checking whether the function body contains the strings X-Timestamp/X-Signature. There is no need to hardcode the module ID.

Signature function not found (major website redesign): If you receive "Signature function not found," the signature header key names may have changed. Run the following command to check for new indicators:

bash
minis-browser-use execute_js --script "
const define=(t,d)=>{for(const k in d) Object.defineProperty(t,k,{get:d[k],enumerable:true})};
const hits=[];
for(const [,m] of self.webpackChunk_N_E){
  if(!m) continue;
  for(const k of Object.keys(m)){
    try{
      const e={};m[k]({exports:e},e,{d:define});
      for(const fn of Object.values(e)){
        if(typeof fn!=='function') continue;
        const s=fn.toString();
        if(s.includes('X-') && s.length<800) hits.push({module:k,src:s.slice(0,200)});
      }
    }catch(e){}
  }
}
return hits.slice(0,5);
"

Based on the output, update the characteristic string detection conditions in _getSignFn in api.js.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Appstoreprice Hub AI 技能有什么作用?

A skill for querying App Store app prices across regions worldwide, using data from appstoreprice.org. It uses the Minis built-in browser (minis-browser-use CLI) to call the website's native signing function directly in the page context, with no API key and no need to implement the signing algorithm yourself. It supports searching for apps by name, querying prices for one app across all regions, retrieving rankings of the cheapest regions, and browsing app lists with pagination. This skill must be triggered when the user mentions "App Store prices," "which region is cheapest," "Turkey regio...

为什么在 TypingMind 中使用 Appstoreprice Hub?

因为您只需安装一次,就能搭配任何模型使用。Appstoreprice Hub 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Appstoreprice Hub?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/OpenMinis/MinisSkills/tree/main/appstoreprice-hub。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Appstoreprice Hub?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Appstoreprice Hub 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Appstoreprice Hub 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Appstoreprice Hub AI 技能免费吗?

是的。OpenMinis 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇