Terminal Data Cleansing and Performance Statistics: Pharmaceutical Flow Master Data Normalization and Channel Diversion Identification

Introduction

In pharmaceutical sales distribution data, the same terminal point often appears with inconsistent naming conventions, mismatched codes, and conflicting chain affiliiations across different systems and data batches. Manual deduplication alone is rarely sufficient to support downstream performance reconciliation. When traceability codes and regional codes are also involved in identifying backflow channel diversion, the lack of structured comparison means anomalous records can typically only be caught through after-the-fact spot checks. The Skill introduced below is designed for a pipeline of actions—cleaning terminal distribution data, unifying master data, and pinpointing diversion leads—with clearly defined input/output boundaries, making it easy to invoke via trigger phrases in an Agent conversation.

What It Is

“Terminal Data Cleaning & Performance Statistics” is an enterprise-grade Skill published on the Baitong AI Service Platform’s SkillHub (identifier @baitongai/terminal-data-cleaning-performance-stats, current version 1.0.1, category data-analysis). It targets pharmaceutical terminal distribution data: first performing master data normalization, then cross-referencing traceability codes with regional codes to assist in identifying backflow channel diversion, verifying genuine sales, and pointing toward suspicious supply sources. The tag indicates requires_api_key=true; before activation, the corresponding API key and platform-side capabilities must be in place. For specific application procedures, refer to SkillHub and the enterprise service documentation.

Official pages:

  • SkillHub: https://www.skillhub.cn/skills/baitongai/terminal-data-cleaning-performance-stats
  • API Index: https://api.skillhub.cn/baitongai/terminal-data-cleaning-performance-stats

Core Capabilities

Cross-checked against the official description, the capabilities the Skill currently claims can be summarized into two tracks.

Master Data Normalization

Targeting dirty data such as “one store, multiple names,” inconsistent naming or coding, and conflicting chain affiliations, the processing steps include whitespace removal, full-width/half-width unification, alias mapping, and duplicate merging. The end result is a reusable normalized master data table, supplemented with a before-and-after cleaning comparison to facilitate manual spot-checks on rule reasonableness.

Diversion Detection & Sales Verification

Given the availability of regional codes, traceability codes, and sales volume records, the Skill performs cross-referencing to identify backflow channel diversion, verify terminal-side actual sales performance, and produce a diversion anomaly list used to narrow down suspicious supply directions. (The specific determination logic is handled by the Skill’s built-in workflow and enterprise API; the public description does not elaborate on algorithmic details.)

Input (as listed by the official description): Terminal name, terminal code, regional code, traceability code, sales volume records.

Output (as listed by the official description): Before-and-after cleaning comparison, normalized master data table, diversion anomaly list.

Conversation trigger phrases (as listed by the official description): Clean distribution data, master data unification, locate diversion, traceability code comparison, one store multiple names.

Installation & Activation

The public SkillHub page does not provide differentiated installation commands for Cursor, Codex CLI, or Claude Code. Following SkillHub conventions, you can reference the identifier to install in a Skills-capable client or pull the Skill package from SkillHub. This Skill originates from enterprise and requires an API Key; after installation, the key must be configured in the environment (field names and endpoints are subject to the Baitong AI Service Platform documentation; no configuration items are assumed here).

Identifier and version for easy reference:

坐标:@baitongai/terminal-data-cleaning-performance-stats
版本:1.0.1
来源:enterprise
分类:data-analysis
标签:requires_api_key=true

Once activated in an Agent, use the trigger phrases above or a natural-language description of the same intent to enter the workflow. If a call fails, first verify that the API Key is active and that the enterprise-side interfaces are enabled.

Typical Usage

The official materials do not provide a copyable sample CSV or command-line demo. The reproducible usage boundary is as follows: in a conversation, state that you want to “clean distribution data” or “unify master data,” and attach terminal names/codes, regional codes, traceability codes, and sales volume records (or confirm that your data file fields match these); the expected outputs are a before-and-after cleaning comparison, a normalized master data table, and a diversion anomaly list. For diversion analysis, you should explicitly provide traceability codes and regional codes so the “traceability code comparison / diversion detection” path is triggered.

Sample prompt (aligned in intent with the official trigger phrases; field names provided for reference):

请清洗这批医药终端流向数据并做主数据归一。
字段:终端名称、终端编码、区域码、追溯码、销量记录。
另外用追溯码和区域码交叉比对,输出窜货异常清单和清洗前后对比。

Use Cases & Caveats

Who it suits: Analysts in pharmaceutical distribution, channel compliance, or sales operations teams who need to consolidate multi-source terminal master data into a single table and perform diversion lead screening on top of distribution records; also suitable for scenarios where you want to delegate repetitive work to an Agent while retaining structured deliverables (comparison tables, master data tables, anomaly lists).

Limitations & cautions:

  1. Enterprise origin + requires_api_key=true: Without a configured key or enabled enterprise service, the Skill may be unable to complete actual cleaning and comparison. Do not assume it can run purely offline.
  2. SkillHub statistics (visible on the page): Rating 100000, 738 downloads, 0 installation count. Download numbers reflect interest level and do not guarantee availability in your environment.
  3. Diversion determination involves compliance and commercial decision-making. Skill outputs should be treated as a supplementary list and cross-checked with internal rules and on-the-ground verification; they should not serve as sole grounds for penalties.
  4. The public description does not enumerate field-level validation rules, alias table maintenance procedures, or API rate limits. Before going live, validate merge rules and anomaly thresholds with small samples in a test environment.

Closing

“Terminal Data Cleaning & Performance Statistics” folds the most stubborn master-data problems in pharmaceutical terminal distribution and the traceability-code/regional-code-level diversion leads into a single Agent workflow: input names, codes, regional codes, traceability codes, and sales volumes; output a comparison, a normalized master data table, and an anomaly list. For package installation details, key applications, or interface field specifications, refer to the official SkillHub page and enterprise service documentation.

https://www.skillhub.cn/skills/baitongai/terminal-data-cleaning-performance-stats

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye