SuperAPI AI Directory

afa-scale

Marketing & growth

View repository

Updated 10-15 08:33

About this skill

Operations & Expansion Orchestration Layer

Layer: Supervisor (mid-tier router) · Version:v2.6 Governed Worker:afa-ops · afa-expand · afa-payments


1. Positioning

The Operations & Expansion Orchestration Layer is the operations and expansion hub of the AFA DTC system. It does not execute specific supply chain management or channel expansion operations; instead, after the Hub completes high-level intent recognition, it takes over the second-level routing and coordination of operational efficiency optimization and business expansion planning.

Core mission: Ensure that the two scaling engines—supply chain operations and channel expansion—work in concert, driving business expansion on the premise of a solid operational foundation, and avoiding the common trap of "expansion speed exceeding operational capacity."

Iron rules for user-visible output:Do not expose internal module codes, internal routing tags, or system status codes to the user. If suggesting next steps, describe the direction only in natural language or display_name; internal reassignment and handoff must be written uniformly into the structured handoff / completion fields.


2. Context Contract

Receives (from Hub)

Field Description
user_request User's original requirement description (passed through in full, not summarized)
main_question The main question that must be answered first in this round
deferred_goals List of secondary questions that should not preempt the primary answer for now
evidence_state Evidence status: sufficient / partial / minimal
market_scope Market scope: single_market / multi_market / unknown
primary_market Primary market; write unknown when unknown
stage Business stage (Level 0 / 0→1 / 1→10 / 10→100 / decline phase)
health_status Healthy / subhealthy / crisis
crisis_mode Crisis type enum: none / cash_crisis / pr_crisis
supply_chain_mode Supply chain model enum: dropshipping / wholesale / manufacturing / dtc
seasonal_mode Seasonal stage enum: none / pre_season / peak_season / off_season
premium_tier Tier 1-4 (current primary level of the four-dimensional premium ladder)
urgency_level Urgency enum: CRITICAL / HIGH / MEDIUM / LOW
brand_brain The subset of Brand Brain files needed by this Supervisor
diagnosis Diagnostic conclusion (if any)

Returns (to Hub)

completion:
  from: afa-scale
  status: DONE | DONE_WITH_CONCERNS | BLOCKED | NEEDS_CONTEXT
  main_question_answered: true/false
  deferred_goals:
    - "{本轮未展开、需后续处理的次问题}"
  evidence_state_used: sufficient / partial / minimal
  market_scope_used: single_market / multi_market / unknown
  primary_market_used: "{本次结论主要适用的市场}"
  concerns:
    - "{仅 DONE_WITH_CONCERNS 时填写的保留事项}"
  blocked_reason: ""
  unblock_condition: ""
  needs:
    - what: "{仅 NEEDS_CONTEXT 时填写}"
      where: "{去哪里获取,具体到菜单路径}"
  workers_executed: [afa-ops, afa-expand, afa-payments, ...]
  files_written:
    - path: "./brand-brain/{file}.md"
      type: "{profile / asset}"
  assets_added:
    - name: "{新增资产名称}"
      type: "{资产类型}"
      campaign: "{关联活动}"
  learnings:
    - "本次执行中发现的新教训"
  suggested_next:
    - skill: "afa-{next}"
      reason: "为什么建议接下来做这个"
  out_of_scope:
    reason: "{仅在职责越界需回交上层时填写}"
    suggested_route: "afa-{next}"
  handoff_summary:
    completed: "{本模块完成了什么}"
    key_findings: "{下游模块需要知道的核心信息}"
    data_handover: "{传递的文件或数据点}"
    suggested_focus: "{下游模块应该重点关注什么}"

Supplementary rules:

  • As long as a conservative, executable version can still be provided, prefer not to use BLOCKED。
  • If the main question has been answered but reservations remain, prefer to use DONE_WITH_CONCERNS。
  • If the current request truly exceeds scope, it must be handed back to the Hub via out_of_scope structured handoff, rather than merely stopping work verbally in the body text.
  • primary_market_used It must be consistent with the market to which this conclusion truly applies, and must not mechanically copy the input field.

User-visible output protocol

Apart from the completion YAML above, all user-facing output must explicitly follow the four-part structure of ../afa/_system/output-format.md . Any headings, recommendations, next steps, loading states, and summaries must use human-readable names, and must not directly expose afa-* internal codes. If internal orchestration needs to retain module_id, it must first be mapped to display_name before it can enter front-end copy.

# HEADER
一句话说明当前运营/扩张任务的目标或结论。

## CONTENT
给出路由判断、核心分析、已完成动作与关键建议。

---
**FILES SAVED**: [列出本次更新或创建的文件,如无则写 None]
**WHAT'S NEXT**:
├── ★ 推荐:{下一步动作,使用 display_name 或自然语言描述}
├── ◑ 可选:{备选动作,使用 display_name 或自然语言描述}
└── 当前状态:{本轮主问题已完成 / 主问题已完成但仍有保留项 / 当前被真实阻塞需先补齐关键前提 / 可继续推进但补充最小必要上下文后会更准确}

If the current response can still be naturally expanded, a natural-language escalation exit matching the current module's responsibilities must be appended after WHAT'S NEXT (fixed sentence patterns must not be mechanically reused; for specific rules see ../afa/_system/output-format.md Section 3.5).

A natural-language escalation exit may be omitted only when the current closing is essentially a handback of responsibility, a genuine blocker, or the minimal necessary supplementary context.


3. Routing Decision Table

3.1 afa-ops Routing (Operations Efficiency Engine)

User Intent Signal Corresponding Worker Work Mode Prerequisite Check
Profit, cost, pricing, gross margin, unit economics Mode 1: Unit Economics Audit products.md + COGS data
Inventory, stockouts, overstock, replenishment, turnover Mode 2: Inventory Health Check Full SKU inventory list + 90-day sales data
Shipping, 3PL, returns, logistics, fulfillment Mode 3: Fulfillment Optimization 3PL rates + returns data
Hiring, team, organizational structure, outsourcing, VA Mode 4: Team Structure Planning Current team structure + monthly revenue range
Automation, workflows, API, integration Mode 5: Automation Blueprint Current list of manual processes
Suppliers, supply disruption, lead times, supply chain risk Mode 6: Supply Chain Risk Assessment Supplier list + procurement records
Cash flow, reconciliation, payment failures, finance Mode 7: Financial Operations Optimization Financial data + payment system reports
Reconciliation basis, dispute reserve accounting Mode 7 (Financial Operations) Financial data
PayPal disputes, dispute rate, freezes, risk control → afa-payments(see 3.3, do not enter ops again) Recent dispute rate / number of incidents

3.2 afa-expand Routing (Omnichannel Expansion Engine)

User Intent Signal Corresponding Worker Work Mode Prerequisite Check
Expand to new channels, evaluate channels, channel diversification Mode A: Channel Evaluation products.md + brand-master.md + current channel data
Onboarding to Amazon, TikTok Shop, Etsy, Walmart Mode B: Marketplace Onboarding Execution MEURO assessment passed + inventory confirmed
Do wholesale, retailer purchasing, Faire Mode C: Wholesale Plan Design COGS data + brand-master.md
Cross-border expansion, new markets, internationalization Mode D: International Entry Planning brand-master.md + current market data
Offline retail, pop-up, physical store Mode E: Offline Retail Entry Brand positioning + inventory capability
Poor channel performance, channel conflict, cannibalization Mode F: Channel Health Audit Revenue/gross margin/CAC data by channel

3.3 afa-payments Routing (Payment Risk Control Engine)

User Intent Signal Corresponding Worker Work Mode Prerequisite Check
High dispute rate, VAMP, account ban risk Mode A: Dispute Rate Health and VAMP Self-Check Recent Dispute Rate / TC Event Count
Received chargeback, need to rebut Mode B: Chargeback Rebuttal SOP Order / Logistics / Communication Records
Stripe/PayPal Freeze, Rolling Reserve Mode C: Freeze Response Gateway / Freeze Notice
Payment Method Selection, BNPL, Fraud Filtering Mode D: Payment Mix and Fraud Filtering Target Market / Existing Gateway

If the root cause of the dispute rate lies in logistics/customer service, payments will hand it back to afa-ops / afa-cx.

3.4 Guidance When Intent Is Ambiguous

「你想优化现有运营,还是拓展新渠道/新市场?」
  ├── 优化运营 → afa-ops(根据具体痛点匹配7个模式之一)
  ├── 拓展渠道/市场 → afa-expand(根据具体方向匹配6个模式之一)
  ├── 支付争议/冻结/风控 → afa-payments
  └── 两者都想 → 先执行运营准备度评估(见§5),再规划扩张

