- Home
- Skills
- Workflow Automation
- Clinic Queue Designer
Clinic Queue Designer
Architect station-based clinic queue systems with QR check-in, token logic, and automated patient notifications.
$10
Clinic Queue Designer
Example session with this skill installed
Design a queue for a 2-doctor pediatric clinic. Stations: Check-in, Vitals (height/weight), Doctor, Vaccination. Need QR check-in and WhatsApp notifications. Located in India.
- Read your context and instructions
- Compiled the clinic queue designer
The journey for the pediatric clinic has been mapped across four stations, including vitals and vaccination. I have defined the SQL schema, QR check-in logic with ABHA support, and WhatsApp notification templates.
Pediatric Clinic Arrivals and Queue Design
Journey
| Order | Station | Staffed by | Typical time | Can be skipped when |
|---|---|---|---|---|
| 1 | Check-in | Front desk / QR | 2 min | Pre-registered via QR |
| 2 | Vitals | Nurse | 4 min | Follow-up/Report review |
| 3 | Doctor | Pediatrician | 12 min | — |
| 4 | Vaccination | Nurse | 6 min | No vaccine due |
Data Model
CREATE TABLE visit (
id UUID PRIMARY KEY,
token_no VARCHAR(10),
patient_ref VARCHAR(50),
doctor_id UUID,
arrival_type VARCHAR(20), -- walk_in, appointment, follow_up
priority VARCHAR(20) DEFAULT 'normal', -- normal, priority, emergency
status VARCHAR(20)
);
CREATE TABLE journey_step (
id UUID PRIMARY KEY,
visit_id UUID REFERENCES visit(id),
station_id INT,
seq INT,
status VARCHAR(20), -- waiting, called, in_progress, done, no_show
entered_at TIMESTAMP,
called_at TIMESTAMP
);
Queue Rules
- Priority: Emergencies first, then infants under 6 months (Priority), then by arrival/appointment time.
- Mixing: 2 Appointments : 1 Walk-in ratio.
- No-show: Mark
no_showafter 2 calls. If patient returns, insert at position 3.
Patient Messages
- Token Issue: "Token [TOKEN] issued for [DOCTOR]. 3 patients ahead. We will WhatsApp you when it is nearly your turn."
- Call to Vitals: "Token [TOKEN], please proceed to the Vitals station for height and weight check."
- Doctor Call: "Token [TOKEN], Dr. [NAME] is ready for you in Room [X]."
Next steps
- Register WhatsApp Utility templates for the token and "nearly turn" messages.
- Review ABDM Scan and Share sandbox for ABHA profile integration.
- Implement the
journey_stepstate machine in your backend.
Connects securely to your tools. The creator never sees your data.
About this skill
Managing patient flow shouldn't require custom code for every clinic layout. This skill designs station-based queue systems that handle everything from QR check-ins to emergency overrides without hard-coding the journey.
What it does
- Station-based modeling: Maps journeys across registration, vitals, doctors, and pharmacy as configurable steps.
- Hybrid arrival handling: Manages appointments, walk-ins, and follow-ups in a single, fair, and explainable order.
- Check-in workflows: Designs QR, kiosk, and manual desk flows, including ABDM Scan and Share support for India.
- Real-time notifications: Drafts waiting-room screen content, SMS, WhatsApp, and voice announcement wording.
- Staff interface design: Defines touch-friendly screens for nurses and doctors to call, start, or mark no-shows.
- Privacy-first displays: Ensures public screens show token numbers and rooms only, keeping names and diagnoses private.
How it works
- Map the journey: Define the sequence of stations, staffing roles, and skip conditions in a structured table.
- Configure rules: Set priority logic for emergencies, appointment/walk-in mixing, and no-show recovery.
- Generate data model: Produce the SQL schema for visits, journey steps, and event logs.
- Draft communication: Create localized wording for tokens, "nearly your turn" alerts, and emergency notices.
Frameworks & tools
The output is tech-agnostic but provides SQL schemas for relational databases (PostgreSQL/MySQL). It references integration patterns for HIS/EMR systems, ABDM (India), and DLT/WhatsApp Business API templates for messaging.
Why this beats prompting it yourself
Generic prompts often hard-code the patient path or leak sensitive PII onto public screens. This skill enforces station-based modularity and "one token, many entries" logic, ensuring the system scales from a single-doctor office to a multi-room OPD.
Use cases
- Designing a kiosk-based check-in system for a diagnostic center.
- Building a queuing engine for a multi-specialty hospital OPD.
- Implementing a vaccination clinic flow with vitals and observation steps.
- Optimizing wait-time logic for a high-volume pediatric clinic.
Known limitations
Does not perform clinical triage scoring or handle billing flows. Requires external SMS/WhatsApp providers for actual message delivery.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 7 days ago
Permissions
No special permissions declared or detected
What's inside
Frequently Asked Questions
New in Workflow Automation
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.