ali-maq/aya-ai-for-small-businesses/browser-file-upload
Claude Code and agent skill by ali-maq/aya-ai-for-small-businesses
- community
Checking that the SKILL.md file is still in the repository.
Browser automation skill for uploading files to web pages with flexible path specification. Use when Codex needs to: (1) Upload files to web forms, (2) Automate file selection dialogs, (3) Interact with file input elements via agent-browser CLI. Supports absolute paths, relative paths, environment variables, and workspace-relative paths.
Install
npx vskill@latest install ali-maq/aya-ai-for-small-businesses/browser-file-uploadSKILL.md
The same SKILL.md was published earlier as ali-maq/aya-ai-for-small-businesses/browser-file-upload.
Browser File Upload
Automates file uploads to web pages using agent-browser CLI.
Quick Start
Upload a file to a web page:
Usage Patterns
Upload to Specific Selector
When you know the file input selector:
Upload by Text Search
When file input has visible label text:
Using Python Script
For reusable upload logic with flexible path specification:
Arguments:
url- Target page URLfile-path- Path to file (supports multiple formats, see below)selector- Optional CSS selector for file inputwait_ms- Optional wait time after page load (default: 2000)
File Path Formats
The Python script supports multiple path formats:
| Format | Example | Description | |
|---|---|---|---|
| Absolute | C:\Users\name\file.xlsx | Full path | |
| Relative | ./data/file.xlsx | Relative to current directory | |
| Workspace | workspace/file.xlsx | Relative to OPENCLAW_WORKSPACE | |
| Env Var | ${HOME}/file.xlsx | Environment variable | |
| Windows Env | %USERPROFILE%\file.xlsx | Windows environment variable |
Path Examples
Common Selectors
| Selector | Description | |
|---|---|---|
#filePicker | Common id for file inputs | |
[type=file] | Any file input element | |
input[type=file] | Explicit file input | |
.upload-zone | Drop zone containers |
Troubleshooting
File input not found:
- Run
agent-browser snapshotto inspect page elements - Look for
[type=file]or file-related buttons - Try clicking the upload zone first
Upload fails:
- Ensure file path is absolute
- Check file exists:
test-path <file-path> - Try
agent-browser find text 选择文件 clickfirst
Page not loaded:
- Add
agent-browser wait 2000after open - Use
agent-browser wait --load networkidlefor slow pages
Related Commands
Example: Upload Excel to UU Tool
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/browser-file-upload/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ali-maq/aya-ai-for-small-businesses/browser-file-upload)