read_skill_file
View the complete contents of files within skill directories, including scripts, configuration files, and documentation, to examine file structure and content before modification or execution.
Instructions
Read and display the complete content of a specific file within a skill directory.
This tool allows you to view the contents of any file in a skill. Use this to:
Read Python scripts, data files, configuration files, etc.
Examine file contents before modifying them
Check file format and structure before running scripts
View documentation or data files
Parameters:
skill_name: The name of the skill directory (e.g., 'my-skill')
file_path: Relative path to the file within the skill directory (e.g., 'scripts/process.py', 'data/input.csv', 'README.md')
Important: file_path is relative to the skill's root directory, not the skills directory. Use forward slashes even on Windows.
Returns: The complete file content as text. If the file is very large, it will be truncated with a message indicating truncation.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file_path | Yes | Relative path to the file within the skill directory (e.g., 'SKILL.md' or 'scripts/process.py') | |
skill_name | Yes | Name of the skill |