Read Skill File
skill-resourceRead files referenced by skill instructions, such as scripts, snippets, and templates. Pass a directory path to read all files at once; binary files return as base64 resources.
Instructions
Read files referenced by skill instructions (scripts, snippets, templates). Use when skill instructions mention specific files to read or copy. Pass a directory path (e.g., 'templates') to read all files in that directory at once. Text files are returned as text; a binary file is returned as an embedded base64 resource.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative path to file or directory. Examples: 'snippets/tool.ts' (single file), 'templates' (all files in directory), '' (list available files). | |
| skill | Yes | Skill name |