Skip to content
Back to skills

Track Estimate

ASecurity

Manually log a time estimate.

  • 98 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 19, 2026
toolsgobash

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 19, 2026

npx -y skills add indigoai-us/hq-core --skill track-estimate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Track Estimate?

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

Security grade badge for Track Estimate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/indigoai-us-track-estimate/badge)](https://www.skillsdirectory.com/skills/indigoai-us-track-estimate)

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

Download with Pro
SKILL.md
---
name: track-estimate
description: Manually log a time estimate.
allowed-tools: Bash, Read, Edit
---

# /track-estimate - Manual Estimate Capture

Append a time estimate to `workspace/estimate-log/log.jsonl`. Use this when:
- The auto-capture hook missed something (vague phrasing, deeply nested in a code block, etc.)
- You want to attach a structured `task` description to a freshly-captured estimate
- The estimate is being made conversationally before any assistant message has logged it

**Input:** $ARGUMENTS

The argument should be a free-form phrase containing both a task description and a duration. Examples:
- `"port resolve-conflicts skill to hq-core-staging" "1-2h"`
- `"npm release of hq-cloud@5.7.1, including verification" "30m"`
- `"HQ Desktop App Tauri build + sign + notarize" "10-30m"`

## Steps

1. **Parse arguments**
   - Extract the duration token (`30m`, `1-2h`, `2 days`, `~5min`, etc.)
   - Treat everything else as the task description
   - Fall back to interactive prompts if either is missing

2. **Normalize duration**
   Use the same logic as `parse-estimates.pl`:
   - `m` / `min` / `minutes` → minutes (1×)
   - `h` / `hr` / `hours` → minutes (60×)
   - `d` / `day` / `days` → minutes (480× — 8-hour workday)
   - `s` / `sec` → minutes (1/60×)
   - Ranges like `1-2h`: `min_minutes=60, max_minutes=120, expected_minutes=90`

3. **Categorize**
   Run the same keyword classifier from `parse-estimates.pl` against the task description. If unclear, ask the user to confirm or pick from: `release`, `pr`, `build`, `deploy`, `tauri`, `infra`, `script`, `refactor`, `docs`, `debug`, `cli`, `unknown`.

4. **Generate ID**
   `est_<sha1(session_id + iso_ts + task)[0..10]>` — same format as auto-capture.

5. **Append entry to log**
   ```bash
   cat >> workspace/estimate-log/log.jsonl <<EOF
   {"id":"est_...","timestamp":"...","session_id":"manual","message_uuid":"manual-<short>","offset":0,"raw":"<duration token>","kind":"estimate","min_minutes":...,"max_minutes":...,"expected_minutes":...,"category":"...","surrounding":"<task>","status":"pending","task":"<task>"}
   EOF
   ```

   Field order should match canonical (alphabetical) so it sorts identically to auto-capture entries.

6. **Report**
   ```
   Tracked: <task>
   ID: est_...
   Estimate: <human-readable> (<expected_minutes> min, range <min>-<max>)
   Category: <category>

   When done, run: /finish-estimate <id> <actual-duration>
   ```

## Notes

- This command is the escape hatch for the auto-capture hook. Most estimates should land via the Stop hook automatically; this is for the cases the hook misses.
- The `session_id` is set to `"manual"` to distinguish manual entries from auto-captured ones in `/calibration-report`.
- If the user provides only a duration with no task, prompt for the task — never log an estimate without context.

## See also

- `/finish-estimate` — close it with the actual time
- `/calibration-report` — see estimate accuracy

Files in this skill

  • SKILL.md2.9 KB
  • agents/openai.yaml139 B

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.

View all in tools →

Comments

Loading comments…

Newsletter

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