budget-diminishing-continue-2b1d54 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited budget-diminishing-continue-2b1d54 (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Domain: tool-orchestration Trigger: Apply when you have a task-level token budget and must decide between continuing and stopping while respecting diminishing returns. Source Pattern: Distilled from reviewed tool-loop and result-shaping patterns.
Track the cumulative tokens consumed per turn, issue a continuation nudge while the usage stays below completionThreshold (90% by default), and stop once token deltas shrink across repeated continuations. Diminishing-return detection keeps the loop from looping forever: once two cells in a row add fewer than DIMINISHING_THRESHOLD tokens, or the tracker reached several continuations, stop and emit the final completion payload. The tracker also guides budgetDecision.action so callers can differentiate between gentle nudges and hard stop signals.
BudgetTracker at turn start and update continuationCount, lastDeltaTokens, and lastGlobalTurnTokens after each continuation decision.budget * COMPLETION_THRESHOLD and the last token deltas are meaningful; otherwise treat it as diminishing returns.completionEvent that records counts, percentages, and elapsed duration so callers can log or surface why the turn ended.stop with completionEvent = null to avoid undefined behavior.getBudgetContinuationMessage so the user sees consistent phrasing and the tracker returns the tidy pct/turnTokens metrics.If a query advances toward a 100k token budget, continue streaming until usage hits 90% or token growth slows; when the stop decision triggers, log the diminishing-returns flag so both user and telemetry know the stream ended intentionally.
continue; re-run the decision each iteration to respect the latest token deltas.completionEvent data when stopping; it contains the telemetry the backend uses to tell budgets apart from user cancellations.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.