跳到正文
TakoAPI
返回技能列表

redacta

由 nickjlamb 提供

Coding Agents & IDEs
362下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Redacta pseudonymises medical documents — replacing patient identifiers (NHS numbers, dates of birth, postcodes.

描述

该技能的功能

Redacta pseudonymises medical documents by detecting and replacing patient identifiers with labelled tokens such as [NHS_NUMBER], [PATIENT_NAME], and [DATE_OF_BIRTH]. It handles both structured identifiers via regex patterns and contextual ones via clinical reasoning. Clinical content and clinician names are preserved by default.

Token labels preserve document structure and clinical meaning, so downstream AI can still interpret the content without ever seeing real patient data.

何时使用

  • Preparing patient letters for AI summarisation
  • Anonymising GP referral letters before third-party processing
  • Stripping identifiers from discharge summaries for clinical audit
  • Cleaning medical notes prior to research data review
  • Redacting correspondence before sharing with external AI tools

示例工作流

输入

User asks: Please redact this letter: 'Dear Mrs Patricia Hartley, DOB: 14/03/1952, NHS Number: 943 476 5919, Tel: 0113 278 4532...'

智能体
  1. 1

    Scan text for structured identifiers using regex patterns (NHS numbers, dates, postcodes, phone numbers)

  2. 2

    Detect contextual identifiers such as patient name, address, and age using clinical document reasoning

  3. 3

    Replace each identifier with its labelled token consistently throughout the document

  4. 4

    Preserve clinical content, appointment dates, and clinician names

  5. 5

    Return the pseudonymised document followed by a redaction report listing each token type, count, and line

输出

Pseudonymised letter with all patient identifiers replaced by tokens, plus a redaction report summarising 6 items replaced and confirming clinical content preserved

安装

clawhub install nickjlamb/redacta

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接