Token导航 LogoToken导航

Agent Skill · 运维

hoist(hoist 命令行)

hoist 用于处理数据库查询、表结构、迁移和数据维护任务,适合在 OpenClaw 中需要分析 schema、编写 SQL 或排查数据问题时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

hoist 是运维类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在运维类的 954 个 Skill 里排第 820。

总安装 2,775周安装 118GitHub Stars 1下载 972核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
0.1.5

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install hoist

这个 Skill 是做什么的

运维类 Skill 处理部署、监控、日志和云资源,多数需要较高的执行权限。

使用 Hoist CLI 在 VPS 提供商上部署和管理应用程序、服务器、数据库、域和环境变量。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install hoist;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

hoist 怎么安装?

在终端执行 openclaw skills install hoist。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

hoist 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

hoist 需要什么权限?

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

hoist 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

hoist 用的人多吗?

公开数据是累计安装 2,775 次,近一周安装 118 次,下载 972 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

hoist 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理运维类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

运维类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
docker-essentials

Docker 基础 · OpenClaw

1,005,15130接触敏感数据MIT-0通过
playwright-scraper-skill

Playwright scraper 技能 · OpenClaw

923,55754接触敏感数据MIT-0有提醒
moltguard

moltguard 搜索 · OpenClaw

825,096110接触敏感数据MIT-0通过
finance-news

财经新闻 · OpenClaw

275,51210需要联网MIT-0有提醒
security-monitor

安全监视器 · OpenClaw

224,1695需要联网MIT-0有提醒
hoist

hoist 命令行 · 本页

2,7751接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
hoist
description
Deploy and manage apps, servers, databases, domains, and environment variables on VPS providers using the Hoist CLI.
homepage
https://github.com/g4f4r0/hoist
metadata
{"openclaw":{"skillKey":"hoist","homepage":"https://github.com/g4f4r0/hoist","requires":{"bins":["hoist"]},"install":[{"id":"node","kind":"node","package":"hoist-cli","bins":["hoist"],"label":"Install Hoist CLI (npm)"}]}}

Hoist CLI

Hoist is an AI-native CLI built specifically for AI agents. When called from an agent (non-TTY), it automatically outputs structured JSON and skips interactive prompts. Just run commands directly.

How You Should Behave

You are the user's infrastructure guide. Be thorough and transparent:

  • Always explain what you are about to do before doing it. Tell the user which commands you will run, what resources will be created, and what the estimated cost is.
  • Ask for confirmation before any action that creates, modifies, or destroys resources. This includes creating servers, deploying apps, adding databases, deleting domains, rotating keys, and setting env vars.
  • Never assume critical deployment inputs. If the user says "deploy this", ask which server, which service, and which port unless hoist.json already resolves them clearly.
  • Present options clearly. When there are choices like region, server type, or database version, list them with context like price, location, and specs so the user can make an informed decision.
  • After every action, verify it worked. Run hoist status and report the result.
  • If something fails, investigate before retrying. Follow the troubleshooting workflow below.

Smart Defaults

Hoist auto-detects and fills in sensible defaults when called from an agent:

  • Deploys all app services if --service is omitted
  • Auto-resolves --server from the service config in hoist.json
  • Generates random server names if --name is omitted
  • Uses cheapest server type and first region as defaults

Even though defaults exist, always present the plan to the user and get confirmation before executing.

When to Use

  • "Deploy this app" -> hoist deploy
  • "Create a server" -> hoist server create
  • "Set up Postgres" -> hoist deploy --template postgres --server <s>
  • "Add a domain" -> hoist domain add example.com
  • "What's running?" -> hoist status
  • "Something is broken" -> hoist logs <service>, then hoist logs traefik, then hoist doctor
  • "Check everything" -> hoist doctor

When NOT to Use

  • Provider setup without env vars. hoist init and hoist provider add need HOIST_*_API_KEY env vars or an interactive human terminal.
  • General coding. Hoist is for infrastructure only.

Decision Tree

Is hoist installed? (`which hoist`)
+-- NO -> Run: `npm install -g hoist-cli`
+-- YES -> Is hoist configured? (`hoist provider list`)
    +-- NO -> Are HOIST_*_API_KEY env vars set?
        +-- YES -> Run: `hoist init`
        +-- NO -> Tell user to run: `hoist init`
    +-- YES -> Does hoist.json exist?
        +-- NO -> Create hoist.json after asking about project name and services
        +-- YES -> What does the user want?
            +-- New server -> `hoist server create`
            +-- Import server -> `hoist server import --ip <ip>`
            +-- Deploy app -> `hoist deploy`
            +-- Add database -> `hoist deploy --template postgres --server <s>`
            +-- Add domain -> `hoist domain add <domain>`
            +-- Set env vars -> `hoist env set <service> KEY=VAL`
            +-- Check status -> `hoist status`
            +-- Something broken -> `hoist logs <service>` + `hoist doctor`

Sensitive Operations - Human in the Loop

CommandBehavior
hoist initIf HOIST_*_API_KEY env vars are set, auto-configures. Otherwise prompts interactively, so tell the user to run it.
hoist provider addRequires --type and reads the API key from a HOIST_*_API_KEY env var. If the env var is missing, tell the user to set it first.
hoist keys rotateRotates SSH keys on all servers. Always confirm first.
hoist server destroyDestroys a server permanently. Always confirm first.
hoist template destroyDestroys a database and its data. Always confirm first.
hoist domain deleteRemoves a domain and SSL config. Always confirm first.

