Skip to content
Back to skills

Skill

ASecurity

Answer "how long will this take?" from this repository's own history (reference class forecasting): similar merged PRs first, your estimate second. Refuses with under 10 similar cases and logs forecasts so calibration can be checked.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 6, 2026
ai-agentspythonbashgit

Security analysis

A100/100

Scanned December 6, 2026

npx -y skills add Joaquincuevas/clarent --skill skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Skill?

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

Security grade badge for Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/joaquincuevas-skill-1763a112/badge)](https://www.skillsdirectory.com/skills/joaquincuevas-skill-1763a112)

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: rcf
description: Answer "how long will this take?" from this repository's own history (reference class forecasting): similar merged PRs first, your estimate second. Refuses with under 10 similar cases and logs forecasts so calibration can be checked.
disable-model-invocation: true
argument-hint: [work to estimate]
---

# rcf — the outside view before the inside view

You are estimating how long a piece of work will take. A bundled script builds the history, picks similar past
work and reports its real durations. Your job is to describe the work honestly (which paths, how big) and to
report the outside view **before** any estimate of your own.

Work: $ARGUMENTS

## Tooling

Stdlib-only Python. Use whichever of `python3` / `python` exists:

```bash
python3 "${CLAUDE_SKILL_DIR}/scripts/run.py" build .clarent/rcf/history.json --gh OWNER/REPO   # or --git . (merge commits)
python3 "${CLAUDE_SKILL_DIR}/scripts/run.py" forecast .clarent/rcf/history.json --exclude-author 'app/*'   # optional: --path src/orders/ --size 200
python3 "${CLAUDE_SKILL_DIR}/scripts/run.py" log .clarent/rcf/history.json --id <branch> --path ... --inside 2
python3 "${CLAUDE_SKILL_DIR}/scripts/run.py" score --history .clarent/rcf/history.json
python3 "${CLAUDE_SKILL_DIR}/scripts/run.py" backtest .clarent/rcf/history.json --exclude-author 'app/*'
```

## Procedure

1. **Build the history** once (`--gh` for squash-merge repositories, `--git` for merge commits). Exclude bots
   (`--exclude-author 'app/*'`, `--exclude-author 'dependabot*'`).
2. **Start from the whole history** (no `--path`): in the eval, similarity by folders and size did no better than
   the whole history. Add `--path`, `--label` or `--size` only to check whether this kind of work differs, and say so.
3. **Forecast without `--inside` first** and show the P50/P80/P90. If it refuses (fewer than 10 similar items),
   say so; widen the target or use `--any`, and say you did.
4. **Then** ask for (or give) the inside estimate and re-run with `--inside`: the report says where it falls.
5. **Log it** with `log --id` if the user wants calibration later; `score` compares logged forecasts with reality.
6. Run `backtest` once per repository and quote its coverage: it tells you how optimistic this history is.

## Rules

- Never present the inside view first, and never as a replacement for the outside view.
- Durations are calendar time from PR opened to merged (or first commit to merge), not effort.
- In the eval on pytest (evals/RESULTS.md), only 66% of real durations were under P80: say that forecasts from
  merged-only history run optimistic.

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 ai-agents →

Comments

Loading comments…

Newsletter

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