← 返回 Skills 市场
jpbonch

AgentScale

作者 João Bonchristiano · GitHub ↗ · v0.1.2
cross-platform ⚠ suspicious
784
总下载
0
收藏
2
当前安装
3
版本数
在 OpenClaw 中安装
/install agentscale
功能描述
Deploy web apps and APIs to a public URL with a single command.
使用说明 (SKILL.md)

Free Tier

  • No signup or payment required to start.
  • Run npx agentscale register to get an API key.
  • Free deploys expire after 1 hour.
  • Limited to 1 service.

Paid Tier

  • Add credits to remove the 1-hour expiry and deploy permanently.
  • Use npx agentscale account to check your tier and credit balance.
  • When you need to add credits, use the agentspend pay command or the AgentSpend skill.

Commands

Register

npx agentscale register

Generates an API key and saves it to ~/.agentscale/config.json.

Deploy

npx agentscale deploy

Run this from your project directory. Packages the current directory and deploys it.

Options:

  • --name \x3Cname> — Service name (auto-generated if omitted)

List

npx agentscale list

Lists your services and their status.

Account

npx agentscale account

Shows your account tier (free/paid) and credit balance.

To add credits, use the agentspend pay command:

agentspend pay https://api.agentscale.co/add-credits \
  --header "x-api-key:\x3Cyour-api-key>" \
  --body '{"amount_cents": 500}'

Or pay directly with an x402 wallet by calling POST /add-credits with your x-api-key header and amount_cents in the body.

Project Requirements

  • Deploy APIs and web services. Supports Node.js, Python, Go, and more.
  • Your project needs a standard structure to be auto-detected:
    • Node.js: a package.json with a start script.
    • Python: a requirements.txt.
    • Go: a go.mod.
  • Custom domains, build commands, and start commands are not yet supported.

Environment Variables

  • AGENTSCALE_API_URL — Overrides the default API base URL. Warning: this redirects all API calls, including those carrying your API key, to the specified URL.

System Requirements

  • tar must be available on PATH (used to package projects for deploy).

Limits

  • Upload: 100 MB compressed, 500 MB decompressed.
安全使用建议
This skill appears to do what it says (package your project and upload it to agentscale). Before installing/using it: 1) double-check the API base URL (AGENTSCALE_API_URL) — if you override it you will send your API key and uploads to that host; only point it at trusted endpoints. 2) Be careful what you run deploy from: the tool tars and uploads your current directory (the code excludes many common secret paths, but custom or unexpected secret files could still be included). 3) Note the CLI loads dotenv (.env) into the environment at runtime; don't keep secret credentials in an .env you don't want read by the tool. 4) The API key is stored under ~/.agentscale/config.json with restrictive permissions (0o600). If you need higher assurance, inspect the upstream repository/package (package.json points at a GitHub repo) and verify the API domain (https://api.agentscale.co) is legitimate before giving it access to your code. If you want me to, I can check the referenced GitHub repo or review any network endpoint you’re specifically concerned about.
功能分析
Type: OpenClaw Skill Name: agentscale Version: 0.1.2 The skill is classified as suspicious due to a critical vulnerability related to the `AGENTSCALE_API_URL` environment variable. As documented in `SKILL.md` and implemented in `src/config.ts`, this variable allows overriding the default API endpoint. All API calls, including those transmitting the user's `x-api-key` and the project tarball (from `src/commands/deploy.ts`), would be redirected to this arbitrary, user-defined URL. While the `SKILL.md` includes a warning about this, it presents a significant risk for API key and data exfiltration if an attacker can manipulate this environment variable, even though the code itself does not exhibit direct malicious intent.
能力评估
Purpose & Capability
Name/description (deploy web apps to a public URL) match the implementation: register() obtains an API key, deploy() runs tar to package the current directory and POSTs it to an API, list()/account() call the API. No unrelated credentials, binaries, or install steps are requested.
Instruction Scope
SKILL.md and code instruct packaging the current working directory and uploading it to the service. This is expected for a deploy tool, but it means arbitrary files in the project may be sent to the remote API. The code includes a reasonable exclusion list for common secrets and config files, and SKILL.md documents tar as required, but users should still ensure no sensitive files are present in the directory when deploying.
Install Mechanism
There is no install spec in the skill manifest (instruction-only). Source includes a normal Node CLI implementation and package metadata; no arbitrary remote download or archive-extract install steps are present in the skill bundle that would write unknown code to disk beyond normal CLI usage.
Credentials
The skill declares no required env vars, but supports AGENTSCALE_API_URL override (documented in SKILL.md). Code also imports dotenv/config, which will load a .env file into process.env when the CLI runs. These are coherent with a configurable client, but they increase risk: setting AGENTSCALE_API_URL to an attacker-controlled endpoint would send the saved API key and uploads to that endpoint (the SKILL.md warns about this). saveApiKey writes the API key to ~/.agentscale/config.json with 0o600 permissions (appropriate), and the code avoids requiring unrelated credentials.
Persistence & Privilege
always is false and the skill does not request system-wide privileges. The only persistent artifact is ~/.agentscale/config.json which stores the API key with restrictive permissions. The skill does not modify other skills or global agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install agentscale
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /agentscale 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.2
- Added system and environment variable requirements for better deployment support. - Introduced a "System Requirements" section specifying that "tar" must be available on PATH. - Added a new "Environment Variables" section documenting AGENTSCALE_API_URL and its security implications. - Declared "tar" under required_tools for clearer tool prerequisites.
v0.1.1
Initial public release. - Deploy web apps and APIs to a public URL with a single command. - Supports Node.js, Python, Go, and more with auto-detection of standard project structures. - Includes commands to register, deploy, list services, and view account info. - Free and paid tier details with key usage and limits outlined. - Documentation and configuration files added for easy setup.
v0.1.0
Initial release of agentscale – deploy web apps and APIs to a public URL with one command. - Free tier available: no signup needed; deploys expire after 1 hour and limited to 1 service. - Paid tier removes expiry and service limits with credits. - Simple CLI commands: register, deploy, list, and account. - Supports Node.js, Python, and Go projects with standard structures. - Upload size limited to 100 MB compressed or 500 MB decompressed.
元数据
Slug agentscale
版本 0.1.2
许可证
累计安装 2
当前安装数 2
历史版本数 3
常见问题

AgentScale 是什么?

Deploy web apps and APIs to a public URL with a single command. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 784 次。

如何安装 AgentScale?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install agentscale」即可一键安装,无需额外配置。

AgentScale 是免费的吗?

是的,AgentScale 完全免费(开源免费),可自由下载、安装和使用。

AgentScale 支持哪些平台?

AgentScale 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 AgentScale?

由 João Bonchristiano(@jpbonch)开发并维护,当前版本 v0.1.2。

💬 留言讨论