Token导航 LogoToken导航

Agent Skill · 研究检索

shipping-rate-calculator(运费计算器)

shipping-rate-calculator 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

shipping-rate-calculator 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 51,696。

总安装 576周安装 24GitHub Stars 19下载 192核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:shipping-rate-calculator(运费计算器)
来源仓库:https://github.com/finsilabs/awesome-ecommerce-skills
仓库路径:skills/shipping-rate-calculator
安装命令:
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill shipping-rate-calculator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill shipping-rate-calculator

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息。shipping-rate-calculator 属于研究检索类 Skill,可作为该场景下的辅助能力补充。适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。通过 npx 命令从指定仓库安装,需确认权限和维护状态。

可能触发联网、命令执行或文件读写,建议提前评估风险。可结合原始 README 进一步核验具体用法和功能边界。

来源仓库内路径:skills/shipping-rate-calculator

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill shi…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

shipping-rate-calculator 怎么安装?

在终端执行 npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill shipping-rate…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

shipping-rate-calculator 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

shipping-rate-calculator 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

shipping-rate-calculator 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

shipping-rate-calculator 用的人多吗?

公开数据是累计安装 576 次,近一周安装 24 次,下载 192 次,GitHub 19 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

shipping-rate-calculator 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
shipping-rate-calculator

运费计算器 · 本页

57619需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Shipping Rate Calculator

Overview

Showing real-time shipping rates at checkout — from UPS, FedEx, USPS, DHL — lets customers choose their preferred service and prevents you from under- or overcharging for shipping. Every major platform supports carrier-calculated rates natively or through apps, and a multi-carrier rate shopping tool can save you 15–40% on shipping costs by automatically selecting the cheapest option.

When to Use This Skill

  • When adding real-time carrier rate quotes to checkout
  • When building a multi-carrier shipping rate comparison feature
  • When implementing free shipping thresholds or tiered flat-rate shipping
  • When you need to calculate dimensional weight for accurate carrier pricing
  • When setting up shipping zones and rate tables for international shipping

Core Instructions

Step 1: Determine your platform and choose the right shipping rate tool

PlatformRecommended ToolWhy
ShopifyShopify Shipping (built-in) or Easyship / ShipStation for rate shoppingShopify Shipping gives discounted USPS, UPS, DHL rates; Easyship adds 250+ carrier options and rate shopping
WooCommerceWooCommerce Shipping (USPS/DHL) + Table Rate Shipping for custom rulesWooCommerce Shipping handles basic carrier rates; Table Rate Shipping adds weight/zone-based rule tables
BigCommerceShipperHQ or EasyshipShipperHQ is the most powerful rate management tool for BigCommerce with dimensional rate calculation
Custom / HeadlessEasyPost or Shippo as a carrier meta-APIBoth aggregate UPS, FedEx, USPS, DHL into a single API call — far simpler than integrating each carrier directly

Step 2: Set up carrier-calculated rates

Shopify

Shopify Shipping (built-in, free, recommended starting point):

  1. Go to Settings → Shipping and delivery → Manage rates
  2. Under your domestic zone, click Add rate
  3. Select Use carrier or app to calculate rates
  4. Choose from: USPS, UPS, DHL Express
  5. Check the services you want to offer (e.g., USPS Priority Mail, USPS Ground Advantage, UPS Ground, UPS 2nd Day Air)
  6. Optionally add a markup or discount percentage on top of carrier rates (useful to offset packing material costs)
  7. Save — rates will now appear dynamically at checkout based on the order's actual weight and destination

For more carrier options (FedEx, regional carriers, international):

  1. Install Easyship or ShipStation from the Shopify App Store
  2. Both integrate as Shopify "carrier-calculated shipping" providers and appear natively at checkout
  3. Easyship's free tier shows live rates from 50+ carriers at checkout
  4. Note: Carrier-calculated rates at checkout require Shopify's Advanced plan ($299/mo) or higher, OR purchasing the carrier-calculated shipping add-on ($20/month on lower plans)

