rlm-estimate
Renders a transparent cost, speed, and accuracy estimate for an RLM versus direct-execution decision. Invoke when a user asks what it cost, what direct execution would have cost, or when rlm-auto needs footer estimates.
- License 许可
- MIT
- 最近更新
- 2026-11-01
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- rlm-estimate
- triggers
- [ "what did that cost", "rlm estimate", "estimate the savings", "what would direct cost", "/rlm-auto:estimate" ]
- description
- Renders a transparent cost, speed, and accuracy estimate for an RLM versus direct-execution decision. Invoke when a user asks what it cost, what direct execution would have cost, or when rlm-auto needs footer estimates.
03 SKILL.md 正文
rlm-estimate skill
A small skill that wraps scripts/estimate.py and formats its output for
humans. Used by rlm-auto to render the answer footer, and exposed to the
user so they can sanity-check the routing call after the fact.
When to invoke
rlm-autoneeds estimate numbers but the system reminder didn't carry them.- The user asks any of: "what did that cost?", "would direct have been cheaper?", "what's the projected savings?".
- After grading, when the user wants to see actual-vs-estimated for a decision.
How to run
-
Get the classification. Either re-run
classify.pyon the prompt, or pull it from the decision log if you have the decision_id:py -3 "${CLAUDE_PLUGIN_ROOT}/scripts/decision_log.py" dump --limit 1 -
Run the estimator. Pipe the classification JSON into
estimate.py. Optionally pass the planner output via--planfor tighter numbers:echo '<classification-json>' | py -3 \ "${CLAUDE_PLUGIN_ROOT}/scripts/estimate.py" --classification - -
Render the result. Use this format unless the user asks for raw JSON:
rlm-auto estimate RLM $L.LL - $H.HH (~W seconds, ~Z% savings vs direct) Direct $L.LL - $H.HH (~W seconds) Accuracy +Xpp projected (long-context tasks per RLM paper) Source <paper:... | local-history(n=N) | planner+paper> -
Caveat clearly. Add one line explaining that until the user has
=20 logged RLM decisions, "savings" is a published-benchmark projection, not a measurement.
Rules
- Numbers come from the estimator, not your judgment. Do not adjust them.
- Show the
sourcefield verbatim so the user knows what backed the estimate. - Never claim "we saved $X" unless
outcome.actual_cost_est_usdis in the log row. Pre-outcome figures are "projected".
04 同仓库更多 Skills
todo-skill-name
TODO describe exactly when Codex should use this skill and when it should not.
example-skill
TODO replace this with the plugin skill trigger.
rlm
Use when the user explicitly says "use RLM" or a task needs long-context recursive decomposition across many files, logs, transcripts, corpora, PDFs, or documents. Do not use for narrow edits, small single-file analysis, ordinary repo search, or tasks with no external context.
openai-marketplace-maintainer
Use when adding, reviewing, or fixing Codex skills, plugins, custom subagents, marketplace entries, or registry metadata under this OpenAI marketplace folder.
My Skill Name
One sentence describing what this skill does and when to invoke it.
rlm
Use when a task involves long context, many files, PDFs, logs, transcripts, URLs, corpora, or anything requiring recursive decomposition over external context that won't fit comfortably in a single prompt. NOT for ordinary small edits, short Q&A, or single-file inspection.