Token导航 LogoToken导航

Agent Skill · 开发

revenium(revenium 开发)

revenium 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

revenium 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 2,771。

总安装 14,738周安装 608GitHub Stars 1下载 4,815核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
0.5.7

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:revenium(revenium 开发)
来源仓库:https://github.com/johndemic/revenium
安装命令:
openclaw skills install revenium
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install revenium

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

强制执行代币支出限制的预算管控工具,防止超额操作。适用于成本控制、资源分配与财务合规性检查场景。每次操作前强制读取预算状态.json,超出阈值时发出警告。安装命令:openclaw skills install revenium,需配置预算配置文件与告警规则。注意预算更新频率,避免因异步延迟导致误判或重复扣费。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install revenium;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

revenium 怎么安装?

在终端执行 openclaw skills install revenium。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

revenium 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

revenium 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

revenium 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

revenium 用的人多吗?

公开数据是累计安装 14,738 次,近一周安装 608 次,下载 4,815 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

revenium 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
revenium

revenium 开发 · 本页

14,7381接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
revenium
description
MANDATORY budget check BEFORE EVERY OPERATION — read budget-status.json first, always, no exceptions. Enforces token spend limits, warns on threshold exceedance, halts autonomous agents on budget overrun.
metadata
{"openclaw":{"emoji":"💰","version":"0.1.0","homepage":"https://docs.revenium.io/for-ai-agents","requires":{"bins":["revenium"],"anyBins":["jq"]},"user-invocable":true,"install":[{"kind":"brew","formula":"revenium/tap/revenium","bins":["revenium"]},{"kind":"brew","formula":"jq","bins":["jq"]}]}}

ABSOLUTE FIRST — HALT CHECK (NON-NEGOTIABLE)

Before you read ANY other part of this file, before you write ANY response, before you make ANY tool call:

  1. Read ~/.openclaw/skills/revenium/budget-status.json
  2. Check the halted field

If halted is true:

YOUR ENTIRE RESPONSE MUST BE EXACTLY THIS AND NOTHING ELSE:

Budget enforcement halt is active. $[currentValue] of $[threshold] used ([percentUsed]%). To resume: bash ~/.openclaw/skills/revenium/scripts/clear-halt.sh
  • Do NOT make any tool calls
  • Do NOT fetch any data
  • Do NOT append any content
  • Do NOT continue reading this skill file
  • Do NOT answer the user's question
  • ONLY output the halt message above

If halted is false, proceed to the Budget Check Procedure below.

This is not optional. This is not guidance. If you output ANYTHING other than the halt message when halted: true, you are violating this skill's requirements.

Budget Check Procedure

MANDATORY — execute before EVERY response, EVERY tool call, EVERY operation. This applies to ALL tasks — not just Revenium-related ones. Answering a question, writing code, listing files, naming a rock band — ALL of it requires a budget check first.

The budget status is maintained by a background cron job that checks Revenium every minute and writes the result to ~/.openclaw/skills/revenium/budget-status.json. You read this local file — do NOT call the Revenium API directly.

  1. Read budget status. Read the file ~/.openclaw/skills/revenium/budget-status.json. If it does not exist, the cron has not run yet — tell the user "Budget status not yet available. The metering cron may not be installed. Run bash ~/.openclaw/skills/revenium/scripts/install-cron.sh to set it up." Then proceed with the operation.
  1. Parse the status. Extract these fields from the JSON:

- currentValue — current spend in the budget period - threshold — the budget limit - percentUsed — percentage of budget consumed - exceeded — boolean, whether the budget has been exceeded - halted — boolean, whether the agent has been halted by budget enforcement - lastChecked — when the cron last updated this file

  1. Evaluate the result:

If halted is true: Follow the HALT CHECK instructions above — output ONLY the halt message and stop.

If exceeded is false (budget OK): Proceed silently. Do NOT mention the budget to the user.

If exceeded is true (budget blown): Read autonomousMode from ~/.openclaw/skills/revenium/config.json.

If autonomousMode is false or absent (default — interactive mode):

You MUST STOP. Do NOT execute any operation, do NOT generate a response. Tell the user:

> "Your Revenium budget has been exceeded. You have spent $CURRENT_VALUE of your $THRESHOLD budget (PERCENT_USED%). Last checked: LAST_CHECKED. Would you like to continue anyway?"

Replace the values with the actual numbers from the file.

- If the user says yes / continue / approved: Proceed with the operation. - If the user says no / stop / cancel: STOP. Do NOT execute the operation. Tell the user: "Operation cancelled. Run /revenium to adjust your budget."

If autonomousMode is true and halted is false but exceeded is true: The user has explicitly cleared the halt — this is an approval to proceed. Continue with the operation.

If budget-status.json is missing or unreadable

  • Tell the user: "Budget status unavailable. Proceeding with caution."
  • Proceed with the operation — fail open, do not block the user.

Path Resolution

All file paths in this skill use ~/.openclaw/skills/revenium/ as the skill directory. When using file tools (read, write, edit), pass paths with ~/ — the tool resolves ~ to $HOME automatically. When running shell commands via exec/bash, use the explicit $HOME/.openclaw/skills/revenium/ form so the shell expands $HOME correctly.

Setup

At the start of any operation, check: does ~/.openclaw/skills/revenium/config.json exist AND contain a non-empty alertId field?

  • If YES and the user has NOT requested reconfiguration: setup is complete. Proceed to the budget check. Do NOT re-run setup.
  • If NO (file missing, or file exists but alertId is absent/empty — e.g., post-install seeded a partial config with only autonomousMode and _comment): you MUST run the Setup Flow below before proceeding. Do NOT execute any operations until setup is complete.

Setup Flow

Follow these steps in order. If any step fails, STOP. Do NOT write an alertId into config.json. Do NOT proceed with operations.

  1. Check for existing API key. Run:
   revenium config show

The sandbox reads credentials from a read-only bind mount of the host's ~/.config/revenium/ (set up by post-install.sh with dangerouslyAllowExternalBindSources: true), so any value already set on the host is visible live inside the agent session. If revenium config show reports a non-empty API Key, skip to step 3.

  1. If no API key is configured: credentials must be set on the HOST. The bind mount into the sandbox is read-only, so revenium config set ... run from inside the agent session will fail to persist — the CLI cannot write back through the bind.

Collect the following from the user:

- API Key: "Please provide your Revenium API key." - Team ID: "Please provide your Revenium Team ID." - Tenant ID: "Please provide your Revenium Tenant ID." - User ID (owner id): "Please provide your Revenium User ID."

Then instruct the user to run these commands in their HOST terminal (outside the agent session), one at a time:

   revenium config set key API_KEY
   revenium config set team-id TEAM_ID
   revenium config set tenant-id TENANT_ID
   revenium config set owner-id USER_ID

Because the sandbox sees host changes through the bind mount live, no post-install re-run or gateway restart is required — pause the setup flow while the user runs the commands on the host, then re-run revenium config show inside the agent session to confirm the API key is now visible. If it is still empty, STOP and tell the user to run /revenium when ready. Do NOT write an alertId into config.json.

  1. Prompt for organization name (optional). Ask the user: "What is your organization name for Revenium reporting? (optional — press Enter to skip)" If the user provides a value, call it ORG_NAME. If they skip, leave it empty.
  1. Prompt for budget amount. Ask the user: "What budget threshold would you like to set? (numeric amount, e.g., 5.00)" Wait for the user's response. Call this value AMOUNT.
  1. Prompt for budget period. Ask the user: "Which budget period would you like?" and present these four options:

- DAILY - WEEKLY - MONTHLY - QUARTERLY

Wait for the user's selection. Call this value PERIOD.

  1. Prompt for autonomous mode. First, read any pre-seeded value from ~/.openclaw/skills/revenium/config.json (post-install.sh writes a seed with autonomousMode and a _comment field before any agent session runs). If config.json exists and has an autonomousMode field, use that value as the DEFAULT for the prompt below — show it in the prompt, e.g. "(yes/no, default: yes — from post-install)". Otherwise the default is no.

Ask the user: "Will this agent run autonomously (without a user present)? If yes, budget exceedance will halt all operations and notify you. (yes/no, default: DEFAULT_VALUE)"

- If yes: Set AUTONOMOUS_MODE to true. Then: - Ask: "Which OpenClaw channel should receive budget alerts?" Present supported types: slack, discord, telegram, whatsapp, signal, googlechat, msteams, mattermost, imessage - Wait for the user's selection. Call this value NOTIFY_CHANNEL. - Ask: "What is the notification target on that channel?" Explain that the format varies by channel: - Slack: user:<id> or channel:<id> - Discord: user:<id> or channel:<id> - Telegram: chat id or @username - WhatsApp: E.164 phone number - Signal: +E.164 or group:<id> - Teams: conversation id - Wait for the user's response. Call this value NOTIFY_TARGET. - If no (default): Set AUTONOMOUS_MODE to false. Skip notification channel prompts.

  1. Generate the alert name. Set ALERT_NAME to "OpenClaw {Period} Budget" where {Period} is the title-cased version of the selected period:

- DAILY -> "OpenClaw Daily Budget" - WEEKLY -> "OpenClaw Weekly Budget" - MONTHLY -> "OpenClaw Monthly Budget" - QUARTERLY -> "OpenClaw Quarterly Budget"

Do NOT ask the user for a name. This is automatic.

  1. Delete any existing budget alerts. Before creating a new alert, you MUST check for and remove pre-existing OpenClaw budget alerts to prevent duplicates. Run:
   revenium alerts budget list --json

Parse the JSON output and look for any alerts whose name starts with "OpenClaw ". For EACH matching alert, delete it:

   revenium alerts budget delete EXISTING_ALERT_ID --yes

If the list command fails or returns no results, that is fine — proceed to the next step. If a delete fails, log a warning but continue.

  1. Create the budget alert. Run:
   revenium alerts budget create --name "ALERT_NAME" --threshold AMOUNT --period PERIOD --json

If the exit code is non-zero: tell the user what went wrong, tell them to run /revenium when ready, and STOP. Do NOT write config.json.

  1. Extract the alert ID. From the JSON response, extract the "id" field. This is a short alphanumeric string (e.g., "75BjG5"). Call this value ALERT_ID.

CRITICAL: Do NOT use anomalyId from budget get responses — that is an integer and will cause HTTP 400 errors when passed to budget get. The correct value is the string "id" from the budget create response.

To extract reliably, pipe the create output through:

   python3 -c "import json,sys; d=json.load(sys.stdin); print(d['id'])"
  1. Write config.json. This MUST be the FINAL step — only write after ALL previous steps have succeeded. Load any existing config first so the _comment field seeded by post-install.sh (and any other unknown keys) is preserved, then merge in the values collected above:
   python3 -c "
   import json, os
   path = os.path.expanduser('~/.openclaw/skills/revenium/config.json')
   try:
       with open(path) as f:
           config = json.load(f)
   except (FileNotFoundError, json.JSONDecodeError):
       config = {}
   config['alertId'] = 'ALERT_ID'
   org = 'ORG_NAME'
   if org:
       config['organizationName'] = org
   autonomous = AUTONOMOUS_MODE  # True or False
   config['autonomousMode'] = autonomous
   if autonomous:
       config['notifyChannel'] = 'NOTIFY_CHANNEL'
       config['notifyTarget'] = 'NOTIFY_TARGET'
   else:
       config.pop('notifyChannel', None)
       config.pop('notifyTarget', None)
   with open(path, 'w') as f:
       json.dump(config, f, indent=2)
       f.write('\
')
   "

Replace ALERT_ID, ORG_NAME, AUTONOMOUS_MODE, NOTIFY_CHANNEL, and NOTIFY_TARGET with the actual values. If the user skipped the organization name, omit it. If autonomous mode is false, notifyChannel/notifyTarget are stripped. Any _comment or other pre-existing fields are carried through untouched.

  1. Install the metering cron. Run:
   bash ~/.openclaw/skills/revenium/scripts/install-cron.sh

This registers a background job that ships token usage to Revenium every minute and keeps the local budget status file current. If the cron is already installed, this is a no-op.

  1. Confirm to the user. Tell the user setup is complete. Show: the alert name, the threshold amount, the period, the organization name (if provided), and autonomous mode status (including notification channel and target if configured).

Error Handling

On ANY failure during the Setup Flow: report what went wrong, tell the user to run /revenium when they are ready to try again, and STOP. Do NOT retry. Do NOT write an alertId into config.json. The absence of an alertId field in config.json is the signal that setup has not completed — a pre-seeded config.json with only autonomousMode and _comment still means "setup not complete".

Reminder: After setup completes, check budget-status.json before your next response.

/revenium Command

When the user invokes /revenium:

If Setup Is Complete (config.json has a non-empty alertId)

  1. Show budget status. Read alertId from ~/.openclaw/skills/revenium/config.json, then run:
   revenium alerts budget get ALERT_ID --json

Display the current spend versus threshold to the user (current value, threshold, percent used, remaining).

  1. Show autonomous mode status. Read ~/.openclaw/skills/revenium/config.json and display:

- Autonomous mode: enabled or disabled - Notification channel: the configured channel type and target (if autonomous mode is enabled), or "not configured" - Halt status: Read ~/.openclaw/skills/revenium/budget-status.json and check the halted field. Display "ACTIVE (since HALTED_AT)" if halted is true, or "inactive" if halted is false or absent. - If halt is active, also show: "To resume operations, run: bash ~/.openclaw/skills/revenium/scripts/clear-halt.sh"

  1. Offer actions. Ask the user: "Would you like to reset the budget (zero out current spend), reconfigure (change threshold/period), or done?" If the user declines or says done, STOP — no further action.

