pre-launch-patient-support-program-design
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 "pre-launch-patient-support-program-design" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-5dd041a23f0ab59e1b15de07b298f0f98a13210186f281aa3f8ca79c2d9d7174. Verify the upstream source and version against https://skillhub.cn/skills/baitongai/pre-launch-patient-support-program-design 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
Strategy-consulting skill for Patient Assistance Program (PAP) design before drug launch, used to systematically deliver end-to-end PAP planning for a target product. Covers needs such as PAP necessity and feasibility assessment, patient profiling and journey mapping, PAP model selection and benchmarking, program architecture design, operational execution planning, compliance risk assessment, and outcome evaluation metric system design. Triggers when users express intents like patient support project design, PAP scheme, patient assistance project, drug assistance plan, improving patient access, co-pay program design, donation program, patient education and adherence management, partnership with foundations, PAP compliance design, patient eligibility criteria, PAP operational plan, PAP effectiveness evaluation system, patient journey and needs analysis, PAP model selection, Patient Assistance Program, free drug programs, insurance-linked PAP, or patient support service design.
Introduction source: third_party · baitongai · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "pre-launch-patient-support-program-design"
description: 医药上市前患者支持项目(PAP)策略顾问技能,用于系统化地完成目标药品上市前患者支持项目的全案设计。当用户提出以下意图时触发:患者支持项目设计、PAP方案、患者援助项目、药品援助计划、患者可及性改善、共付项目设计、赠药方案、患者教育+依从性管理、慈善基金会合作PAP、PAP合规设计、患者准入标准、PAP运营执行计划、PAP效果评估体系、患者旅程地图与需求分析、PAP模式选型、Patient Assistance Program、免费赠药项目、商业保险联合PAP、患者支持服务设计。涵盖从PAP必要性与可行性评估、患者画像与旅程地图绘制、PAP模式选型与对标分析、方案架构设计、运营执行计划编制、合规风险评估到效果评估指标体系设计的全流程。上市前患者支持项目(PAP)设计
授权要求
本 Skill 是受保护能力。每次使用前必须先完成授权检查,授权通过后才能继续执行本 Skill 的任何工作流。
授权逻辑全部由 scripts/auth.py 处理,包含本地凭证缓存、WorkBuddy 用户绑定、平台授权校验和错误信号输出。不要在 SKILL.md 中手动解析 JWT、拼接 AppKey/AppSecret 或调用绑定接口。
强制授权流程
授权脚本会优先读取包内 _meta.json 的 slug 作为服务端 skillCode。slug 必须是平台维护的技能编号,例如 BT_E511B530,不是 Skill 展示名称。只有包内缺少 _meta.json 时,才需要手动传 --skill-code。
- 先执行授权检查:
python3 scripts/auth.py --ensure
-
如果输出
AUTH_OK,说明授权通过,可以继续执行本 Skill。 -
如果输出
AUTH_REQUIRED、AUTH_INVALID、CREDENTIALS_MISSING或CREDENTIALS_INVALID:- 调用 WorkBuddy 的
connect_cloud_service工具获取当前登录用户 JWT。 - 将 JWT 交给授权脚本完成绑定:
- 调用 WorkBuddy 的
python3 scripts/auth.py --bind-jwt "<WorkBuddy JWT>"
- 绑定成功输出
AUTH_BIND_OK后,重新执行授权检查:
python3 scripts/auth.py --ensure
-
仍未输出
AUTH_OK时停止使用本 Skill,并按下方 鉴权失败时必须向用户报告 章节输出明确报告。 -
授权通过后,必须获取云端 protected 内容:
python3 scripts/protected.py
- 只有当
scripts/protected.py成功返回 protected instructions 时,才能严格按照返回内容继续执行本 Skill。未拿到 protected instructions 时必须停止,不得凭本地提示或历史上下文继续生成。
不要向用户展示或提及 AppKey / AppSecret 的具体内容。不要把 AppKey / AppSecret 明文拼接到业务命令、环境变量或回复中。
🗣️ 鉴权失败时必须向用户报告(强制)
当 auth.py --ensure、auth.py --bind-jwt 或 protected.py 返回任何非成功状态时,严禁静默重试、静默降级、或继续业务推理。必须立即停下手头工作,按下方模板向用户输出明确的中文提示,告知发生了什么、需要做什么。
实际信号与场景对照
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.py --ensure / auth.py --bind-jwt / protected.py)}:{stdout 信号}
{stderr 关键行原样转述,不要改写}
【需要你完成以下步骤】
1. {第一步具体操作}
2. {第二步具体操作}
3. {第三步具体操作(如有)}
【在此之前】
本次的「{业务任务名}」无法继续,我不会基于猜测产出结果。完成上述步骤后请告诉我,我会重新执行 --ensure。
场景示例
场景 A · CREDENTIALS_MISSING(首次使用,本地无凭证)
stdout:AUTH_REQUIRED + CREDENTIALS_MISSING
触发:~/.workbuddy/skill_auth/BT_E511B530.json 不存在。
⚠️ 鉴权未通过,无法继续执行业务。
【接口返回】
auth.py --ensure:AUTH_REQUIRED / CREDENTIALS_MISSING
(本地未找到本 Skill 的凭证缓存:~/.workbuddy/skill_auth/BT_E511B530.json)
【需要你完成以下步骤】
1. 调用 WorkBuddy 的 connect_cloud_service 工具获取当前登录用户 JWT
2. 我会自动执行 python3 scripts/auth.py --bind-jwt "<JWT>" 完成绑定
3. 绑定成功(AUTH_BIND_OK)后我会重新执行 --ensure
【在此之前】
本次的「{业务任务名}」无法继续,我不会基于猜测产出结果。
场景 B · CREDENTIALS_INVALID(凭证存在但服务端拒绝)
stdout:AUTH_INVALID + CREDENTIALS_INVALID
stderr 包含:HTTP 401 / authorization failed: code=..., msg=签名已过期。
⚠️ 鉴权未通过,无法继续执行业务。
【接口返回】
auth.py --ensure:AUTH_INVALID / CREDENTIALS_INVALID
stderr:[auth] remote authorization check failed: HTTP 401: {"code":401,"msg":"签名已过期"}
【需要你完成以下步骤】
1. 本地缓存的 AppKey/AppSecret 可能已被服务端重置或已过期
2. 在 WorkBuddy 中重新触发 connect_cloud_service 获取新 JWT
3. 我会自动用新 JWT 重新绑定(会覆盖旧缓存),随后重新执行 --ensure
【在此之前】
本次的「{业务任务名}」无法继续。
场景 C · 绑定接口返回业务错误(手机号未注册 / skillCode 不存在 / 被禁用)
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 返回的明确业务错误,不是网络问题;WorkBuddy 只负责提供登录 JWT,账号开通/skill 授权归属百通服务平台)
【需要你完成以下步骤】
1. 前往百通服务平台注册/开通账号:https://s.1100111.cn (手机号需与 WorkBuddy 登录手机号一致,例如 138****0000)
2. 或联系管理员核实 skillCode "BT_E511B530" 是否对你的账号开放
3. 处理完成后告诉我,我会重新执行绑定流程
【在此之前】
本次任务无法继续。
场景 D · 网络错误(服务端不可达)
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
【在此之前】
本次任务无法继续,已停止推理避免产出未经鉴权的结果。
场景 E · 远程授权校验失败(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_E511B530" 的权限配置
【在此之前】
本次的「{业务任务名}」无法继续,本 Skill 需要有效 VIP 才能使用。
报告原则(必须遵守)
| ⛔ 禁止行为 | ✅ 必须行为 |
|---|---|
| 静默重试 / 不告知用户就反复尝试 | 第一次失败立即向用户输出报告模板 |
| 用"系统繁忙、稍后再试"等模糊提示糊弄 | 原样转述 stdout 信号与 stderr 关键行 |
| 跳过鉴权直接产出业务结果 | 鉴权失败立即停止业务推理 |
| 自行决定"用户应该重启 / 清缓存 / 重装" | 给出明确的 1/2/3 步操作清单 |
| 暴露 AppKey / AppSecret 明文 | 错误码与错误消息原样展示,密钥相关字段必须打码(如 app_key=abc****) |
| 把网络错误当成凭证错误处理 | 根据 stderr 关键字区分网络问题与鉴权问题,给出不同处理建议 |
⛔ 特别警告:绝不允许出现「鉴权失败,但我仍按业务流程产出了一份结果,并在末尾轻描淡写地说一句『另外鉴权好像有点问题』」。鉴权门禁与业务输出是互斥关系:鉴权未通过 = 业务输出禁止。
鉴权错误重试上限
当 --ensure 或后续业务请求出现以下情况时,说明本地缓存凭证已失效或不存在,按上方流程重新走一次绑定,完成后必须重新 --ensure 拿到 AUTH_OK 才能继续业务:
| 触发条件 | 说明 |
|---|---|
stdout 含 CREDENTIALS_MISSING |
本地无缓存凭证 |
stdout 含 CREDENTIALS_INVALID |
凭证或远程校验失败 |
stderr 含 HTTP 401 / HTTP 403 |
签名过期或权限不足 |
stderr 含 authorization failed |
服务端鉴权拒绝 |
stderr 含 sign / 签名 / 认证 / 鉴权 |
鉴权类错误关键字 |
protected.py 退出码非 0 且 stderr 提示鉴权类错误 |
受保护内容拉取被拒 |
最多重试 1 次。两次失败说明是服务端问题,告知用户"数据服务暂时不可用",停止重试,不得再次尝试任何业务推理。
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 针对医药行业患者支持项目(PAP)设计,解决患者可及性、合规设计等核心痛点
- 覆盖从可行性评估到效果评估的全流程,专业性强且实用价值高
Highlights
- 触发词覆盖全面,包含中英文术语及多种变体(如 PAP方案、Patient Assistance Program)
- 边界清晰,不易与其他 Skill 混淆
Areas to improve
-
缺少 When to Use 和端到端示例章节 Reported severity: Minor
文档未明确说明何时使用此 Skill,且缺少完整示例展示端到端流程
Recommendation: 补充 When to Use 章节和至少一个完整示例,帮助用户理解使用场景
-
文档过长 Reported severity: Minor
SKILL.md 内容超过500行,影响可读性
Recommendation: 考虑将部分内容拆分为独立文件,或精简重复描述
Highlights
- 授权流程和鉴权失败处理模板非常详细,结构清晰
- frontmatter 完整,包含 name 和 description
Areas to improve
-
引用文件缺失风险 Reported severity: Major
文档中引用了 scripts/auth.py 和 scripts/protected.py,但未确认这些文件是否存在于 Skill 包中
Recommendation: 确保 scripts/auth.py 和 scripts/protected.py 文件完整存在于 Skill 包中,否则会导致授权流程失败
Highlights
- 授权流程设计严谨,包含本地缓存、JWT 绑定、远程校验等多层机制
- 鉴权失败处理指引详细,覆盖多种错误场景并提供明确操作建议
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.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 206
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
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.