医院药品使用分析

SKILL研究检索
研究检索 未标注权限 许可证不明确
安装这个技能

【世界药师节·AI药学技能大赛参赛作品】药库出库‑药品使用分析报告生成工具 本功能适用于医院药师、临床药师上传药品使用 / 药库出库 Excel 数据表,需要生成规范 Word(.docx)分析报告的场景。报告采用三线表排版、结论前置的行文结构并内嵌图表。 完整工作流程:读取并校验 Excel 原始数据;按药品(前 50 位)、ATC 一至四级分类、使用科室汇总药品消耗金额;筛查科室‑药品使用异常匹配疑点;最终生成层次清晰、可直接投稿上报的 Word 正式报告。 触发指令包括:药品使用分析报表、生成 Word 格式的药品使用分析、三线表、药库出库分析、科室药品使用分析,以及所有将药品出库数据表转换为中文药学管理报告的相关需求。

一句话选型结论

按资料字段整理

医院药品使用分析是研究检索类的 Agent Skill,安装方式未标注,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类研究检索 安装方式未标注 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_767538ff/pharmacy-word-report
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

研究检索
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_767538ff仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式未标注安装包 community
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验未标注上游最后核验时间 · 数据更新 1791684781
正文体量6.4 KBSKILL.md 原文大小,越大说明说明书写得越细

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
查资料并整理出处

让模型按主题查资料,并把引用来源整理成清单。

网页与文献要点提炼

把长文、论文、网页压成能直接看的要点。

竞品与行业汇总

按关键词汇总竞品动态与行业信息。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在研究检索场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
医院药品使用分析当前 未标注权限 未标注 未标注 未标注 有
寻找技能 浏览器控制 GitHub 仓库 3120.0 万 Codex、Claude、Cursor 有
自我改进 Agent 接触敏感数据 ClawHub 市场 1646.4 万 OpenClaw 有
灵魂追踪 联网访问 GitHub 仓库 758.9 万 Codex、Claude、Cursor 有
自我完善 联网访问 ClawHub 市场 682.9 万 OpenClaw 有
微软代工厂 调用外部服务 GitHub 仓库 661.4 万 Codex、Claude、Cursor 有

SKILL.md 全文

6.4 KB
模型实际读到的说明书原文,来自技能仓库

Pharmacy Word Report(药品使用分析 → 三线表 Word 报表)

Overview

This skill turns a hospital drug-use / pharmacy-outbound Excel workbook into a structured, layered
Word report with three-line tables (三线表) and conclusion-first narrative. It reuses two bundled
Python scripts (analyze.py for aggregation + charts, build_docx.py for the Word document) and a
report template (references/report_template.md). The workflow is deterministic, so the same
scripts run month after month — only the input file changes.

When to Use

  • User uploads / references a pharmacy drug-use Excel (columns typically include 科室, 入库单位, 数量,
    单价, 金额, 医保编码, 通用名, 最终ATC分类1级…4级) and asks for a Word analysis report.
  • User asks for "三线表 / 结论先行 / 分层级" pharmacy reports, or "药库出库 / 科室药品使用分析".
  • Do not use for pure data exploration without a deliverable, or for non-pharmacy spreadsheets
    (use the generic data-analysis skills instead).

Constraints (always enforce)

  • No fabrication: aggregate only the fields present; never impute or backfill missing values.
    Report missing/zero values truthfully (e.g., 金额为 0 / 单价为 0 记录).
  • 结论先行 + 分层级 + 三线表: every section opens with a 【结论】 sentence; tables use only top /
    header-bottom / bottom horizontal rules (no vertical lines).
  • 脱敏: never surface patient-identifying data; this dataset has none by design.
  • Amounts in 万元 for table cells, 亿元 for overall magnitude; 占比 = share of total hospital spend.

Workflow

Step 1 — Set up the environment (first run only)

Create an isolated venv and install dependencies (the bundled scripts need them):

(managed-python) -m venv (venv)
(venv)/Scripts/pip install pandas openpyxl python-docx matplotlib

Use the managed Python runtime; do not install into the user environment.

Step 2 — Profile & validate (optional but recommended)

Read the Excel with pandas. Verify 金额 == 数量 × 单价 (flag any mismatch above 0.01), report per-column
missing counts, and confirm the ATC 1–4 columns are fully populated. This is the data-quality basis
for the report's "数据概况与质量" section.

Step 3 — Run the aggregation script

(venv)/Scripts/python.exe scripts/analyze.py (input.xlsx) [workdir]

analyze.py (see its --help / header for the column map COLMAP) produces, in workdir:
- analysis_results.json — all aggregates (meta, top50, atc1/atc2/atc3_top/atc4_top, dept_top,
dept_dom, susp_mismatch, susp_concentration, quality).
- figs/*.png — Top15 drugs, spend Pareto, ATC1 distribution, Top15 departments.
It also prints a short digest. Adjust COLMAP at the top if the user's column names differ.

Step 4 — Build the Word report

(venv)/Scripts/python.exe scripts/build_docx.py (analysis_results.json) (output.docx)

build_docx.py reads the JSON and figures and writes a layered report:
1. 标题 + 数据来源/时间/粒度 行
2. 一、数据概况与质量(概况三线表)
3. 二、总体药品使用金额分析(Top50 三线表 + 帕累托图 + 合理性分析)
4. 三、ATC 分类分析(ATC1 全部22类、ATC2 前30 + 图)
5. 四、科室药品使用分析(科室前30、专科-药品匹配存疑、单药超过30% 高度集中 + 图 + 小结)
6. 附录:ATC3/4 级前30;方法学声明

Tables are rendered as three-line tables via three_line_table() (top rule, header-bottom rule,
bottom rule; no vertical/inner borders). CJK fonts are set to 宋体 (body) / 黑体 (headings).

Step 5 — Present & iterate

Call present_files with the .docx. If the user wants a different month, re-run Steps 3–4 with the
new file; if they want extra sections (e.g., DUI/ABC/排序比), extend analyze.py and the report
builder, referencing drug-use-data-analysis for the metric definitions.

Suspicion heuristics (already encoded)

  • susp_mismatch: a department whose name signals a clearly non-oncology / non-systemic specialty
    (康复/理疗/中医/皮肤/眼科/口腔/耳鼻喉/生殖/妇产/保健/营养/心理/精神…) but whose #1 drug by spend
    is 抗肿瘤药及免疫调节剂. Present these as "需药师核实", and annotate clinically-plausible cases
    (e.g., 阿达木单抗 in 风湿/眼科, 环孢素 in 生殖中心) as NOT irrational.
  • susp_concentration: departments where a single drug exceeds 30% of the department's spend
    (structural concentration flag). Report count + top examples; do not assert irrationality.

Resources

scripts/analyze.py

Aggregation + chart generation. Reads the 11-column pharmacy workbook, writes analysis_results.json
and figs/. Column names are mapped via COLMAP at the top (edit if the schema differs).

scripts/build_docx.py

Word renderer. Consumes analysis_results.json + the figs/ PNGs; emits a three-line-table report.
Deterministic and reusable; only the input JSON/path change per run.

references/report_template.md

The canonical report outline, table specs, and the clinical-suspicion annotation rules. Load when you
need to adjust section structure, table columns, or the "需药师核实" wording without re-reading scripts.

常见问题

5 问
答案由本站依据条目字段整理
医院药品使用分析怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_767538ff/pharmacy-word-report。安装方式为未标注。装完刷新技能列表或重开客户端。

医院药品使用分析支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

医院药品使用分析权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

医院药品使用分析收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

医院药品使用分析用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 未标注。