Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

openclaw-scheduler-token-auditorOpenClaw scheduler token auditor 搜索

Agent Skill

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

总安装

4,749

周安装

194

GitHub Stars

1

下载量

1,521
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install openclaw-scheduler-token-auditor

简介

审计 cron 作业与计划任务的令牌使用情况,识别高成本任务。

  • 帮助优化资源消耗与成本控制,避免不必要的令牌浪费。
  • 适用于多任务并行环境下调度策略分析与预算管理。openclaw-scheduler-token-auditor 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 需访问调度器元数据与令牌计费接口才能完成详细统计。
  • 结果按时间维度聚合,建议结合业务优先级综合评估调整策略。

SKILL.md

name
openclaw-scheduler-token-auditor
description
Audit OpenClaw scheduler token usage for cron jobs, scheduled tasks, and heartbeat sessions. Use when the user wants to know which scheduled job is expensive, which cron is burning the most tokens, whether a cron or heartbeat run exceeds a token threshold or budget, why scheduler token usage is high, or to investigate unexpected token burn. Trigger explicitly on slash-style phrases like "/token_auditor" and "/schedule_auditor". Also match requests such as "audit scheduler tokens", "which cron uses the most tokens", "check whether this scheduled task exceeds 50000 tokens", "audit heartbeat token usage", "find expensive scheduled tasks", "查哪个 cron 最烧 token", or "检查这个定时任务有没有超 token".

OpenClaw Scheduler Token Auditor

Audit scheduler token usage conservatively. Separate what is measured, what is only bounded, and what remains unknown.

What this skill is for

Use this skill to answer questions like:

  • Which cron job is burning the most tokens?
  • Did this scheduled task exceed 50000 tokens per run?
  • Is heartbeat usage actually expensive, or does it only look scary?
  • Why did scheduler token usage spike?
  • Audit all scheduled tasks against a custom threshold such as 80000 or 120000 tokens.

How users typically trigger it

This skill should trigger for requests such as:

  • /token_auditor
  • /schedule_auditor
  • Audit scheduler token usage
  • Find expensive cron jobs
  • Check whether this cron exceeds 50000 tokens
  • Investigate unexpected token burn in scheduled tasks
  • Audit heartbeat token usage
  • Which scheduled runs are the costly ones?

If the user gives no threshold, use 50000 tokens per run.

Core rule set

  1. For cron runs, only usage.total_tokens is authoritative.

Do not replace it with hand-summed input + output values.

  1. Session status, session lists, and transcripts are supporting evidence.

Use them to explain a result, not to manufacture one.

  1. Missing usage means unknown.

If a run lacks usage.total_tokens, do not call it cheap or safe.

  1. Heartbeat analysis is usually bounded, not exact.

Without explicit usage fields, you may rule out obviously huge per-run usage, but you may not claim an exact token count.

  1. State the threshold explicitly.

Default to 50000 unless the user specifies another threshold.

  1. Do not invent commands or undocumented fields.

Prefer first-class OpenClaw tools.

Evidence classes

Use exactly one label per audited target:

  • Exact — authoritative token count exists, usually from usage.total_tokens
  • Bounded — no exact count, but current evidence safely rules out obvious extreme usage
  • Inconclusive — required evidence is missing, so no safe token claim can be made

Audit workflow

1) Classify the target

Separate the audit by evidence type:

  • Cron jobs
  • Heartbeat sessions

Do not blur them into one vague conclusion.

2) Audit cron jobs

Preferred path:

  • cron(action="list")
  • cron(action="runs", jobId=..., limit=...)

Procedure:

  1. Identify the relevant cron job or jobs.
  2. Fetch recent run records.
  3. Read usage.total_tokens from each run.
  4. Compare each exact count to the active threshold.
  5. Only after that, inspect session metadata or transcripts to explain *why* a verified expensive run happened.

CLI fallback only if needed:

openclaw cron list
openclaw cron runs --id <jobId> --limit 50

Interpretation:

  • Has usage.total_tokens -> Exact
  • Missing usage.total_tokens -> Inconclusive
  • Never substitute transcript size or input + output

3) Explain expensive cron runs

Once a run is already verified as expensive, look for causes such as:

  • oversized prompts or task scope
  • repeated large file reads, web fetches, or tool outputs
  • session reuse that drags in extra context
  • retries, loops, or obvious workflow mistakes

These are explanations for an exact finding, not substitutes for exact usage.

4) Audit heartbeat sessions

Treat heartbeat as bounded-risk analysis unless explicit usage data exists.

Useful checks:

  • sessions_list to find heartbeat sessions
  • session_status to inspect context accumulation
  • sessions_history to inspect recent transcript size, repetition, and tool fan-out

A Bounded conclusion is reasonable when the observed pattern shows:

  • little or no context accumulation
  • short repetitive turns
  • small reads and short outputs
  • no evidence of large injected context or wide fan-out

Without explicit usage, phrase conclusions like:

  • No evidence of 50000+-per-run behavior
  • Observed structure appears lightweight
  • Exact per-run tokens are unavailable

Decision rules

Cron with usage.total_tokens

Allowed:

  • exact per-run token counts
  • threshold pass/fail verdicts
  • comparisons across runs
  • trend summaries grounded in run records

Not allowed:

  • replacing the total with hand-summed fields
  • estimating totals from transcript size

Cron without usage.total_tokens

Allowed:

  • Inconclusive
  • structural observations that help future debugging

Not allowed:

  • claiming the run is cheap, safe, or below threshold
  • assigning a token number from side evidence

Heartbeat without explicit usage

Allowed:

  • bounded statements such as current evidence rules out obvious 80000+-per-run behavior
  • structural explanations for that bounded conclusion

Not allowed:

  • exact per-run token counts
  • exact cumulative totals inferred from transcripts alone

Output pattern

Always state the threshold used.

Examples:

  • Threshold used: 50000 tokens per run
  • Threshold used: 80000 tokens per run

For each target, report:

  • target name
  • target type: cron or heartbeat
  • evidence class: Exact, Bounded, or Inconclusive
  • token finding
  • threshold verdict: pass, fail, or unknown
  • concise cause analysis when evidence supports it

Example phrasings:

  • ExactNightly report cron — Exact — 158784 tokens on the latest run — exceeds 50000.
  • BoundedMain heartbeat — Bounded — observed structure rules out obvious 80000+-per-run behavior, but exact per-run tokens are unavailable.
  • InconclusiveDaily digest cron — Inconclusive — run record lacks usage.total_tokens, so the threshold result is unknown.

Failure modes to avoid

  1. Hand-sum trapinput + output may disagree with usage.total_tokens
  2. Missing-data optimism — missing usage is not low usage
  3. Transcript-as-meter trap — transcript size is not a billing source
  4. Heartbeat overclaim — lightweight structure supports bounded conclusions, not exact counts
  5. Mixed-evidence blur — do not merge Exact cron findings and Bounded heartbeat findings into one vague claim
  6. Invented-command trap — if CLI syntax is uncertain, check docs or openclaw help first
  7. Threshold drift — always say whether the threshold was default or user-specified

Minimal examples

Exact cron result

A run record contains usage.total_tokens: 158784, and the user gave no threshold.

Correct conclusion:

  • threshold used: 50000
  • evidence class: Exact
  • verdict: exceeds 50000

Custom threshold

A run record contains usage.total_tokens: 47617, and the user asks for 80000.

Correct conclusion:

  • threshold used: 80000
  • evidence class: Exact
  • verdict: does not exceed 80000

Misleading hand-sum

A run shows input_tokens: 49680 and output_tokens: 9612, while the authoritative record says usage.total_tokens: 47617.

Correct conclusion:

  • use 47617
  • do not report 59292

Bounded heartbeat result

A heartbeat session shows near-zero context accumulation and a repeating pattern of small checklist reads plus short acknowledgements.

Correct conclusion:

  • evidence class: Bounded
  • no evidence of <threshold>+-per-run behavior
  • exact per-run tokens unavailable

Missing usage

A cron run exists but the record has no usage.total_tokens.

Correct conclusion:

  • evidence class: Inconclusive
  • verdict: unknown
  • next step: investigate provider support, run logging, or other authoritative records

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

76.47%
按下载量换算1,163

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills