Skip to content
Back to skills

Data Processing

ASecurity

Process data with Python — JSON, CSV, regex, calculations, hashing, encoding. Use for data transformation, parsing, and analysis.

  • 104 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added August 31, 2026
ai-agentspython

Security analysis

A100/100

Scanned August 31, 2026

npx -y skills add flagdizero/jenny-android-ai-agent --skill data-processing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Data Processing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Data Processing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/flagdizero-data-processing/badge)](https://www.skillsdirectory.com/skills/flagdizero-data-processing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: data-processing
description: "Process data with Python — JSON, CSV, regex, calculations, hashing, encoding. Use for data transformation, parsing, and analysis."
internal: true
---

# Data Processing

Use `python_exec` with registered functions or inline Python for data operations.

## JSON

### Parse JSON
```
python_exec(function="json_parse", args=['{"key": "value"}'])
```

### Dump to JSON
```
python_exec(function="json_dump", args=[{"key": "value"}], kwargs={"indent": 2})
```

### Read/write JSON files
```
python_exec(function="read_json", args=["/path/to/data.json"])
python_exec(function="write_json", kwargs={"path": "/path/to/out.json", "data": {"key": "value"}})
```

## Regex

### Find matches
```
python_exec(function="regex_match", args=[r'\d+', 'abc 123 def 456'])
```

### Replace
```
python_exec(function="regex_replace", args=[r'\s+', '-', 'hello world  foo'])
```

## CSV

```
python_exec(code="""
import csv, io
reader = csv.reader(io.StringIO('name,age\\nAlice,30\\nBob,25'))
for row in reader:
    print(row)
""")
```

## Hashing

```
python_exec(function="md5", args=["hello world"])
python_exec(function="sha256", args=["hello world"])
```

## Encoding

```
python_exec(function="base64_encode", args=["hello world"])
python_exec(function="base64_decode", args=["aGVsbG8gd29ybGQ="])
python_exec(function="url_encode", args=["hello world&foo=bar"])
python_exec(function="url_decode", args=["hello+world%26foo%3Dbar"])
```

## Math & Calculations

```
python_exec(code="import math; result = math.sqrt(144)")
python_exec(code="result = sum(range(1, 101))")
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.