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

sapiom-deploysapiom 部署

Agent Skill

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

总安装

324

周安装

13

GitHub Stars

9

下载量

105
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/sapiom/skills --skill sapiom-deploy

简介

用于辅助云资源部署、容器管理和基础设施运维自动化。

  • 适合检查配置、整理部署步骤或分析资源状态。
  • 通过 npx skills add 命令从 GitHub 仓库安装使用。
  • 需明确目标环境和账号权限,涉及删除或修改操作时应先确认影响范围。
  • sapiom-deploy 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Sapiom Deploy

Deploy and run code via Sapiom. ZIP your code, POST it, done.

When to Use

  • User says "deploy this" / "ship it" / "put this in the cloud"
  • User wants to run a script on a schedule
  • User wants to process N items in parallel
  • User wants a persistent environment with ports/filesystem
  • User already has working code and wants it deployed
Building an agent from scratch? Use the sapiom-agent-builder skill instead — it handles the full workflow from intent to deploy.

Deploy Patterns (pick one)

PatternWhat It DoesWhen to UseReference
Scheduled jobRuns on cronPeriodic tasks (monitoring, scraping, reports)references/jobs.md
Batch jobN parallel tasks on demandProcess a list of items in parallelreferences/jobs.md
Orchestrator + workersScheduled job fans out to batchPeriodic task that processes N itemsreferences/patterns.md
SandboxPersistent instance with ports + filesystemDev environments, servers, long-running processesreferences/sandboxes.md

Quick Decision

  • "Run X every hour" → Scheduled job
  • "Process these 50 items" → Batch job
  • "Every hour, check for new items, process each" → Orchestrator + workers
  • "Spin up a server" / "I need a dev environment" → Sandbox

Setup (same for all patterns)

const { createFetch } = require("@sapiom/fetch");
const safeFetch = createFetch({
  apiKey: process.env.SAPIOM_API_KEY,
});
const GATEWAY = "https://blaxel.services.sapiom.ai";

Example: Deploy a Script on a Schedule

User says: "Deploy this script to run every 2 hours"

Steps:

  1. Read references/jobs.md for the full API
  2. ZIP index.js + package.json (files at ZIP root, not in a subdirectory)
  3. POST /v1/jobs?name=my-job&schedule=0 */2 * * * with ZIP body
  4. Response returns {status: "deployed"} — deploy is synchronous, no polling

Result: Deploy returns immediately with status: "building". Poll GET /v1/jobs/my-job every 10–15s until "deployed" (~60–120s). Then the job runs every 2 hours.

Example: Fan Out to Parallel Workers

User says: "Process these 100 URLs in parallel"

Steps:

  1. Deploy worker code as a batch job (no schedule): POST /v1/jobs?name=my-worker with ZIP body
  2. Trigger execution: POST /v1/jobs/my-worker/executions with {tasks: [{url: "..."},...]}
  3. Each task runs in parallel, receives its payload via blStartJob(async (args) => {...})

Result: 100 tasks run concurrently. Check progress with GET /v1/jobs/my-worker/executions/{id}.

Troubleshooting

Deploy returns 502

Cause: Bad package.json — missing main, scripts.start, or invalid JSON. Fix: Ensure package.json has "main": "index.js" and "scripts": {"start": "node index.js"}.

Deploy returns 402

Cause: Missing or invalid SAPIOM_API_KEY. Fix: Ensure the API key is valid and passed via the @sapiom/fetch SDK.

Job deploys but fails at runtime

Cause: Code works locally but crashes in the cloud — usually missing env vars. Fix: Pass SAPIOM_API_KEY and any other env vars via the envs field in the JSON deploy body.

ZIP files not found by builder

Cause: Files nested in a subdirectory inside the ZIP (e.g., my-project/index.js instead of index.js). Fix: ZIP from inside the directory: cd my-project && zip -r../deploy.zip.

Job name conflict

Cause: A job with that name already exists. Fix: Use PUT /v1/jobs/{name} to update, or DELETE then recreate.

References

  • references/jobs.md — Jobs API (create, deploy, execute, manage)
  • references/sandboxes.md — Sandboxes API (create, filesystem, processes, ports)
  • references/patterns.md — Orchestrator + workers pattern with concrete example

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.92%
按下载量换算39

Claude

31.12%
按下载量换算33

Cursor

19.1%
按下载量换算20

Gemini CLI

9.67%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills