经 AI Skill Hub 精选评估,开源AI工作流 获评「推荐使用」。这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
开源AI工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
开源AI工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 克隆仓库 git clone https://github.com/revenium/openclaw-revenium cd openclaw-revenium # 查看安装说明 cat README.md # 按 README 完成环境依赖安装后即可使用
# 查看帮助 openclaw-revenium --help # 基本运行 openclaw-revenium [options] <input> # 详细使用说明请查阅文档 # https://github.com/revenium/openclaw-revenium
# openclaw-revenium 配置说明 # 查看配置选项 openclaw-revenium --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export OPENCLAW_REVENIUM_CONFIG="/path/to/config.yml"
Budget enforcement and token metering for OpenClaw agents using the Revenium platform. Tracks AI spend, enforces configurable Revenium guardrail rules, and reports usage automatically — so agents never silently blow through your token budget.
🛡️ Running OpenClaw under NemoClaw / OpenShell? This README covers the standalone OpenClaw + Docker path. For the parallel NemoClaw/OpenShell sandbox install path, follow docs/nemoclaw-setup.md instead.
npm i -g clawhubrevenium CLI — installed via Homebrew (works on both macOS and Linux): brew install revenium/tap/revenium
The skill is gated on this binary and won't load without it. (post-install.sh also installs it automatically via Homebrew if it's missing — see step 2.) - Revenium API key, Team ID, Tenant ID, and Owner ID
clawhub install --force --dir ~/.openclaw/skills revenium
About the VirusTotal warning: ClawHub may display a warning that this skill is "flagged as suspicious by VirusTotal Code Insight." This is a false positive — the skill calls the Revenium API via thereveniumCLI and handles API keys during setup, which triggers VirusTotal's heuristic detection for "external APIs" and "crypto keys." The skill is open source and safe to install. The--forceflag bypasses this warning.
Installing for local development or testing from this Git repo instead of ClawHub? See Installing from the GitHub repo below.
ClawHub does not run post-install scripts, so run the setup script first — it installs any missing prerequisites (including the revenium CLI itself, which the next step needs) and configures OpenClaw sandbox access:
bash ~/.openclaw/skills/revenium/scripts/post-install.sh
This will:
1. Check for and install the revenium CLI and jq via Homebrew (if missing), and verify python3 is available 2. Mark the skill's scripts as executable 3. Configure the Docker sandbox under agents.defaults.sandbox.docker in ~/.openclaw/openclaw.json: - Bind-mounts ~/.openclaw (rw — skills, sessions, logs, guardrail-status.json) and the Homebrew bin/lib directories containing revenium and jq (ro) - Sets PATH, HOME, LD_LIBRARY_PATH, and SSL_CERT_FILE in the container environment - Injects REVENIUM_API_KEY / REVENIUM_API_URL / REVENIUM_TEAM_ID / REVENIUM_TENANT_ID / REVENIUM_OWNER_ID from your host config (so the CLI inside the sandbox is authenticated without mounting ~/.config) - Sets dangerouslyAllowExternalBindSources: true — required so the gateway accepts the ~/.openclaw and Homebrew binds, which live outside the sandbox's default ~/.openclaw/workspace root. It does not mount any credential path; those remain hard-blocked by OpenClaw regardless of this flag. 4. Enable autoAllowSkills in ~/.openclaw/exec-approvals.json so skill-declared binaries are auto-approved 5. Seed an initial guardrail-status.json so the agent doesn't error before the cron's first run 6. Seed an initial config.json (prompts interactively for autonomousMode) so operators can set the halt-vs-warn behavior up front 7. Inject a mandatory guardrail check into AGENTS.md so enforcement is always in context 8. Deploy BUDGET-GUARD.md into the workspace so enforcement is injected into isolated/cron sessions too 9. Verify the installation
On this first run your Revenium credentials aren't set yet, so post-install will warn that it couldn't inject them into the sandbox — that's expected. You'll set them and re-run post-install in step 3.
Already have prerequisites installed? Pass --skip-prereqs to skip Homebrew installs and fail immediately if anything is missing.
Now that the revenium CLI is installed (step 2), set your credentials on the host and re-run post-install so they get injected into the sandbox:
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 <OWNER_ID>
revenium config show # confirm the values are set
bash ~/.openclaw/skills/revenium/scripts/post-install.sh # re-run to snapshot creds into the sandbox
The revenium CLI stores these at ~/.config/revenium/config.yaml.
Credentials reach the sandbox as a snapshot, not live. OpenClaw's sandbox hard-blocks mounting credential paths (anything under~/.config), so the skill cannot bind-mount yourreveniumconfig into the container. Instead, post-install reads your host credentials and injects them asREVENIUM_*environment variables into the sandbox. This means any time you set or rotate credentials, you must re-run post-install and restart the gateway (steps 3–4) to refresh them. Settingrevenium config setfrom inside an agent session has no effect on the sandbox.
The metering cron and guardrail rules are configured the first time you interact with the agent after installing the skill. The agent walks you through configuring your budget and creates the guardrail rules — no manual script execution needed.
To verify the cron is running after setup:
tail -f ~/.openclaw/skills/revenium/revenium-metering.log
To manually manage the cron:
```bash
bash ~/.openclaw/skills/revenium/scripts/install-cron.sh
bash ~/.openclaw/skills/revenium/scripts/uninstall-cron.sh ```
Use this when you want to run or test unreleased changes (e.g. a feature branch) instead of the ClawHub release. The key constraints, both enforced by OpenClaw's sandbox:
~/.openclaw/skills/ — do not symlink a clone from elsewhere. OpenClaw rejects skills whose path resolves outside the skills root (reason=symlink-escape).revenium CLI, the order is: run post-install once (installs the CLI) → revenium config set … → re-run post-install to snapshot the creds. Re-run post-install after any later credential change too.```bash
bash ~/.openclaw/skills/revenium/scripts/post-install.sh openclaw gateway restart ```
Setup happens automatically the first time the agent tries to perform an operation (or run /revenium to start it manually). The agent will:
5.00)ruleIds to ~/.openclaw/skills/revenium/config.jsonSetup is atomic — if rule creation fails, no partial ruleIds are written.
Setup is idempotent. Re-running setup (or installing on a fresh VM pointed at the same Revenium tenant) checks for an existing same-scope budget rule before creating a new one. If a match is found, setup adopts the existing rule rather than creating a duplicate. If multiple same-scope rules are detected (e.g., from earlier redundant runs), setup warns and prints the exact revenium guardrails budget-rules delete <id> --yes command for each — it does not auto-delete, since a shared tenant may host rules belonging to other hosts.
Rule names include a deployment label suffix (e.g., OpenClaw Monthly Budget — my-host). Override the label via the REVENIUM_BUDGET_LABEL env var before invoking setup-guardrails.sh to produce human-distinguishable names when multiple hosts share the same Revenium tenant. Default: short hostname from hostname -s.
Per-deployment budget scoping (independent filter-scoped budget rules per deployment, rather than a single shared tenant budget) is a separate future capability and is currently out of scope.
bash ~/.openclaw/skills/revenium/scripts/uninstall-cron.sh
rm -rf ~/.openclaw/skills/revenium
Optionally clean up your Revenium guardrail rules:
revenium guardrails budget-rules list
revenium guardrails budget-rules delete <rule-id> --yes
The skill stores its config at ~/.openclaw/skills/revenium/config.json:
{
"ruleIds": ["d5jng5"],
"organizationName": "my-org",
"autonomousMode": false,
"notifyChannel": "slack",
"notifyTarget": "#ops",
"cronIntervalMinutes": 1
}
ruleIds — the Revenium guardrail rule IDs (created during setup; their presence is the signal that setup is complete)organizationName — optional, used for attribution in Revenium reportingautonomousMode — when true, budget exceedance halts all operations and sends notifications; when false (default), the agent warns and asks for permissionnotifyChannel / notifyTarget — notification destination for autonomous-mode halt alertscronIntervalMinutes — optional, how often the metering/guardrail cron runs (default 1); see Cron intervalYour API key, Team ID, Tenant ID, and Owner ID are stored separately by the revenium CLI (at ~/.config/revenium/config.yaml) and injected into the sandbox as REVENIUM_* environment variables by post-install.
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 <OWNER_ID>
该工具未明确声明开源协议,商业使用前请联系原作者确认授权范围,避免侵权风险。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
AI Skill Hub 点评:开源AI工作流 的核心功能完整,质量良好。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | openclaw-revenium |
| 原始描述 | 开源AI工作流:Budget enforcement and token metering skill for OpenClaw agents. Tracks AI spend。⭐11 · Shell |
| Topics | AI工作流预算执行 |
| GitHub | https://github.com/revenium/openclaw-revenium |
| 语言 | Shell |
收录时间:2026-06-11 · 更新时间:2026-06-11 · License:未公布 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端