Largest files finder

From thesongzhu/Friday · View interactive version

Largest files finder is an AI agent skill from the GitHub repository thesongzhu/Friday. List the top 3 largest files in a given directory

How to use this skill

Skill file

Largest Files Finder

List the top 3 largest files in a given directory

Overview

This skill analyzes a directory and returns the 3 largest files by size, providing both raw byte counts and human-readable size formatting.

Usage

Input

Output

Examples

Basic Usage

{
  "directory_path": "/home/user/documents"
}

Expected Output

{
  "largest_files": [
    {
      "size": 1048576,
      "path": "/home/user/documents/large_file.pdf",
      "size_human": "1.0MiB"
    },
    {
      "size": 524288,
      "path": "/home/user/documents/medium_file.docx",
      "size_human": "512KiB"
    },
    {
      "size": 262144,
      "path": "/home/user/documents/small_file.txt",
      "size_human": "256KiB"
    }
  ]
}

Features

Error Handling

Technical Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.