- Home
- Skills
- Productivity
- File Inventory — Paste Names and Sizes, Get Totals per Type
File Inventory — Paste Names and Sizes, Get Totals per Type
Paste file names and sizes → get a count and total size for each extension. Reports totals only; it does not sort, rename, move, or organize files.
$5
Works with the AI Agents you already use
File Inventory — Paste Names and Sizes, Get Totals per Type
Example session with this skill installed
python3 scripts/file_inventory.py examples/files.csv --unit B --expect pdf,csv,txt
- Read your context and instructions
- Compiled the file inventory
File Inventory — totals by extension (B)
Rows: 4 readable rows; 0 unreadable rows
Total: 4000 B across 4 files
Extension | Files | Size total | Readable sizes | Unreadable sizes
(none) | 1 | 300 | 1 | 0
csv | 0 | — | 0 | 0
jpg | 1 | 2500 | 1 | 0
pdf | 1 | 1200 | 1 | 0
txt | 1 | 0 | 1 | 0
Zero-size files: 1
Expected extensions with no files: csv
Files:
Line | File name | Extension | Size | Status
2 | report.pdf | pdf | 1200 | readable
3 | photo.JPG | jpg | 2500 | readable
4 | README | (none) | 300 | readable
5 | empty.txt | txt | 0 | readable
Connects securely to your tools. The creator never sees your data.
About this skill
Paste file names and sizes → get the count and total size for each extension. It reports totals only; it does not sort, rename, move, or organize files.
Input
Provide a CSV or TSV with exactly name,size columns. Each data row represents one file. The selected --unit applies to the entire table. Supported units are B, KB, MB, GB, TB, KiB, MiB, GiB, and TiB (decimal units use powers of 1000; binary units use powers of 1024).
Rows with unreadable sizes are marked UNREADABLE and processing continues; the total excludes them and says so.
Expected extensions
Repeat --expect or provide comma-separated suffixes. The report includes expected extensions with zero matching rows. Names without a dot use (none).
Calculation
Size totals are exact Decimal sums of readable sizes in the selected unit, with no rounding and no float arithmetic.
Run
python3 scripts/file_inventory.py examples/files.csv --unit B --expect pdf,csv,txt
Output formats: text (default), markdown, json, csv.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Productivity.
Input limit is 100,000 bytes and 5,000 data rows. Works only on the pasted list: does not access the filesystem, verify that files exist, determine MIME types, or make file-management recommendations. Extension groups may not match a file's actual content.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 7 days ago
- Software
Python 3.9+