Back to skills
SKILL.md
201 Fn 5 8f62b480
ASecurityEstimate time remaining for Ralph run based on task completion rate. Display in header or output panel.
- 9 stars
- 0 votes
- 0 copies
- 1 view
- Added October 11, 2026
Security analysis
100/100npx -y skills add tools-only/X-Skills --skill 201-fn-5_8f62b480 --agent claude-codeAre you the author of 201 Fn 5 8f62b480?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-201-fn-5-8f62b480)# fn-5 TUI: ETA calculation
## Overview
Estimate time remaining for Ralph run based on task completion rate. Display in header or output panel.
## Scope
- Calculate ETA from tasks completed vs total
- Display formatted duration (e.g., "~8m", "~1h 20m")
- Update as tasks complete
## Approach
```typescript
function calculateETA(elapsed: number, completed: number, total: number): string {
if (completed === 0) return '...';
const avgPerTask = elapsed / completed;
const remaining = total - completed;
const etaSeconds = avgPerTask * remaining;
return formatDuration(etaSeconds);
}
```
Display options:
- Header: `fn-1.3 「Add validation」 ETA ~8m 14:32`
- Output panel header: `─Iteration 3──────────────────── ETA ~8m ─`
## Quick commands
- `bun test`
## Acceptance
- [ ] ETA displays in UI when tasks > 0 completed
- [ ] ETA updates when task completes
- [ ] Shows "..." when no tasks completed yet
- [ ] Reasonable accuracy (within 20% of actual)
## References
- flow-next-tui spec: `plans/flow-next-tui-spec.md`
- Depends on MVP timer and task status tracking
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.