10-of-my-most-popular-text-to-image-series-prompts-78b0897e
generate a bunch of images, then you curate the results to handpick the best ones
log sanitize
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install aronchick/expanso-log-sanitizeInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
"Sanitize log entries by removing passwords, tokens, and sensitive patterns"
expanso-edge binary in PATH)clawhub install expanso-edge
# Run standalone
echo '<input>' | expanso-edge run pipeline-cli.yaml
# Start as MCP server
expanso-edge run pipeline-mcp.yaml
expanso-cli job deploy https://skills.expanso.io/log-sanitize/pipeline-cli.yaml
| File | Purpose |
|---|---|
skill.yaml |
Skill metadata (inputs, outputs, credentials) |
pipeline-cli.yaml |
Standalone CLI pipeline |
pipeline-mcp.yaml |
MCP server pipeline |
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
Sanitize log entries by removing sensitive data patterns like passwords, tokens, and API keys.
This skill runs entirely locally without any API calls. It uses pattern matching to detect and redact common secret patterns in log files.
# Sanitize a log line
echo 'user=admin password=secret123 token=abc456' | \
expanso-edge run pipeline-cli.yaml
# Sanitize an entire log file
cat /var/log/app.log | expanso-edge run pipeline-cli.yaml
# Start server
PORT=8080 expanso-edge run pipeline-mcp.yaml &
# Make request
curl -X POST http://localhost:8080/sanitize \
-H "Content-Type: application/json" \
-d '{"log": "password=secret123 api_key=sk-123abc"}'
{
"sanitized": "user=admin password=***REDACTED*** token=***REDACTED***",
"redactions": 27,
"metadata": {
"skill": "log-sanitize",
"mode": "cli",
"trace_id": "abc123...",
"timestamp": "2024-01-15T10:30:00Z"
}
}
| Pattern | Example | Replacement |
|---|---|---|
| Passwords | password=secret |
password=***REDACTED*** |
| API Keys | api_key=sk-123 |
api_key=***REDACTED*** |
| Tokens | token=abc123 |
token=***REDACTED*** |
| Bearer Auth | Bearer eyJ... |
Bearer ***REDACTED*** |
| AWS Keys | AKIAIOSFODNN7 |
***AWS_KEY_REDACTED*** |
| JWT Tokens | eyJ...eyJ... |
***JWT_REDACTED*** |
| Secrets | secret=xyz |
secret=***REDACTED*** |
# log-sanitize "Sanitize log entries by removing passwords, tokens, and sensitive patterns" ## 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/log-sanitize/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 |
# log-sanitize
Sanitize log entries by removing sensitive data patterns like passwords, tokens, and API keys.
## Overview
This skill runs **entirely locally** without any API calls. It uses pattern matching to detect and redact common secret patterns in log files.
## Usage
### CLI Mode
```bash
# Sanitize a log line
echo 'user=admin password=secret123 token=abc456' | \
expanso-edge run pipeline-cli.yaml
# Sanitize an entire log file
cat /var/log/app.log | 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/sanitize \
-H "Content-Type: application/json" \
-d '{"log": "password=secret123 api_key=sk-123abc"}'
```
## Output
```json
{
"sanitized": "user=admin password=***REDACTED*** token=***REDACTED***",
"redactions": 27,
"metadata": {
"skill": "log-sanitize",
"mode": "cli",
"trace_id": "abc123...",
"timestamp": "2024-01-15T10:30:00Z"
}
}
```
## Patterns Detected
| Pattern | Example | Replacement |
|---------|---------|-------------|
| Passwords | `password=secret` | `password=***REDACTED***` |
| API Keys | `api_key=sk-123` | `api_key=***REDACTED***` |
| Tokens | `token=abc123` | `token=***REDACTED***` |
| Bearer Auth | `Bearer eyJ...` | `Bearer ***REDACTED***` |
| AWS Keys | `AKIAIOSFODNN7` | `***AWS_KEY_REDACTED***` |
| JWT Tokens | `eyJ...eyJ...` | `***JWT_REDACTED***` |
| Secrets | `secret=xyz` | `secret=***REDACTED***` |
## Use Cases
- Pre-processing logs before sending to log aggregators
- Sanitizing logs before sharing with support
- Compliance with security policies
- Preparing logs for public documentationgenerate a bunch of images, then you curate the results to handpick the best ones
generate a bunch of images, then you curate the results to handpick the best ones
Productivity system based on Maya calendar with 13 natural tones for project management and personal development
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.