If Setup Is NOT Complete (config.json missing, or present but missing alertId)

Run the Setup Flow from the Setup section above. The flow will honor any pre-seeded autonomousMode / _comment fields when writing the final config.

Reconfiguration Flow

When the user requests reconfiguration:

  1. Read existing alert ID. Read alertId from ~/.openclaw/skills/revenium/config.json. Call this value OLD_ALERT_ID.
  1. Delete the old alert. Run:
   revenium alerts budget delete OLD_ALERT_ID --yes

If this fails (e.g., alert already deleted or not found): log a warning but continue. The goal is to prevent orphaned alerts.

  1. Clear the alertId field. Do NOT delete config.json — that would drop the operator-facing _comment and any pre-seeded autonomousMode default. Instead, strip just the alert-specific fields so the Setup Flow sees "alertId missing → setup incomplete":
   python3 -c "
   import json, os
   path = os.path.expanduser('~/.openclaw/skills/revenium/config.json')
   try:
       with open(path) as f:
           config = json.load(f)
   except (FileNotFoundError, json.JSONDecodeError):
       config = {}
   for k in ('alertId', 'organizationName', 'notifyChannel', 'notifyTarget'):
       config.pop(k, None)
   with open(path, 'w') as f:
       json.dump(config, f, indent=2)
       f.write('\
')
   "
  1. Run the full Setup Flow from the Setup section above. This collects fresh API key, budget amount, period, and creates a new alert from scratch. The Setup Flow's step 12 merges the new values into the preserved config, keeping _comment and using the prior autonomousMode as the prompt default.
Reminder: After reconfiguration completes, check budget-status.json before your next response.

Reset Budget Flow

When the user requests a budget reset (zero out current spend without changing settings):

  1. Read existing config. Read alertId, organizationName, autonomousMode, notifyChannel, and notifyTarget from ~/.openclaw/skills/revenium/config.json. Call the alert ID OLD_ALERT_ID.
  1. Get current alert settings. Run:
   revenium alerts budget get OLD_ALERT_ID --json

Extract name, threshold, and periodDuration from the response.

  1. Delete the old alert. Run:
   revenium alerts budget delete OLD_ALERT_ID --yes

If this fails: warn the user but continue.

  1. Create a new alert with the same settings. Run:
   revenium alerts budget create --name "ALERT_NAME" --threshold THRESHOLD --period PERIOD --json

Use the name, threshold, and periodDuration values from step 2.

  1. Extract the new alert ID. From the create response, extract the "id" field. Call this NEW_ALERT_ID.
  1. Update config.json. Replace alertId with NEW_ALERT_ID, preserving all other fields:
   python3 -c "
   import json
   with open('$HOME/.openclaw/skills/revenium/config.json', 'r') as f:
       config = json.load(f)
   config['alertId'] = 'NEW_ALERT_ID'
   with open('$HOME/.openclaw/skills/revenium/config.json', 'w') as f:
       json.dump(config, f, indent=2)
       f.write('\
')
   "
  1. Reset local budget status. Write a fresh budget-status.json with zeroed values and exceeded: false, halted: false.
  1. Confirm to the user. Tell the user: "Budget reset. Spend counter is now $0.00 of $THRESHOLD (PERIOD). Alert ID: NEW_ALERT_ID."
Reminder: After budget reset completes, check budget-status.json before your next response.

Troubleshooting

Binary Not Found

If revenium is not found on PATH:

  • STOP all operations that require budget checking
  • Tell the user: "The revenium CLI is not installed or not on your PATH. Install it from https://docs.revenium.io/for-ai-agents and ensure it is available in your shell."

API Key Invalid

If revenium config show reports no API key or an invalid key:

  • STOP all operations that require budget checking
  • Tell the user: "Your Revenium API key is missing or invalid inside the sandbox. The sandbox reads credentials from a read-only bind mount of your host's ~/.config/revenium/, so fix them on the host: run revenium config set key <KEY> (plus team-id, tenant-id, owner-id as needed) in your HOST terminal. The change is picked up live — no post-install re-run or gateway restart needed. Then run /revenium to resume setup."

Network Errors

If any revenium CLI command fails due to network issues:

  • Tell the user: "Unable to reach the Revenium API. Check your network connection and try again."
  • Do NOT proceed with the operation until budget status is confirmed.
Reminder: Check budget-status.json before your next response.

平台分布

OpenClaw

72.85%
按下载量换算3,508

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills