Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Rockielab/rockie-codex --skill budget-term-sheetgit clone --depth 1 https://github.com/Rockielab/rockie-codexWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/rockielab/rockie-codex/budget-term-sheet)<a href="https://agentmods.dev/skills/rockielab/rockie-codex/budget-term-sheet"><img src="https://agentmods.dev/badge/skills/rockielab/rockie-codex/budget-term-sheet/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/rockielab/rockie-codex/budget-term-sheet"><img src="https://agentmods.dev/badge/skills/rockielab/rockie-codex/budget-term-sheet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00068 | $0.00911 |
| Opus 5 | $0.00034 | $0.00456 |
| Sonnet 5 | $0.00014 | $0.00182 |
| Haiku 4.5 | $0.00007 | $0.00091 |
Grade A, and why
budget-term-sheet scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
Do not shell raw `curl POST /api/jobs/submit`. This is a copy
100% identical to budget-term-sheet — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/budget-term-sheet
Render the user-facing cost term sheet that Rocky must show before a Rocky-originated
POST $ROCKIELAB_API_URL/api/jobs/submit call. This skill is pre-submit UX and
approval gating only. It does not replace platform-context's credit reservation,
day caps, or hard budget enforcement.
When to invoke
- Before
/experimentsubmits a GPU / torch / triton / training / weight-download job. - When the user asks for a dry-run quote without launching compute.
- When a user changes the approved budget and Rocky needs to re-render the quote.
Hard rules
- Rocky-originated GPU submits go through this skill before
runtime/submit.py. - Only explicit approval tokens count:
approve,approved, orI approve. - A user-modified budget below
estimate_centsis non-submittable in this repo. - Non-available market states never submit.
- Keep the user-facing provider deidentified:
Rockie GPU, plus SKU/count/region/tier. - Do not dispatch real compute here. Quote and approval only.
Procedure
- Assemble a job spec with
job_shape,gpu_type,gpu_count,region,tier, and eithertimeout_secondsorwallclock_minutes. Useregion: "us"andtier: "spot"unless the user or workflow requires a different visible capacity slice. - Run
scripts/quote_term_sheet.pyto build the canonical JSON term-sheet object. Prefer live quote endpoints when credentials exist; use--market-jsonfor tests and dry runs; use--allow-heuristic-dry-runonly when the user explicitly wants a heuristic quote. - Render the markdown block with
scripts/render_term_sheet.py. The block must show: total estimate, stage breakdown, recommended budget, wall-clock, Rockie GPU compute summary, availability/confidence, and the explicitApprove / Modify / Cancelprompt. - Wait for a user reply. Parse it with
scripts/parse_approval.py. - Decision handling:
approve: keep the current budget and mark the term sheet approved.modify: re-render with the newuser_budget_centsand ask again.modify_then_approve: re-render with the new budget; only submit if the modified budget is still>= estimate_cents.cancel: abandon the submit.clarify: ask again; do not submit.
- Hand the final approved JSON artifact to
/experiment/runtime/submit.pythrough--term-sheet-json, passing matching--regionand--tier. The submit helper refuses artifacts or CLI requests that omit or change the approved region/tier. Do not shell rawcurl POST /api/jobs/submit.
What ships with it
10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/template.md 499 B
- scripts/parse_approval.py 7.2 KB runs code
- scripts/quote_term_sheet.py 22 KB runs code
- scripts/render_term_sheet.py 3.7 KB runs code
- tests/fixtures/market_available.json 184 B
- tests/fixtures/market_no_sku.json 145 B
- tests/fixtures/prices_fallback.json 44 B
- tests/test_parse_approval.py 4.1 KB runs code
- tests/test_quote_term_sheet.py 6.8 KB runs code
- tests/test_render_term_sheet.py 3.1 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 100 lines · 68 tokens per session scan A 0e64902489d4
budget-term-sheet is a skill published in the GitHub repository Rockielab/rockie-codex (20 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 68 tokens to every session and 911 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to budget-term-sheet, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
sector-rotation
An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.
strategy-pivot-designer
Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.
twitter-reader
Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…
chenhao-limit-up
A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.
trading-risk-gate
Unified pre-trade safety gate: Ruin check (Law #1), ergodicity audit, and win-rate dominance validation. Absorbs: ergodicity-check, law-of-ruin, win-rate-dominance.
vectorbt
High-performance vectorized backtesting with parameter optimization, portfolio simulation, and rich performance metrics.