Skip to content
cccskills
FreePublished on 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.

OriginalShow the original description

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

See how to install

Good for

  • 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

Files included (1)

  • SKILL.md1.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

文件读取工具箱

当用户要求读取或总结本地文本文件时使用此技能。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)
  • 图片
  • 音频/视频

安全与行为规范

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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/Octop10.2KUpdated Oct 19, 2026

akshare-data

FreeSummary

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/Octop10.2KUpdated Oct 19, 2026

architecture

FreeSummary

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/Octop10.2KUpdated Oct 19, 2026

bo-process-doc

FreeSummary

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/Octop10.2KUpdated Oct 19, 2026

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/Octop10.2KUpdated Oct 19, 2026

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/Octop10.2KUpdated Oct 19, 2026

See all skills by TencentCloud

Report a problem with this skill