otc-xx2027

Develop training and planning materials for OTC terminal sales activation in the pharmaceutical industry: includes OTC sales-activation training course PPTs, brand annual activation plan PPTs (with quarterly campaign strategies and budget allocation), accompanying Excel support tools, and a collection of exemplary brand activation cases. Content is suitable for training delivery to OTC pharma companies and chain pharmacies, supporting regional managers and marketing teams in activation planning, strategy formulation, and benchmark case study.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "otc-xx2027" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-61523d702ac0507eae4a3e58c9b0c062e5435765e639c5dbcbeb90b5497edf16. Verify the upstream source and version against https://skillhub.cn/skills/baitongai/otc-brand-activation-plan-2027 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Develop training and planning materials for OTC terminal sales activation in the pharmaceutical industry: includes OTC sales-activation training course PPTs, brand annual activation plan PPTs (with quarterly campaign strategies and budget allocation), accompanying Excel support tools, and a collection of exemplary brand activation cases. Content is suitable for training delivery to OTC pharma companies and chain pharmacies, supporting regional managers and marketing teams in activation planning, strategy formulation, and benchmark case study.

0 Downloads

Introduction source: third_party · baitongai · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Software, accounts and paid services
Before any Python scripts are executed,** silent testing, while success is done directly, and failure is reported**.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "OTC-XX品牌动销计划2027"
agent_created: true
description: "生成医药行业 OTC 终端动销相关的培训课程 PPT、品牌年度动销计划 PPT(含季度战役与预算分配)、配套 Excel 支持表,以及优秀品牌动销案例集。适用于 OTC 药企/连锁的培训交付、区域经理/市场部做动销规划与标杆案例研究。"
version: "1.0.0"
category: "医药"
platforms: "WorkBuddy"

OTC-XX品牌动销计划2027

⚙️ 第 0 步:流程与运行时会话校验(最先执行,不可跳过)

在进入任何业务前,务必先完成:

  1. 先按下方「Python 环境检测」章节确定可用的 Python 命令,记为 $PYTHON_CMD。
  2. 执行版本自检与授权检查:
    $PYTHON_CMD scripts/auth.py --ensure
  3. 若输出中出现 RESTART_SKILL 或 SKILL_UPDATED:
    • 这是流程更新信号,不是鉴权失败;不得向用户报告为错误,不得停止。
    • 必须重新读取本 SKILL.md 文件全文,按更新后的流程从头执行;最多重试 1 次,之后一律以最新读取结果为准继续。

其余鉴权信号(AUTH_OK / AUTH_REQUIRED / AUTH_INVALID / AUTH_BIND_OK)按下文对应章节处理,不受本节影响。


Python 环境检测(必须最先执行)

执行任何 Python 脚本前,先静默检测,成功则直接执行,失败才报告。

检测与执行流程

# 1. 按优先级检测可用的 Python 命令(静默,不展示给用户)
PYTHON_CMD=""
for cmd in python3 python; do
    command -v "$cmd" &> /dev/null && PYTHON_CMD="$cmd" && break
done
# Windows Python Launcher
[ -z "$PYTHON_CMD" ] && command -v py &> /dev/null && py -3 --version &> /dev/null && PYTHON_CMD="py -3"
# Windows 常见安装路径
[ -z "$PYTHON_CMD" ] && for p in "/c/Users/"*"/AppData/Local/Programs/Python/Python3"*/python.exe "/c/Python3"*"/python.exe"; do
    [ -x "$p" ] && "$p" --version &> /dev/null && PYTHON_CMD="$p" && break
done
# macOS/Linux 常见路径
[ -z "$PYTHON_CMD" ] && for p in /usr/local/bin/python3 /opt/homebrew/bin/python3 /usr/bin/python3 /usr/bin/python; do
    [ -x "$p" ] && "$p" --version &> /dev/null && PYTHON_CMD="$p" && break
done

# 2. 检查版本 >= 3.8
[ -n "$PYTHON_CMD" ] && ! "$PYTHON_CMD" -c "import sys; sys.exit(0 if sys.version_info >= (3,8) else 1)" 2>/dev/null && PYTHON_VERSION_LOW=true

# 3. 根据结果决定下一步

结果处理

结果 处理
PYTHON_CMD 有值 + 版本 OK ✅ 直接执行 $PYTHON_CMD scripts/auth.py ...
PYTHON_CMD 有值 + 版本低 ⚠️ 报告(见下方模板)
PYTHON_CMD 为空 ⚠️ 报告(见下方模板)

用户可能提供全路径:如果用户告知 Python 已装但检测不到,直接用用户给的路径执行。

错误报告模板

Python 未找到:

⚠️ Python 环境未配置,无法执行授权脚本。

【需要你完成】
1. 安装 Python 3.8+(安装时勾选「Add Python to PATH」)
2. 或告诉我 Python 的安装路径,我用全路径执行

【在此之前】本次任务无法继续。

Python 版本过低:

⚠️ Python 版本过低(当前:$PYTHON_VERSION,要求:3.8+)。

【需要你完成】升级 Python 到 3.8+,或告诉我 Python 安装路径。

【在此之前】本次任务无法继续。
$PYTHON_CMD scripts/auth.py --ensure
  • 备选 · 走 stdin(token 通过管道/重定向喂给脚本,不进进程参数):
    $PYTHON_CMD scripts/auth.py --bind-token-stdin < /tmp/wb_token.txt
    $PYTHON_CMD scripts/auth.py --bind-token-from-file <上游已写入的token文件>

    ⛔ 禁止 scripts/auth.py --bind-jwt "<token>":把 token 拼进命令行会导致手抄/复制破损,产生假 401,耗你大量无谓排查时间。

3c. 手动手机号绑定(临时兜底路径):若以上取号方式全部不可用(connect_cloud_service 拿不到 JWT / 本地取号失败),不要停止、不要编造身份。主动向用户索要「已在百通平台注册的手机号」,然后用该手机号完成绑定(⚠️ 绑定逻辑真实现已下沉共享运行时 auth_runtime.py 并随运行时热更,但 --bind-phone CLI 入口由技能包内 auth.py 提供——若本机 auth.py 不认识该参数,说明技能包版本过旧,需先升级/覆盖技能包一次,此后逻辑修复均经 --ensure 自动热更,无需再升级技能包):

   # 方式一:用户口头提供手机号时
   $PYTHON_CMD scripts/auth.py --bind-phone "13800000000"
   # 方式二:交互式输入(不带参数,脚本会提示)
   $PYTHON_CMD scripts/auth.py --bind-phone
$PYTHON_CMD scripts/auth.py --ensure
  1. 重新检查输出 AUTH_OK → 授权通过,继续步骤 6。 重新检查仍非 AUTH_OK → 此时是真正失败,按下方「鉴权失败时必须向用户报告」章节输出报告,停止使用本 Skill。

  2. 授权通过后,获取云端 protected 内容:

不要向用户展示或提及 AppKey / AppSecret 的具体内容。不要把 AppKey / AppSecret 明文拼接到业务命令、环境变量或回复中。


🗣️ 鉴权失败时必须向用户报告(强制)

触发前提:本章节仅在绑定流程已执行且仍失败时才适用。首次 --ensure 返回 AUTH_REQUIRED/CREDENTIALS_MISSING 时,必须先自动执行绑定流程(见上方步骤 3),不得直接跳到本章节。

实际信号与场景对照

scripts/auth.py 实际输出的信号只有 5 种,业务错误细节通过 stderr 给出,必须同时观察 stdout 信号 + stderr 文本:

stdout 信号 含义 典型 stderr 关键字
AUTH_OK 通过 (无)
AUTH_REQUIRED + CREDENTIALS_MISSING 本地无凭证缓存 (无)
AUTH_INVALID + CREDENTIALS_INVALID 凭证或远程校验失败 HTTP 401 / authorization failed / network error / remote authorization check failed
AUTH_BIND_OK 绑定成功 (无)
AUTH_INVALID(仅 --bind-jwt 失败) 绑定流程异常 bind failed: code=..., msg=...

报告输出模板

场景示例

以下场景均为绑定流程已执行但仍失败的情况。AUTH_REQUIRED/CREDENTIALS_MISSING 属于可自动修复的首次绑定流程,不适用这些报告模板。

场景 A · 绑定后 --ensure 仍返回 CREDENTIALS_INVALID

stdout:AUTH_INVALID + CREDENTIALS_INVALID 触发:已执行 --bind-jwt 但重新 --ensure 仍然失败。

⚠️ 鉴权未通过,无法继续执行业务。

【接口返回】
auth.py --ensure:AUTH_INVALID / CREDENTIALS_INVALID
(已完成绑定流程但授权仍失败)

【需要你完成以下步骤】
1. 本地缓存的 AppKey/AppSecret 可能已被服务端重置
2. 尝试退出 WorkBuddy 重新登录,然后告诉我「已重新登录」,我会重新执行绑定
3. 如仍失败,联系管理员核实 skillCode "BT_3D65D62F" 的权限配置

【在此之前】
本次的「{业务任务名}」无法继续。

场景 B · --bind-jwt 绑定接口返回业务错误

stdout:AUTH_INVALID(仅在 --bind-jwt 路径) stderr 包含:[auth] bind failed: code=500, msg=...。

⚠️ 鉴权未通过,无法继续执行业务。

【接口返回】
auth.py --bind-jwt:AUTH_INVALID
stderr:[auth] bind failed: code=500, msg=该手机号未在百通服务平台注册
(这是百通服务平台 /api/skill/bind 返回的明确业务错误,不是网络问题)

【需要你完成以下步骤】
1. 前往百通服务平台注册/开通账号:https://s.1100111.cn (手机号需与 WorkBuddy 登录手机号一致,例如 138****0000)
2. 或联系管理员核实 skillCode "BT_3D65D62F" 是否对你的账号开放
3. 处理完成后告诉我,我会重新执行绑定流程

【在此之前】
本次任务无法继续。

场景 C · 网络错误(服务端不可达)

stdout:AUTH_INVALID + CREDENTIALS_INVALID stderr 包含:network error: ... 或 non-JSON response: ...。

⚠️ 鉴权未通过,无法继续执行业务。

【接口返回】
auth.py --ensure:AUTH_INVALID / CREDENTIALS_INVALID
stderr:[auth] remote authorization check failed: network error: <urlopen error timed out>
(连接 https://s.1100111.cn/baitong_ai/api/skill/verify 超时 / DNS 失败 / 连接被拒)

【需要你完成以下步骤】
1. 检查本机网络是否正常
2. 确认是否需要走 VPN / 公司内网
3. 服务端确认在线后,告诉我重试,我会重新执行 --ensure

【在此之前】
本次任务无法继续,已停止推理避免产出未经鉴权的结果。

场景 D · 远程授权校验失败(VIP 过期 / 权限不足)

stdout:AUTH_INVALID + CREDENTIALS_INVALID stderr 包含:remote authorization check failed: authorization failed: code=..., msg=VIP_EXPIRED。


⚠️ 鉴权未通过,无法继续执行业务。

【接口返回】
auth.py --ensure:AUTH_INVALID / CREDENTIALS_INVALID
stderr:[auth] remote authorization check failed: authorization failed: code=403, msg=VIP_EXPIRED
(凭证本身有效,但服务端判定当前账号无权使用本 Skill)

【需要你完成以下步骤】
1. 前往百通服务平台续费 VIP 或升级权限等级:https://s.1100111.cn
2. 续费完成后告诉我「已续费」,我会重新执行 --ensure
3. 若你认为不应出现此提示,请联系管理员核实 skillCode "BT_3D65D62F" 的权限配置

【在此之前】
本次的「{业务任务名}」无法继续,本 Skill 需要有效 VIP 才能使用。

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 面向医药行业OTC终端动销的专业化工具
  • 输出物完整:涵盖PPT课程、年度计划、Excel工具和案例集
  • 目标用户明确,解决实际业务痛点
Trigger Precision92/100

Highlights

  • description完整覆盖核心功能与适用场景
  • 关键词丰富,边界清晰,不易误触
Structure and Standards75/100

Areas to improve

  • 缺少When to Use章节 Reported severity: Minor

    文档未提供明确的'何时使用此Skill'说明

    Recommendation: 在frontmatter后添加When to Use章节,说明典型使用场景

  • 缺少业务主流程示例 Reported severity: Minor

    仅有鉴权流程示例,缺少生成PPT/Excel等业务主流程的完整示例

    Recommendation: 添加一个端到端的业务执行示例,展示从输入到输出的完整流程

Highlights

  • Phase划分清晰,步骤详细
  • frontmatter完整,文档结构合理
Execution Reliability65/100

Areas to improve

  • 引用文件缺失 Reported severity: Major

    SKILL.md中多次引用scripts/auth.py文件,但该文件未包含在Skill包内

    Recommendation: 确保所有被引用的脚本文件都打包上传,特别是auth.py

Evidence Verifiability (mean of the first four)78/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • s.1100111.cn

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before any Python scripts are executed,** silent testing, while success is done directly, and failure is reported**.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.