read_file

文件读取技能,从文件中读取内容

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "read_file" with this command: npx skills add dotnetage/mindx/dotnetage-mindx-read-file

文件读取技能

从指定的文件中读取内容并返回。

功能说明

  • 支持读取文本文件内容
  • 使用系统 cat 命令实现
  • 支持绝对路径和相对路径

示例

读取文件:

{
  "name": "read_file",
  "parameters": {
    "path": "/Users/ray/test.txt"
  }
}

输出格式

{
  "success": true,
  "path": "/Users/ray/test.txt",
  "content": "Hello, World!",
  "bytes_read": 13
}

注意事项

  • 确保有足够的文件系统权限
  • 大文件读取可能需要较长时间
  • 仅支持文本文件,二进制文件可能无法正确显示

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

write_file

No summary provided by upstream source.

Repository SourceNeeds Review