Environment variables: HOIST_HETZNER_API_KEY, HOIST_VULTR_API_KEY, HOIST_DIGITALOCEAN_API_KEY, HOIST_HOSTINGER_API_KEY, HOIST_LINODE_API_KEY, HOIST_SCALEWAY_API_KEY


Commands

For full command reference, see COMMANDS.md.

  • Providers: provider add, provider list, provider test, provider update, provider set-default, provider delete
  • Servers: server create, server import, server list, server status <name>, server ssh <name>, server destroy <name>, server regions, server types, server stats <name>
  • Deploy: deploy, deploy --service <name>, deploy --template <type> --server <s>, deploy --repo <url> --branch <branch>, rollback --service <name>
  • Templates: template list, template info <name>, template services, template inspect <name>, template backup <name>, template destroy <name>, template stop/start/restart <name>, template public <name>, template private <name>
  • Domains: domain add <domain>, domain add <domain> --service <name>, domain list, domain delete <domain>
  • Env vars: env set <service> KEY=VAL, env get <service> <key>, env list <service>, env delete <service> <key>, env import <service> <file>, env export <service>, echo KEY=VAL | env set <service> --stdin
  • Observability: logs <service>, logs traefik, logs <service> --follow, status, doctor
  • Skills: skills sync, skills export [dir]
  • Other: keys show, keys rotate, config validate, --status

Project Config

Read hoist.json in the project root for current project context.

{
  "project": "my-app",
  "servers": { "prod": { "provider": "hetzner-1" } },
  "services": {
    "api": { "server": "prod", "type": "app", "source": ".", "port": 3000 }
  }
}

Deployment Procedure

Walk the user through each step. Ask for confirmation before proceeding:

  1. Server - Which server? If none exist, ask the user which provider, region, type, and name they want. Present available options with pricing.
  2. Service - App or database? If no Dockerfile exists, generate one using DOCKERFILES.md and show it to the user before deploying.
  3. Domain - Ask whether they want a custom domain. User must point both example.com and www.example.com to the server IP.
  4. Env vars - Ask about DATABASE_URL, API keys, and other runtime config. If a database was just created, suggest the connection URL.
  5. Confirm - Summarize the server, service, domain, env vars, and estimated cost, then ask for final approval.

After Deploying

  1. hoist status - verify services are running and check for drift
  2. hoist logs <service> - verify the app started correctly
  3. hoist domain add <domain> - add the custom domain and SSL if requested

After Adding a Database

  1. hoist template inspect <name> - get credentials and the connection string
  2. hoist env set <app> DATABASE_URL=<connection-string> - inject it into the app
  3. hoist template public <name> --server <s> - only if the user explicitly needs public access
  4. Tell the user the database is ready and whether the app was restarted with the new connection string.

Troubleshooting Workflow

When something goes wrong, use these tools to investigate:

1. Check app logs

hoist logs <service> --lines 200

Look for crash loops, startup errors, missing env vars, database failures, and wrong ports.

2. Check proxy logs

hoist logs traefik --lines 200

Look for 502 errors, ACME cert failures, and TLS issues.

3. Check infrastructure

hoist doctor

Checks SSH connectivity, Docker, Traefik, firewall state, and provider auth.

4. Check project state

hoist status

Shows which services are running versus configured, along with drift and resource status.

Common Issues and Fixes

SymptomHow to investigateFix
502 Bad Gatewayhoist logs <service> then hoist logs traefikFix the app crash or port mismatch, then redeploy.
Site not loadinghoist statusRedeploy the service with hoist deploy --service <name>.
SSL cert invalidhoist logs traefikVerify DNS points to the server IP and wait for the next ACME retry.
DNS not resolvinghoist domain listUser must add or fix the DNS A record.
Wrong responsehoist logs <service>Fix the app and redeploy.
Database unreachablehoist template inspect <name>Start the template service or fix the connection string.

When to Rollback

Only rollback when a deploy introduced a regression and the previous version was working.

hoist rollback --service <name>

Always confirm first and verify with hoist status after the rollback.


Error Reference

ErrorSolution
Run hoist init firstIf env vars are set, run hoist init. Otherwise tell the user to run it interactively.
Provider not foundCheck hoist provider list for the correct label.
Server not foundCheck hoist server list.
SSH connection failedRun hoist doctor and verify the server IP.
No hoist.json foundCreate hoist.json in the project root.
references unknown serverMake the service server value match the servers section.
Re-run with --confirmDestructive action. The error includes the exact command to re-run.
Multiple app services foundSpecify --service <name>.

Golden Rules

  1. Explain first, act second. Always tell the user what you plan to do and get confirmation before running commands that create, modify, or destroy resources.
  2. Just run commands. JSON output and confirmations are handled automatically. Do not add extra machine flags.
  3. Parse stdout for JSON and check the exit code.
  4. Never handle API keys directly. Use env vars or tell the user to run setup commands.
  5. Investigate failures instead of retrying blindly. Use hoist logs <service>, hoist logs traefik, hoist doctor, and hoist status.
  6. After every action, verify it worked and report the result.
  7. Server names in hoist.json must match the names used during creation.

平台分布

OpenClaw

98.33%
按下载量换算956

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

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

安装前确认

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

继续浏览同类 Skills