← 返回 Skills 市场
linyiru

Creek

作者 Lawrence Lin · GitHub ↗ · v2.1.0 · MIT-0
cross-platform ⚠ suspicious
104
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install creek
功能描述
Deploy and manage applications on Creek via the Creek CLI. Covers init, deploy, status, projects, deployments, rollback, env vars, custom domains, and dev se...
使用说明 (SKILL.md)

Creek CLI — Agent Skill

Creek deploys web apps to Cloudflare Workers with a single command. Auto-detects framework, determines render mode (SPA/SSR/Worker), provisions infrastructure.

Agent Rules

  1. Always use --json for structured output. Auto-enabled in non-TTY / CI.
  2. Follow breadcrumbs in JSON responses — they suggest the next command.
  3. Use --yes to skip confirmation prompts (auto-enabled in non-TTY).
  4. Check ok fieldtrue = success, false = error with error and message fields.

Command Reference

Task Command
Authenticate creek login
Authenticate (CI) creek login --token \x3CKEY>
Check auth creek whoami --json
Init project creek init --json
Deploy creek deploy --json
Deploy directory creek deploy ./dist --json
Deploy from GitHub creek deploy https://github.com/user/repo --json
Deploy monorepo subdir creek deploy https://github.com/user/repo --path packages/app --json
Deploy demo creek deploy --demo --json
Deploy template creek deploy --template vite-react
Skip build creek deploy --skip-build --json
Check status creek status --json
Check sandbox creek status \x3CSANDBOX_ID> --json
Claim sandbox creek claim \x3CSANDBOX_ID> --json
List projects creek projects --json
List deployments creek deployments --json
List deployments (other) creek deployments --project \x3CSLUG> --json
Rollback creek rollback --json
Rollback to specific creek rollback \x3CDEPLOYMENT_ID> --json
Set env var creek env set \x3CKEY> \x3CVALUE> --json
List env vars creek env ls --json
Show env values creek env ls --show --json
Remove env var creek env rm \x3CKEY> --json
Add domain creek domains add \x3CHOSTNAME> --json
List domains creek domains ls --json
Activate domain creek domains activate \x3CHOSTNAME> --json
Remove domain creek domains rm \x3CHOSTNAME> --json
Dev server creek dev

Deployment Modes

Authenticated (permanent)

Requires creek login. Deploys persist under the user's account.

creek deploy --json

Sandbox (60-min preview)

No auth required. Temporary preview with claimable URL.

creek deploy --json          # auto-sandbox when not logged in
creek claim \x3CSANDBOX_ID>     # convert to permanent project

CI/CD

CREEK_TOKEN=ck_... creek deploy --yes --json

JSON Output Format

Every command returns structured JSON with breadcrumbs:

{
  "ok": true,
  "url": "https://my-app-team.bycreek.com",
  "project": "my-app",
  "breadcrumbs": [
    { "command": "creek status", "description": "Check deployment status" },
    { "command": "creek deployments --project my-app", "description": "View deployment history" }
  ]
}

On error:

{
  "ok": false,
  "error": "not_authenticated",
  "message": "Not authenticated. Run `creek login` first.",
  "breadcrumbs": [
    { "command": "creek login", "description": "Authenticate interactively" }
  ]
}

Workflow: First Deploy

creek login --json                # 1. Authenticate
creek init --json                 # 2. Create creek.toml (optional)
creek deploy --json               # 3. Deploy

Workflow: Update & Rollback

creek deploy --json               # Deploy new version
creek deployments --json          # View history
creek rollback --json             # Rollback to previous
creek rollback \x3CID> --json        # Rollback to specific deployment

Workflow: Custom Domain

creek domains add app.example.com --json     # Add domain
# User sets DNS: CNAME app.example.com → cname.creek.dev
creek domains activate app.example.com --json # Activate after DNS
creek domains ls --json                       # Verify status

creek.toml Reference

[project]
name = "my-app"              # Required. Lowercase alphanumeric + hyphens.
framework = "nextjs"         # Optional. Auto-detected from package.json.

[build]
command = "npm run build"    # Build command (default: npm run build)
output = "dist"              # Build output directory
worker = "worker/index.ts"   # Optional: custom Worker entry point

[resources]
d1 = true                   # Cloudflare D1 database   → env.DB
kv = true                   # Cloudflare KV namespace   → env.KV
r2 = true                   # Cloudflare R2 storage     → env.BUCKET
ai = true                   # Cloudflare Workers AI     → env.AI

