file-analyzer

Analyze file content, structure, and statistics into a markdown report.

Updated Jan 11, 2026
One-click install
npx skills add https://github.com/atovk/skillx --skill file-analyzer-atovk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: file-analyzer
Source: https://github.com/atovk/skillx/tree/main/skills/02-file-operations/file-analyzer
Command: npx skills add https://github.com/atovk/skillx --skill file-analyzer-atovk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps users understand the detailed information within their files, including content, structure, and statistical properties, saving time on manual inspection.

Core Features & Use Cases

  • File Identification: Recognizes file types and verifies existence.
  • Content Reading: Extracts and analyzes text, code structure, and statistics.
  • Reporting: Generates a comprehensive markdown report of findings.
  • Use Case: Quickly get a summary of a large code file, including line counts, function definitions, and comment density, without opening it in an IDE.

Quick Start

Use the file-analyzer skill to analyze the file at /home/user/project/main.py.

Frequently Asked Questions about file-analyzer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze file content and code structure without opening an IDE?

To analyze file content without an IDE, you can use this skill to read files, identify types, and count lines, characters, functions, and comments, generating a markdown report of the statistics.

What file metadata and statistics can I extract from a code file?

You can extract file metadata and statistics including line counts, character counts, comment density, and code structure details like function and class definitions, outputting a comprehensive markdown report.

Does file analysis work for identifying file types and verifying existence?

File analysis supports file identification by recognizing file types and verifying file existence, then reading the content to analyze text and code structure for statistical reporting.

How do I generate a markdown report of code statistics and comment density?

You can generate a markdown report of code statistics by analyzing the file content to count lines, characters, code, and comments, which details basic information, content analysis, and structure.

Can I analyze code structure like functions and classes in a large code file?

Yes, you can analyze code structure in a large file to count function and class definitions, extracting content statistics and comment density without manually opening and inspecting the file.