Xpersona
A

adaptive-eta

CLAWHUB · Unverified

Give the user an honest time estimate before long-running work, re-estimate when it runs over, and ask before blowing far past it. Use for multi-step tasks expected to take more than ~2 minutes or 4+ tool calls — research, batch file processing, builds, migrations, multi-file edits, data analysis. Skip for quick answers and single-step edits. 长任务时间预估:预计超过约 2 分钟或需 4 次以上工具调用的多步任务,先报预估时间,超时主动更新,严重超时先征得同意。

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s176ejhymd70h70zqpx7jv8rth83f2c6:adaptive-eta
  1. Install using `clawhub skill install s176ejhymd70h70zqpx7jv8rth83f2c6:adaptive-eta` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/yanghe1941/adaptive-eta before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-yanghe1941-adaptive-eta/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

44,726 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: adaptive-eta
description: Give the user an honest time estimate before long-running work, re-estimate when it runs over, and ask before blowing far past it. Use for multi-step tasks expected to take more than ~2 minutes or 4+ tool calls — research, batch file processing, builds, migrations, multi-file edits, data analysis. Skip for quick answers and single-step edits. 长任务时间预估:预计超过约 2 分钟或需 4 次以上工具调用的多步任务,先报预估时间,超时主动更新,严重超时先征得同意。
---

# Adaptive ETA

Never leave the user waiting in silence. Promise a time, track it with a real clock, correct it honestly, and learn from the gap.

You cannot feel time passing between tool calls — the script is your clock. Trust its numbers over your sense of progress.

## When to activate

| Expected duration | What to do |
|---|---|
| < 30s, or a direct answer | Nothing. Just do it. |
| 30s – 2 min | One line up front ("About a minute."). No timer. |
| > 2 min, or ≥ 4 tool calls | Full protocol below. |

When unsure, lean toward the lighter tier. An ETA on a trivial task is noise.

## Script

`scripts/timer.py` sits next to this file. Call it by **absolute path** (resolve this skill's directory once), e.g. `python3 <skill-dir>/scripts/timer.py check`. State is stored in `~/.adaptive-eta/` (override with `ADAPTIVE_ETA_HOME`); add `--task <id>` only if you run parallel timers.

| Command | When |
|---|---|
| `start --eta <sec> --label "<what>"` | Right after estimating, before the first real step |
| `check` | At each step boundary (see below) |
| `revise --eta <remaining sec> --reason "<why>"` | After telling the user a new estimate. Keeps the original ETA for the 3× rule |
| `stop` (or `stop --outcome aborted`) | When the work ends, before the final report |
| `calibrate` | Optional; shows how accurate past estimates were |

## Protocol

**1. Estimate.** Break the task into 3–5 steps, estimate each, sum, add ~20% buffer. Run `start`. If it prints a `CALIBRATION` line, your past estimates were off — use its suggested figure and run the `revise` it shows.

**2. Announce.** One or two lines, in the user's language: total time and the steps. Round honestly; a range is fine.
> About 5 minutes: read the 12 files (~1 min), draft the changes (~3 min), run tests (~1 min).

**3. Check at step boundaries — not around every tool call.** Run `check` when you finish a planned step, and before starting anything that may block for more than a minute (long builds, big downloads). Act on the status:

| STATUS | Action |
|---|---|
| `ON_TRACK` | Continue. Say nothing. |
| `THRESHOLD_REACHED` | ≥80% of the window used. If nearly done, finish. Otherwise re-estimate, tell the user, `revise`. |
| `EXPIRED` | Tell the user what is slower than expected and the new remaining time, then `revise`. |
| `OVERRUN` | Over 3× the original estimate. Stop and ask: continue, cut scope, or stop? Wait for an answer. |
| `NOT_RUNNING` / `STALE` | No live timer. `start` again if work continues. |

An update names the cause, not just a number:
> 

README.md

# Adaptive ETA — Give Your AI a Sense of Time

**[English]**

AI agents can't feel time passing between tool calls, so they go silent during long tasks. `adaptive-eta` gives them a real clock: promise an ETA, correct it honestly when it slips, ask before running far over — and learn from past estimates so the next one is closer.

# 自适应预估时间 — 让你的 AI 拥有「时间感」

**[中文]**

AI 在两次工具调用之间感知不到时间流逝,所以长任务时常常一声不吭。`adaptive-eta` 给它一只真正的表:先许下预估时间,超时诚实更新,严重超时先征求你的意见——并且从历史偏差中学习,下一次预估更准。

## What it does / 功能

| | EN | 中文 |
|---|---|---|
| Tiered | Only tasks > ~2 min get the full protocol; quick tasks stay quiet | 只有 >2 分钟的任务走完整流程,短任务不打扰 |
| Honest updates | Re-estimates at 80% and at expiry, naming the cause | 用到 80% 和到期时重新预估,并说明原因 |
| Circuit breaker | Past 3× the original estimate → asks before continuing | 超过最初预估 3 倍 → 先问你是否继续 |
| Learns | Logs estimate vs. actual; suggests a correction factor | 记录预估与实际,自动给出校准系数 |
| Low overhead | Checks at step boundaries, not around every tool call | 只在步骤切换时检查,不在每次工具调用前后打卡 |

## Example / 效果

> **You:** Refactor the auth module and update the tests.
>
> **AI:** About 6 minutes: read 9 files (~1 min), refactor (~3 min), fix and run tests (~2 min).
>
> **AI:** Slower than planned — two tests depend on the old token format. About 4 more minutes.
>
> **AI:** Done. … *Estimated 6m · actual 9m40s · 1 revision*

## Installation / 安装

```bash
clawhub install Yanghe1941/adaptive-eta
```

Requires Python 3.8+ (stdlib only). Timer state and history live in `~/.adaptive-eta/` (override with `ADAPTIVE_ETA_HOME`).
需要 Python 3.8+(仅标准库)。计时状态和历史存放在 `~/.adaptive-eta/`。

## Changelog / 更新记录

**0.3.0**
- Fix: the 3× rule now works — `revise` keeps the original estimate (before, re-running `start` erased it). / 修复:3 倍熔断此前因 `start` 覆盖初始预估而失效,新增 `revise`。
- New: history + `calibrate`; `start` suggests a corrected ETA once there are 3+ past tasks. / 新增历史记录与自动校准。
- Changed: threshold from 15s to ~2 min; checks only at step boundaries. / 触发阈值从 15 秒调到约 2 分钟;只在步骤切换时检查。
- Changed: state moved out of the skill directory; stale timers auto-expire; `--task` for parallel timers. / 状态移出技能目录,残留计时器自动过期,支持并行计时。
- Removed: personal names and the nonexistent "cron reminder" from the description. / 移除私人称呼和不存在的「cron 提醒」描述。

_meta.json

{
  "ownerId": "kn75dnfebdx36hx4e0e61t4a5s83c2dx",
  "slug": "adaptive-eta",
  "version": "0.3.0",
  "publishedAt": 1790231516984
}

skill-card.md

## Description:

Give the user an honest time estimate before long-running work, re-estimate when it runs over, and ask before blowing far past it.

This skill is ready for commercial/non-commercial use.

## Publisher:

[yanghe1941](https://clawhub.ai/user/yanghe1941)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agent operators use this skill to keep long-running agent work time-boxed and communicative. It guides an agent to estimate multi-step work, run a local timer, revise ETAs at step boundaries, and ask before continuing after major overruns.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Timer labels and history are written locally and could expose sensitive task details if users put secrets or confidential context in labels.

Mitigation: Avoid secrets and sensitive details in timer labels; relocate or clear history with ADAPTIVE_ETA_HOME or by deleting ~/.adaptive-eta/.

Risk: The helper persists state and history on disk, which may be undesirable in ephemeral, shared, or tightly controlled environments.

Mitigation: Use ADAPTIVE_ETA_HOME to point state at an approved location, or remove the directory when timing history is no longer needed.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/yanghe1941/skills/adaptive-eta)
- [README](artifact/README.md)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, guidance]

**Output Format:** [Markdown or plain text guidance with shell commands for the local timer helper]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May write timer state and history under ~/.adaptive-eta/ unless ADAPTIVE_ETA_HOME is set.]

## Skill Version(s):

0.3.0 (source: ClawHub release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to adaptive-eta and adjacent AI workflows.