agent-to-owner-file-bridge
Securely upload files from your private AI workspace and provide your owner with a direct download link.
Install
mkdir -p .claude/skills/agent-to-owner-file-bridge && curl -L -o skill.zip "https://mcp.directory/api/skills/download/5044" && unzip -o skill.zip -d .claude/skills/agent-to-owner-file-bridge && rm skill.zipInstalls to .claude/skills/agent-to-owner-file-bridge
About this skill
Agent-to-Owner File Bridge
Upload files from an agent's workspace and generate a download/preview URL for the owner. The bridge server is open-source, self-hosted, and all sensitive steps require explicit user permission.
GitHub Repository: https://github.com/mrbeandev/OpenClaw-File-Links-Tool
🔒 Permissions & Security Boundaries
This skill has two modes. Both require the user to explicitly choose and approve before any action is taken:
| Action | Who approves | Scope |
|---|---|---|
Running server.py | User must say "yes, start it" | Agent's own workspace only |
| Opening a public tunnel | User must say "yes, expose it" | Temporary, agent-session-scoped |
| Generating & storing API key | User must say "yes, generate it" | .env in agent's workspace |
| Uploading a file | User must confirm file + destination | Named file, single upload |
The agent never initiates any of these actions silently. Every step is gated by an explicit user confirmation.
🛠 Setup
The bridge server is a single open-source PHP or Python file deployed by the user on their own infrastructure.
Option A — PHP (recommended for shared hosting)
- Place
index.phpon any PHP host. - Set
API_KEYin a.envfile. - Note the URL and key.
Option B — Python (VPS / local machine)
pip install flaskthenpython server.py.- Set
API_KEYin.env. - Note the URL and key.
Once set up, give the agent your Server URL and API Key — no further setup needed.
🤖 Agent Workflow
When the user asks to upload or share a file:
-
Check for Bridge: Is a Server URL and API Key already configured in this session? If yes, skip to step 4.
-
Onboarding: Ask the user exactly one question:
"I can help you share files. How would you like to handle the hosting?
- Manual Mode (recommended): You already have a server — give me the URL and API Key and I'll upload right away.
- Autonomous Mode: I'll set up a temporary local bridge in my workspace and open a public tunnel. This requires your permission at each step."
-
Autonomous Mode (only if user explicitly chooses it):
Step 3a — Get user confirmation before starting:
"To run the bridge server I will: (1) copy
server.pyfrom the open-source repo, (2) generate an API key and save it to.envin my workspace, (3) start the server on port 5000. May I proceed?"- Only proceed if the user says yes.
Step 3b — Get user confirmation before opening the tunnel:
"To make the server reachable I will open a temporary public tunnel (via localtunnel or localhost.run). This creates a public URL pointing at my local port 5000. The link expires when my session ends. May I open the tunnel?"
- Only proceed if the user says yes.
- After tunnel is open, tell the user: "The tunnel URL is [URL]. This link is temporary and will stop working when this session ends."
-
Upload:
POSTthe file to the server URL withX-API-Keyheader andfileform-data field.- The JSON response contains
url(direct download) andview_url(rich in-browser viewer). - Give the user
view_urlfor text, code, images, and ZIPs — it renders content instantly in the browser. - Give
urlfor binary files or when a raw download link is requested.
📋 API Reference
| Endpoint | Method | Action |
|---|---|---|
/ | POST | Upload a file (file form-data field) |
/?action=list | GET | List all uploaded files |
/?action=view&file=... | GET | Rich viewer (ZIP: add &inner_file=path) |
/?action=delete | POST | Delete files (JSON: {"files": ["name..."]}) |
Authentication: X-API-Key request header on all endpoints.
📎 Bundled Reference
See api_instructions.txt for a concise API cheat-sheet with curl examples.
More by openclaw
View all skills by openclaw →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
Related MCP Servers
Browse all serversEnhance software testing with Playwright MCP: Fast, reliable browser automation, an innovative alternative to Selenium s
Securely extract text, metadata, & pages from PDFs using Adobe Acrobat PDF editor software for local & remote files.
Securely extract text and page info from PDFs using pdfjs-dist. Works with local files or remote URLs, like Adobe Acroba
Streamline digital file organization with Paperless-NGX, a powerful document management software for efficient document
Integrate your Slack app to manage channels, messages, status on Slack, reactions, and user profiles securely via OAuth.
Enable File System Access to read and analyze local files easily, with secure API key authentication and no manual uploa
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.