Agent skill

Pharma Daily Report

by daymade in daymade/claude-code-skills

生成 A 股医药行业日报:从新浪财经抓取 20 只核心医药股实时行情,分析 7 大细分赛道排名、涨跌榜 TOP 3、资金流向,然后通过飞书发送富文本日报。

MITAuto-check passed

Install Pharma Daily Report

skills CLI
$ npx skills add daymade/claude-code-skills --skill pharma-daily-report -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install daymade/claude-code-skills pharma-daily-report --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/daymade/claude-code-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/daymade-financial/pharma-daily-report .claude/skills/pharma-daily-report && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pharma-daily-report
GitHub stars
1.4k
Token cost
~662 tokens
SKILL.md length
187 words
Files
5 (incl. scripts, references)
Skills in repo
103
Repo updated
First seen
Licence
MIT

At a glance

生成 A 股医药行业日报:从新浪财经抓取 20 只核心医药股实时行情,分析 7 大细分赛道排名、涨跌榜 TOP 3、资金流向,然后通过飞书发送富文本日报。

  • Works in 3 steps: :确认参数 → :运行数据管线 → :向用户汇报结果
  • Tasks that involve Messaging and chat bots
  • SKILL.md covers 这个 skill 做什么, 能力边界, 前置条件 and 使用流程, plus 3 more sections
  • Runs Python scripts from its folder; calls npm and python3; reaches hq.sinajs.cn

What it does

Pharma Daily Report is an agent skill from daymade/claude-code-skills. 生成 A 股医药行业日报:从新浪财经抓取 20 只核心医药股实时行情,分析 7 大细分赛道排名、涨跌榜 TOP 3、资金流向,然后通过飞书发送富文本日报。 覆盖恒瑞医药、百济神州、智飞生物、药明康德、迈瑞医疗、片仔癀、云南白药等 20 只核心标的。 当用户需要 医药日报、医药行业日报、pharma daily report、 新浪财经医药数据、A 股医药板块分析、飞书推送医药数据、 制药行业快报 时触发。也适用于"帮我看一下今天医药板块"、 "给飞书发一份今天的医药数据"等口语化请求。

Its SKILL.md is about 660 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `references/feishu_profiles.md`, `references/sina_api.md` and `references/stock_pool.md`).

The repository describes itself as: Professional Claude Code skills marketplace featuring production-ready skills for enhanced development workflows. The licence is MIT.

When your agent uses it

  • Tasks that involve Messaging and chat bots

Example prompts

  • “帮我看一下今天医药板块”
  • “给飞书发一份今天的医药数据”
  • “/pharma-daily-report”

Requirements

  • Python 3
  • Node.js

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. :确认参数
  2. :运行数据管线
  3. :向用户汇报结果

What it can do on your machine

Read from SKILL.md and the folder at commit 872127b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • npm
    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • hq.sinajs.cn

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pharma Daily Report loads about 662 tokens when it runs, and up to ~2.1k if it reads all its reference files. Until then it costs about 66 tokens; SKILL.md has 187 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~66
When it runs · the whole SKILL.md, loaded when a task matches
~662
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from daymade/claude-code-skills at commit 872127b, republished under its MIT licence (© daymade). 187 words, ~662 tokens.

Download SKILL.mdSave it as .claude/skills/pharma-daily-report/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
pharma-daily-report
description
生成 A 股医药行业日报:从新浪财经抓取 20 只核心医药股实时行情,分析 7 大细分赛道排名、涨跌榜 TOP 3、资金流向,然后通过飞书发送富文本日报。 覆盖恒瑞医药、百济神州、智飞生物、药明康德、迈瑞医疗、片仔癀、云南白药等 20 只核心标的。 当用户需要 医药日报、医药行业日报、pharma daily report、 新浪财经医药数据、A 股医药板块分析、飞书推送医药数据、 制药行业快报 时触发。也适用于"帮我看一下今天医药板块"、 "给飞书发一份今天的医药数据"等口语化请求。

医药行业日报

从新浪财经免费公开接口抓取 A 股医药板块实时行情,分析后通过飞书发送日报。

这个 skill 做什么

  1. 抓取 20 只核心医药股实时数据(新浪 hq.sinajs.cn,GBK 编码,免费无需认证)
  2. 计算赛道排名、涨跌榜 TOP 3、资金流向估算
  3. 生成飞书富文本日报(含涨跌颜色、赛道奖牌)
  4. 通过 lark-cli 发送到指定飞书对话
  5. 在原始数据目录保存当日快照 JSON

能力边界

能做的:

  • A 股医药行业 20 只核心标的的实时快照
  • 7 大细分赛道对比(创新药 / CXO / 医疗器械 / 中药 / 综合医药 / 医疗服务 / 生物制品)
  • 飞书 markdown 美化的日报输出

不能做的:

  • 不提供投资建议(日报自带免责声明)
  • 不抓取付费/Paywall 内容(只用新浪免费接口)
  • 不保证数据无误(来源标注为新浪,交易决策请多方交叉验证)

