Token导航 LogoToken导航TokenDH.com
开发需要联网clawhub未标认证来源可访问clear审计通过

redactaredacta 开发

Agent Skill

redacta 用于整理文档、README、Markdown 和说明材料,适合在 OpenClaw 中需要把零散信息整理成结构清晰的文档时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

19,266

周安装

787

GitHub Stars

公开资料未说明

下载量

6,170
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:redacta(redacta 开发)
来源仓库:https://github.com/nickjlamb/redacta
安装命令:
openclaw skills install redacta
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install redacta

简介

用于整理文档、README 和 Markdown 说明材料。

  • 适合将零散信息整合为结构清晰的文档。redacta 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 可匿名化医疗文件中的患者标识符信息。
  • 通过 clawhub 安装,建议确认权限和维护状态。
  • 需注意是否会触发联网、命令执行或文件读写操作。

SKILL.md

name
redacta
description
Redacta pseudonymises medical documents — replacing patient identifiers (NHS numbers, dates of birth, postcodes, phone numbers, hospital numbers) with labelled tokens so clinical content can be safely processed by AI. Built by PharmaTools.AI.
metadata

Redacta

Redacta pseudonymises medical documents before AI processing. It detects patient identifiers and replaces them with labelled tokens, preserving clinical meaning while protecting privacy.

How It Works

When a user shares medical text, scan it for patient identifiers and replace them with pseudonymised tokens. The output should be clinically readable but contain no real patient data.

What Gets Detected

Structured Identifiers (regex-based)

Apply these pattern rules automatically:

NHS Numbers (UK)

  • Format: 3-3-4 digits (e.g. 943 476 5919) or 10 consecutive digits
  • Replace with: [NHS_NUMBER]
  • Validation: check digit using Modulus 11 algorithm when possible

Dates of Birth / Dates

  • Formats: DD/MM/YYYY, DD-MM-YYYY, DD.MM.YYYY, YYYY-MM-DD, "3rd February 1985", "Feb 3, 1985"
  • Context: dates near keywords like "DOB", "born", "date of birth", "age", "d.o.b"
  • Replace with: [DATE_OF_BIRTH] (when contextually a DOB) or [DATE] (other dates)
  • Preserve clinical dates when clearly not patient-identifying (e.g. "appointment on 15 March")

UK Postcodes

  • Format: A9 9AA, A99 9AA, A9A 9AA, AA9 9AA, AA99 9AA, AA9A 9AA
  • Replace with: [POSTCODE]

Phone Numbers

  • UK formats: 07xxx, 01xxx, 02xxx, +44
  • US formats: (xxx) xxx-xxxx, xxx-xxx-xxxx, +1
  • Replace with: [PHONE_NUMBER]

Email Addresses

  • Standard email pattern
  • Replace with: [EMAIL]

Hospital / MRN Numbers

  • Context: numbers near "hospital number", "MRN", "patient ID", "unit number", "case number"
  • Replace with: [HOSPITAL_NUMBER]

UK National Insurance Numbers

  • Format: 2 letters + 6 digits + 1 letter (e.g. AB123456C)
  • Replace with: [NI_NUMBER]

Contextual Identifiers (agent reasoning)

Use your understanding of clinical documents to detect:

Patient Names

  • Look for names in: salutations ("Dear Mrs Jones"), headers ("Patient: John Smith"), references in body text
  • Distinguish patient names from clinician names — do NOT redact doctor/nurse/consultant names unless explicitly asked
  • Replace with: [PATIENT_NAME]
  • If multiple patients mentioned, use: [PATIENT_NAME_1], [PATIENT_NAME_2]

Patient Addresses

  • Full or partial addresses (house number + street, or referenced near "address", "lives at", "resides")
  • Replace with: [ADDRESS]
  • Postcodes are handled separately above

Ages

  • Specific ages that could identify when combined with other data: "82-year-old", "aged 47"
  • Replace with: [AGE]
  • Context matters: "children aged 5-12" (general) vs "a 73-year-old woman" (specific patient)

Output Format

Return two sections:

1. Pseudonymised Document

The full document with all identifiers replaced by tokens. Preserve all formatting, paragraph breaks, and clinical content.

2. Redaction Report

A summary of what was found and replaced:

Redaction Report
================
Items pseudonymised: 7

- [NHS_NUMBER] × 1 (line 3)
- [PATIENT_NAME] × 2 (lines 1, 5)
- [DATE_OF_BIRTH] × 1 (line 2)
- [POSTCODE] × 1 (line 8)
- [PHONE_NUMBER] × 1 (line 9)
- [AGE] × 1 (line 4)

Clinical content preserved: ✓
Clinician names preserved: Dr. Sarah Chen, Mr. James Wright

Rules

  1. Never output the original patient identifiers in your response — only the pseudonymised version
  2. Preserve all clinical content — medications, diagnoses, procedures, test results, clinical observations
  3. Preserve clinician names by default — only redact if the user explicitly asks
  4. Preserve hospital/practice names by default — these are institutional, not patient data
  5. When uncertain, err on the side of redacting — false positives are safer than false negatives
  6. Dates: appointment dates, procedure dates, and follow-up dates should be preserved unless they could identify the patient (e.g. a specific date of birth)
  7. Consistency: the same identifier should get the same token throughout the document (e.g. every instance of the patient's name becomes [PATIENT_NAME])

Example

Input:

Dear Mrs Patricia Hartley,

DOB: 14/03/1952 (age 73)
NHS Number: 943 476 5919
Hospital Number: RXH-2847561

I am writing to inform you of the results of your recent investigations.
Mrs Hartley attended the cardiology outpatient clinic on 10 February 2026
under the care of Dr Sarah Chen.

Address: 14 Oakfield Road, Headingley, Leeds LS6 3PJ
Tel: 0113 278 4532

Output:

Dear [PATIENT_NAME],

DOB: [DATE_OF_BIRTH] (age [AGE])
NHS Number: [NHS_NUMBER]
Hospital Number: [HOSPITAL_NUMBER]

I am writing to inform you of the results of your recent investigations.
[PATIENT_NAME] attended the cardiology outpatient clinic on 10 February 2026
under the care of Dr Sarah Chen.

Address: [ADDRESS], [POSTCODE]
Tel: [PHONE_NUMBER]

What This Skill Does NOT Do

  • Store or transmit patient data
  • Guarantee 100% detection (always review output)
  • Replace formal data protection processes
  • Provide legal compliance certification
  • Process images or PDFs (text input only in v1)

Privacy Note

This skill processes text locally within your AI agent session. No patient data is sent to external services. However, the text is processed by the underlying language model — ensure your model provider's data handling meets your organisation's requirements.


Built by PharmaTools.AI — applied AI for pharma and healthcare.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

71.96%
按下载量换算4,440

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills