LaunchKit · 2026
Back to Skills

Upload files to lmfiles.com and return public download links via API.

0
328 downloads
by @setdemos

Setup & Installation

openclaw skills install @setdemos/filehost

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install filehost

Version History

v1.0.2Feb 23, 2026 - Version note by skill developer:

v1.0.2 - Added helper scripts: register.sh, list.sh, delete.sh. - Improved first-use onboarding and auth troubleshooting. - Added provenance links and explicit credential roles (API key vs bootstrap token). - Added security notes for secret handling and token rotation.

What This Skill Does

lmfiles.com is a lightweight file hosting service with an HTTP API for uploading files and receiving public download links. It supports account registration, uploads up to 100 MB, metadata lookup, file listing, and deletion. Downloads are publicly accessible to anyone with the URL.

lmfiles.com offers a minimal, API-first interface without the IAM complexity or setup overhead of general-purpose cloud storage.

When to use it

  • Sharing generated reports or exports from automated scripts
  • Giving an LLM agent a public URL for a locally created file
  • Hosting build artifacts without setting up cloud storage
  • Passing large files between pipeline steps via URL
  • Quickly distributing logs or data dumps to teammates

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: upload analysis.csv and give me a shareable link

AGENT
  1. 1Verifies LMFILES_API_KEY is set
  2. 2POSTs analysis.csv to https://lmfiles.com/api/v1/files/upload with X-API-Key header
  3. 3Parses file_id and url from the JSON response
  4. 4Returns the public download URL to the user
OUTPUT

Public download link: https://lmfiles.com/f/<file_id>

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

LMFILES_BOOTSTRAP_TOKEN environment variable (required for one-time account registration)LMFILES_API_KEY environment variable (obtained after registering an account)