Overview
- Skill Key
- aronchick/expanso-pii-redact
- Author
- aronchick
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/aronchick/expanso-pii-redact
- Latest Commit SHA
- 81b946576c70eaa268adcdb40fd0e6f67e4d6bf8
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Expanso Pii Redact 技能。 若已安装,则直接安装 Expanso Pii Redact 技能。
# pii-redact "Redact PII from text, replacing sensitive data with placeholders" ## Requirements - Expanso Edge installed (`expanso-edge` binary in PATH) - Install via: `clawhub install expanso-edge` ## Usage ### CLI Pipeline ```bash # Run standalone echo '<input>' | expanso-edge run pipeline-cli.yaml ``` ### MCP Pipeline ```bash # Start as MCP server expanso-edge run pipeline-mcp.yaml ``` ### Deploy to Expanso Cloud ```bash expanso-cli job deploy https://skills.expanso.io/pii-redact/pipeline-cli.yaml ``` ## Files | File | Purpose | |------|---------| | `skill.yaml` | Skill metadata (inputs, outputs, credentials) | | `pipeline-cli.yaml` | Standalone CLI pipeline | | `pipeline-mcp.yaml` | MCP server pipeline |
# pii-redact
Redact personally identifiable information (PII) from text, replacing it with configurable placeholders.
## Overview
This skill uses AI to detect and redact PII from text. Unlike `pii-detect` which only identifies PII, this skill **transforms** the text by replacing sensitive information with placeholders.
## Usage
### CLI Mode
```bash
# Set your API key (stays local!)
export OPENAI_API_KEY=sk-...
# Redact PII from text
echo "Contact John Smith at john.smith@company.com or 555-123-4567" | \
expanso-edge run pipeline-cli.yaml
# Custom placeholder
PLACEHOLDER="***" echo "Contact John at john@example.com" | \
expanso-edge run pipeline-cli.yaml
```
### MCP Mode
```bash
# Start server
PORT=8080 expanso-edge run pipeline-mcp.yaml &
# Make request
curl -X POST http://localhost:8080/redact \
-H "Content-Type: application/json" \
-d '{
"text": "Contact John Smith at john.smith@company.com",
"placeholder": "[HIDDEN]"
}'
```
## Output
```json
{
"redacted_text": "Contact [REDACTED] at [REDACTED] or [REDACTED]",
"redaction_count": 3,
"redacted_types": ["name", "email", "phone"],
"metadata": {
"skill": "pii-redact",
"mode": "cli",
"model": "gpt-4o-mini",
"placeholder": "[REDACTED]",
"trace_id": "abc123...",
"timestamp": "2024-01-15T10:30:00Z"
}
}
```
## PII Types Detected
- Names (first, last, full)
- Email addresses
- Phone numbers
- Social Security Numbers
- Street addresses
- Credit card numbers
- IP addresses
- Dates of birth
- Government IDs
## Configuration
| Variable | Default | Description |
|----------|---------|-------------|
| `PLACEHOLDER` | `[REDACTED]` | Text to replace PII with |
| `OPENAI_API_KEY` | - | Required for OpenAI backend |
## Use Cases
- Log sanitization before storage
- Data anonymization for analytics
- Compliance with GDPR/CCPA
- Preparing data for public sharing
openstockdata
OpenClaw Skill for stock data analysis
capt-marbles
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.
capt-marbles
Control PhantomBuster automation agents via API. List agents, launch automations, get output/results, check status, and abort running agents. Use when the user needs to run LinkedIn scraping, Twitter automation, lead generation phantoms, or any PhantomBuster workflow.
caspian9
飞书云盘文件管理技能。用于读取、下载和管理飞书云盘中的文件。 当用户需要:访问飞书文件、下载文档、读取PDF/Word/PPT文件、分析飞书云盘内容时使用。 核心方法:使用 tenant_access_token 调用 Drive API 下载文件,解析内容返回给用户。
camopel
Free multi-engine web search via ddgs CLI (DuckDuckGo, Google, Bing, Brave, Yandex, Yahoo, Wikipedia) + arXiv API search. No API keys required. Use when user needs web search, research paper discovery, or when other skills need a search backend. Drop-in replacement for web-search-plus.
camopel
Continuous financial news crawler for finviz.com with SQLite storage, article extraction, and query tool. Use when monitoring financial markets, building news digests, or needing a local financial news database. Runs as a background daemon or systemd service.