gen-paylink-govilo
Upload files to Govilo and generate unlock links via Bot API.
Setup & Installation
Install command
clawhub install hau823823/gen-paylink-goviloIf the CLI is not installed:
Install command
npx clawhub@latest install hau823823/gen-paylink-goviloOr install with OpenClaw CLI:
Install command
openclaw skills install hau823823/gen-paylink-goviloor paste the repo link into your assistant's chat
Install command
https://github.com/openclaw/skills/tree/main/skills/hau823823/gen-paylink-goviloWhat This Skill Does
Packages local files into a ZIP and uploads them to Govilo's R2 storage via presigned URLs, then creates a paid unlock link through the Govilo Bot API. Accepts ZIPs, folders, or individual files. Payment is collected in USDC on the Base chain.
Collapses file packaging, cloud upload, and crypto payment link creation into a single CLI command instead of requiring separate tools for each step.
When to Use It
- Selling a folder of design assets as a one-time download
- Charging for access to a packaged software release
- Creating a crypto-gated download link for a template pack
- Distributing source code files behind a USDC paywall
- Turning a collection of PDFs into a paid product listing
View original SKILL.md file
# Govilo To Go
Turn any file into a paid unlock link — one command to package, upload, and collect crypto payments. The last mile of automation: from creation to monetization.
## Before Running
Always ask the user for these values before executing the CLI — never guess or use placeholders:
1. **title** — What is the product name?
2. **price** — How much to charge (in USDC)?
3. **description** — Short description of the product (optional, but always ask)
## CLI Command
> Requires [uv](https://docs.astral.sh/uv/). See [references/setup-guide.md](references/setup-guide.md) for install instructions.
Run from this skill's base directory. Use a **dedicated** env file containing only `GOVILO_API_KEY` (and optionally `SELLER_ADDRESS`). Never point `--env-file` at a project `.env` that contains unrelated secrets.
```bash
cd <skill_base_directory>
uv run --env-file <path_to>/.env.govilo create-link \
--input <path> \
--title "Product Name" \
--price "5.00" \
--address "0x..." \
--description "optional"
```
If no `.env.govilo` exists, create one before running:
```dotenv
GOVILO_API_KEY=sk_live_xxx
SELLER_ADDRESS=0x...
```
`--input` accepts ZIP file, folder, or individual files (repeatable). Non-ZIP inputs are auto-packaged.
All output is JSON `{"ok": true/false, ...}` with exit code 1 on failure.
## Parameters
| Param | Required | Source | Description |
| --------------- | -------- | -------------------------- | -------------------------- |
| `--input` | Yes | CLI (repeatable) | ZIP, folder, or file paths |
| `--title` | Yes | CLI | Product title |
| `--price` | Yes | CLI | Price in USDC |
| `--address` | No | CLI > `SELLER_ADDRESS` env | Seller EVM wallet |
| `--description` | No | CLI | Product description |
## Workflow
1. Validate config (API Key + seller address)
2. Package inputs → ZIP (if not already ZIP)
3. `POST /api/v1/bot/uploads/presign` → get upload_url + session_id
4. `PUT upload_url` → upload ZIP to R2
5. `POST /api/v1/bot/items` → get unlock_url
## File Limits
- Max ZIP size: 20 MB
- Max files in ZIP: 20
## Setup
Two values are required:
| Variable | Required | Description |
| ---------------- | -------- | ---------------------------------------- |
| `GOVILO_API_KEY` | Yes | Bot API key from [govilo.xyz][] |
| `SELLER_ADDRESS` | Yes* | EVM wallet address on **Base chain** |
[govilo.xyz]: https://govilo.xyz/
*`SELLER_ADDRESS` can also be passed via `--address` CLI parameter.
See [references/setup-guide.md](references/setup-guide.md) for step-by-step registration and wallet setup instructions.
## API Reference
See [references/bot-api-quick-ref.md](references/bot-api-quick-ref.md) for Bot API endpoints and error codes.
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Selling a folder of design assets as a one-time download
- 1Selling a folder of design assets as a one-time download
- 2Charging for access to a packaged software release
- 3Creating a crypto-gated download link for a template pack
- 4Distributing source code files behind a USDC paywall
- 5Turning a collection of PDFs into a paid product listing
Upload files to Govilo and generate unlock links via Bot API.
Security Audits
These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.