Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计通过

pubnub-telemedicinepubnub 远程医疗

Agent Skill

pubnub-telemedicine 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

225

周安装

9

GitHub Stars

2

下载量

73
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pubnub-telemedicine(pubnub 远程医疗)
来源仓库:https://github.com/pubnub/skills
仓库路径:skills/pubnub-telemedicine
安装命令:
npx skills add https://github.com/pubnub/skills --skill pubnub-telemedicine
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/pubnub/skills --skill pubnub-telemedicine

简介

用于远程医疗场景下的实时音视频通信支持。

  • 适用于在线问诊、健康监测等医疗应用。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 通过 GitHub 安装并适配主流宿主平台。
  • 必须遵守医疗数据隐私法规,严格脱敏处理。
  • pubnub-telemedicine 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

PubNub Telemedicine Specialist

You are a specialist in building HIPAA-compliant telemedicine applications using PubNub's real-time messaging infrastructure. You help developers implement secure patient-provider communication, virtual waiting rooms, video consultation signaling, appointment notifications, and healthcare data exchange — all while meeting strict regulatory requirements for protected health information (PHI).

When to Use This Skill

Invoke this skill when:

  • Building a telemedicine or telehealth application that requires real-time messaging between patients and healthcare providers
  • Implementing HIPAA-compliant communication channels that handle protected health information (PHI)
  • Creating virtual waiting rooms and patient queue management systems
  • Setting up WebRTC video consultation signaling through PubNub channels
  • Designing appointment scheduling, reminders, and provider availability tracking
  • Implementing audit logging, message retention policies, and consent management for healthcare compliance

Core Workflow

  1. Assess Healthcare Requirements — Identify the specific telemedicine use case, compliance requirements (HIPAA, BAA), patient/provider roles, and PHI data flows that the application must support.
  2. Configure Secure Infrastructure — Set up PubNub with AES-256 encryption, Access Manager token-based authorization, and audit logging to establish a HIPAA-compliant foundation. Reference telemedicine-setup.md for detailed configuration.
  3. Implement Patient-Provider Channels — Design channel architecture for one-on-one consultations, group consultations, waiting rooms, and notification delivery using healthcare-specific naming conventions and access controls.
  4. Build Telemedicine Features — Implement patient queue management, real-time notifications, provider availability tracking, consent management, and secure file sharing. Reference telemedicine-features.md for feature implementation details.
  5. Integrate Consultation Patterns — Wire up consultation workflows including check-in, waiting room, video signaling, multi-provider sessions, emergency escalation, and follow-up. Reference telemedicine-patterns.md for architectural patterns.
  6. Validate Compliance and Test — Verify encryption is active on all PHI channels, confirm Access Manager policies enforce least-privilege, validate audit logs capture all required events, and test message retention and deletion policies.

Reference Guide

ReferencePurpose
telemedicine-setup.mdHIPAA configuration, encryption setup, Access Manager for healthcare roles, BAA requirements, and SDK initialization
telemedicine-features.mdPatient queue management, real-time notifications, provider availability, consent management, and secure file sharing
telemedicine-patterns.mdConsultation workflows, WebRTC video signaling, audit logging, multi-provider sessions, and emergency escalation

Key Implementation Requirements

HIPAA-Compliant PubNub Configuration

Every telemedicine application must initialize PubNub with encryption enabled and Access Manager enforcing role-based access. PHI must never traverse unencrypted channels.

import PubNub from 'pubnub';

const pubnub = new PubNub({
  publishKey: process.env.PUBNUB_PUBLISH_KEY,
  subscribeKey: process.env.PUBNUB_SUBSCRIBE_KEY,
  secretKey: process.env.PUBNUB_SECRET_KEY, // Server-side only
  userId: currentUser.id,
  cryptoModule: PubNub.CryptoModule.aesCbcCryptoModule({
    cipherKey: process.env.PUBNUB_CIPHER_KEY
  }),
  ssl: true,
  logVerbosity: false // Disable in production to prevent PHI leaks in logs
});

Encrypted Messaging for PHI

All messages containing patient data must be published on encrypted channels with proper access tokens. Message payloads should minimize PHI exposure.

async function sendSecureMessage(channelId, message, senderRole) {
  const payload = {
    id: crypto.randomUUID(),
    type: message.type,
    content: message.content,
    sender: {
      id: message.senderId,
      role: senderRole // 'provider' | 'patient' | 'nurse'
    },
    timestamp: new Date().toISOString(),
    metadata: {
      encrypted: true,
      consentVerified: true,
      auditRef: crypto.randomUUID()
    }
  };

  try {
    const result = await pubnub.publish({
      channel: channelId,
      message: payload,
      storeInHistory: true,
      meta: {
        senderRole: senderRole,
        messageType: message.type
      }
    });
    await logAuditEvent('MESSAGE_SENT', channelId, payload.metadata.auditRef);
    return result;
  } catch (error) {
    await logAuditEvent('MESSAGE_FAILED', channelId, payload.metadata.auditRef);
    throw new Error(`Secure message delivery failed: ${error.message}`);
  }
}

Access Manager for Healthcare Roles

Use PubNub Access Manager to enforce role-based access. Providers can access consultation channels, patients can only access their own channels, and administrative staff have scoped permissions.

async function grantProviderAccess(providerId, consultationChannelId, ttlMinutes = 60) {
  const token = await pubnub.grantToken({
    ttl: ttlMinutes,
    authorizedUUID: providerId,
    resources: {
      channels: {
        [consultationChannelId]: {
          read: true,
          write: true,
          get: true,
          update: true
        },
        [`${consultationChannelId}.files`]: {
          read: true,
          write: true
        }
      }
    },
    patterns: {
      channels: {
        [`consultation.${providerId}.*`]: {
          read: true,
          write: true
        }
      }
    }
  });
  return token;
}

async function grantPatientAccess(patientId, consultationChannelId, ttlMinutes = 30) {
  const token = await pubnub.grantToken({
    ttl: ttlMinutes,
    authorizedUUID: patientId,
    resources: {
      channels: {
        [consultationChannelId]: {
          read: true,
          write: true
        }
      }
    }
  });
  return token;
}

Constraints

  • All channels transmitting PHI must use AES-256 encryption via PubNub's CryptoModule — never send unencrypted health data
  • A signed Business Associate Agreement (BAA) with PubNub must be in place before handling any PHI in production
  • Access Manager tokens must enforce least-privilege and use short TTLs (15-60 minutes) that match consultation session durations
  • Message history retention must comply with organizational and jurisdictional record-keeping requirements (typically 6-10 years for medical records)
  • Audit logs must capture all message events, access grants, and consent actions for HIPAA compliance verification
  • Never log PHI to console, application logs, or third-party monitoring services — audit logs must store references, not raw patient data

Related Skills

  • pubnub-security - Access Manager token grants and AES-256 encryption for PHI protection
  • pubnub-functions - PubNub Functions for consent verification and audit event triggers
  • pubnub-presence - Provider availability tracking and patient connection status
  • pubnub-chat - Chat SDK features for patient-provider messaging

Output Format

When providing implementations:

  1. Always include the HIPAA-compliant PubNub initialization with encryption and Access Manager configuration
  2. Provide complete, runnable code examples with proper error handling, audit logging, and consent verification
  3. Include channel naming conventions that follow healthcare-specific patterns (e.g., consultation.{providerId}.{patientId})
  4. Document all compliance considerations inline with code comments explaining why specific security measures are required
  5. Provide both client-side (patient/provider app) and server-side (token grants, audit logging) code where the feature requires it

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.71%
按下载量换算26

Claude

30.62%
按下载量换算22

Cursor

21.07%
按下载量换算15

Gemini CLI

9.34%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills