Token导航 LogoToken导航TokenDH.com
研究检索external-serviceclawhub未标认证来源可访问clear审计通过

privacy-guard隐私卫士

Agent Skill

privacy-guard 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

9,122

周安装

369

GitHub Stars

公开资料未说明

下载量

2,863
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install privacy-guard

简介

检测文本与文档中是否包含敏感个人信息(PII)。

  • 适用于合同审核、客户资料归档前的内容筛查任务。
  • 支持 PDF、DOCX 等格式深度解析,标记高风险字段位置。
  • 安装命令:openclaw skills install privacy-guard。
  • 本地处理模式下无需联网,但识别精度依赖于内置规则库版本。

SKILL.md

name
privacy-guard
description
Protects sensitive files (contracts, transaction data, personal/customer privacy) by performing deep content inspection for text and binary formats (PDF, DOCX, XLSX) before any read, search, or send operation.
metadata

Privacy Guard (申石隐私卫士)

This skill is designed to protect sensitive files on the user's local system, preventing them from being inadvertently sent to remote servers or external APIs. It performs deep content inspection across various file formats.

该技能用于保护用户本地系统中的敏感文件,避免这些文件被意外发送到远程服务器或外部 API。它支持对多种文件格式进行深度内容检查。

Core Rules and Mandatory Enforcement

  1. Mandatory Scan Before Operation: Before performing *any* action involving file reading, searching, or sending (e.g., upload, send, read_file, file tool actions), you MUST first scan the target file for sensitive information using the provided scan_file.py script. This is a non-negotiable step.
  2. Strict Blocking on Detection: If the scan_file.py script returns an output starting with BLOCK:, you MUST immediately and unconditionally stop the current task. You are strictly forbidden from proceeding with the operation or attempting to bypass this restriction. Inform the user clearly about the detected sensitive content and the cessation of the operation.
  3. No Silent Data Transmission: Under no circumstances are you permitted to send any local file content to an external API, remote server, or any external destination without prior validation and a PASS: result from this skill.

Supported File Formats

The skill performs deep content scanning for the following formats:

  • Text-based: .txt, .csv, .md, .json, .xml, .log, .py, .js, .html
  • Documents: .pdf, .docx
  • Spreadsheets: .xlsx

Sensitive Information Categories

The skill monitors for the following four categories of sensitive information:

  • Contracts/Agreements: Files containing keywords like “合同”, “协议”, “Contract”, “Agreement”.
  • Transaction Data: Files containing keywords like “交易记录”, “支付明细”, “Transaction Data”, “Amount”, “Balance”.
  • Personal Privacy: Files containing keywords like “身份证”, “手机号”, “家庭住址”, “Personal Privacy”, “ID Card”, “Phone Number”.
  • Customer Privacy: Files containing keywords like “客户信息”, “Client Data”, “Customer Privacy”, “User Profile”.

Usage Workflow

Installation

Install required dependencies once before running scans:

python3 -m pip install -r {baseDir}/requirements.txt

Optional helper:

bash {baseDir}/scripts/install_deps.sh

1. File Scanning

Before processing any file path, call the built-in scanning script using a relative path from the skill's base directory:

python3 {baseDir}/scripts/scan_file.py <file_path>

2. Handling Results

  • If the output starts with BLOCK::

* Immediately stop all subsequent steps. * Report to the user: "Detected sensitive file [filename], containing [sensitive information type]. Execution has been stopped according to the privacy protection policy." * Do NOT attempt to bypass this restriction.

  • If the output starts with PASS::

* You may proceed with the intended operation.

Example Scenario

Scenario: User requests "Send this contract to my boss"

  1. Identify the keyword "contract" or "合同".
  2. Invoke the scan: python3 {baseDir}/scripts/scan_file.py ./contract.pdf.
  3. If the script returns BLOCK: Sensitive keyword '合同' found in content (Category: Contract/Agreement)., stop and inform the user.
  4. Response: "I'm sorry, but I've detected that this file is a protected contract. For your data security, I have stopped the sending operation."

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

85.74%
按下载量换算2,455

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills