lmfiles
by setdemos
Web & Frontend DevelopmentBrief
Upload files to lmfiles.com and return public download links via API.
Description
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
User asks: Upload report.pdf and give me a shareable link
- 1
Check that the file does not contain secrets or credentials
- 2
POST the file to https://lmfiles.com/api/v1/files/upload with LMFILES_API_KEY
- 3
Parse the response to extract the public URL field
- 4
Return the URL to the user
Public download URL for report.pdf, valid for 90 days from last access
Requirements
- LMFILES_BOOTSTRAP_TOKEN from lmfiles.com (used once for account registration)
- LMFILES_API_KEY environment variable (obtained after completing account registration)
Installation
clawhub install setdemos/lmfilesRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.