Token导航 LogoToken导航

Agent Skill · 研究检索

b2b-commerce(企业对企业商务)

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

b2b-commerce 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 48,806。

总安装 675周安装 29GitHub Stars 19下载 237核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill b2b-commerce

这个 Skill 是做什么的

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

B2B Commerce 为企业电商添加批发能力,支持公司账户、分级定价与信用账期管理。适用于需要对接经销商、处理大宗订单或提供定制报价流程的平台场景。功能涵盖账户层级权限控制、价格表维护、报价单生成与发票自动化。多数平台已有原生支持或第三方应用,推荐优先使用现成方案而非自研。

实施前需确认支付网关与财务系统集成能力,避免出现对账或风控漏洞。

来源仓库内路径:skills/b2b-commerce

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

b2b-commerce 怎么安装?

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

b2b-commerce 支持哪些 AI 工具?

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

b2b-commerce 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

b2b-commerce 是免费的吗?

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

b2b-commerce 用的人多吗?

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

b2b-commerce 安全吗?

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

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

值得选的地方

  • 同时适配 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调用外部服务未明确有提醒
b2b-commerce

企业对企业商务 · 本页

67519只读未明确通过

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

SKILL.md 原文

B2B Commerce

Overview

B2B commerce adds wholesale capabilities to your store: company accounts where multiple employees order under one credit limit, custom pricing per account, a quote-to-order workflow for large or custom orders, and net payment terms (Net 30/60/90) with invoice generation. Most platforms have first-party B2B features or dedicated apps that handle these requirements without custom development.

When to Use This Skill

  • When onboarding wholesale customers who require account-level pricing, catalogs, and credit terms
  • When building a distributor portal where multiple employees at the same company can place orders under a shared credit limit
  • When implementing a configure-price-quote (CPQ) flow for custom or large-volume orders
  • When replacing a phone/email-based wholesale ordering process with a self-service portal
  • When B2B customers require purchase order numbers on invoices for their accounts payable process

Core Instructions

Step 1: Determine your platform and choose the right B2B tool

PlatformRecommended ToolWhy
Shopify PlusShopify B2B (built-in)Shopify Plus includes Company accounts, custom catalogs, payment terms, and a dedicated B2B checkout — no extra app needed
Shopify (non-Plus)Wholesale Club or Wholesale GorillaBoth apps add customer-tag-based wholesale pricing, minimum order quantities, and hidden wholesale sections without requiring Plus
WooCommerceWooCommerce B2B (WooCommerce.com extension) or B2BWooWooCommerce B2B handles company registration, role-based pricing, and net terms; B2BWoo is a premium alternative
BigCommerceBigCommerce B2B Edition or the built-in Customer GroupsBigCommerce B2B Edition adds company accounts and quotes; Customer Groups (all plans) handle tiered wholesale pricing
Custom / HeadlessBuild company accounts, custom catalogs, and a quote workflow from scratchFull control over credit limits, approval workflows, and invoice generation

Step 2: Set up company accounts and wholesale pricing

Shopify Plus — B2B (built-in)
  1. In Shopify admin, go to Customers → B2B → Companies → Create company
  2. Enter the company name, billing address, payment terms (e.g., Net 30), and credit limit
  3. Add company locations (shipping addresses) and assign buyer contacts to the company
  4. Create a Price List for the company: go to Customers → B2B → Price Lists → Create price list and set custom prices per product or a percentage discount on all products
  5. Assign the price list to the company — company buyers see these prices when logged in
  6. Company buyers see a B2B-specific checkout with net terms payment options and a PO number field

Quote workflow on Shopify Plus:

  • Shopify's built-in B2B includes a Draft Orders feature — sales reps create draft orders for buyers, the buyer reviews and approves, then the draft converts to an order
  • Go to Orders → Create order to create a draft; share the link with the buyer for approval
Shopify (non-Plus) — Wholesale Club
  1. Install Wholesale Club from the Shopify App Store
  2. Create a "Wholesale" customer tag in Shopify
  3. In Wholesale Club, create a discount tier for the "Wholesale" tag: e.g., 30% off everything for tagged customers
  4. Apply the wholesale tag to customer accounts when you approve them for wholesale
  5. Tagged customers see the discounted prices when logged in; non-tagged customers see retail prices
  6. For minimum order quantities: Wholesale Club's paid tier supports MOQs per product or order
WooCommerce

WooCommerce B2B (official extension):

  1. Install from WooCommerce.com
  2. Go to WooCommerce → B2B → Registration to create a wholesale account registration form with business details (company name, tax ID, etc.)
  3. Manually approve wholesale registrations in WooCommerce → B2B → Customers
  4. Set pricing rules: apply a percentage discount to user role "Wholesale Customer" across all products or per category
  5. For net terms: WooCommerce B2B adds a "Pay by Invoice" payment gateway — orders placed with net terms generate an invoice PDF and allow deferred payment

Alternative — WooCommerce Role-Based Pricing:

  • Create a "Wholesale" user role (using the User Role Editor plugin)
  • Use the WooCommerce Role-Based Pricing plugin to set per-role prices per product or per category
BigCommerce

Customer Groups (available on all plans):

  1. Go to Customers → Customer Groups → Add
  2. Create a "Wholesale" group with a percentage discount on all products or category-specific discounts
  3. Assign wholesale customers to this group manually or via registration form rules
  4. Customers in the Wholesale group see group-specific pricing at checkout

BigCommerce B2B Edition (add-on for growing wholesale operations):

  1. Contact BigCommerce sales to add B2B Edition to your plan
  2. B2B Edition adds: company accounts with multiple buyers, quote requests, corporate payment methods, and a buyer portal
  3. The buyer portal lets company admins manage users, view order history, and request quotes from a self-service interface

Step 3: Set up a quote workflow

For large or custom orders, a quote workflow lets buyers request a price before committing.

Shopify Plus
  1. Use Draft Orders — a sales rep creates a draft order with custom pricing
  2. Share the draft order link with the buyer via email
  3. The buyer reviews the order in Shopify's checkout and approves/places the order
  4. For a more formal quote system: install QuoteIQ or CPQ Configurator apps from the Shopify App Store
WooCommerce
  1. Install WooCommerce Request a Quote (free, by YITH or similar)
  2. Add a "Request a Quote" button to product pages — buyers add items to a quote cart
  3. Buyer submits the quote request; you receive an email with the items and quantities
  4. Edit the quote (adjust pricing) and send back to the buyer with an approval link
  5. Buyer approves → quote converts to a WooCommerce order automatically
BigCommerce B2B Edition
  • B2B Edition includes a native quote module — buyers click "Request a Quote" on any product
  • You receive the quote request in the BigCommerce admin, set pricing, and send it back
  • Buyers approve quotes and place the order in one step

Step 4: Configure net payment terms and invoice generation

Net terms let B2B buyers pay after receiving goods (Net 30 = pay within 30 days of invoice).

Shopify Plus
  1. On the company record: set Payment Terms to Net 15, Net 30, Net 60, or Net 90
  2. When a B2B buyer places an order, Shopify creates a "due on" date automatically
  3. Track outstanding invoices in Customers → B2B → Orders → Invoices
  4. Send payment reminders: Shopify automatically emails buyers when invoices are due (configure in Settings → Notifications)

Accounting integration for net terms:

  • Connect Shopify to QuickBooks Online or Xero via their Shopify connectors
  • Net terms orders sync as unpaid invoices in QuickBooks/Xero
  • Your accounting team manages the payment collection follow-up from QuickBooks/Xero
WooCommerce
  • The WooCommerce B2B extension's "Pay by Invoice" gateway creates PDF invoices with due dates based on net terms
  • Connect to QuickBooks via the QuickBooks Online WooCommerce extension for AR tracking
  • For automated payment reminders: use AutomateWoo to send reminder emails 7 days before and on the invoice due date
BigCommerce
  • B2B Edition's corporate payment methods include "Net terms" options
  • Connect to QuickBooks or NetSuite via their BigCommerce connectors for invoice tracking

Step 5: Custom / Headless — core B2B data model

// Company account with credit management
interface Company {
  id: string;
  name: string;
  taxId?: string;             // EIN, VAT number
  billingAddress: Address;
  paymentTerms: 'prepay' | 'net15' | 'net30' | 'net60' | 'net90';
  creditLimitCents: number | null;  // null = no limit
  creditUsedCents: number;
  status: 'pending' | 'approved' | 'suspended';
}

// Check credit before placing an order
async function checkCreditAvailability(
  companyId: string,
  orderTotalCents: number
): Promise<{ approved: boolean; reason?: string }> {
  const company = await db.companies.findById(companyId);
  if (company.status !== 'approved') {
    return { approved: false, reason: 'Company account not approved' };
  }
  if (company.creditLimitCents !== null) {
    const availableCredit = company.creditLimitCents - company.creditUsedCents;
    if (orderTotalCents > availableCredit) {
      return {
        approved: false,
        reason: `Order exceeds available credit. Available: $${(availableCredit / 100).toFixed(2)}`,
      };
    }
  }
  return { approved: true };
}

// Record credit usage when order is placed (in same DB transaction as order creation)
async function consumeCredit(companyId: string, amountCents: number): Promise<void> {
  // Atomic update prevents race condition when multiple buyers order simultaneously
  await db.raw(
    'UPDATE companies SET credit_used_cents = credit_used_cents + ? WHERE id = ? AND credit_used_cents + ? <= COALESCE(credit_limit_cents, 2147483647)',
    [amountCents, companyId, amountCents]
  );
}

Best Practices

  • Require company approval before enabling net terms — run a basic credit check or manual review before setting net terms; at minimum, verify the company's business registration
  • Enforce credit limits atomically — check and update credit in the same database transaction that creates the order; race conditions can allow two buyers to exceed the limit simultaneously
  • Always put the PO number on invoices — B2B buyers require their internal PO number on every invoice for their accounts payable workflow; missing this causes payment delays of 30–60 days
  • Release credit when orders are paid or cancelled — decrement credit_used when you receive payment; this lets buyers place new orders without waiting for manual adjustments
  • Set quote expiration dates — approved quotes with custom pricing should expire after 30 days to prevent buyers from ordering at stale prices after costs change
  • Audit all quote price changes — log who changed which line item price and when; this is important for margin tracking and potential disputes

Common Pitfalls

ProblemSolution
Individual buyer sees another company's pricingScope all catalog and pricing queries strictly by company ID; test by logging in as buyers from different companies
Credit limit exceeded due to concurrent ordersUse atomic SQL update with a WHERE clause checking credit headroom; Shopify Plus's built-in B2B handles this automatically
B2B checkout bypasses the approval flowEnforce approval checks server-side in your order creation logic, not just in the UI
Wholesale prices show to non-wholesale customersCustomer tags on Shopify and user roles in WooCommerce must be verified server-side; never trust client-side state for pricing

Related Skills

  • @vendor-management
  • @order-management-system
  • @returns-refund-policy
  • @multi-channel-selling
  • @accounts-payable-management

平台分布

Codex

36.62%
按下载量换算87

Claude

30.85%
按下载量换算73

Cursor

18.18%
按下载量换算43

Gemini CLI

10.32%
按下载量换算24

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

继续浏览同类 Skills