Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add wananing/Smart-Health-Assistant --skill medication_calculatorgit clone --depth 1 https://github.com/wananing/Smart-Health-AssistantWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/wananing/smart-health-assistant/medication_calculator)<a href="https://agentmods.dev/skills/wananing/smart-health-assistant/medication_calculator"><img src="https://agentmods.dev/badge/skills/wananing/smart-health-assistant/medication_calculator/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/wananing/smart-health-assistant/medication_calculator"><img src="https://agentmods.dev/badge/skills/wananing/smart-health-assistant/medication_calculator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00117 | $0.00611 |
| Opus 5.5 | $0.00047 | $0.00244 |
| Sonnet 5.5 | $0.00023 | $0.00122 |
| Haiku 4.5 | $0.00012 | $0.00061 |
Grade A, and why
medication_calculator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Medication Calculator Skill
Computes weight-based and age-based medication doses for common drug classes using standard clinical dosing references (e.g. BNF, UpToDate guidelines).
Supported Drug Classes
| Class | Examples | Dosing Method |
|---|---|---|
| 解热镇痛 NSAIDs | 布洛芬, 对乙酰氨基酚 | Weight-based (mg/kg) |
| 抗生素 Antibiotics | 阿莫西林, 头孢克洛 | Weight-based (mg/kg/day) |
| 抗组胺 Antihistamines | 氯苯那敏, 氯雷他定 | Age/weight-based |
| 消化道 GI | 奥美拉唑, 多潘立酮 | Fixed adult / weight-adjusted paediatric |
| 降压 Antihypertensives | 氨氯地平, 依那普利 | Fixed titration (refer to physician) |
Required Inputs
drug_name— generic drug name (e.g. 布洛芬, 阿莫西林)weight_kg— patient body weightage_years— patient age
Optional Inputs
indication— reason for use (may select different dosing schedule)renal_impairment—"mild" | "moderate" | "severe"for dose adjustment notesis_pregnant— triggers pregnancy safety classification
Output Notes
- Doses are displayed as a range (low–high) with frequency
- Prescription drugs: Output includes a mandatory "需凭处方" warning
- Paediatric: Per-kg doses always calculated; max dose cap enforced
- Always show
disclaimerandmax_dose_warningif applicable - Recommend confirming with 执业药师 (licensed pharmacist) before dispensing
Safety Rules
- Never recommend doses above established maximum daily limits
- For
renal_impairment == "severe": output dose reduction note and physician referral - For pregnancy: display FDA/CFDA category and safety note
- For age < 2 years: explicitly state "需在医生指导下使用"
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 55 lines · 117 tokens per session scan A 037e344e0e10
medication_calculator is a skill published in the GitHub repository wananing/Smart-Health-Assistant (51 stars, last pushed 1mo ago), licensed MIT. It adds 117 tokens to every session and 611 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
medication_calculator compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| medication_calculatorwananing/Smart-Health-Assistant | Skill | 51 | 1mo ago | MIT | A | 117 | Claude Code, Codex |
| arxiv-searchlangchain-ai/deepagents | Skill | 32k | yesterday | MIT | A | 62 | Claude Code, Codex |
| social-physics-filterwinstonkoh87/Athena-Public | Skill | 655 | 2d ago | MIT | A | 34 | Claude Code, Codex |
| distribution-physicswinstonkoh87/Athena-Public | Skill | 655 | 2d ago | MIT | A | 20 | Claude Code |
| ontology-refresh-governanceRichmondAlake/agent_harness_course | Skill | 48 | 7d ago | none | A | 33 | Claude Code, Codex |
| deepagents-thread-inspectorlangchain-ai/deepagents | Skill | 32k | yesterday | MIT | A | 93 | Claude Code, Codex |
| mem0-vercel-ai-sdkmem0ai/mem0 | Skill | 70k | 3d ago | Apache-2.0 | A | 146 | Claude Code, Codex |