AgentSkillsCN

skill-good

该代码格式化技能可统计文本文件中的行数与字数。当您需要获取基础文件统计信息时,可使用此技能。

SKILL.md
--- frontmatter
name: skill-good
description: A code formatting skill that counts lines and words in text files. Use this skill when you need basic file statistics.
compatibility: Works with any text files.

File Statistics Skill

This skill provides basic statistics for text files.

Available Scripts

stats.py

Counts lines, words, and characters in a text file. Accepts a file path as argument and prints the counts.

Example usage:

code
python stats.py myfile.txt

Output:

code
Lines: 42
Words: 156
Characters: 892