medication-tracker

Track medications with dosage schedules, log doses taken or skipped, monitor adherence rates, manage refill reminders, and check basic drug interactions. Use when a user needs to manage their medication schedule, log dose history, or review adherence.

7 stars

Best use case

medication-tracker is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Track medications with dosage schedules, log doses taken or skipped, monitor adherence rates, manage refill reminders, and check basic drug interactions. Use when a user needs to manage their medication schedule, log dose history, or review adherence.

Teams using medication-tracker should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/medication-tracker/SKILL.md --create-dirs "https://raw.githubusercontent.com/heldernoid/agentic-build-templates/main/projects/healthcare-wellness/medication-tracker/skills/medication-tracker/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/medication-tracker/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How medication-tracker Compares

Feature / Agentmedication-trackerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Track medications with dosage schedules, log doses taken or skipped, monitor adherence rates, manage refill reminders, and check basic drug interactions. Use when a user needs to manage their medication schedule, log dose history, or review adherence.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# medication-tracker

Local medication schedule tracker with dose logging and adherence monitoring.

## When to use

- User wants to add a medication to their schedule
- User needs to log a taken or skipped dose
- User wants to review adherence statistics
- User needs to check upcoming refill dates
- User is preparing a medication summary for a healthcare provider

## Privacy model

All medication data stored locally in SQLite at `./data/medications.db`. No external transmission. Interaction data uses a built-in reference table only.

## Prerequisites

- medication-tracker running: `pnpm dev` or `docker compose up -d`
- Server at `http://localhost:3848`

## Key API operations

### Log a taken dose

```bash
curl -X POST http://localhost:3848/api/doses/taken \
  -H "Content-Type: application/json" \
  -d '{"medication_id": 1, "scheduled_time": "2026-03-20T08:00:00"}'
```

### Get today's schedule

```bash
curl http://localhost:3848/api/schedule/today
```

### Get adherence summary

```bash
curl "http://localhost:3848/api/adherence/summary?days=30"
```

### Check interactions

```bash
curl http://localhost:3848/api/interactions
```

Response includes `disclaimer` field - always display to user.

## API Reference

| Endpoint | Method | Description |
|---|---|---|
| `/api/medications` | GET | List medications |
| `/api/medications` | POST | Add medication |
| `/api/medications/:id` | PUT | Update |
| `/api/schedule/today` | GET | Today's dose schedule |
| `/api/schedule/:date` | GET | Schedule for date (YYYY-MM-DD) |
| `/api/doses/taken` | POST | Log dose taken |
| `/api/doses/skipped` | POST | Log dose skipped |
| `/api/doses/today` | GET | Today's dose status |
| `/api/adherence/summary` | GET | Overall adherence % |
| `/api/adherence/:id` | GET | Per-medication adherence |
| `/api/refills` | GET | All medications with refill info |
| `/api/refills/upcoming` | GET | Refills due soon |
| `/api/interactions` | GET | Check current medications |
| `/api/settings` | GET | Settings |
| `/api/settings` | PATCH | Update settings |

## Environment Variables

| Variable | Default | Description |
|---|---|---|
| `PORT` | `3848` | Server port |
| `DATA_DIR` | `./data` | SQLite location |
| `LOG_LEVEL` | `info` | debug / info / warn / error |
| `NODE_ENV` | `development` | development / production |
| `REMINDER_LEAD_MINS` | `15` | Minutes before dose for reminder |

## Interaction warnings

The interaction check endpoint always returns a `disclaimer` field. Display this to users before showing any interaction data. The database is limited and informational only - not a clinical decision support tool.

## Adherence thresholds

| Rate | Status |
|---|---|
| 90-100% | Excellent (green) |
| 80-89% | Good (blue) |
| 60-79% | Needs attention (amber) |
| below 60% | Low (red) |

Related Skills

habit-tracker

7
from heldernoid/agentic-build-templates

Self-hosted daily habit check-in app with streaks, calendar heatmap, and weekly email reports. Use when you need to record a habit check-in, query streak data, create or update habits, review weekly progress, or manage categories. Triggers include "log habit", "check in", "mark done", "streak", "habit progress", "weekly report", or any task involving personal habit tracking.

sleep-tracker

7
from heldernoid/agentic-build-templates

No description provided.

nutrition-tracker

7
from heldernoid/agentic-build-templates

No description provided.

deployment-tracker

7
from heldernoid/agentic-build-templates

Track every deployment event via CLI or REST API. Searchable web dashboard with service timelines, rollback tracking, and per-service deploy tokens.

terminal-time-tracker

7
from heldernoid/agentic-build-templates

Track time spent on projects from the terminal. Use when starting/stopping timers, logging time, viewing daily or weekly reports, or exporting time data. Triggers include "track time", "time tracker", "ttm", "log hours", "time report", "how much time", "start timer".

soil-test-tracker

7
from heldernoid/agentic-build-templates

Record soil test results, track nutrient levels over time, and log soil amendments. Use when asked to add a soil test, check which nutrients are deficient, view field nutrient history, record a lime or fertilizer application, or compare field health across tests. Triggers include "soil test", "soil pH", "nutrient deficiency", "add lime", "compost application", "phosphorus low", "organic matter", "amendment record", or any task involving soil chemistry tracking.

Skill: germination-tracker

7
from heldernoid/agentic-build-templates

## Purpose

SKILL.md - market-sales-tracker

7
from heldernoid/agentic-build-templates

## Overview

livestock-tracker

7
from heldernoid/agentic-build-templates

Track individual animals, record health events, vaccinations, weights, and breeding events. Use when asked to add an animal to the herd, log a vaccination, record body weight, track a treatment, set up a breeding event, check overdue vaccinations, or view the animal timeline. Triggers include "add animal", "record vaccination", "log weight", "track treatment", "breeding event", "overdue vaccines", "animal health history", "herd overview", or any task involving individual animal management.

Skill: Uptime Monitoring

7
from heldernoid/agentic-build-templates

## Overview

Skill: Status Page

7
from heldernoid/agentic-build-templates

## Overview

Skill: unit-conversion

7
from heldernoid/agentic-build-templates

## Overview