360 Secure SkillHub
360 安全技能中心

CareMax Members

该 Skill 用于在 CareMax Health 中列出家庭成员档案,并通过 memberId 把指标、记录查询和搜索范围限定到指定家庭成员;鉴权与 API 调用依赖同级 caremax-auth 目录下的 api-call.sh 与 auth-flow.sh 脚本。

kittenyang
kittenyang
热度 37.07
最近更新 2026-05-11 17:37:55
分类:生活依赖:代码执行 / 第三方 API应用场景:健康 / API 集成 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add caremax-members
Metadata
name
caremax-members
description
Manage family members in CareMax Health. Use when a user asks about family health tracking, switching between family member profiles, or viewing another family member's health data. Trigger terms: family member, member list, my family, switch member, spouse health, child health, parent health, 家人, 家庭成员.
license
MIT

CareMax Family Members

Requires caremax-auth as a sibling directory (../caremax-auth/). If missing, tell the user to install caremax-auth first (e.g. npx skills add KittenYang/caremax-skills).

List and work with family member profiles. CareMax supports tracking health data for multiple family members.

Prerequisites — Auto-Auth (MANDATORY)

APICALL="bash ../caremax-auth/scripts/api-call.sh"

If api-call.sh returns {"error":"no_credentials",...} → immediately run bash ../caremax-auth/scripts/auth-flow.sh [base_url] in background (from this skill’s root). If the user specified a custom URL, pass it as the argument.

List Members

$APICALL GET /api/skill/members

Response: {"members":[{"id":"...","name":"...","gender":"...","relationship":"self","is_default":1},...]}

Using memberId in Other Queries

Pass memberId to scope queries to a specific family member:

# Indicators for a specific member
$APICALL GET "/api/skill/indicators?memberId=xxx"

# Records for a specific member
$APICALL POST /api/skill/records/query '{"memberId":"xxx"}'

# Search for a specific member
$APICALL POST /api/skill/records/search '{"query":"血常规","memberId":"xxx"}'

Recommended Workflow

"show my wife's blood sugar":

# 1. Find spouse member
$APICALL GET /api/skill/members
# 2. Get indicators for that member (extract spouse's id)
$APICALL GET "/api/skill/indicators?memberId={spouse_id}"
# 3. Get trend for blood sugar indicator
$APICALL GET "/api/skill/indicators/trend?id={indicator_uuid}"

Notes

  • Every account has a default member (is_default: 1 = the user themselves)
  • If no memberId specified, queries return data for the default member
  • relationship values: self, spouse, child, parent, sibling, other