跳到正文
TakoAPI
返回技能列表

lmfiles

由 setdemos 提供

Web & Frontend Development
317下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Check that the file does not contain secrets or credentials

  2. 2

    POST the file to https://lmfiles.com/api/v1/files/upload with LMFILES_API_KEY

  3. 3

    Parse the response to extract the public URL field

  4. 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 或你在用的任意编程智能体里。

链接