Analyze Size
Estimates file sizes, folder dimensions, and data volumes quickly using advanced algorithms.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add analyze-size npx -- -y @trustedskills/analyze-size
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"analyze-size": {
"command": "npx",
"args": [
"-y",
"@trustedskills/analyze-size"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The analyze-size skill allows an AI agent to determine the size of files or directories. It can provide a human-readable representation of file sizes (e.g., "12 MB") and calculate directory totals, offering insights into storage usage. This is useful for understanding disk space consumption and identifying large files that might be candidates for archiving or deletion.
When to use it
- Disk Space Management: An agent can analyze a user's Downloads folder to identify the largest files taking up space.
- File Archiving: Determine which files exceed a certain size threshold, suggesting they should be archived.
- Cleanup Recommendations: Identify large directories and suggest potential cleanup actions based on file age or type.
- Storage Planning: Estimate storage needs for backups by analyzing the sizes of important data folders.
Key capabilities
- File Size Determination: Accurately calculates the size of individual files.
- Directory Size Calculation: Recursively determines the total size of directories and their contents.
- Human-Readable Output: Presents file sizes in a user-friendly format (e.g., KB, MB, GB).
Example prompts
- "How big is my Downloads folder?"
- "What are the 10 largest files in /var/log?"
- "Find all files larger than 100MB in the Documents directory."
Tips & gotchas
The skill requires appropriate file system permissions to access and analyze directories. Be mindful of potentially very large directories, as calculating their size can take time.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.