Skip to content
Skills Library
AI & agents · Automation

costly-run

/costly-run

Demo of a costly run that starts only after a person approves its token estimate in Veriqa. Use when the user asks to start a costly or long agent run and wants approval of its estimated token spend first.

Licence
MIT
Last repository change
04.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 04.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Demo of a costly run that starts only after a person approves its token estimate in Veriqa. Use when the user asks to start a costly or long agent run and wants approval of its estimated token spend first.

Arguments

/costly-run <what to run> [input=<millions of input tokens>] [output=<millions of output tokens>]
Original author description

Demo of a costly run that starts only after a person approves its token estimate in Veriqa. Use when the user asks to start a costly or long agent run and wants approval of its estimated token spend first.

How it works

  1. 1. Estimate
  2. 2. Ask for approval
  3. 3. Act on the answer
  4. 4. The run
Original SKILL.md headings · 46 lines, 341 words
SKILL.md preview
---
name: costly-run
description: Demo of a costly run that starts only after a person approves its token estimate in Veriqa. Use when the user asks to start a costly or long agent run and wants approval of its estimated token spend first.
argument-hint: "<what to run> [input=<millions of input tokens>] [output=<millions of output tokens>]"
disable-model-invocation: true
---

# Costly run with an approved estimate

The user asked for: `$ARGUMENTS`

This run is expensive, so it may start only after a person approves its estimate in the messenger.
Follow the steps in order and do not skip the approval.

## 1. Estimate

Estimate the token spend of the whole run, in **millions of tokens**:

- if the arguments state `input=` and `output=`, use those numbers as they are;
- otherwise use the demo estimate: **1000** million input tokens (1 billion) and **50** million
  output tokens.

Give the run a short name, at most 64 characters, from what the user asked for.

## 2. Ask for approval

Call the tool `mcp__veriqa-approval__approve_run` exactly once, with:

- `run` — the name of the run;
- `input_mtok` — the input estimate, a plain number;
- `output_mtok` — the output estimate, a plain number.

Do not add the cost yourself: the plugin computes it from the estimate and the configured prices and
puts it into the question.

The run needs two approvers in turn, `developer` and then `manager`, each from their own enrolled
messenger account. The plugin shows the QR code of the approver who is due in its own pane and waits
for both answers within this one call: there is nothing to show and nothing to repeat.

## 3. Act on the answer

- The tool succeeds with a result that starts with `APPROVED` — start the run.
- The tool answers with an error (`NOT APPROVED` or any other) — **do not start the run**, not even
  a smaller version of it. Print the reason from the error and stop. Do not call the tool again,
  do not ask another way and do not work around the refusal.

## 4. The run

This is a demo: in place of the real work, say that the run would start now and repeat the approved
estimate, including `cost_usd` from the `Asked:` part of the tool result. A real command replaces
this step with its own work and keeps steps 1–3 as they are.

Versions

The database has no other skills named costly-run.

Database snapshot: 13.11.2026 · package version db64f73e2144 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100cost-report
    Report actual token spend and dollar cost of dispatched work — per agent and total — and flag cost regressions. Use when the user asks "how much did that cost", "token spend", "cost of this run", "cost report", or wants to check for a cost regression after /code-review or an orchestration run.
  • 100token-efficiency-audit
    Run a comprehensive token-efficiency audit on Claude usage patterns — identify input/output token waste, context-window inefficiency, low cache-hit rates, and surface 11 standard optimization patterns (O6a-O6e). Use when the user wants to audit token spend, profile prompt cost,…
  • 100token-budget-gate
    Estimates token cost before a multi-step task and outputs a 4-tier Green/Yellow/Orange/Red gate verdict. Records actual vs. estimated after completion when a mechanical usage source exists. Triggers on "token budget", "how much will this cost", "will this be expensive",…
  • 100common-workflow-writing
    Rules for writing concise, token-efficient workflow and skill files. Prevents over-building that requires costly optimization passes. Use when creating or editing workflow files, SKILL.md files, or new skill definitions.
  • 100agent-cost-efficiency
    Use for agent work with clear excess-cost risk: broad or unpredictable logs and diffs, browser/UI loops, costly execution/retry loops and progress observation even with small output, costly or repeated delegation, or repeated compaction. Guides bounded execution and observation,…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.