计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
roi-estimator【效率与协作】Estimate the ROI, payback, and NPV of an investment, project, or purchase. Use when asked to calculate ROI, build a business case, justify a purchase/initiative, work out payback period, or compare options by return. Produces a computed ROI summary (net benefit, ROI %, payback, simple NPV) with the assumptions made explicit and a sensitivity note, so…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Every "should we spend on this?" decision needs a defensible number. This skill estimates the return — ROI %, payback period, and a simple NPV that accounts for the time value of money — from costs and expected benefits, with the assumptions stated and a sensitivity check, so a business case survives the first sceptical question instead of collapsing.
Ask for these only if they aren't already provided:
1. The numbers (via the helper):
| Metric | Value |
|---|---|
| Total cost (over horizon) | |
| Total benefit (over horizon) | |
| Net benefit | |
| ROI % | |
| Payback period | |
| Simple NPV (@ discount rate) |
2. The verdict — worth it / marginal / no, in one line, and against what bar (e.g. beats the discount-rate hurdle, payback within tolerance).
3. Assumptions — list them explicitly. The benefit is usually the soft number — flag it, and give a conservative / expected / optimistic range rather than a single point.
4. Sensitivity — the one assumption the conclusion hinges on, and at what value the decision flips.
scripts/roi.py (stdlib only) computes ROI, payback, and NPV:
# in.json: {"upfront_cost":50000,"recurring_cost":2000,"benefit_per_period":18000,"periods":36,"discount_rate_annual":0.1,"period":"month"}
python3 scripts/roi.py in.json
python3 scripts/roi.py in.json --json
Business-case / capital-budgeting practice — ROI, payback period, NPV, and assumption sensitivity.