lmfiles
由 setdemos 提供
Web & Frontend Development简介
Upload files to lmfiles.com and return public download links via API.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
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
前置要求
- LMFILES_BOOTSTRAP_TOKEN from lmfiles.com (used once for account registration)
- LMFILES_API_KEY environment variable (obtained after completing account registration)
安装
clawhub install setdemos/lmfiles运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。