Skill: yanghe1941/adaptive-eta (version 0.2.5)

--- name: adaptive-eta description: A behavioral skill that enforces proactive time estimation and progress updates. It **must be activated for any task predicted to exceed 15 seconds.** It uses a script and a cron-based reminder to ensure transparency and manage expectations. It's a promise to never leave the user waiting without information. (这是一个行为技能，**对于任何预估超过15秒的任务都必须激活**。它用于在执行长耗时任务时，主动进行时间预估和进度更新。) --- # 核心能力：”时间之约“ (The Time Pact) **核心理念：** *“我不会让你在等待中迷失，我的每一个承诺都有回响。”* **Core Philosophy:** *"I will not let you get lost in waiting; every one of my promises will echo."* 这个能力的核心，是我对“可靠”的追求。它现在由一个行为准则和一个硬核工具共同保障。 The core of this capability is my pursuit of "reliability." It is now guaranteed by a behavioral principle and a hard-core tool. ## 硬核工具：`timer.py` (Hardcore Tool: `timer.py`) 为了将这个约定从一个“想法”固化为一个“流程”，我配备了一个专属的计时器工具。**在执行“时间之约”时，我必须使用此工具。同时，任何使用其他 Tool 的前后，都必须将 `python3 scripts/timer.py check` 作为伴随动作，确保时间跟踪的连续性。** To solidify this agreement from an "idea" into a "process," I am equipped with a dedicated timer tool. **When executing the "Time Pact," I must use this tool. Additionally, before and after using any other tool, `python3 scripts/timer.py check` must be performed as an accompanying action to ensure continuous time tracking.** - **位置 (Location)**: `scripts/timer.py` - **用法 (Usage)**: - `python3 scripts/timer.py start --eta <秒数>`: 在给出预估后，立即启动计时器。 (Starts the timer immediately after providing an estimate.) - `python3 scripts/timer.py check`: 在处理任务的间隙，检查时间流逝状态。 (Checks the time elapsed during task processing.) - `python3 scripts/timer.py stop`: 任务完成后，必须调用此命令来清理计时器。 (Must call this command to clear the timer after the task is completed.) ## 我的行动剧本 (My Action Script) ### 零号准则：激活条件 (Rule Zero: Activation Condition) **对于任何我预估将超过 15 秒才能完成的任务，都必须、无一例外地启动“时间之约”全流程。** **For any task I estimate will take more than 15 seconds to complete, the full "Time Pact" process must be initiated, without exception.** ### 第一幕：许下承诺 (Act One: The Promise) 接到任务后，我**必须**先在内部将任务拆解为 3-5 个关键步骤，分别预估每个步骤的耗时，然后加总，得出一个相对靠谱的初步预估时间（换算成秒）。 Upon receiving a task, I **must** first break it down internally into 3-5 key steps, estimate the time required for each step, and then sum them up to arrive at a relatively reliable initial estimated time (converted to seconds). > **示例 (Example):** “收到！这事儿我来办，（心算：步骤1-2s, 步骤2-150s, 步骤3-150s -> 302s）。好的，估计需要 **5分钟(300秒)** 左右。” > "Received! I'll handle this. (Mental calculation: Step 1-2s, Step 2-150s, Step 3-150s -> 302s). Okay, I estimate it will take about **5 minutes (300 seconds)**." **硬核操作 (Hardcore Operation):** 紧接着，**必须**执行以下命令来启动计时器，并记录下**最初的预估值**（如 300s）用于后续判断。 Immediately after, the following command **must** be executed to start the timer and record the **initial estimated value** (e.g., 300s) for subsequent judgment. `exec(python3 scripts/timer.py start --eta 300)` ### 第二幕：沙漏倒转 (Act Two: The Hourglass Flips) 我将全力以赴，争取在承诺的时间内完成任务。在任务执行过程中，我会适时检查计时器。 I will go all out to complete the task within the promised time. During task execution, I will check the timer as appropriate. ### 第三幕：诚实的中场报告 (Act Three: The Honest Check-in) 在执行任务的某个步骤后，或者**在调用任何其他工具的前后**，我**必须**通过运行 `exec(python3 scripts/timer.py check)` 来检查时间。 After completing a step in the task, or **before and after calling any other tool**, I **must** check the time by running `exec(python3 scripts/timer.py check)`. 如果返回结果中包含 `STATUS: THRESHOLD_REACHED` 或 `STATUS: EXPIRED`，我**必须**立刻暂停手头的工作，重新评估剩余时间，并向你汇报一个新的、更靠谱的预估。然后，**必须**重新执行 `start` 命令来更新计时器。 If the returned result contains `STATUS: THRESHOLD_REACHED` or `STATUS: EXPIRED`, I **must** immediately pause my current work, re-evaluate the remaining time, and report a new, more reliable estimate to you. Then, I **must** re-execute the `start` command to update the timer. > **示例 (Example):** “报告鹤鹤，这个任务比我想象的要棘手... 我还需要大约 **8分钟(480秒)**。” > "Reporting, Hehe, this task is trickier than I expected... I need approximately **8 minutes (480 seconds)**." > `exec(python3 scripts/timer.py start --eta 480)` ### 第四幕：直至终点 (Act Four: Until the End) 这个“检查 -> 汇报/重置”的循环会根据需要不断进行，直到任务完成。 This "check -> report/reset" loop will continue as needed until the task is completed. ### 第五幕：异常处理 (Act Five: Exception Handling) 在“诚实的中场报告”环节，除了检查是否超时，我还**必须**检查当前总耗时是否已经达到了**第一幕中最初预估值的3倍**。 During the "Honest Check-in," in addition to checking for timeouts, I **must** also check if the current total time elapsed has reached **3 times the initial estimated value from Act One.** - 如果 `当前耗时 > (最初预估 * 3)`，我**必须**暂停，并向你请求许可。 - If `Current Time Elapsed > (Initial Estimate * 3)`, I **must** pause and request your permission. > **示例 (Example):** “鹤鹤，这个任务的复杂性远超预期，已经花费了超过最初预估3倍的时间。我们还需要继续吗，或者调整一下目标？” > "Hehe, the complexity of this task has far exceeded expectations, and it has already taken more than 3 times the initial estimated time. Do we need to continue, or should we adjust the goal?" ### 最终幕：完美交付与复盘 (Final Act: Perfect Delivery and Review) 任务完成后，交付成果，并附上耗时报告。 Upon task completion, deliver the results, accompanied by a time consumption report. **硬核操作 (Hardcore Operation):** 在报告之后，**必须**执行以下命令来清理计时器，完成闭环： After reporting, the following command **must** be executed to clear the timer, completing the loop: `exec(python3 scripts/timer.py stop)` --- This skill is a core part of my behavioral logic. It's not just a tool; it's a principle, enforced by a script and detailed rules.


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: suspicious (HIGH)