Supported Frameworks

SPA: vite-react, vite-vue, vite-svelte, vite-solid, static HTML SSR: nextjs, react-router, sveltekit, nuxt, solidstart, tanstack-start

Config Detection Order

  1. creek.toml — explicit Creek config
  2. wrangler.jsonc / wrangler.json / wrangler.toml — existing CF config
  3. package.json — framework auto-detection
  4. index.html — static site

Troubleshooting

Error Fix
"Not authenticated" creek login or set CREEK_TOKEN
"Invalid API key" creek login to re-authenticate
"No creek.toml found" creek init or cd to project root
"No project found" Deploy from a dir with package.json or index.html
"No supported project found in repo" Use --path for monorepos
Sandbox expired Redeploy — sandboxes last 60 minutes
Domain stuck "pending" Set CNAME to cname.creek.dev, then creek domains activate
Build fails Check [build] command in creek.toml
安全使用建议
This skill appears to be a legitimate Creek CLI wrapper, but there are important mismatches and high-impact instructions you should verify before installing. Ask the author to update the registry metadata to declare the required 'creek' binary and the CREEK_TOKEN environment variable. Only provide a CREEK_TOKEN with the minimum necessary scope (prefer ephemeral or CI tokens), and do not reuse a Cloudflare/organization master key. Be aware the skill tells the agent to run commands with --yes (no confirmations) and to show env values (--show) which can expose secrets; if you allow autonomous invocation, restrict the agent's permission or test in an isolated account/repo first. If you are unsure, request the source/homepage or a maintained install spec from the author before use.
功能分析
Type: OpenClaw Skill Name: creek Version: 2.1.0 The 'creek' skill bundle provides instructions for an AI agent to interact with the Creek CLI for deploying and managing web applications on Cloudflare Workers. It includes standard commands for authentication, deployment, environment variable management, and domain configuration. No malicious patterns, data exfiltration, or suspicious execution logic were found in SKILL.md or _meta.json.
能力评估
Purpose & Capability
SKILL.md clearly implements a Creek CLI deploy/manage skill (init, deploy, domains, env, rollback) which is coherent with the stated purpose — however the registry metadata claims no required binaries or env vars while the SKILL.md explicitly lists the 'creek' binary and CREEK_TOKEN. That mismatch (undeclared required credential/binary) is unexpected and should be resolved by the author.
Instruction Scope
Runtime instructions instruct the agent to run potentially destructive or sensitive commands with --yes (skip confirmations) and to use 'creek env ls --show --json' which reveals environment variable values (secrets). The guidance to 'follow breadcrumbs' and auto-enable --yes in non-TTY gives the agent broad, autonomous discretion to modify deployments, domains, and env vars. These actions are within a deploy tool's capabilities but are high-impact and not sufficiently constrained in the instructions.
Install Mechanism
This is an instruction-only skill with no install spec or code to write to disk, which is the lowest install risk. SKILL.md suggests installing the Creek CLI via npm globally (npm install -g creek) but the package installation is not part of an automated install spec.
Credentials
The SKILL.md requires CREEK_TOKEN for authenticated operations, which is reasonable for a deploy tool — but the registry metadata did not declare any required env variables. The skill's commands can list and show env vars, set and remove them, manage domains, and perform rollbacks, so the token grants broad, account-level privileges. The required credential should be declared and users should be warned to use least-privilege/CI tokens and avoid exposing high-privilege keys.
Persistence & Privilege
always:false and normal model invocation are set (no forced always-on presence). The skill does not request to modify other skills or system-wide agent settings. Autonomous invocation plus the high-impact CLI commands is normal for a deployer but increases blast radius (not a metadata privilege issue itself).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install creek
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /creek 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.1.0
Add required-binaries and required-env metadata for security scan
v2.0.0
Consolidate 4 skills into single creek skill with breadcrumbs support
元数据
Slug creek
版本 2.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Creek 是什么?

Deploy and manage applications on Creek via the Creek CLI. Covers init, deploy, status, projects, deployments, rollback, env vars, custom domains, and dev se... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 104 次。

如何安装 Creek?

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

Creek 是免费的吗?

是的,Creek 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Creek 支持哪些平台?

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

谁开发了 Creek?

由 Lawrence Lin(@linyiru)开发并维护,当前版本 v2.1.0。

💬 留言讨论