walgreens

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Walgreens Skill

Walgreens Skill

Overview

概述

Enables Claude to use Walgreens for pharmacy services including checking prescription status, viewing medication history, and managing account settings.
让Claude能够借助Walgreens使用药房服务,包括查看处方状态、浏览用药历史以及管理账户设置。

Quick Install

快速安装

bash
curl -sSL https://canifi.com/skills/walgreens/install.sh | bash
Or manually:
bash
cp -r skills/walgreens ~/.canifi/skills/
bash
curl -sSL https://canifi.com/skills/walgreens/install.sh | bash
或手动安装:
bash
cp -r skills/walgreens ~/.canifi/skills/

Setup

设置

Configure via canifi-env:
bash
undefined
通过canifi-env进行配置:
bash
undefined

First, ensure canifi-env is installed:

首先,确保已安装canifi-env:

canifi-env set WALGREENS_EMAIL "your-email@example.com" canifi-env set WALGREENS_PASSWORD "your-password"
undefined
canifi-env set WALGREENS_EMAIL "your-email@example.com" canifi-env set WALGREENS_PASSWORD "your-password"
undefined

Privacy & Authentication

隐私与认证

Your credentials, your choice. Canifi LifeOS respects your privacy.
您的凭据,您做主。 Canifi LifeOS尊重您的隐私。

Option 1: Manual Browser Login (Recommended)

选项1:手动浏览器登录(推荐)

If you prefer not to share credentials with Claude Code:
  1. Complete the Browser Automation Setup using CDP mode
  2. Login to the service manually in the Playwright-controlled Chrome window
  3. Claude will use your authenticated session without ever seeing your password
如果您不想与Claude Code共享凭据:
  1. 使用CDP模式完成浏览器自动化设置
  2. 在Playwright控制的Chrome窗口中手动登录该服务
  3. Claude将使用您的已认证会话,全程不会获取您的密码

Option 2: Environment Variables

选项2:环境变量

If you're comfortable sharing credentials, you can store them locally:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.
如果您愿意共享凭据,可以将其存储在本地:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
注意:存储在canifi-env中的凭据仅能在您的本地设备上访问,绝不会被传输至其他地方。

Capabilities

功能

  • Check prescription status
  • View medication history
  • Access refill information
  • Check store locations
  • View immunization records
  • Access myWalgreens rewards
  • 查看处方状态
  • 浏览用药历史
  • 获取续药信息
  • 查询门店位置
  • 查看免疫接种记录
  • 使用myWalgreens奖励计划

Usage Examples

使用示例

Example 1: Check Prescription Status

示例1:查看处方状态

User: "Is my Walgreens prescription ready?"
Claude: I'll check your prescription.
1. Opening Walgreens via Playwright MCP
2. Accessing pharmacy section
3. Viewing prescription status
4. Checking ready for pickup
5. Reporting availability
用户:"我的Walgreens处方准备好了吗?"
Claude:我将为您查询处方状态。
1. 通过Playwright MCP打开Walgreens页面
2. 进入药房板块
3. 查看处方状态
4. 确认是否可取药
5. 反馈可用状态

Example 2: View Medication List

示例2:浏览用药列表

User: "What prescriptions do I have at Walgreens?"
Claude: I'll list your medications.
1. Accessing prescription history
2. Viewing current medications
3. Listing active prescriptions
4. Noting refill eligibility
用户:"我在Walgreens有哪些处方?"
Claude:我将为您列出用药清单。
1. 进入处方历史页面
2. 浏览当前用药
3. 列出有效处方
4. 标注可续药的处方

Example 3: Find Pharmacy

示例3:查找药房

User: "Find a 24-hour Walgreens near me"
Claude: I'll find 24-hour locations.
1. Accessing store locator
2. Filtering for 24-hour
3. Finding nearest matches
4. Providing addresses
用户:"帮我找附近24小时营业的Walgreens"
Claude:我将为您查找24小时营业的门店。
1. 进入门店定位页面
2. 筛选24小时营业的门店
3. 查找最近的匹配结果
4. 提供门店地址

Authentication Flow

认证流程

  1. Navigate to walgreens.com via Playwright MCP
  2. Click "Sign in" and enter email
  3. Enter password
  4. Handle 2FA if required (via iMessage)
  5. Maintain session for account access
  1. 通过Playwright MCP导航至walgreens.com
  2. 点击“登录”并输入邮箱
  3. 输入密码
  4. 如需两步验证则完成验证(通过iMessage)
  5. 维持会话以访问账户

Error Handling

错误处理

  • Login Failed: Retry up to 3 times, notify via iMessage
  • Session Expired: Re-authenticate automatically
  • Rate Limited: Implement exponential backoff
  • 2FA Required: Send iMessage notification
  • Prescription Not Found: Verify pharmacy location
  • Store Error: Try alternative locations
  • 登录失败:最多重试3次,通过iMessage通知用户
  • 会话过期:自动重新认证
  • 速率限制:实现指数退避机制
  • 需要两步验证:发送iMessage通知
  • 未找到处方:核实药房位置
  • 门店错误:尝试其他门店

Self-Improvement Instructions

自我改进说明

When Walgreens updates:
  1. Document new pharmacy features
  2. Update digital service options
  3. Track rewards program changes
  4. Log clinic service updates
当Walgreens进行更新时:
  1. 记录新的药房功能
  2. 更新数字服务选项
  3. 追踪奖励计划的变更
  4. 记录诊所服务的更新

Notes

注意事项

  • myWalgreens rewards program
  • Healthcare clinic services
  • Photo services available
  • Drive-thru pharmacy
  • Curbside pickup option
  • myWalgreens奖励计划
  • 医疗诊所服务
  • 提供照片服务
  • 免下车药房
  • 路边取药选项