For flat-rate and free-shipping rules:

  • In Shopify Shipping, you can create flat-rate options ($5.99 standard shipping, $14.99 express) in addition to or instead of carrier-calculated rates
  • Combine with a free shipping threshold: add a free shipping rate with a minimum order condition (see @free-shipping-thresholds skill)
WooCommerce

WooCommerce Shipping (USPS + DHL, free):

  1. Install the WooCommerce Shipping plugin (free, by WooCommerce)
  2. Go to WooCommerce → Settings → Shipping → Add shipping zone for each region
  3. Under each zone, click Add shipping method → select USPS or DHL Express
  4. Configure which services to display at checkout (Priority Mail, Ground Advantage, etc.)
  5. Add your package dimensions and weights to products for accurate rate calculation

WooCommerce Table Rate Shipping (for complex rules, e.g., weight tiers, custom zones):

  1. Purchase the WooCommerce Table Rate Shipping extension from WooCommerce.com
  2. Create rate tables: e.g., 0–1lb = $4.99, 1–5lb = $7.99, 5–20lb = $12.99
  3. Create separate tables for domestic vs. international zones

ShipStation for WooCommerce (multi-carrier rate shopping):

  1. Install the ShipStation for WooCommerce plugin
  2. ShipStation can be configured to use your negotiated carrier rates and display them at checkout via WooCommerce's shipping method API
  3. Note: ShipStation shows rates in your ShipStation dashboard, not always directly at customer checkout — check ShipStation documentation for the specific WooCommerce checkout rate display feature
BigCommerce

