66
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "66" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-e8a57343582de8a870c7358974b019d04ef08f49b98bddca00c9973479ec43ae. Verify the upstream source and version against https://skillhub.cn/skills/user_99efe918/file-summarizer6 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Summarize contents of various files, supporting summaries and syntheses for text files, code files, logs, and similar documents.
Introduction source: third_party · user_99efe918 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: file-summarizer
description: "总结文件内容,支持文本文件、代码文件、日志文件等。"文件总结
读取指定文件并提炼核心内容,输出简洁摘要。
触发条件
- 用户说「总结一下 xxx 文件」「这个文件讲什么」「文件摘要」
- 用户说「帮我看看 xxx 文件的内容」
- 传入文件路径
参数
| 参数 | 必填 | 说明 |
|---|---|---|
| path | 是 | 文件路径(相对于 workspace 或绝对路径) |
执行流程
1. 定位文件
确认文件路径,检查文件是否存在。
支持的文件类型:
- 文本文件:
.md.txt.json.yaml.yml.toml.ini.cfg - 代码文件:
.py.js.ts.jsx.tsx.go.rs.java.c.cpp.h.hpp.rb.php.swift.kt.sh.bash.zsh.ps1 - 数据文件:
.csv.xml.html.css.scss.less - 日志文件:
.log.out.err - 文档:
.pdf(需额外工具)
2. 读取文件
使用 read 工具读取文件内容。
如果文件过大(>100 行),分段读取头尾获取整体结构。
3. 生成摘要
根据文件类型输出不同的摘要格式:
Markdown/文本文件:
📄 {文件名}
━━━━━━━━━━━━━━━━━
类型:Markdown 文档
大小:{行数} 行 / {size} KB
标题:{标题}
核心内容:{2-3 句话摘要}
关键段落:{bullet list}
━━━━━━━━━━━━━━━━━
代码文件:
📄 {文件名}
━━━━━━━━━━━━━━━━━
类型:{语言} 源码
大小:{行数} 行
结构:
- 导入/引用:{模块列表}
- 函数/类:{数量}
- 主要逻辑:{一句话说明}
━━━━━━━━━━━━━━━━━
日志文件:
📄 {文件名}
━━━━━━━━━━━━━━━━━
总行数:{行数}
时间范围:{最早} ~ {最晚}
级别统计:ERROR {n} / WARN {n} / INFO {n}
异常摘要:{关键错误行}
━━━━━━━━━━━━━━━━━
4. 错误处理
😅 文件「{path}」不存在或无法读取。
请检查路径是否正确。
参考
- 文件路径默认从 workspace 根目录开始:
/home/zsz02zzze/.openclaw/workspace/ - 支持相对路径和绝对路径
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 支持多类型文件总结(文本、代码、日志等),实用性强
- 解决用户快速获取文件核心信息的高频需求
Highlights
- 触发条件覆盖全面,包括多种用户表达变体
- 边界清晰,不易与其他 Skill 重叠
Highlights
- 结构完整,Phase/步骤清晰,含详细出口条件
- 提供端到端示例,frontmatter 完整规范
Highlights
- 工具来源明确(read),参数定义正确
- 覆盖主要异常场景,不可逆操作有确认机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.