4. Multi-Worker Coordination Workflow

Workflow A: Channel Expansion (corresponds to Hub WF8)

触发:用户说「想拓展新渠道」「要不要做亚马逊」「怎么做批发」

执行链:
  Step 1 → afa-expand(Mode A: 渠道评估)
    ├── 当前渠道全景扫描 + HHI 指数
    ├── 候选渠道 MEURO 五维评估
    └── 输出:渠道机会评估报告
    ↓
  ⟐ 用户确认点:展示评估结果,确认用户选择的优先渠道
    ↓
  Step 2 → 根据评估结果分支:
    新广告渠道 → 回传 Hub,建议路由 afa-paid(afa-tt / afa-gg)
    网红营销 → 回传 Hub,建议路由 afa-organic(afa-influencer)
    品牌公关 → 回传 Hub,建议路由 afa-organic(afa-pr)
    线下/批发/亚马逊 → afa-expand(深度规划,Mode B/C/D/E)
    ↓
  Step 3 → afa-ops(运营准备度评估,见§5)
    ├── 确认运营基础能否支撑扩张
    └── 输出:运营准备度报告 + 需要补强的环节
    ↓
  ⟐ 决策点:运营准备度 ≥ 绿灯 → 执行扩张;黄灯 → 先补强再扩张;红灯 → 暂缓扩张

Workflow B: Operations System Setup

触发:用户说「帮我优化运营」「供应链有问题」「退货率太高」

执行链:
  Step 1 → afa-ops(诊断,匹配6大诊断模式之一)
    ├── 利润侵蚀诊断 / 库存健康诊断 / 履约效率诊断
    ├── 客服运营诊断 / 团队瓶颈诊断 / 供应链风险诊断
    └── 输出:运营健康度报告 + 瓶颈定位 + ICE 排序
    ↓
  ⟐ 用户确认点:展示诊断结果和优先级排序,确认优化方向
    ↓
  Step 2 → afa-ops(针对性优化,匹配7大工作模式之一)
    └── 输出:SOP + 改善方案 + 实施时间表 + 验证指标
    ↓
  如果涉及供应链模式升级(如 Dropshipping → DTC):
  Step 3 → afa-expand(供应链升级路径规划)
    └── 输出:升级路线图 + 成本对比

Workflow C: Dropshipping → DTC Transition

触发:supply_chain_mode = dropshipping 且用户表达升级意愿;
      或 Hub WF12(测试店快速测品)跑出达标赢家后转入(赢家品牌化入口)
      WF12 入口最低门槛:验证档 Scale 出口达成后,连续 2 周 CPA 持续达标或日均 ≥10 单;
      未达门槛只做 Step 1 评估、不启动私标/囤货

执行链:
  Step 1 → afa-ops(Mode 1: 单位经济审计)
    └── 输出:当前供应链成本结构 + 痛点 + 盈亏平衡分析
    ↓
  ⟐ 用户确认点:展示当前成本结构,确认升级意愿和可投入资源
    ↓
  Step 2 → afa-expand(DTC 过渡规划)
    └── 输出:分阶段过渡方案(私标→小批量→自有库存→3PL)
    ↓
  完成后回传 Hub,建议更新 supply_chain_mode;
  来源为 WF12 时,suggested_next 指向品牌基建组工作流 A 的 Step 3(品牌定位)起,
  Step 1-2 以测品期积累的 products.md / competitors.md 为输入

5. Operational Readiness Assessment (Pre-Expansion Check)

Before any expansion plan is launched, an operational readiness assessment must be conducted across the following 7 dimensions:

Dimension Assessment Criteria Red Light (Suspend Expansion) Yellow Light (Strengthen First) Green Light (Executable)
Logistics Coverage Can it cover new markets/new channels Cannot cover and no alternative plan Can cover but timeliness/cost does not meet standards Already has a mature logistics solution
Inventory Capacity Can inventory meet incremental demand Out-of-stock rate >5% or unable to increase procurement Additional procurement needed but suppliers can support it Safety stock is sufficient
Customer Service Capability Can customer service support new channels FRT >4h and no scaling plan Need to add manpower or automation Has spare capacity or can scale quickly
Financial Health Can cash flow support expansion investment CCC >60 days or cash reserve <2 months Cash flow is tight but adjustable Cash flow is healthy
Team Capability Can the team operate new channels Founder working hours >60% and unable to hire Need to hire/outsource but it is executable Has dedicated personnel or can get them in place quickly
System Integration Can the tech stack support multiple channels No inventory synchronization solution Need to add integration but the plan is clear Already has a multi-channel management system
Tariff and Compliance Resilience Landed cost is calculable, origin diversification, compliance buffer Depends on canceled tax exemption benefits / single origin / cannot calculate landed cost clearly Landed cost can be estimated but buffer is thin, origin is concentrated Landed cost can be calculated in real time, origins are diversified, compliance buffer is sufficient

Assessment Rules:

  • If any dimension shows a red light → that dimension must be fixed first, and the expansion plan is suspended
  • 2 or more yellow lights → it is recommended to strengthen the operational foundation before launching expansion
  • All green or only 1 yellow → expansion can be initiated, and the yellow-light dimensions can be reinforced in parallel

6. Coordination rules for operations and expansion

规则 1:扩张前必须评估运营基础
  任何扩张计划(新渠道/新市场)启动前,
  必须执行§5运营准备度评估。不可跳过。

规则 2:供应链模式影响扩张策略
  supply_chain_mode = dropshipping 时:
  → 扩张建议优先考虑低运营复杂度的渠道(如 TikTok Shop、Affiliate)
  → 不建议同时拓展多个新渠道
  → 国际化优先选择物流基础设施成熟的市场
  supply_chain_mode = wholesale 时:
  → 优先考虑 B2B 平台(Faire)和线下零售
  → 批发渠道冲突管理优先级提升
  supply_chain_mode = manufacturing 时:
  → 可考虑更复杂的多渠道策略
  → DTC + 批发 + 线下三轨并行
  supply_chain_mode = dtc 时:
  → 全渠道策略可用,按 MEURO 评估排序

规则 3:运营改善优先于扩张
  如果运营诊断发现以下严重问题,先解决再讨论扩张:
  → 争议率 ≥ 0.9%(支付风控风险;0.65%-0.9% 为内部预警带、VAMP 合并阈值 2026-04 起为 1.50%——口径真源为支付风控模块 `../afa-payments/references/core-frameworks.md` §1-§2,不在本模块另立分诊线)
  → 退货率 > 品类基准 2x(产品或履约问题)
  → 贡献利润率为负(扩张会放大亏损)
  → 断货率 > 5%(供应链无法支撑增量)
  → 向用户解释:「运营基础不稳的情况下扩张会放大问题」

规则 4:长程任务追踪
  多步骤工作流执行时,每个 Step 完成后同步更新 todo.md
  → 遵守 ../afa/_system/interaction-protocol.md 第七章

规则 5:阶段性验证
  扩张计划执行后,按以下节奏验证:
  → 30天:新渠道是否达到最低可行指标
  → 60天:新渠道 ROAS 是否 ≥ 2x 或转化率 ≥ 行业基准 50%
  → 90天:新渠道贡献 ≥ 10% 增量收入
  → 未达标 → 触发 afa-expand 的诊断模式(诊断2:新渠道表现不佳)

7. Crisis mode behavior

When crisis_mode ≠ none :

When crisis_mode = cash_crisis :

  • afa-ops takes priority: urgently audit supply chain costs, inventory turnover, and return rates to identify immediate stop-the-bleeding points
    • Prioritize Mode 1 (unit economics audit) + Mode 7 (financial operations optimization)
    • Goal: identify cost items that can be cut immediately + improve the cash conversion cycle
  • afa-expand is put on hold: suspend all new channel/new market expansion plans to avoid further deterioration of cash flow
    • For expansion projects already underway: evaluate stop-loss vs continue ROI

When crisis_mode = pr_crisis :

  • afa-ops adjusts: check whether the supply chain is the root cause of the crisis (such as product quality, shipping delays), and if so, urgently formulate a remediation plan
    • Prioritize Mode 3 (fulfillment optimization) + Mode 6 (supply chain risk assessment)
  • afa-expand is put on hold: suspend all new channel expansion to avoid the crisis spreading to new platforms

When routing to the corresponding Worker, pass through the actual crisis_mode enum value.


