AI & Agentslow risk

htma-measure

Creates HTMA-style calibrated measurement memos with decision threshold, decomposition, ranges, sources, and value-of-information. Use for estimates of cost, budget, rates, risk, ROI, market size, or uncertain quantities.

ThatGuySam/skills·skills/htma-measure/SKILL.md
32/ 100おすすめ度

この Skill を導入

coding agent を選び、プロジェクト用または個人用コマンドをコピーします。

収録 commit に固定
プロジェクトに導入.agents/skills/htma-measure
npx skills add https://github.com/ThatGuySam/skills/tree/9c1ccdc646baa62a277a792a2b63473420514ab8/skills/htma-measure -a codex -y
個人環境に導入~/.agents/skills/htma-measure
npx skills add https://github.com/ThatGuySam/skills/tree/9c1ccdc646baa62a277a792a2b63473420514ab8/skills/htma-measure -a codex -g -y
手動配置先.agents/skills/htma-measureOfficial docs ↗
プロジェクトに導入.claude/skills/htma-measure
npx skills add https://github.com/ThatGuySam/skills/tree/9c1ccdc646baa62a277a792a2b63473420514ab8/skills/htma-measure -a claude-code -y
個人環境に導入~/.claude/skills/htma-measure
npx skills add https://github.com/ThatGuySam/skills/tree/9c1ccdc646baa62a277a792a2b63473420514ab8/skills/htma-measure -a claude-code -g -y
手動配置先.claude/skills/htma-measureOfficial docs ↗
プロジェクトに導入.agents/skills/htma-measure
npx skills add https://github.com/ThatGuySam/skills/tree/9c1ccdc646baa62a277a792a2b63473420514ab8/skills/htma-measure -a github-copilot -y
個人環境に導入~/.copilot/skills/htma-measure
npx skills add https://github.com/ThatGuySam/skills/tree/9c1ccdc646baa62a277a792a2b63473420514ab8/skills/htma-measure -a github-copilot -g -y
手動配置先.agents/skills/htma-measureOfficial docs ↗
プロジェクトに導入.agents/skills/htma-measure
npx skills add https://github.com/ThatGuySam/skills/tree/9c1ccdc646baa62a277a792a2b63473420514ab8/skills/htma-measure -a cursor -y
個人環境に導入~/.cursor/skills/htma-measure
npx skills add https://github.com/ThatGuySam/skills/tree/9c1ccdc646baa62a277a792a2b63473420514ab8/skills/htma-measure -a cursor -g -y
手動配置先.agents/skills/htma-measureOfficial docs ↗
プロジェクトに導入.agents/skills/htma-measure
npx skills add https://github.com/ThatGuySam/skills/tree/9c1ccdc646baa62a277a792a2b63473420514ab8/skills/htma-measure -a gemini-cli -y
個人環境に導入~/.gemini/skills/htma-measure
npx skills add https://github.com/ThatGuySam/skills/tree/9c1ccdc646baa62a277a792a2b63473420514ab8/skills/htma-measure -a gemini-cli -g -y
Native Gemini CLIgemini skills install https://github.com/ThatGuySam/skills.git --scope workspace --path skills/htma-measure
手動配置先.agents/skills/htma-measureOfficial docs ↗
⚠ インストールには open-source skills CLI を使用します。実行前にソースと権限を確認してください。
# HTMA Measure

## Workflow

1. Identify the decision, quantity, unit, time horizon, threshold, and cost of being wrong. Ask only for a missing input that makes a responsible numeric range unsafe. Otherwise state the bounded assumption and proceed. Do not infer identifiers, jurisdictions, effective periods, current facts, or private facts.
2. Classify the estimate mode before estimating: paid quote, market value, budget allowance, amount likely paid, official/public benchmark, or ambiguous.
3. Gather local context before web research. Reuse existing repo memos when relevant.
4. Build priors from direct evidence, reference classes, and comparable cases. Mark confirmed facts separately from assumptions and inference.
5. Rank source quality and freshness against the estimate target before relying on a source.
6. For local nonprofit, community event, or small local-vendor estimates, model both:
   - public or full-market pricing
   - likely paid-quote pricing after community discount, simplified scope, local pickup/handling, bundling, or nonprofit treatment
