labcorp
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseLabcorp Skill
Labcorp Skill
Overview
概述
Enables Claude to use Labcorp for lab testing services including viewing test results, checking appointment status, and managing patient portal access.
使Claude能够借助Labcorp使用实验室检测服务,包括查看检测结果、查询预约状态以及管理患者门户访问权限。
Quick Install
快速安装
bash
curl -sSL https://canifi.com/skills/labcorp/install.sh | bashOr manually:
bash
cp -r skills/labcorp ~/.canifi/skills/bash
curl -sSL https://canifi.com/skills/labcorp/install.sh | bash或者手动安装:
bash
cp -r skills/labcorp ~/.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 LABCORP_EMAIL "your-email@example.com"
canifi-env set LABCORP_PASSWORD "your-password"
undefinedcanifi-env set LABCORP_EMAIL "your-email@example.com"
canifi-env set LABCORP_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
功能
- View lab test results
- Check appointment status
- Access test history
- Find testing locations
- View order status
- Access patient portal
- 查看实验室检测结果
- 查询预约状态
- 访问检测历史
- 查找检测地点
- 查看订单状态
- 访问患者门户
Usage Examples
使用示例
Example 1: View Lab Results
示例1:查看检测结果
User: "Are my Labcorp results ready?"
Claude: I'll check for your results.
1. Opening Labcorp via Playwright MCP
2. Accessing patient portal
3. Viewing results section
4. Checking for new results
5. Summarizing available results用户:“我的Labcorp检测结果出来了吗?”
Claude:我将为您查询结果。
1. 通过Playwright MCP打开Labcorp
2. 访问患者门户
3. 进入结果查看板块
4. 查询新结果
5. 汇总可用结果Example 2: Check Appointments
示例2:查询预约信息
User: "Do I have any scheduled lab appointments?"
Claude: I'll check your appointments.
1. Accessing appointments section
2. Viewing scheduled tests
3. Listing upcoming appointments
4. Providing location details用户:“我有预约好的实验室检测吗?”
Claude:我将为您查询预约信息。
1. 进入预约板块
2. 查看已预约的检测
3. 列出即将到来的预约
4. 提供地点详情Example 3: Find Location
示例3:查找检测地点
User: "Where is the nearest Labcorp location?"
Claude: I'll find nearby locations.
1. Accessing location finder
2. Searching nearby facilities
3. Listing addresses and hours
4. Noting available services用户:“最近的Labcorp地点在哪里?”
Claude:我将为您查找附近的地点。
1. 进入地点查找工具
2. 搜索附近的机构
3. 列出地址和营业时间
4. 标注可用服务Authentication Flow
认证流程
- Navigate to labcorp.com via Playwright MCP
- Click "Sign in" and enter email
- Enter password
- Handle 2FA if required (via iMessage)
- Maintain session for portal access
- 通过Playwright MCP导航至labcorp.com
- 点击“登录”并输入邮箱
- 输入密码
- 如需双因素认证(2FA)则进行处理(通过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
- Results Pending: Note processing time
- Location Unavailable: Suggest alternatives
- 登录失败:最多重试3次,通过iMessage通知
- 会话过期:自动重新认证
- 速率限制:实现指数退避机制
- 需要2FA:发送iMessage通知
- 结果待处理:标注处理时长
- 地点不可用:推荐替代方案
Self-Improvement Instructions
自我改进说明
When Labcorp updates:
- Document new portal features
- Update result viewing options
- Track appointment scheduling
- Log testing service changes
当Labcorp更新时:
- 记录新的门户功能
- 更新结果查看选项
- 跟踪预约安排功能变化
- 记录检测服务的变更
Notes
注意事项
- Results released by provider
- Walk-in and scheduled appointments
- Home collection available
- COVID testing services
- Drug testing services
- 结果由服务商发布
- 支持随到随测和预约检测
- 提供上门采样服务
- 提供新冠检测服务
- 提供药物检测服务