前置条件

  • Python 3.8+(只用 stdlib 的 urllib,无需 pip 装任何包)
  • lark-cli 已安装且已登录飞书账号
  • 能访问 hq.sinajs.cn

如果用户没装 lark-cli:

bash
npm install -g @larksuite/cli
lark-cli auth login --recommend

注意:飞书是国内服务,lark-cli 命令行前必须加 LARK_CLI_NO_PROXY=1。

使用流程

Step 1:确认参数

问用户确认:

  • 飞书 profile:用哪个飞书账号发?如果不清楚自己有哪些 profile,运行 lark-cli profile list 查看(详见 references/feishu_profiles.md)
  • 飞书对话:发到哪个群/人?用户如果不清楚自己的 chat_id,帮他查:
    bash
    LARK_CLI_NO_PROXY=1 lark-cli im +chat-search --query " " --page-size 20
    发给自己就用 Feishu Assistant 对话。发给群就搜群名。
  • 股票池:默认用 20 只医药核心标的(见 references/stock_pool.md)。用户可以说"只看创新药"或"加上某某股票"来定制。
Step 2:运行数据管线

直接执行 scripts/daily_pipeline.py:

bash
python3 scripts/daily_pipeline.py \
  --feishu-profile <你的飞书profile名> \
  --feishu-chat-id <你的飞书chat_id>

脚本一气呵成:抓数据 → 分析 → 生成日报 → 发飞书 → 存快照。

Step 3:向用户汇报结果

告诉用户关键数据:

  • 几只上涨 / 几只下跌 / 平均涨跌幅
  • 最强赛道和最弱赛道
  • 领涨和领跌 TOP 3
  • 飞书是否发送成功

数据管线详解

新浪财经实时行情接口
http://hq.sinajs.cn/list=sh600276,sz300122,...

返回 GBK 编码文本,每行格式:

var hq_str_sh600276="股票名称,今开,昨收,现价,最高,最低,...,成交金额,...,日期,时间"

32 个逗号分隔字段。关键字段(从 0 开始数):

位置含义示例
0股票名称恒瑞医药
2昨收45.60
3现价46.10
4今日最高46.50
5今日最低45.30
9成交金额(元)850000000

代码前缀规则:6 开头 = sh,其他 = sz。

完整字段速查见 references/sina_api.md。

赛道分类

20 只股票分为 7 个赛道(见 references/stock_pool.md),分析时按赛道聚合涨跌幅和成交额。

资金流向估算

新浪免费接口不提供买卖方向数据。脚本用"涨的股票的成交额 - 跌的股票的成交额"粗略估算净流向,报告中标注为"估算"。

常见问题

股票名称出现空格

新浪返回的个别名称带空格(如"新 和 成"),脚本内置归一化。

飞书消息太长

飞书 markdown 消息有约 4096 字节限制。超长自动截断并标注。

非交易时段

交易时间 9:30-15:00 外,新浪返回上一个收盘价,涨跌幅接近 0。报告仍会显示,但数据时间可以判断是否实时。

网络问题

新浪不可达时脚本报错退出,不使用缓存(金融数据宁可没有也不能是旧的)。

Next Step: 定时发送

日报做好后,用户可能想每天自动发送。建议:

日报测试发送成功!要不要设置每天早上 9:03 自动发到飞书?

A) 设工作日 9:03 — 每个交易日开盘前收到(推荐) B) 设每天 9:03 — 周末也发(数据不动但能看到) C) 暂时不设,手动跑就行

© daymade, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts, references) in daymade-financial/pharma-daily-report of daymade/claude-code-skills.

  • SKILL.md
  • references/feishu_profiles.md
  • references/sina_api.md
  • references/stock_pool.md
  • scripts/daily_pipeline.py

Open the folder on GitHubat commit 872127b

Compare with similar skills

Pharma Daily Report next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pharma Daily Report compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pharma Daily Report this skilldaymade/claude-code-skills1.4k—~662Automated safety check: PassMIT
Slack Browser Automationvercel-labs/agent-browser44k1 repos~2.1kAutomated safety check: PassApache-2.0
Gzh Designisjiamu/gzh-design-skill3.9k1 repos~2.2kAutomated safety check: PassAGPL-3.0
Feishu Docopenclaw/openclaw392k—~516Automated safety check: PassMIT
LangBot Plugin Developmentlangbot-app/LangBot18k—~3.9kAutomated safety check: PassApache-2.0
Rowboat Spaces Team Chatrowboatlabs/rowboat18k—~1.2kAutomated safety check: PassApache-2.0

