微算力 · API 导航与自营网关
API 接入 EN
未登录登录
📊

Shopify 智能盈利分析专家

ned-analytics · vv1.0.1
入口已确认,内容待校验 文件树里有 SKILL.md,但正文还没采回,frontmatter 未核对。
专业技能 安全 S 级 作者 matt998759 公开目录收录
1.8k 下载 569 安装 5.4k 收藏 20.5k 浏览

简介

通过 Ned 平台 API 深度连接 Shopify 生态,提供订单级真实利润分析,帮助商家精准识别盈利产品与高风险客户,优化广告投入与库存决策。

原始描述

Query your Shopify store's sales, profitability, customers, and marketing data through Ned's API. Use when asked about profit, revenue, sales, orders, products, customers, churn, ad spend, ROAS, MER, margins, or any ecommerce analytics question. Also use for 'what's my profit today', 'top products', 'customer segments', 'ad performance', or 'how is my store doing'. Requires a NED_API_KEY.

通过你的 Agent 添加

安装目录:ned-analytics/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/ned-analytics/
Codex CLI~/.codex/skills/ned-analytics/
DeepSeek Harness~/.agents/skills/ned-analytics/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

Ned Analytics 是面向 Shopify 电商的 AI 商业分析工具,通过 API 将店铺销售、广告、客户、成本数据整合至单一数据仓库。用户可通过自然语言对话查询真实利润、产品表现、客户分层及广告效率,无需手动处理复杂报表。

显著优点

  1. 真实利润计算:突破传统收入统计,追踪每笔订单、每款 SKU 的完整成本结构(COGS、运费、广告支出、退货),呈现真实的净利润与边际贡献
  2. 多源数据整合:原生对接 Shopify、Meta Ads、Google Ads、Klaviyo、第三方物流,消除数据孤岛
  3. 智能客户洞察:自动识别"鲸鱼客户"与高流失风险用户,支持精准营销决策
  4. 多形态接入:除 Skill 外,还提供可视化仪表盘、TypeScript SDK、REST API,适配不同技术栈
  5. 实时性支持:支持当日/昨日/近7/30/90天等多维度时段查询

潜在局限

  • 平台锁定:仅服务 Shopify 生态,其他电商平台(WooCommerce、BigCommerce 等)无法直接使用
  • API 配额制:按套餐计费,高频查询可能触发月度信用额度限制
  • 数据延迟:依赖各数据源同步频率,极端情况下可能存在小时级延迟
  • 学习成本:需理解贡献边际、MER、ROAS 等专业电商指标含义
  • 隐私合规:涉及客户行为数据,需确保符合 GDPR/CCPA 等法规要求

适合人群

  • 年 GMV $50万以上的 Shopify 独立站卖家
  • 需要厘清"真实盈利"而非"账面收入"的品牌主理人
  • 投放预算占成本结构 20%+ 的广告驱动型商家
  • 希望从"经验决策"转向"数据决策"的成长型团队

常规风险

  1. API 密钥管理:NED_API_KEY 泄露可能导致店铺数据暴露,需使用环境变量或密钥管理系统
  2. 第三方依赖:核心功能依赖 Ned 服务可用性,单点故障风险
  3. 数据授权范围:接入 Meta/Google/Klaviyo 时需审慎授权最小必要权限
  4. 成本不可控:自动化的数据聚合可能暴露隐藏的亏损产品或渠道,需做好心理准备

技术实现:纯 API 集成模式,无本地数据持久化,100 请求/分钟限流,HTTPS/TLS 1.2+ 加密传输。安全认证等级 S,通过 CLS-Certify 全面扫描。

技能正文


name: ned-analytics description: "Query your Shopify store's sales, profitability, customers, and marketing data through Ned's API. Use when asked about profit, revenue, sales, orders, products, customers, churn, ad spend, ROAS, MER, margins, or any ecommerce analytics question. Also use for 'what's my profit today', 'top products', 'customer segments', 'ad performance', or 'how is my store doing'. Requires a NED_API_KEY."

Ned Analytics

Ned (meetned.com) is an AI business partner for Shopify merchants. It connects your Shopify store, Meta Ads, Google Ads, Klaviyo, 3PL providers, and cost data into a single data warehouse — then lets you query it all through AI chat, a visual dashboard, a public API, a TypeScript SDK, or this skill.

Ned stores profit down to the order and product level. Every SKU, every ad dollar, every return. It's the only platform that gives you a complete picture of true profitability — not just revenue.

This skill gives your OpenClaw agent direct access to your Ned data. Ask your agent about profit, revenue, product performance, customer segments, churn risk, ad efficiency — and get real answers from your real numbers.

Start a free trial at https://meetned.com

Setup

The user must provide their Ned API key (starts with ned_live_). Store it:

export NED_API_KEY="ned_live_xxxxx"

Or pass it per-request. If no key is available, ask the user for it.

API Base

https://api.meetned.com/api/v1

Auth: Authorization: Bearer $NED_API_KEY

Endpoints

1. Store Info

GET /api/v1

Returns store name, tier, available endpoints, remaining credits and rate limits.

2. Profitability Summary

GET /api/v1/profitability/summary?period={period}

Returns: total_sales, net_profit, net_margin_pct, total_costs, total_cogs, total_shipping_cost, total_variable_costs, total_fixed_costs, total_ad_spend, contribution_margin, contribution_margin_pct, gross_profit, gross_margin_pct, orders_count, units_sold, avg_profit_per_order, avg_profit_per_unit, total_impressions, total_clicks, ctr, cpc, cogs_coverage.

3. Product Profitability

GET /api/v1/profitability/products?period={period}

Returns: per-product breakdown with product_title, revenue, units_sold, total_cogs, total_profit, profit_margin_pct, profit_per_unit, avg_selling_price.

4. Customer Summary

GET /api/v1/customers/summary?period={period}

Returns: total_customers, avg_customer_profit, avg_customer_ltv, profitable_customer_pct, profit tiers (whale/profitable/marginal/unprofitable), activity tiers (active/cooling/at_risk/churned), top_profitable_customers, at_risk_whales.

5. Customer Segments

GET /api/v1/customers/segments?period={period}

Returns: customers grouped by profit_tier with full detail (orders, revenue, profit, margin, activity, churn_risk).

Period Values

Value Description
today Current day (UTC)
yesterday Previous day
last_7_days Last 7 days
last_30_days Last 30 days
last_90_days Last 90 days
this_month Current month
last_month Previous month

Usage Pattern

# Quick profit check
curl -s -H "Authorization: Bearer $NED_API_KEY" \
  "https://api.meetned.com/api/v1/profitability/summary?period=today"

# Top products by profit
curl -s -H "Authorization: Bearer $NED_API_KEY" \
  "https://api.meetned.com/api/v1/profitability/products?period=last_30_days"

# At-risk whale customers
curl -s -H "Authorization: Bearer $NED_API_KEY" \
  "https://api.meetned.com/api/v1/customers/summary?period=last_90_days" | jq '.data.at_risk_whales'

Query Script

For convenience, use the bundled query script:

bash scripts/ned-query.sh profitability/summary last_7_days
bash scripts/ned-query.sh profitability/products last_30_days
bash scripts/ned-query.sh customers/summary last_90_days
bash scripts/ned-query.sh customers/segments last_30_days

Response Format

All endpoints return:

{
  "data": { ... },
  "metadata": {
    "source": "database",
    "period": "last_7_days",
    "requested_at": "2026-02-10T04:05:05.794Z"
  }
}

Rate Limits

  • Rate: 100 requests per 60-second window (headers: ratelimit-remaining, ratelimit-reset)
  • Credits: per-plan monthly limit (headers: x-credits-remaining, x-credits-limit)

Tips

  • Ned stores profit down to the order and product level — every SKU, every ad dollar, every return
  • Use profitability/summary for quick health checks
  • Use profitability/products to find which products actually make money after COGS
  • Use customers/summary to find at-risk whales before they churn
  • Combine Ned data with external data (weather, trends, etc.) for advanced analysis
  • All monetary values are in the store's base currency

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

data-analyticssalesmarketingfinance-accountingapi

同类 Skill