file-summarizer2

Read a file and produce a concise summary of its core content, key points, and structure.

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 "file-summarizer2" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-869edfeff00b807dc1e79f97d685e83b565626012f62e493aab98c519fd79a1f. Verify the upstream source and version against https://skillhub.cn/skills/user_dd0eb201/file-summarizer2 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

Read a file and produce a concise summary of its core content, key points, and structure.

0 Downloads

Introduction source: third_party · user_dd0eb201 · 1.0.0 Reference

SkillPi interpretation

Tasks
Read a file and produce a concise summary of its core content, key points, and structure.
Audience
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: file-summarizer
description: "Read a file and produce a concise summary of its core content, key points, and structure."

File Summarizer 📄→📋

Read any text-based file (code, markdown, config, log, data) and distill its essential content into a structured summary.

When to Use

When the user says or implies:

  • "帮我总结这个文件"
  • "这个文件的核心内容是什么"
  • "概括一下 xxx 文件"
  • "提取 xxx 的要点"
  • "太长不看,帮我总结一下"

Or when examining a file and the user hasn't specified what they want to do with it — summarize first to establish context.

Workflow

  1. Read the file — use read to load the content. For large files, read head first, then continue in chunks.

  2. Choose summary mode based on file type:

    文件类型 总结重点
    代码文件 功能、入口、主要函数/类、依赖、架构
    Markdown/文档 核心观点、章节结构、关键结论
    配置文件 主要配置项、启用的功能、连接的目标
    日志文件 异常/错误、关键事件时间线、频率统计
    数据文件 (CSV/JSON) 字段结构、数据量、值的分布、异常值
    Shell/Bat 脚本 做了什么、依赖什么、输入输出
  3. Output structure:

    📄 文件名
    ════════════════════════════════
    📌 一句话概括
    ────────────────────────────────
    🏗 结构总览
    • ...
    ────────────────────────────────
    🔑 关键要点
    • ...
    ────────────────────────────────
    💡 亮点/值得注意
    • ...
    ════════════════════════════════
    📏 文件大小:xxx 行 / xxx KB
  4. Adjust detail level based on user request:

    • 默认:中等详细,提取 3-7 个关键要点
    • "详细总结":展开更多内容
    • "一句话总结":只给一句话概括
    • "列出要点":只给要点列表

Notes

  • 对于二进制文件(图片、PDF 等),先说明无法直接读取文本内容,并提供替代方案
  • 如果文件内容非常长(>500 行),优先提取头部、关键结构标记和尾部
  • 敏感信息(密码、token、API key)在总结时用 **** 替代显示

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 支持多种文件类型(代码、文档、配置、日志、数据)的智能总结
  • 解决用户快速理解文件核心内容的高频刚需场景
  • 提供结构化输出模板,信息层次清晰
Trigger Precision95/100

Highlights

  • 触发词覆盖多种中文表达变体,边界清晰
  • description 内容完整,无截断或缺失
Structure and Standards90/100

Areas to improve

  • description 写错位置 Reported severity: Minor

    顶层 frontmatter 中 description 字段为空,实际描述内容位于 skill_body 内部

    Recommendation: 将 description 内容移至顶层 frontmatter 的 description 字段,保持规范一致

Highlights

  • Phase/步骤划分清晰,含端到端示例
  • frontmatter 完整,单文件长度合理
Execution Reliability90/100

Highlights

  • 工具来源明确(read),参数使用正确
  • 覆盖主要异常场景(大文件分块、二进制文件处理、敏感信息脱敏)
  • 无不可逆操作风险
Evidence Verifiability (mean of the first four)92/100

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.

  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 65

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

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.