技能详情(站内镜像,无评论)
作者:Sabrina Aquino @sabrinaaquino
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.1
统计:⭐ 3 · 491 · 0 current installs · 0 all-time installs
⭐ 3
安装量(当前) 0
🛡 VirusTotal :可疑 · OpenClaw :良性
Package:venice-admin
安全扫描(ClawHub)
- VirusTotal :可疑
- OpenClaw :良性
OpenClaw 评估
The skill's code, required environment variable, and install steps match its stated purpose (Venice account admin) and do not request unrelated privileges or hidden exfiltration.
目的
The name/description (account balance, usage, API key management) aligns with the requested VENICE_API_KEY and with the three included scripts that call Venice API endpoints. Requiring an Admin API key is appropriate for the listed endpoints (/billing/balance, /billing/usage, /api_keys).
说明范围
SKILL.md instructs the agent to run the included Python scripts via 'uv run'. The scripts only read VENICE_API_KEY, call https://api.venice.ai/api/v1 endpoints, and optionally write user-specified output files. There are no instructions to read unrelated files, other env vars, or transmit data to third parties beyond the Venice API.
安装机制
Install uses a brew formula 'uv' to provide the required runner binary. Brew installs are a standard, low-risk mechanism. The scripts rely on uv to satisfy PEP 723 inline dependencies (httpx), which is consistent with the runtime note in SKILL.md. As with any third-party formula, users should verify the 'uv' package origin before installing.
证书
Only a single env var (VENICE_API_KEY) is required and it is the appropriate credential for admin-level Venice API operations. No unrelated secrets, config paths, or multiple credential types are requested.
持久
The skill is not force-included (always:false) and does not request elevated platform persistence. It does not modify other skills or system-wide settings; it simply runs CLI scripts when invoked.
综合结论
This skill appears coherent with its stated purpose, but take these precautions before installing: 1) Only use a genuine Admin API key when you explicitly need admin operations (do not use it for routine inference). 2) Verify the 'uv' brew formula comes from a trusted source before installing, since 'uv' will run the Python scripts and install dependencies. 3) Review the included scripts if you have any doubt — they are short and only call api…
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Venice Admin」。简介:Venice AI account administration - check balance, view usage history, and manag…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/sabrinaaquino/venice-admin/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: venice-admin
description: Venice AI account administration - check balance, view usage history, and manage API keys. Requires an Admin API key.
homepage: https://venice.ai
metadata:
{
"openclaw":
{
"emoji": "⚙️",
"requires": { "bins": ["uv"], "env": ["VENICE_API_KEY"] },
"primaryEnv": "VENICE_API_KEY",
"install":
[
{
"id": "uv-brew",
"kind": "brew",
"formula": "uv",
"bins": ["uv"],
"label": "Install uv (brew)",
},
],
},
}
---
# Venice Admin
Manage your Venice AI account - check balance, view usage history, and manage API keys.
**⚠️ Important:** These endpoints require an **Admin API key**, not a regular inference key. Create one at [venice.ai](https://venice.ai) → Settings → API Keys → Create Admin Key.
**API Base URL:** `https://api.venice.ai/api/v1`
## Setup
1. Create an **Admin API key** from [venice.ai](https://venice.ai) → Settings → API Keys
2. Set the environment variable:
```bash
export VENICE_API_KEY="your_admin_api_key_here"
```
---
## Check Balance
View your current DIEM and USD balances.
```bash
uv run {baseDir}/scripts/balance.py
```
**Output includes:**
- Whether you can consume (has balance)
- Current consumption currency (DIEM or USD)
- DIEM balance and epoch allocation
- USD balance
---
## View Usage History
View detailed usage history with filtering and pagination.
```bash
uv run {baseDir}/scripts/usage.py
```
**Options:**
- `--currency`: Filter by currency: `DIEM`, `USD`, `VCU` (default: `DIEM`)
- `--start-date`: Start date filter (ISO format: `2024-01-01`)
- `--end-date`: End date filter (ISO format: `2024-12-31`)
- `--limit`: Results per page (default: `50`, max: `200`)
- `--page`: Page number (default: `1`)
- `--sort`: Sort order: `asc` or `desc` (default: `desc`)
- `--format`: Output format: `json` or `csv` (default: `json`)
- `--output`: Save to file instead of stdout
**Examples:**
```bash
# Last 50 DIEM transactions
uv run {baseDir}/scripts/usage.py
# USD usage in January 2024
uv run {baseDir}/scripts/usage.py --currency USD --start-date 2024-01-01 --end-date 2024-01-31
# Export to CSV
uv run {baseDir}/scripts/usage.py --format csv --output usage.csv
```
---
## List API Keys
View all your API keys.
```bash
uv run {baseDir}/scripts/api_keys_list.py
```
**Output includes:**
- Key ID and name
- Key type (Admin, Inference, etc.)
- Creation date
- Last used date
- Rate limits
---
## Runtime Note
This skill uses `uv run` which automatically installs Python dependencies (httpx) via [PEP 723](https://peps.python.org/pep-0723/) inline script metadata. No manual Python package installation required - `uv` handles everything.
---
## Security Notes
- **Admin keys have elevated permissions** - protect them carefully
- Admin keys can view billing info and manage other keys
- Never commit admin keys to version control
- Consider using inference-only keys for production workloads
## API Reference
| Endpoint | Description | Auth Required |
|----------|-------------|---------------|
| `GET /billing/balance` | Check DIEM/USD balance | Admin key |
| `GET /billing/usage` | View usage history | Admin key |
| `GET /api_keys` | List all API keys | Admin key |
Full API docs: [docs.venice.ai](https://docs.venice.ai)