Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

xergxerg 搜索

Agent Skill

xerg 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

11,007

周安装

468

GitHub Stars

公开资料未说明

下载量

3,856
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install xerg

简介

以美元审计 OpenClaw 和 Hermes 工作流程。使用初始化、比较模式、OpenClaw 远程支持、CI 门和可选托管后续服务进行本地优先审核。

SKILL.md

name
xerg
description
Audit OpenClaw and Hermes workflows in dollars. Local-first audits with init, compare mode, OpenClaw remote support, CI gates, and optional hosted follow-up.
homepage
https://xerg.ai
metadata
openclaw
homepage
https://xerg.ai
links
repository
https://github.com/xergai/xerg
documentation
https://xerg.ai/docs
primaryEnv
XERG_API_KEY
requires
anyBins
config
install
package
@xerg/cli
bins
envVars
required
false
description
Optional Xerg Cloud workspace API key for explicit push, connect, and hosted MCP setup.
required
false
description
Optional override for the Xerg API endpoint; defaults to https://api.xerg.ai.
dependencies
type
npm
repository
https://github.com/xergai/xerg
type
other
url
https://www.openssh.com/
type
other
url
https://rsync.samba.org/
type
npm
repository
https://github.com/railwayapp/cli

Xerg

Use xerg if it is already installed. If not, use npx @xerg/cli with the same arguments.

Xerg audits OpenClaw and Hermes workflows in dollars, not tokens. It reads gateway logs and session transcripts, surfaces confirmed waste plus savings opportunities, and helps you measure fixes with --compare.

Local audits need no account. Hosted sync and hosted MCP are optional paid workspace features. No data leaves your machine unless you explicitly push results to Xerg Cloud.

The initial npx @xerg/cli path fetches and executes the published npm package. To avoid that runtime fetch, install and review the CLI first with npm install -g @xerg/cli, or use a locally built xerg binary.

Quick Start

xerg init
xerg audit --compare

Use direct commands when you need explicit control, non-interactive behavior, JSON output, or CI gates:

xerg doctor
xerg audit
xerg audit --json
xerg audit --fail-above-waste-rate 0.30

Inputs

Xerg needs one of these source inputs:

  • Local OpenClaw data at the default paths:

