Skip to content
Back to skills

Exporter

ASecurity

Exports the ledger to CSV. Use when the user asks for a CSV of the ledger, or when an export is due at month end.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 19, 2026
ai-agentspython

Security analysis

A100/100

Scanned September 19, 2026

npx -y skills add letsloose501/skill-quality-suite --skill exporter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Exporter?

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

Security grade badge for Exporter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/letsloose501-exporter/badge)](https://www.skillsdirectory.com/skills/letsloose501-exporter)

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: exporter
description: Exports the ledger to CSV. Use when the user asks for a CSV of the ledger, or when an export is due at month end.
---

# Exporter

1. Run the exporter over the ledger.
2. Stop when the CSV row count matches the ledger row count.

```python
import csv
import json
import os
import sys

def rows(path):
    with open(path, encoding="utf-8") as f:
        data = json.load(f)
    for entry in data["entries"]:
        yield entry["date"], entry["amount"], entry["memo"]

def export(src, dst):
    with open(dst, "w", encoding="utf-8", newline="") as f:
        out = csv.writer(f)
        out.writerow(["date", "amount", "memo"])
        for row in rows(src):
            out.writerow(row)
    return os.path.getsize(dst)

if __name__ == "__main__":
    print(export(sys.argv[1], sys.argv[2]))
```

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…