Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计通过

tiiny-host小主机

Agent Skill

tiiny-host 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

419

周安装

18

GitHub Stars

1

下载量

147
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tiiny-host(小主机)
来源仓库:https://github.com/tiiny-host/skills
仓库路径:skills/tiiny-host
安装命令:
npx skills add https://github.com/tiiny-host/skills --skill tiiny-host
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/tiiny-host/skills --skill tiiny-host

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在需要围绕仓库状态、代码变更或协作事项进行整理时使用。
  • 可结合来源仓库和原始 README 核验具体用法,支持 Codex、Claude 等宿主环境。
  • 安装命令:npx skills add https://github.com/tiiny-host/skills --skill tiiny-host。
  • 安装前建议确认权限范围、维护状态及是否会触发联网或文件读写操作。

SKILL.md

tiiny.host

Skill version: 1.1.0

Publish any file or folder to the web and get a live URL back. Static hosting only.

Requirements

  • Required binaries: curl
  • Optional environment variable: $TIINYHOST_API_KEY, $TIINYHOST_EMAIL

Upload

Endpoint: POST https://ext.tiiny.host/v1/upload Headers: x-email and/or x-api-key Body: form-data with files (file attachments) and optional domain.

Example (anonymous upload with email):

curl -sS -X POST https://ext.tiiny.host/v1/upload \
  -H "x-email: user@example.org" \
  -F "files=@index.html" \
  -F "files=@style.css"

Example (permanent upload with API key):

curl -sS -X POST https://ext.tiiny.host/v1/upload \
  -H "x-api-key: YOUR_API_KEY" \
  -F "files=@index.html" \
  -F "domain=mysite.tiiny.site"

When uploading, if the user does not have an API key, they must provide an email to use in the X-Email header, and it creates an anonymous upload linked to that email which expires in 1 hour. This only works for emails that aren't already linked to a Tiiny account. With a provided API key, the X-Email is no longer needed and the publish is permanent. The usual flow is to ask for an email from people who have never used tiiny before so they can immediately publish, but then to ask them to generate an api key later to make it permanent. Important: When uploading for the first time, you have to make it clear to the user that they need an API key OR an email. First-time users will likely not have an API key, so make it very clear that it'll still work with an email only. Do not make people leave the flow by making them think they definitely need an API key for the first upload.

File structure: For HTML sites, place index.html at the root of the directory you publish, not inside a subdirectory. The directory's contents become the site root. For example, publish my-site/ where my-site/index.html exists — don't publish a parent folder that contains my-site/.

You can also publish raw files without any HTML. Single files get a rich auto-viewer (images, PDF, video, audio). Multiple files get an auto-generated directory listing with folder navigation and an image gallery.

Update an existing site

Endpoint: PUT https://ext.tiiny.host/v1/upload Headers: x-api-key (required) Body: form-data with files and domain (the existing site’s domain to update).

Example:

curl -sS -X PUT https://ext.tiiny.host/v1/upload \
  -H "x-api-key: YOUR_API_KEY" \
  -F "files=@index.html" \
  -F "files=@style.css" \
  -F "domain=mysite.tiiny.site"

Updates require a saved API key and cannot be used without one.

List existing sites

Endpoint: GET https://ext.tiiny.host/v1/profile Headers: x-api-key (required)

Use this endpoint to inspect the user's current Tiiny account state and enumerate existing sites before asking them to upgrade or manually look up domains.

Example:

curl -sS https://ext.tiiny.host/v1/profile \
  -H "x-api-key: YOUR_API_KEY"

The response includes a data.links array. Each link object may include fields such as:

  • subdomain: the site domain to use in update requests
  • created: creation timestamp
  • filename: originally uploaded file or archive
  • siteType: whether the link is a site or a single file
  • isTemplate: whether the site is a template

When the user says they want to replace an existing site, use /profile first to list their sites and help them choose the correct subdomain. Once confirmed, call the update endpoint with that domain.

API key storage

When calling the APIs, read the API key from these sources (first match wins):

  1. $TIINYHOST_API_KEY environment variable

After obtaining an API key via OTP, do not silently discard it. Ask the user whether they want to store it in their usual location for API keys so future Tiiny operations do not require another OTP flow.

Preferred behavior:

  1. Ask whether the user wants to save the key.
  2. If they already have a standard place for API keys, store it there.
  3. If they do not have a standard place, suggest a small number of common options:

- Add TIINYHOST_API_KEY to their shell profile so it is available as an environment variable - Save it in a local secrets file they already use for developer credentials - Store it in their password manager and paste it in when needed

  1. Confirm where it was stored and prefer reading from that source on future runs.

Getting an API key

To upgrade from anonymous upload or to manage an existing account:

  1. If you don't already have an email for the user, then ask for one.
  2. Request a one-time sign-in code (POST) using the email you have from the user:
curl -sS -X POST https://ext.tiiny.host/v1/otp/request \
  -H "x-email: user@example.org"
  1. Tell the user: "Check your inbox for a sign-in code from Tiiny Host and paste it here."
  2. Verify the code and get the API key (POST):
curl -sS -X POST https://ext.tiiny.host/v1/otp/verify \
  -H "x-email: user@example.org" \
  -H "content-type: application/json" \
  -d '{"otp":"123456"}'
  1. Ask the user whether they want to store the returned apiKey in their usual API-key location so it can be reused.
  2. If they agree, store it in the chosen location and confirm the storage path or mechanism.

Handling specific cases

  • If a user asks to publish a site, first ask for their email and use this to upload
  • If you get an 'Account already exists' error, push them through the 'Getting an API key' flow so you can save with their API key
  • After getting an API key from OTP verification, ask whether the user wants it stored for future use before continuing with more Tiiny operations.
  • If the user reaches the point where they might need to upgrade and they select to replace/update an existing site instead, then don't ask the user which site they want to replace. Call the /profile endpoint, get their existing site, and ask if they want to update that site. '
  • If you get FREE_UPLOAD_LIMIT_REACHED while creating a new upload, do not stop at "upgrade your account". First offer to replace an existing site, then call /profile to fetch current sites and proceed with the replacement flow.
  • If the user may need to upgrade because they want more sites or more updates than the free plan allows, point them to https://tiiny.host/pricing.
  • When suggesting an upgrade, mention that Tiiny Host's help center states they offer a 7-day money back guarantee, so the upgrade is relatively low risk for evaluation.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.4%
按下载量换算54

Claude

28.97%
按下载量换算43

Cursor

19.92%
按下载量换算29

Gemini CLI

10.2%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills