$npx skillfedfor your agent

file-operations

File Operations retrieves detailed file metadata and statistics—including size, line counts, modification times, and content analysis—using read-only operations. Ideal for understanding file structure and gathering code metrics across projects.

File Operations retrieves file metadata, line counts, and statistics without modifying content.

AI-generated summary based on this skill's SKILL.md

657 91 Apache-2.0updated by mhattingpete

Decision gist · record as of 2026-07-25

File Operations retrieves file metadata, line counts, and statistics without modifying content. File Operations retrieves detailed file metadata and statistics—including size, line counts, modification times, and content analysis—using read-only operations. Ideal for understanding file structure and gathering code metrics across projects.

manual: git clone https://github.com/mhattingpete/claude-skills-marketplace → cp -r claude-skills-marketplace/code-operations-plugin/skills/file-operations ~/.claude/skills/file-operations
code-operations-plugin/skills/file-operations/SKILL.md · version a63afe8e

Use it when

  • Yes.
  • File Operations compares file sizes and identifies the largest files in your project directory.

Verify before relying

Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

mhattingpete/claude-skills-marketplace/file-operations · repository language: HTML

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How does File Operations analyze file metadata and statistics?

File Operations retrieves detailed file metadata and statistics—including size, line counts, modification times, and content analysis—using read-only operations. The skill examines files without modifying their content, making it safe for gathering comprehensive information about your project's structure and composition.

Can File Operations count functions, classes, and imports in code?

Yes. File Operations analyzes code structure to count functions, classes, imports, and other structural elements. This capability lets you understand your codebase's complexity and organization across Python files and other source code formats without altering any content.

How can I find the largest files in my project?

File Operations compares file sizes and identifies the largest files in your project directory. You can use this to spot oversized modules, locate potential refactoring candidates, or understand storage distribution across your codebase quickly and efficiently.

Does File Operations find TODO and FIXME comments?

File Operations finds and counts specific patterns like TODOs and FIXME code markers throughout your files. This helps you track technical debt and incomplete work items embedded in your source code without requiring manual searching.

What file information can File Operations provide?

File Operations provides file size, modification time, line counts, and detailed content statistics. It generates code quality metrics and structural analysis, giving you comprehensive insights into individual files and entire directories for project assessment and planning.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

File Operations

Analyze files and retrieve metadata using Claude's native tools without modifying files.

When to Use

  • "analyze [file]"
  • "get file info for [file]"
  • "how many lines in [file]"
  • "compare [file1] and [file2]"
  • "file statistics"

Core Operations

File Size & Metadata
stat -f "%z bytes, modified %Sm" [file_path]  # Single file
ls -lh [directory]                             # Multiple files
du -h [file_path]                              # Human-readable size
Line Counts
wc -l [file_path]                              # Single file
wc -l [file1] [file2]                          # Multiple files
find [dir] -name "*.py" | xargs wc -l          # Directory total
Content Analysis

Use Read to analyze structure, then count functions/classes/imports.

Pattern Search

``` Grep(pattern="^def ", output_mode="count", path="src/") # Count functions Grep(pattern="TODO|FIXME",

(truncated - see the full file via the links below)

File tree — 1 file
code-operations-plugin/skills/file-operations/SKILL.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Retrieve file metadata and statistics without modifying content”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

file-operations
by chaterm · chaterm/terminal-skills

file-operations covers essential Linux file system tasks: searching by name, type, size, or modification time; performing batch operations like rename and delete; and managing permissions and ownership. It includes practical scenarios for cleanup, finding recent changes, and bulk content replacement.

Apache-2.0updated Mar 2026
★ 50repo stars
ensemble-solving
by mhattingpete · mhattingpete/claude-skills-marketplace

This skill spawns three independent subagents to tackle problems from different angles—prioritizing simplicity, performance, or extensibility for code; top-down, bottom-up, or lateral thinking for design; or expert, pragmatic, or innovative perspectives for creative work. Each solution is scored against correctness, completeness, quality, clarity, and elegance, then the winner is returned with trade-off analysis and guidance on when alternatives might suit better.

Apache-2.0updated Jul 2026
★ 657repo stars
codebase-documenter
by mhattingpete · mhattingpete/claude-skills-marketplace

Codebase Documenter analyzes your project structure and code to produce organized markdown documentation spanning architecture, components, integrations, and development practices. It maps directory organization, traces execution paths, and synthesizes findings into multiple documents or a single comprehensive guide with Mermaid diagrams and code examples.

Apache-2.0updated Jul 2026
★ 657repo stars
code-refactor
by mhattingpete · mhattingpete/claude-skills-marketplace

Code Refactor handles systematic refactoring operations like renaming identifiers, replacing deprecated patterns, and updating method calls across your codebase. It intelligently switches to execution mode for larger jobs (10+ files), delivering significant token savings while maintaining accuracy through a safe find-analyze-execute-verify workflow.

Apache-2.0updated Jul 2026
★ 657repo stars
code-transfer
by mhattingpete · mhattingpete/claude-skills-marketplace

Code Transfer handles moving code blocks between files with exact line-number control. Choose between basic mode for small operations or execution mode for batch transfers across many files. Perfect for reorganizing functions, extracting classes, or inserting code at specific locations.

Apache-2.0updated Jul 2026
★ 657repo stars
project-bootstrapper
by mhattingpete · mhattingpete/claude-skills-marketplace

Project Bootstrapper configures new or existing projects with industry-standard practices including directory structure, Git workflows, documentation, testing frameworks, code quality tools, and CI/CD pipelines. It adapts to your language, project type, and team size through guided discovery, then implements each component systematically with templates for Node.js, Python, Go, Rust, and React projects.

Apache-2.0updated Jul 2026
★ 657repo stars

More skills feature-planning (Apache-2.0) · timeline-creator (Apache-2.0) · dashboard-creator (Apache-2.0) · flowchart-creator (Apache-2.0) · technical-doc-creator (Apache-2.0)

Tags
read-only-analysisfile-metadata-extractioncode-metricssize-comparisonnon-destructive-inspectioncontent-statisticscodebase-auditingpattern-detection