5,027,493 AI resources indexedWorking toward the world’s largest AI resource index.

file-dialog-abstraction

Cross-platform file dialog implementation for open, save, and directory selection

Installable skillMITBy a5c-aiUpdated Oct 28, 2026
INTENDED FOROpenClawInstall in a listed agent.

instructions.md

---
name: file-dialog-abstraction-743473e530e2
description: Cross-platform file dialog implementation for open, save, and directory selection
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
tags: [files, dialogs, cross-platform, desktop, native]
graph:
  domains: [domain:software-engineering]
  specializations: [specialization:desktop-development]
  skillAreas: [skill-area:desktop-ui-frameworks, skill-area:cross-platform-desktop]
  roles: [role:desktop-developer, role:fullstack-engineer]
  workflows: [workflow:feature-development, workflow:release-management]
---

# file-dialog-abstraction

Implement cross-platform file dialogs for open, save, and directory selection with consistent API across Windows, macOS, and Linux.

## Capabilities

- Open file dialogs
- Save file dialogs
- Directory selection dialogs
- Multiple file selection
- File type filters
- Default paths and names
- Recent locations support

## Input Schema

```json
{
  "type": "object",
  "properties": {
    "projectPath": { "type": "string" },
    "framework": { "enum": ["electron", "tauri", "qt", "wpf"] },
    "dialogTypes": { "type": "array" }
  },
  "required": ["projectPath"]
}
```

## Electron Example

```javascript
const { dialog } = require('electron');

async function openFile() {
    const result = await dialog.showOpenDialog({
        properties: ['openFile', 'multiSelections'],
        filters: [
            { name: 'Documents', extensions: ['pdf', 'docx'] },
            { name: 'All Files', extensions: ['*'] }
        ]
    });
    return result.filePaths;
}
```

## Related Skills

- `file-watcher-setup`
- `file-system-integration` process

Platform guidance

Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.