ShipperHQ (most powerful option for BigCommerce):

  1. Install ShipperHQ from the BigCommerce App Marketplace
  2. Connect your UPS, FedEx, USPS, DHL accounts to ShipperHQ (or use ShipperHQ's built-in carrier accounts)
  3. ShipperHQ handles dimensional weight calculations automatically based on your product dimensions
  4. Configure rate shopping rules: "Show cheapest option", "Show all options", or "Show cheapest per delivery speed tier"
  5. Set markup rules: +$2 per shipment for handling, or -15% discount on all FedEx rates

BigCommerce built-in real-time rates:

  1. Go to Store Setup → Shipping → Add a shipping zone
  2. Under the zone, add a real-time carrier method (UPS, FedEx, USPS via Endicia)
  3. Enter your carrier account credentials
  4. BigCommerce will display live carrier rates at checkout
Custom / Headless

Use EasyPost or Shippo as a meta-API to get rates from all carriers in one call — far simpler than integrating UPS, FedEx, USPS, and DHL separately:

import EasyPost from '@easypost/api';
const easypost = new EasyPost(process.env.EASYPOST_API_KEY);

// Get multi-carrier rates for a shipment
async function getShippingRates(params: {
  originZip: string;
  destinationZip: string;
  destinationCountry: string;
  weightOz: number;
  lengthIn: number;
  widthIn: number;
  heightIn: number;
}): Promise<{ carrier: string; service: string; rateCents: number; estimatedDays: number }[]> {
  const shipment = await easypost.Shipment.create({
    from_address: {
      zip: params.originZip,
      country: 'US',
    },
    to_address: {
      zip: params.destinationZip,
      country: params.destinationCountry,
    },
    parcel: {
      length: params.lengthIn,
      width: params.widthIn,
      height: params.heightIn,
      weight: params.weightOz, // EasyPost uses oz
    },
  });

  return shipment.rates.map(rate => ({
    carrier: rate.carrier,
    service: `${rate.carrier} ${rate.service}`,
    rateCents: Math.round(parseFloat(rate.rate) * 100),
    estimatedDays: rate.est_delivery_days ?? 5,
  })).sort((a, b) => a.rateCents - b.rateCents);
}

// Apply store-level rules on top of carrier rates
function applyShippingRules(params: {
  carrierRates: { carrier: string; service: string; rateCents: number; estimatedDays: number }[];
  cartSubtotalCents: number;
  freeShippingThresholdCents: number;
}): { label: string; rateCents: number; estimatedDays: number }[] {
  const rates = [...params.carrierRates];

  // Add free shipping option if eligible
  if (params.cartSubtotalCents >= params.freeShippingThresholdCents) {
    rates.unshift({ carrier: 'store', service: 'Free Shipping', rateCents: 0, estimatedDays: 7 });
  }

  // Show max 3 options to avoid choice paralysis:
  // 1. Free (if available)
  // 2. Cheapest paid option
  // 3. Fastest guaranteed option
  const freeOption = rates.find(r => r.rateCents === 0);
  const cheapestPaid = rates.filter(r => r.rateCents > 0).sort((a, b) => a.rateCents - b.rateCents)[0];
  const fastest = rates.filter(r => r.estimatedDays <= 2).sort((a, b) => a.estimatedDays - b.estimatedDays)[0];

  return [freeOption, cheapestPaid, fastest]
    .filter(Boolean)
    .filter((r, i, arr) => arr.findIndex(x => x?.service === r?.service) === i) // deduplicate
    .map(r => ({ label: r!.service, rateCents: r!.rateCents, estimatedDays: r!.estimatedDays }));
}

Step 3: Configure dimensional weight calculation

Carriers charge based on the greater of actual weight vs. dimensional weight. Always configure this.

Shopify:

  • Enter package dimensions on each product variant (Products → [Product] → Shipping section)
  • Shopify automatically calculates dimensional weight when computing carrier rates

WooCommerce:

  • Enter dimensions in the WooCommerce product Shipping tab (length, width, height in inches/cm)
  • The WooCommerce Shipping plugin uses these dimensions for DHL and USPS dimensional rates

ShipperHQ:

  • ShipperHQ has advanced dimensional weight packing simulation — it determines how multiple items pack into your actual box sizes and calculates the rate based on the packed box, not just the sum of item weights

Manual check for dimensional weight:

  • DIM factor (US domestic): 139 cubic inches per pound
  • Formula: (L × W × H) / 139 = DIM weight in lbs
  • If DIM weight > actual weight, carrier charges DIM weight

Step 4: Display the right number of options at checkout

Too many shipping options cause checkout abandonment. Best practice:

  1. Cheapest option — always show this (often "Ground" or "Standard")
  2. Free shipping — if the cart qualifies, show it prominently at the top
  3. Fastest option — 1-day or 2-day air for customers who need speed

Remove everything in between (3-day, 5-day, etc.) — customers don't need 6 options.

In ShipperHQ: use "Rate Filters" to show only specific service levels. In Easyship: configure "Checkout Rules" to limit displayed options.

Best Practices

  • Always set carrier API timeouts — carrier rate APIs can take 2–5 seconds; show cached or flat-rate fallbacks if they don't respond in time
  • Validate addresses before requesting rates — invalid addresses cause rate errors and checkout failures; most carriers offer address validation APIs (Shippo has one built in)
  • Round up package weights — carriers round up to the next whole pound/kg; do the same in your rate calculation to avoid showing a lower rate than the customer will actually be charged
  • Offer free shipping as a separate option, not by discounting a carrier rate — present it as "Free Shipping (5–7 days)" rather than modifying a carrier's listed rate
  • Recalculate rates when the cart changes — re-fetch rates when items are added, quantities change, or the shipping address is updated

Common Pitfalls

ProblemSolution
Carrier API returns no rates for a valid addressCheck if the address is a PO Box (UPS/FedEx don't deliver to PO Boxes); fall back to USPS for PO Boxes
Checkout shows lower shipping cost than order total chargedRecalculate the final shipping rate in your order confirmation logic, not just at cart; rates can change between cart and checkout
Large light items get expensive ratesEnable dimensional weight calculation; most carriers use DIM weight for large boxes — ShipperHQ handles this automatically
Rate requests make checkout slow (3+ seconds)Use a carrier aggregator (EasyPost/Shippo) instead of individual carrier APIs; aggregate has better response times

Related Skills

  • @free-shipping-thresholds
  • @international-shipping
  • @order-fulfillment-workflow
  • @checkout-flow-optimization
  • @dropshipping-integration

平台分布

Codex

33.24%
按下载量换算64

Claude

33.45%
按下载量换算64

Cursor

18.12%
按下载量换算35

Gemini CLI

8.51%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills