跳到正文
cccskills
免费在 GitHub 公开

file_reader

Read and summarize local text files, including notes, configuration files, source code, and logs. Extract relevant passages, explain key fields or table columns, and review recent errors in large logs without displaying the entire file.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

仅用于读取和总结文本类文件。文本格式优先使用 read_file;需要做类型探测时使用 execute_shell_command。PDF、Office、图片和压缩包由其他技能处理。

查看安装方法

适用场景

  • Summarize local notes and Markdown documents
  • Review key fields in JSON or YAML files
  • Understand CSV or TSV column structure
  • Check recent errors and warnings in large logs

包含的文件(1)

  • SKILL.md1.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

文件读取工具箱

当用户要求读取或总结本地文本文件时使用此技能。PDF、Office 文档、图片、音频和视频不在此技能范围内,应由其专用技能/工具处理。

快速类型检查

读取前先进行类型探测:

file -b --mime-type "/path/to/file"

如果文件较大,避免输出全部内容;提取小部分相关内容并进行总结。

文本文件(使用 read_file)

适用于: .txt、.md、.json、.yaml/.yml、.csv/.tsv、.log、.sql、ini、toml、py、js、html、xml 源代码。

步骤:

  1. 使用 read_file 获取内容。
  2. 总结关键部分或展示用户请求的相关片段。
  3. 对于 JSON/YAML,列出顶层键和重要字段。
  4. 对于 CSV/TSV,展示表头和前几行,然后总结各列。

大型日志文件

如果文件很大,使用 tail 窗口:

tail -n 200 "/path/to/file.log"

总结最近的错误/警告和值得注意的模式。

超出范围

以下内容不在此技能中处理(由其他技能负责):

  • PDF
  • Office (docx/xlsx/pptx)
  • 图片
  • 音频/视频

安全与行为规范

  • 绝不执行不可信的文件。
  • 优先读取所需的最小部分。
  • 如果缺少所需工具,说明限制并请用户提供其他格式。

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Review a design or web page against WCAG 2.1 AA, an accessibility standard. Organize findings on contrast, keyboard access, forms, and screen reader behavior, with severity levels and practical recommendations for fixes.

中文简介正在准备中。当前显示英语简介。

  • Review accessibility before design handoff
  • Check text and interface color contrast
  • Review keyboard navigation and focus behavior
TencentCloud/Octop1万2026年10月19日 更新

Retrieve financial data for Chinese markets and selected global markets using akshare-cli. Find stock prices, fund values, exchange rates, economic indicators, and financial news, then extract recent records or save results in common file formats.

中文简介正在准备中。当前显示英语简介。

  • Retrieve historical prices for Chinese, Hong Kong, or US stocks
  • Check fund and ETF net asset values
  • Look up exchange rates and economic indicators
TencentCloud/Octop1万2026年10月19日 更新

Compare technology options, review a system design, or plan a new component from requirements and constraints. The skill organizes the reasoning into an architecture decision record, a document covering alternatives, trade-offs, consequences, and next steps.

中文简介正在准备中。当前显示英语简介。

  • Compare technologies before choosing one
  • Document the reasoning behind a design decision
  • Review a proposed system design
TencentCloud/Octop1万2026年10月19日 更新

Turn existing or proposed business processes into reusable standard operating procedures. Organize steps, roles, conditions, and known exceptions while marking missing details, producing clear handover documents without inventing approvals or responsibilities.

中文简介正在准备中。当前显示英语简介。

  • Turning workflow notes into a standard operating procedure
  • Preparing process documentation for a handover
  • Clarifying assignment, execution, and review responsibilities
TencentCloud/Octop1万2026年10月19日 更新

Analyze waiting, rework, and handoff waste in business processes using the facts provided. It proposes concrete improvements and, when verification is needed, defines measurement formulas and the minimum records required to assess specific issues.

中文简介正在准备中。当前显示英语简介。

  • Reviewing waiting and rework in an existing workflow
  • Requesting a fixed number of concrete improvement suggestions
  • Defining records to distinguish processing time from waiting
TencentCloud/Octop1万2026年10月19日 更新

Assess operational risks in processes, projects, or suppliers using provided evidence. Separate observed facts from possible consequences, propose practical responses, and prepare concise summaries or risk registers without treating unknown controls as confirmed gaps.

中文简介正在准备中。当前显示英语简介。

  • Assess risks in business processes
  • Review operational risks in projects or suppliers
  • Prepare a risk register
TencentCloud/Octop1万2026年10月19日 更新

查看 TencentCloud 的全部技能

报告此技能的问题