7. For official fees, statutory rates, public benchmark schedules, or current published market prices, prioritize source freshness and do not apply a local paid-quote adjustment.
8. For vendor quote or paid-cost estimates, anchor the central estimate to the decision-relevant paid scenario rather than defaulting to an undiscounted corporate or retail rate.
9. Decompose the estimate into smaller components with low / central / high ranges.
10. Calibrate the range and state the confidence level. Widen weak bounds rather than expressing false precision.
11. Use small samples or reference classes when a few observations can materially reduce uncertainty.
12. Before finalizing, ask whether the low bound still allows for materially discounted local pricing when that context is explicit.
13. Rank remaining uncertainty by value of information before doing more research. Say what evidence would move the estimate and when further measurement would stop mattering.
14. Use Monte Carlo simulation only after inputs are decomposed and calibrated.
15. Produce a durable memo using `assets/measurement-brief-template.md`.

Optional companion skills can help with decision clarification, decomposition, calibrated ranges, small samples, value of information, Monte Carlo simulation, and calibration review. The workflow above must still work when those companion skills are unavailable.

## Output Contract

Produce a Markdown memo with:

- compact relevance summary
- date and scope
- question made precise
- short answer with range and central estimate
- decision threshold and action implication
- priors / sources
- decomposition table
- calibrated confidence interval
- value-of-information section
- what would move the estimate
- source links and local file references
- final `HTMA_RESULT` fenced JSON block for scoring/reuse:
  - `quantity`
  - `unit`
  - `low_90`
  - `central`
  - `high_90`
  - `confidence`
  - `decision_threshold`
  - `threshold_implication`
  - `top_uncertainty_driver`
  - `estimate_status`: `estimated`, `needs_clarification`, `needs_identifier`, `needs_effective_period`, `lookup_required`, or `not_estimable`
  - `blocking_missing_inputs`: array of missing inputs; empty when `estimate_status` is `estimated`
  - `assumed_target`: target-mode phrase, or `null` when no target is safe to assume
  - `next_measurement_step`: specific input or source lookup that would most improve or unlock the estimate

Keep result states internally consistent:

- `estimated` requires numeric `low_90`, `central`, and `high_90` values plus an empty `blocking_missing_inputs` array.
- A non-estimated status requires null numeric fields, at least one explicit missing input or unavailable lookup, and a specific `next_measurement_step`.
- Use `lookup_required` when a named current external value can be resolved from a direct source. Use `not_estimable` when the requested private actual is unavailable; ask the user for the record instead of treating private data as an external lookup.
- If no threshold was supplied but the range remains estimable, set `decision_threshold` to `null`, state that no action comparison is available, and do not invent a threshold.

When a responsible numeric range is not available because a required identifier, effective period, jurisdiction, current source refresh, or private fact is missing, keep `low_90`, `central`, and `high_90` as `null` and use the nonnumeric status fields to explain the blocker. Do not fabricate a range just to satisfy the JSON block.

Keep the JSON block as an appendix to the memo. Do not replace the memo with JSON-only output unless explicitly requested.

## Resources

- Read `references/method-map.md` when selecting which HTMA technique applies.
- Read `references/output-rubric.md` before finalizing a memo.
- Read `references/local-paid-quote-adjustment.md` when an estimate involves local nonprofit/community vendors or the gap between public rates and likely paid quotes.
- Use `assets/measurement-brief-template.md` for durable research or decision memos.

## Stop Conditions

- Do not provide only a point estimate.
- Do not continue external research before the quantity and estimate mode are clear. A missing threshold alone does not block an otherwise responsible range; it blocks only the action comparison.
- Do not run Monte Carlo simulation on raw guesses.
- Do not present inferred ranges as confirmed facts.
- Do not let public-rate anchors crowd out a plausible local paid-quote floor.
- Do not discount official fees, statutory rates, or public benchmark prices as if they were local vendor quotes.
- If the estimate depends on sensitive personal or financial data, use `[ask user]` unless the user explicitly authorizes inclusion.

## Verification

Before finalizing, confirm:

- [ ] The decision threshold and action implication are explicit.
- [ ] Facts, assumptions, and inference are distinguishable.
- [ ] The low / central / high values use consistent units and reconcile with the final interval.
- [ ] The stated confidence matches the reported bounds.
- [ ] Every current or external factual claim has traceable provenance.
- [ ] The top uncertainty driver and next measurement step could change or unlock the decision.
- [ ] Sensitive information is omitted or explicitly authorized.
- [ ] The `HTMA_RESULT` JSON is valid and matches the prose.