LaunchKit · 2026
Back to Skills

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

0
317 downloads
by @setdemos

Setup & Installation

openclaw skills install @setdemos/lmfiles

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

npx clawhub install lmfiles

What This Skill Does

lmfiles.com is a lightweight file hosting service with a REST API. It supports upload, public download links, file metadata lookup, account management, and deletion through CLI commands or automated workflows. Files are publicly accessible via URL and expire after 90 days of inactivity.

It returns a public download URL immediately on upload without requiring cloud provider credentials, bucket configuration, or a web interface.

When to use it

  • Share generated reports or outputs from automated pipelines
  • Pass large files between agent steps using a public URL
  • Host dataset files for retrieval in LLM workflows
  • Upload build artifacts with automatic 90-day expiry
  • Give teammates a quick download link without cloud storage setup

Example Workflow

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

INPUT

User asks: Upload report.pdf and give me a shareable link

AGENT
  1. 1Check that the file does not contain secrets or credentials
  2. 2POST the file to https://lmfiles.com/api/v1/files/upload with LMFILES_API_KEY
  3. 3Parse the response to extract the public URL field
  4. 4Return the URL to the user
OUTPUT

Public download URL for report.pdf, valid for 90 days from last access

Requirements

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

LMFILES_BOOTSTRAP_TOKEN from lmfiles.com (used once for account registration)LMFILES_API_KEY environment variable (obtained after completing account registration)