walgreens
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWalgreens 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 | bashOr 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
undefinedFirst, ensure canifi-env is installed:
首先,确保已安装canifi-env:
curl -sSL https://canifi.com/install.sh | bash
curl -sSL https://canifi.com/install.sh | bash
canifi-env set WALGREENS_EMAIL "your-email@example.com"
canifi-env set WALGREENS_PASSWORD "your-password"
undefinedcanifi-env set WALGREENS_EMAIL "your-email@example.com"
canifi-env set WALGREENS_PASSWORD "your-password"
undefinedPrivacy & 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:
- Complete the Browser Automation Setup using CDP mode
- Login to the service manually in the Playwright-controlled Chrome window
- Claude will use your authenticated session without ever seeing your password
如果您不想与Claude Code共享凭据:
- 使用CDP模式完成浏览器自动化设置
- 在Playwright控制的Chrome窗口中手动登录该服务
- 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
认证流程
- Navigate to walgreens.com via Playwright MCP
- Click "Sign in" and enter email
- Enter password
- Handle 2FA if required (via iMessage)
- Maintain session for account access
- 通过Playwright MCP导航至walgreens.com
- 点击“登录”并输入邮箱
- 输入密码
- 如需两步验证则完成验证(通过iMessage)
- 维持会话以访问账户
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:
- Document new pharmacy features
- Update digital service options
- Track rewards program changes
- Log clinic service updates
当Walgreens进行更新时:
- 记录新的药房功能
- 更新数字服务选项
- 追踪奖励计划的变更
- 记录诊所服务的更新
Notes
注意事项
- myWalgreens rewards program
- Healthcare clinic services
- Photo services available
- Drive-thru pharmacy
- Curbside pickup option
- myWalgreens奖励计划
- 医疗诊所服务
- 提供照片服务
- 免下车药房
- 路边取药选项