medication_calculator

medication_calculator is a skill for Claude Code, Codex from wananing/Smart-Health-Assistant. It costs 117 tokens per session (611 once invoked), scanned A, original, MIT.

A medication-dose calculator for checking doses based on a person's weight or age and verifying safe dosage ranges.

In plain words
What is it for?
Use it for weight-based or age-based dosing questions, including maximum-dose checks for children or adults.
Why use it?
It helps reduce mistakes when working out how much medicine someone may need or whether a dose is within a stated range.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for weight-based or age-based dosing questions, including maximum-dose checks for children or adults.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wananing/smart-health-assistant/medication_calculator
Install

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.

Any agent
npx skills add wananing/Smart-Health-Assistant --skill medication_calculator
Clone the repo
git clone --depth 1 https://github.com/wananing/Smart-Health-Assistant

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for medication_calculator

README.md
[![agentmods](https://agentmods.dev/badge/skills/wananing/smart-health-assistant/medication_calculator/github.svg)](https://agentmods.dev/skills/wananing/smart-health-assistant/medication_calculator)
Your own site
<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.

agentmods 80×15 button for medication_calculator

Your own site · 80×15
<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>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 611 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 3mo ago against content hash 037e344e0e10, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 2 executable files (__init__.py, skill.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

backend/skills/medication_calculator/SKILL.md · 55 lines

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 weight
  • age_years — patient age

Optional Inputs

  • indication — reason for use (may select different dosing schedule)
  • renal_impairment — "mild" | "moderate" | "severe" for dose adjustment notes
  • is_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 disclaimer and max_dose_warning if 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 "需在医生指导下使用"
Files

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.

Changes

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.

  1. 3mo ago First seen · 55 lines · 117 tokens per session scan A 037e344e0e10

Subscribe to this mod's changes

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.

Related

medication_calculator compared with skills from other repositories

medication_calculator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
medication_calculatorwananing/Smart-Health-AssistantSkill511mo agoMITA117Claude Code, Codex
arxiv-searchlangchain-ai/deepagentsSkill32kyesterdayMITA62Claude Code, Codex
social-physics-filterwinstonkoh87/Athena-PublicSkill6552d agoMITA34Claude Code, Codex
distribution-physicswinstonkoh87/Athena-PublicSkill6552d agoMITA20Claude Code
ontology-refresh-governanceRichmondAlake/agent_harness_courseSkill487d agononeA33Claude Code, Codex
deepagents-thread-inspectorlangchain-ai/deepagentsSkill32kyesterdayMITA93Claude Code, Codex
mem0-vercel-ai-sdkmem0ai/mem0Skill70k3d agoApache-2.0A146Claude Code, Codex