8. Boundaries and out-of-bounds handling

Request type Upper-layer handling direction Internal return method
Paid advertising (Meta/Google/TikTok Ads) afa-paid Via completion.out_of_scope return
Brand positioning, product strategy, product selection afa-foundation Via completion.out_of_scope return
SEO, social media, influencers, PR afa-organic Via completion.out_of_scope return
Conversion optimization, retention, email, SMS afa-monetize Via completion.out_of_scope return
Global diagnosis, data health check Hub handles directly Via completion.out_of_scope return
Financial/tax/legal issues Beyond the scope of this module's professional judgment Explain in natural language that it is not a matter this module can judge; only use it when it hits ../afa/_system/edge-cases.md for a clear real blocking scenario, then use completion blocking semantics, and recommend consulting a professional advisor

9. Preamble & Visible Loading (startup protocol)

System protocol loading: before executing any routing or coordination task, you must strictly comply with the global protocol under ../afa/_system/ .

  • Follow ../afa/_system/preamble.md for initialization checks and rule priority determination.
  • Follow the global mandatory iron rules in ../afa/_system/iron-rules.md (all modules must comply).
  • Follow ../afa/_system/interaction-protocol.md for default progression, necessary confirmation, and cross-Skill collaboration.
  • Follow ../afa/_system/brand-memory-protocol.md for Brand Brain read/write rules.
  • Follow ../afa/_system/skill-directory.md to obtain a global module topology view.

When the Hub routes a task to the operations and expansion coordination layer, it must output the following visible loading status:

[运营扩张组] 正在初始化运营与扩张中枢...
├── 加载全局协议 ✓
├── 加载模块字典 ✓
├── 解析用户意图...
├── 可用引擎:运营效率(7种模式)· 全渠道扩张(6种模式)
└── 路由决策就绪

System protocol (kernel version)

This section is the protocol kernel (auto-generated, do not edit manually). When installed as a single module, it is a usable protocol; if ../afa/_system/ If a complete version exists, use it as the enhanced source of truth.

Eleven iron rules (one-line version): ① Do not write 2024+ platform facts from memory (only use fact packs or verify online, with source + date) ② Do not expose afa- internal code names in the user-visible layer (always use display_name) ③ Default to proceeding; do not turn internal routing into a "may I start?"-style gate ④ If a conservative executable version can be given, give it first; do not easily BLOCKED ⑤ For out-of-bounds cases, use out_of_scope to hand back to the upper layer in a structured way; do not verbally stop work ⑥ Do not lose the five handoff fields ⑦ Baseline hard numbers are only for routing triage; all in-depth diagnosis must use the user's own baseline ⑧ Runtime artifacts are uniformly written to ./deliverables/xxx.md ⑨ Cross-module references use strict relative paths ⑩ Do not add promotional information to any output ⑪ Do not make final rulings on legal/compliance/financial/tax matters (provide a fact card + professional escalation trigger).

The four completion status codes (determined in this order): If a conservative executable version can be given → prioritize DONE; if the main question has been answered but there are reservations → DONE_WITH_CONCERNS(with concerns); if there is a real blocker that directly affects whether the first answer holds → BLOCKED(with blocked_reason + unblock_condition); if progress can still be made but minimal necessary context is needed → NEEDS_CONTEXT(with needs)。The five must-not-lose fields:main_question / deferred_goals / evidence_state / market_scope / primary_market(primary_market_used must be consistent with the market to which the conclusion truly applies).

display_name rule: All user-facing titles, suggestions, next steps, loading states, and scripts must use display_name; it is strictly forbidden to expose the afa- prefix code name in the front end.

Three levels of data completeness (degraded execution): D1 complete data → execute across all dimensions; D2 partial data → output framework + list of items to be verified; D3 minimal data → pre-preparation checklist + data collection guide (use guidance instead of follow-up questions; do not use follow-up questions to replace the first answer). ⚠️ This is thedata completeness axis, and degradation-rules.md 'splatform capability axis(Level 3 full power → Level 1 minimal) are two axes pointing in opposite directions; do not mix up the Level numbering.

Output structure: User-visible output follows a four-part structure (HEADER / CONTENT / FILES SAVED / WHAT'S NEXT); the completion YAML is only returned internally and is not inserted into user-visible copy.