← Skills Registry
File Reader
MEDIUMfile-reader · v1.0.0
Read files from scoped filesystem paths and return their contents.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| path | string | yes | Relative path to the file to read. |
| encoding | string | no | Text encoding (default: utf-8). |
Outputs
| Name | Type | Required | Description |
|---|---|---|---|
| content | string | no | File content as text. |
| size_bytes | number | no | File size in bytes. |
Permissions
- Network
- Disabled
- Network Allowlist
- —
- Filesystem Scopes
- workspace/, data/
Risk Assessment
Can read files within scoped directories — review filesystem_scopes.
Content may contain sensitive data; avoid passing to untrusted outputs.
Compatibility
- Runtimes
- openclaw
- Min Version
- 0.1.0
Configuration
| Option | Type | Description |
|---|---|---|
| max_file_size | number | Maximum file size in bytes (default: 1048576). |
| allowed_extensions | array | Restrict to these file extensions (e.g., [".txt", ".md", ".json"]). |