使用 OpenPond CLI 创建存储库、监控部署并运行工具,无需使用网页界面
使用 OpenPond CLI 创建存储库、监控部署并运行工具,无需使用网页界面
Use OpenPond CLI to create repos monitor deployments and run tools without a web UI
Use the OpenPond CLI to create repos, watch deployments, and run tools without the web UI.
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
---
name: openpond-cli
description: Use the OpenPond CLI to create repos, watch deployments, and run tools without the web UI.
metadata:
short-description: OpenPond CLI workflows
---
# OpenPond CLI
Use this skill when an agent needs to create or manage OpenPond apps via the CLI, without MCP.
## Quick setup
- Install: `npm i -g openpond-code` (or `npx --package openpond-code openpond <cmd>`)
- Auth: run `openpond login` or set `OPENPOND_API_KEY`
- Non-interactive login: `openpond login --api-key opk_...`
## Common workflows
- Create internal repo and attach remote:
- `openpond repo create --name my-repo --path .`
- Non-interactive push (tokenized remote):
- `openpond repo create --name my-repo --path . --token`
- `git add . && git commit -m "init"`
- `openpond repo push --path . --branch main`
- `openpond repo push` reads `.git/config`, temporarily tokenizes `origin`, and restores it after push.
- Watch deployments:
- `openpond deploy watch handle/repo --branch main`
- List and run tools:
- `openpond tool list handle/repo`
- `openpond tool run handle/repo myTool --body '{"foo":"bar"}'`
- Account-level APIs:
- `openpond apps list [--handle <handle>] [--refresh]`
- `openpond apps tools`
- `openpond apps performance --app-id app_123`
- `openpond apps agent create --prompt "Build a daily digest agent"`
## OpenTool passthrough
Use the CLI to run OpenTool commands via `npx`:
- `openpond opentool init --dir .`
- `openpond opentool validate --input tools`
- `openpond opentool build --input tools --output dist`
## Config and URLs
- Optional env vars: `OPENPOND_BASE_URL`, `OPENPOND_API_URL`, `OPENPOND_TOOL_URL`, `OPENPOND_API_KEY`
- Cache file: `~/.openpond/cache.json` (auto-refreshes on next use)
文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。