跳到正文
TakoAPI
返回技能列表

filehost

由 setdemos 提供

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

简介

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

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  1. 1

    Verifies LMFILES_API_KEY is set

  2. 2

    POSTs analysis.csv to https://lmfiles.com/api/v1/files/upload with X-API-Key header

  3. 3

    Parses file_id and url from the JSON response

  4. 4

    Returns the public download URL to the user

输出

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

前置要求

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

安装

clawhub install setdemos/filehost

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接