- /tmp/openclaw/openclaw-*.log - ~/.openclaw/agents/*/sessions/*.jsonl

  • Local Hermes data at the default paths:

- ~/.hermes/logs/agent.log* with gateway.log* fallback - ~/.hermes/sessions/

  • Explicit paths via --log-file and/or --sessions-dir
  • An SSH target via --remote
  • A Railway target via --railway
  • A multi-source config via --remote-config

Additional requirements:

  • --compare needs at least one previously stored compatible local snapshot
  • Pushing needs auth via XERG_API_KEY, ~/.xerg/config.json, or browser credentials from xerg login
  • SSH audits require ssh and rsync on your local PATH and are OpenClaw-only in this phase
  • Railway audits require the railway CLI on your local PATH and are OpenClaw-only in this phase

Security And Data Flow

Default doctor, init, audit, --compare, --json, and --markdown commands analyze data on the local machine. They read OpenClaw, Hermes, or Cursor usage files, compute economic summaries, print reports, and may write local SQLite snapshots for future comparison.

Remote OpenClaw audits over SSH, Railway, or --remote-config pull selected gateway logs and session files to local temporary storage, then run the same local audit engine. These flows require the corresponding remote transport credentials already configured on the machine.

Hosted sync is opt-in. connect, audit --push, push, and mcp-setup use XERG_API_KEY, ~/.xerg/config.json, or browser login credentials only for Xerg Cloud actions. The push payload contains audit totals, daily rollups, findings, recommendations, comparison deltas, and source metadata; it does not include raw prompt or response content, local source file paths, local database paths, or internal finding details.

Default Flow

  1. Start with the default first-run path when you want the fastest local result:
xerg init
  • init detects local OpenClaw or Hermes data
  • it runs a first audit with local snapshot persistence enabled
  • it offers optional hosted follow-up after the audit completes
  • if no local data is found, it prints explicit local-path commands plus remote OpenClaw-only guidance
  1. Detect sources directly when paths or connectivity are uncertain:
xerg doctor
xerg doctor --verbose
xerg doctor --remote user@host
xerg doctor --railway
  • xerg doctor --verbose shows progress on stderr while Xerg checks local paths or remote transports
  • If local defaults are empty, prefer xerg doctor --remote ... or xerg doctor --railway instead of guessing paths
  1. Run a baseline audit explicitly when you want direct control:
xerg audit
xerg audit --runtime openclaw
xerg audit --runtime hermes
  1. Choose the right output mode for the task:
xerg audit
xerg audit --json
xerg audit --markdown
  • Plain xerg audit is best for a human-readable summary
  • xerg audit --json is best for automation and agents
  • xerg audit --markdown is best for a shareable report
  1. After a workflow or model change, measure the delta:
xerg audit --compare
xerg audit --compare --json
  1. Export, push, or hosted-setup only when needed:
xerg audit --markdown > xerg-audit.md
xerg connect
xerg mcp-setup
xerg audit --push
xerg push
  • connect is the guided hosted path: it reuses existing auth, prompts before browser login when needed, and offers to push the latest audit
  • mcp-setup prints or writes hosted MCP config for Cursor, Claude Code, Codex, or another client
  • local audits and compare remain available if you skip hosted setup

Source Selection

Local defaults:

xerg audit

If both OpenClaw and Hermes are present locally, pass --runtime openclaw or --runtime hermes explicitly.

Explicit local paths:

xerg audit --runtime openclaw --log-file /path/to/openclaw.log
xerg audit --runtime openclaw --sessions-dir /path/to/sessions
xerg audit --runtime hermes --log-file ~/.hermes/logs/agent.log
xerg audit --runtime hermes --sessions-dir ~/.hermes/sessions

SSH remote:

xerg audit --remote user@vps.example.com
xerg audit --remote user@vps.example.com \
  --remote-log-file /opt/openclaw/logs/openclaw.log \
  --remote-sessions-dir /opt/openclaw/sessions

Railway:

xerg audit --railway
xerg audit --railway --project <id> --environment <id> --service <id>

Multiple remote sources:

xerg audit --remote-config ~/.xerg/remotes.json

Remote config files use this shape:

{
  "remotes": [
    {
      "name": "prod",
      "transport": "ssh",
      "host": "deploy@prod.example.com"
    },
    {
      "name": "railway-prod",
      "transport": "railway",
      "railway": {
        "projectId": "...",
        "environmentId": "...",
        "serviceId": "..."
      }
    }
  ]
}

CI And Automation

For CI gates, prefer a single command so the audit can still be pushed before threshold failure:

xerg audit --push --fail-above-waste-rate 0.25 --fail-above-waste-usd 100

Common variants:

xerg audit --fail-above-waste-rate 0.30
xerg audit --fail-above-waste-usd 50
xerg audit --since 24h --fail-above-waste-rate 0.30

Documented exit codes:

  • 0 success
  • 1 runtime error
  • 2 no supported local runtime data found
  • 3 threshold exceeded

Automation can branch on those codes instead of scraping terminal output.

Recommendations

When using --json, expect a recommendations array alongside the audit summary. Each recommendation item includes:

  • id, findingId, kind, title, summary
  • priorityBucket, recommendedOrder, implementationSurface, category
  • severity, confidence, effort
  • estimatedSavingsUsd, estimatedSavingsPct
  • scope, scopeId, scopeLabel
  • whereToChange, validationPlan, actions

Current recommendation kinds map into the Action queue buckets:

  • fix_now: retry-waste, loop-waste
  • test_next: context-outlier, idle-spend, candidate-downgrade, cache-carryover, max-mode-concentration
  • watch: unknown or uncategorized findings

Prefer high-confidence or reversible fixes first. Treat model downgrades, context changes, and Cursor behavior changes as compare-friendly experiments, not guaranteed savings.

Checks

Before finalizing work that used Xerg:

  • Say whether the audit was local, SSH, Railway, or multi-source
  • Say whether the output was plain terminal text, JSON, or Markdown
  • If --compare was used, confirm that it compared against a compatible stored snapshot
  • If no data was found, run xerg doctor or use explicit source flags rather than guessing
  • Say whether results were pushed to the Xerg API
  • Distinguish confirmed waste (retry-waste, loop-waste) from directional opportunities (context-outlier, idle-spend, candidate-downgrade)

Notes

  • --compare and --no-db cannot be used together
  • Xerg is local-first: it stores economic metadata and audit snapshots locally, not prompt or response content
  • XERG_API_KEY is recommended for CI and non-interactive automation
  • If browser auth is needed without the hosted setup flow, use xerg login; remove stored credentials with xerg logout
  • Pilot: xerg.ai/pilot
  • Support: query@xerg.ai

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

93.07%
按下载量换算3,589

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills