仅用于读取和总结文本类文件。文本格式优先使用 read_file;需要做类型探测时使用 execute_shell_command。PDF、Office、图片和压缩包由其他技能处理。
当用户要求读取或总结本地文本文件时使用此技能。PDF、Office 文档、图片、音频和视频不在此技能范围内,应由其专用技能/工具处理。
读取前先进行类型探测:
file -b --mime-type "/path/to/file"如果文件较大,避免输出全部内容;提取小部分相关内容并进行总结。
适用于: .txt、.md、.json、.yaml/.yml、.csv/.tsv、.log、.sql、ini、toml、py、js、html、xml 源代码。
步骤:
read_file 获取内容。如果文件很大,使用 tail 窗口:
tail -n 200 "/path/to/file.log"总结最近的错误/警告和值得注意的模式。
以下内容不在此技能中处理(由其他技能负责):
agentscope-ai/QwenPaw
2cf28d1
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.