Local filesystem storage handler for fractary-file plugin
Executes local filesystem operations like upload, download, delete, and list for the fractary-file plugin. Used when files need to be stored or retrieved from the project's local filesystem.
/plugin marketplace add fractary/claude-plugins/plugin install fractary-file@fractaryThis skill inherits all available tools. When active, it can use any tool Claude has access to.
docs/local-storage-guide.mdscripts/delete.shscripts/download.shscripts/get-url.shscripts/list.shscripts/read.shscripts/upload.sh<CRITICAL_RULES>
{
"handlers": {
"local": {
"base_path": ".",
"create_directories": true,
"permissions": "0755"
}
}
}
Configuration Fields:
base_path: Base directory for file storage (default: "." - project root)create_directories: Automatically create directories (default: true)permissions: Directory permissions in octal (default: "0755")Security Note: Local handler uses the filesystem, so credentials are not needed. File permissions are controlled by OS-level permissions. </CONFIGURATION>
<WORKFLOW> 1. Load handler configuration from request 2. Validate operation parameters 3. Prepare filesystem paths (base_path + remote_path) 4. Validate paths for safety (no path traversal) 5. Execute filesystem operation 6. Return structured result to agentParameter Flow:
{
"success": true,
"message": "Operation completed successfully",
"url": "file:///absolute/path/to/file",
"size_bytes": 1024,
"checksum": "sha256:abc123...",
"local_path": "/absolute/path/to/file"
}
Error Response:
{
"success": false,
"message": "Error description",
"error_code": "FILE_NOT_FOUND"
}
</OUTPUTS>
<ERROR_HANDLING>