# Get file statistics
skill:example-file-analyzer:file_stats /path/to/file.txt
# Analyze a code file
skill:example-file-analyzer:code_analysis /path/to/main.py --type python
1---2name: example-file-analyzer3description: File Analyzer4---5# File Analyzer67**Domain**: programming8**Version**: 1.0.09**Description**: Analyze file content and provide statistics10**Tags**: file, analysis, statistics, code1112## Usage Scenarios1314Use this skill when you need to:15- Get statistics about files (line count, word count, character count)16- Analyze code files for complexity metrics17- Compare file sizes and content1819## Tool Dependencies2021- Standard Unix commands (wc, du)2223## Execution Steps24251. Use `skill:example-file-analyzer:file_stats` to get basic file statistics262. Use `skill:example-file-analyzer:code_analysis` for code-specific metrics273. Interpret the results and provide insights2829## Tools3031- `skill:example-file-analyzer:file_stats` - Get file statistics (lines, words, chars)32- `skill:example-file-analyzer:code_analysis` - Analyze code file metrics3334## Examples3536```bash37# Get file statistics38skill:example-file-analyzer:file_stats /path/to/file.txt3940# Analyze a code file41skill:example-file-analyzer:code_analysis /path/to/main.py --type python42```
Run npx get-skill add baqif2/example-file-analyzer in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
File Analyzer It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
BaqiF2 (@baqif2) published this skill. Their other Agent Skills are listed on their SkillMD profile.