largest-files-finder

largest-files-finder is a skill for Claude Code, Codex from thesongzhu/Friday. It costs 0 tokens per session (424 once invoked), scanned A, original, MIT.

A directory analysis tool that finds the three largest files and reports their full paths, exact sizes, and readable size units.

In plain words
What is it for?
Use it to inspect a directory, identify its largest files, and get their sizes in bytes and formats such as MiB.
Why use it?
It saves time when looking for which files are using the most storage, especially in directories containing many files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/user/documents.

Good fit Use it to inspect a directory, identify its largest files, and get their sizes in bytes and formats such as MiB.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for largest-files-finder

README.md
[![agentmods](https://agentmods.dev/badge/skills/thesongzhu/friday/largest-files-finder/github.svg)](https://agentmods.dev/skills/thesongzhu/friday/largest-files-finder)
Your own site
<a href="https://agentmods.dev/skills/thesongzhu/friday/largest-files-finder"><img src="https://agentmods.dev/badge/skills/thesongzhu/friday/largest-files-finder/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for largest-files-finder

Your own site · 80×15
<a href="https://agentmods.dev/skills/thesongzhu/friday/largest-files-finder"><img src="https://agentmods.dev/badge/skills/thesongzhu/friday/largest-files-finder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 424 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00424
Opus 5 $0.00000 $0.00212
Sonnet 5 $0.00000 $0.00085
Haiku 4.5 $0.00000 $0.00042

Measured 11d ago against content hash c32c6dcffa31, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

largest-files-finder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (run.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

managed-skills/largest-files-finder/SKILL.md · 72 lines

What it actually says

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

  • directory_path (string, required): The path to the directory to analyze

Output

  • largest_files (array): Array of up to 3 largest files, each containing:
    • size: File size in bytes
    • path: Full file path
    • size_human: Human-readable size (e.g., "1.2MB")

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

  • Cross-platform compatibility (Linux, macOS, Windows)
  • Human-readable file size formatting
  • Handles directories with special characters in filenames
  • Graceful error handling for inaccessible directories
  • Recursive search through subdirectories

Error Handling

  • Returns error if directory path is not provided
  • Returns error if directory does not exist or is not accessible
  • Skips files that cannot be accessed due to permissions

Technical Notes

  • Uses find command for cross-platform file discovery
  • Sorts files by size in descending order
  • Limits results to top 3 largest files
  • Provides both raw byte count and human-readable formatting
Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 72 lines · 0 tokens per session scan A c32c6dcffa31

Subscribe to this mod's changes

largest-files-finder is a skill published in the GitHub repository thesongzhu/Friday (838 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 424 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

agent-self-scheduling

Schedule AI agent runs with cron, loops, or external clocks while avoiding unsafe tight autonomous timers.

sickn33/agentic-awesome-skills · 24 tokens

security-compliance

Guides security professionals in implementing defense-in-depth security architectures, achieving compliance with industry frameworks (SOC2, ISO27001, GDPR, HIPAA), conducting threat modeling and risk assessments, managing security operations and incident response, and embedding security throughout the SDLC.

sangrokjung/claude-forge · 56 tokens

stride-analysis-patterns

Apply STRIDE methodology to systematically identify threats. Use when analyzing system security, conducting threat modeling sessions, or creating security documentation.

sangrokjung/claude-forge · 30 tokens

cache-components

Expert guidance for Next.js Cache Components and Partial Prerendering (PPR). PROACTIVE ACTIVATION: Use this skill automatically when working in Next.js projects that have cacheComponents: true in their next.config.ts/next.config.js. When this config is detected, proactively apply Cache Components patterns and best…

sangrokjung/claude-forge · 183 tokens

manage-skills

A maintenance workflow for checking whether project verification skills still cover the code and rules that changed during a session.

sangrokjung/claude-forge · 54 tokens

blind-spot-pass

Use before starting work in a domain you don't know well, to surface the "unknown unknowns" — the things you don't even know to ask about — and learn just enough to prompt and decide well. Implements the "blind spot pass" pattern from Anthropic's Fable "finding your unknowns" field guide. Triggers when you say "I'm…

sangrokjung/claude-forge · 221 tokens