Skip to content
Back to skills

201 Fn 5 8f62b480

ASecurity

Estimate 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
testingtypescript

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 201-fn-5_8f62b480 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 201 Fn 5 8f62b480?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 201 Fn 5 8f62b480
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-201-fn-5-8f62b480/badge)](https://www.skillsdirectory.com/skills/tools-only-201-fn-5-8f62b480)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# 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

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.