Similar skills

  • Slack Browser Automation

    vercel-labs/agent-browser

    Official

    Drives the Slack web app with the agent-browser CLI to check unread channels, search, read channel details and extract information, with screenshots as evidence.

    44k GitHub starsUsed in 1 repo~2.1k tokens
    Productivity & AutomationAuto-check passed
  • Gzh Design

    isjiamu/gzh-design-skill

    微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…

    3.9k GitHub starsUsed in 1 repo~2.2k tokens
    Documents & OfficeAuto-check passed
  • Feishu Doc

    openclaw/openclaw

    Feishu document read/write workflows. An agent skill from openclaw/openclaw.

    392k GitHub stars~516 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • LangBot Plugin Development

    langbot-app/LangBot

    Guides building, debugging and testing LangBot plugins: components, SDK calls, README and locale rules, SDK pitfalls and WebSocket-based testing.

    18k GitHub stars~3.9k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Rowboat Spaces Team Chat

    rowboatlabs/rowboat

    Sets the rules for an agent working inside Rowboat Spaces: reply in the thread you were asked in, mention people and agents correctly and hand off work without loops.

    18k GitHub stars~1.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Md2wechat

    geekjourneyx/md2wechat-skill

    Convert Markdown to WeChat Official Account HTML. An agent skill from geekjourneyx/md2wechat-skill.

    3.7k GitHub stars~3.8k tokensUpdated 15 days ago
    Media & CreativeAuto-check passed

More from daymade/claude-code-skills

All 103 skills in this repo
  • Video Comparer

    daymade/claude-code-skills

    This skill should be used when comparing two videos to analyze compression results or quality differences.

    1.4k GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check: notes
  • CLI Demo Generator

    daymade/claude-code-skills

    Generates professional animated CLI demos as GIFs using VHS terminal recordings.

    1.4k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Doc To Markdown

    daymade/claude-code-skills

    Converts DOCX/PDF/PPTX and saved HTML/HTM to high-quality Markdown with automatic post-processing.

    1.4k GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Interaction Design Board

    daymade/claude-code-skills

    Generates several distinct, clickable HTML interaction prototypes for one product surface into a Design Board and collects selection/remix feedback before implementation.

    1.4k GitHub stars~2.7k tokensUpdated today
    Auto-check passed
  • Auto Repo Setup

    daymade/claude-code-skills

    Diagnoses and repairs repository setup and guarded Git workflows for Claude Code or Codex — environment repair, startup sync, hook auditing, collaborator handoff.

    1.4k GitHub stars~2.8k tokensUpdated today
    Auto-check: notes
  • Bigdata Skill

    daymade/claude-code-skills

    Pulls Bigdata.com (RavenPack) financial and news data via the official bigdata-client SDK and /v1/ REST endpoints — structured financials, prices, analyst estimates, entity-sentiment series…

    1.4k GitHub stars~3.7k tokensUpdated today
    Auto-check passed

Questions about Pharma Daily Report

What does Pharma Daily Report do?

生成 A 股医药行业日报:从新浪财经抓取 20 只核心医药股实时行情,分析 7 大细分赛道排名、涨跌榜 TOP 3、资金流向,然后通过飞书发送富文本日报。. Pharma Daily Report is an agent skill from daymade/claude-code-skills.

When should I use Pharma Daily Report?

Pharma Daily Report fits situations like: tasks that involve Messaging and chat bots.

How do I install Pharma Daily Report in Claude Code?

Run `npx skills add daymade/claude-code-skills --skill pharma-daily-report -a claude-code`. Or copy the skill folder (daymade-financial/pharma-daily-report in daymade/claude-code-skills) into .claude/skills/pharma-daily-report in your project. Claude Code loads it when a task matches its description.

How do I install Pharma Daily Report in Codex?

Run `npx skills add daymade/claude-code-skills --skill pharma-daily-report -a codex`. Or copy the skill folder (daymade-financial/pharma-daily-report in daymade/claude-code-skills) into .agents/skills/pharma-daily-report in your project. Codex loads it when a task matches its description.

Can I use Pharma Daily Report in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add daymade/claude-code-skills --skill pharma-daily-report -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pharma-daily-report, .gemini/skills/pharma-daily-report, .github/skills/pharma-daily-report and .opencode/skills/pharma-daily-report in your project.

What does Pharma Daily Report need to run?

Going by SKILL.md and its folder, Pharma Daily Report needs Python for the scripts in its folder and the command-line tools its instructions call (npm and python3). Our summary lists: Python 3; Node.js.

Does Pharma Daily Report access the network?

SKILL.md names 1 domain. In commands or code: hq.sinajs.cn; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Pharma Daily Report safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Pharma Daily Report use?

Pharma Daily Report is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Pharma Daily Report use?

About 662 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.4k tokens, read only when the agent opens those files.

What are the alternatives to Pharma Daily Report?

Skills that share tags, products or a category with Pharma Daily Report: Slack Browser Automation (vercel-labs/agent-browser, 44k stars), Gzh Design (isjiamu/gzh-design-skill, 3.9k stars), Feishu Doc (openclaw/openclaw, 392k stars) and LangBot Plugin Development (langbot-app/LangBot, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pharma Daily Report?

daymade (a GitHub user) maintains it in daymade/claude-code-skills, which has 1,447 GitHub stars. The repository holds 103 skills in this directory. The repository was last updated on October 9, 2026.

Source: daymade/claude-code-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.